@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.container {
  margin: 0 7rem;
  height: 100%;
}

#home {
  color: #fff;
  height: 100vh;
  background-color: #0162be;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

#home .logo {
  width: 50px;
}
#home nav {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
}

#home nav ul {
  display: flex;
  align-items: center;
}
#home nav ul li a {
  color: #fff;
  padding: 20px;
}
/* Content */
#home .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70%;
}
#home .content img {
  width: 220px;
  animation: animation1 1s ease-out;
}
#home .content .text h1 {
  font-size: 40px;
  margin-bottom: 10px;
}
#home .content .text h1 span {
  font-size: 70px;
}
#home .content .text p {
  font-weight: 300;
  line-height: 1.4;
  width: 70%;
  margin-bottom: 30px;
}
#home .content .text a {
  color: black;
  background: white;
  border-radius: 30px;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.2s;
}

#home .content .text a:hover {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.social {
  margin-left: 3rem;
  animation: animation1 1s ease-out;
}

.social i {
  color: #fff;
  font-size: 25px;
  margin: 10px 0;
}

.pepsi-types {
  width: 100px;
  display: block;
  margin: auto;
  animation: animation2 1s ease-out;
}

@keyframes animation1 {
  0% {
    transform: translateX(500px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes animation2 {
  0% {
    transform: translatey(200px);
  }
  100% {
    transform: translatey(0);
  }
}

/* Tablet */
@media (max-width: 900px) {
  .container {
    margin: 0 1rem;
  }

  #home nav ul li a {
    padding: 10px;
  }

  #home .content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 0 0;
  }

  #home .content img {
    width: 100px;
  }

  #home .content .text p {
    width: 100%;
  }
  #home .content .text {
    margin-bottom: 2rem;
  }

  .social {
    margin-left: 0;
    margin-bottom: 15px;
  }
}

/* Responsiveness */
/* Tablet */
@media (max-width: 900px) {
  .container {
    margin: 0 1rem;
  }

  nav ul a {
    padding: 10px;
  }

  #home .content {
    flex-direction: column;
    padding: 2rem 0 0;
    text-align: center;
  }

  #home .content img {
    width: 100px;
    margin-bottom: 10px;
  }

  #home .content .content-text p {
    width: 100%;
  }

  #home .content .content-text {
    margin-bottom: 2rem;
  }

  .social {
    margin-left: 0;
  }

  .pepsi-types {
    margin-top: 25px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #home nav {
    display: block;
  }

  nav .logo {
    display: block;
    margin: 0 auto 15px;
  }

  nav ul {
    justify-content: center;
  }

  nav ul a {
    font-size: 10px;
  }

  .social {
    display: none;
  }
}
