* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --DrPepper-text: #930000c0;
  --Big-text: #343434;
  --main-text: #414141;
  --bg-color: #fff;
}

body {
  height: 100vh;
  overflow: hidden;
}

header {
  padding: 1.5rem;
}

.Logo {
  width: 75px;
}

nav ul {
  list-style: none;
  float: right;
  margin-right: 30px;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 15px;
}

nav ul li a {
  color: var(--main-text);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.35em;
}

.TextContainer {
  position: relative;
  top: 20%;
  width: 54%;
  margin-left: 2%;
  display: flex;
  flex-direction: column;
}

.FitContent {
  width: fit-content;
}

h1 {
  color: var(--Big-text);
  font-size: 4.5em;
  font-family: fantasy;
  word-spacing: 5px;
  letter-spacing: 3px;
}

.DrPepperText {
  font-size: 4.5em;
  font-family: fantasy;
  line-height: 69%;
  color: var(--DrPepper-text);
}

p {
  color: var(--Big-text);
  font-size: 1.69rem;
  line-height: 1;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  width: min(100%, 60vh);
  margin-block: 0.5em;
}

.SodaText {
  color: var(--DrPepper-text);
}

.learn-more {
  font-size: 1.15rem;
  color: #fff;
  padding: 0.825rem 1.825rem;
  background: var(--DrPepper-text);
  border: 0;
  border-radius: 17px;
  margin-block: 1em;
  outline: none;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  display: block;
}

.StylingContainer {
  max-width: 480px;
  max-height: 480px;
  float: right;
  margin-top: 1%;
  margin-right: 2%;
}

.Styling {
  border-radius: 50%;
  aspect-ratio: 1;
  background: var(--DrPepper-text);
  box-shadow: 20px 15px 20px 20px rgba(0, 0, 0, 0.4);
}

.DrPepperCan {
  max-width: 480px;
  transform: rotate(10deg);
}

.socials {
  filter: invert(1);
  display: none;
}

@media only screen and (max-width: 600px) {
  nav {
    display: none;
  }

  .TextContainer {
    margin-inline: auto;
    width: 100%;
  }

  h1 {
    font-size: 3.5rem;
    word-spacing: 1.5px;
    letter-spacing: 1px;
    text-align: center;
  }

  .DrPepperText {
    font-size: 3.5rem;
    text-align: center;
    margin-inline: auto;
  }

  p {
    display: none;
  }

  .learn-more {
    display: none;
  }

  .socials {
    display: none;
  }

  .StylingContainer {
    width: 300px;
    float: none;
    margin-inline: auto;
    margin-block-start: 23vmax;
  }

  .DrPepperCan {
    width: 300px;
    margin-inline: auto;
  }

  .Styling {
    border-radius: 50%;
    margin-inline: auto;
  }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  nav {
    font-size: 0.85rem;
  }

  .TextContainer {
    margin-inline: auto;
    width: 100%;
    top: 10%;
  }

  h1 {
    font-size: 3rem;
    margin-inline: auto;
    text-align: center;
  }

  .DrPepperText {
    font-size: 3rem;
    text-align: center;
    margin-inline: auto;
  }

  p {
    margin-inline: auto;
    text-align: center;
    font-size: 1.5 rem;
  }

  .learn-more {
    margin-inline: auto;
  }

  .socials {
    display: none;
  }

  .StylingContainer {
    width: 300px;
    float: none;
    margin-inline: auto;
    margin-block-start: 15vmax;
  }

  .DrPepperCan {
    width: 300px;
    margin-inline: auto;
  }

  .Styling {
    border-radius: 50%;
    margin-inline: auto;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1440px) {
  .TextContainer {
    min-width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .DrPepperText {
    font-size: 3em;
  }

  .socials {
    display: none;
  }

  .StylingContainer{
    float: right;
    margin-top: 11%;
  }

  .DrPepperCan {
    width: 300px;
    margin-inline: auto;
  }

  .Styling {
    min-width: 300px;
    margin-inline: auto;
  }
}
