@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4%;
}

body {
  min-height: 100vh;
  background-image: linear-gradient(134deg, #fcc6c6, 45%, gray);
}

nav {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav .logo {
  width: 150px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

nav .menu-icon {
  display: none;
  cursor: pointer;
}

nav ul li {
  padding: 20px;
}

nav ul li:not(.login)::after {
  display: block;
  content: "";
  width: 0%;
  background-color: #393338;
  transition: 0.5s;
  height: 3px;
}

nav ul li:hover::after {
  width: 100%;
}

nav ul li.login {
  border: 1px solid #393338;
  border-radius: 10px;
  padding: 5px 40px;
  margin-left: 30px;
  text-decoration: none;
}

ul .login:hover {
  background-color: #94867f;
  transition: 0.4s;
}

nav ul li a {
  color: #393338;
  text-decoration: none;
  font-size: 17px;
}

main {
  display: flex;
  align-items: center;
  margin-top: 60px;
}

/*main-img {
  margin-left: 50px;
}*/

main .main-text {
  width: 50%;
}

main .main-text h1 {
  font-size: 4rem;
}

main .main-text h1 strong {
  display: block;
  font-weight: normal;
}

main .main-text h1 b {
  background-color: black;
  color: #fafafa;
  padding: 0 5px;
  font-size: 5rem;
}

main .main-text p {
  color: #625464;
  margin: 20px 0 40px;
  width: 90%;
}

main .main-text button {
  background-color: #393338;
  color: #fff;
  border-radius: 10px;
  padding: 10px 50px;
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 17px;
  border: 1px solid transparent;
  transition: all 0.4s;
}

main .main-text button:hover {
  background-color: #382a2acf;
}

main .main-img {
  width: 50%;
}

main .main-img img {
  width: 100%;
}

footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  padding: 32px;
}

/* REPONSIVE FOR MOBILE */
@media (max-width: 850px) {
  nav .menu-icon {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0b0909cf;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 60%;
    transform: translateX(-100%);
    transition: 0.6s;
  }

  nav ul.activo {
    transform: translateX(0%);
  }

  nav ul li.login {
    border: 1px solid white;
    margin-left: 0;
  }

  nav ul li:not(.login)::after {
    background-color: white;
  }

  nav ul li a {
    color: white;
    font-size: 24px;
  }

  main {
    flex-direction: column;
    padding: 20px;
  }

  main .main-text {
    width: 100%;
    text-align: center;
  }

  main .main-img {
    margin-top: 70px;
    width: 100%;
  }

  footer p {
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }
}

@media (max-width: 500px) {
  main .main-text h1 b {
    font-size: 4rem;
  }

  main .main-text h1 strong {
    font-size: 3rem;
  }

  footer p {
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  main .main-text h1 b {
    font-size: 3.5rem;
  }

  main .main-text h1 strong {
    font-size: 2rem;
  }

  footer p {
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }
}
