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

input:-webkit-autofill {
  border: 1px solid #434346;
  -webkit-text-fill-color: var(--light-color);
  font-size: 20px;
  -webkit-box-shadow: 0 0 0px 1000px #1b1b1c inset;
  transition: background-color 5000s ease-in-out 0s;
}

::selection,
input::selection {
  background-color: var(--light-color);
  color: var(--font-dark-color);
}

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

:root {
  --paragraph-color: #bfbfbf;
  --border-color: #6565675e;
  --font-color: #656567;
  --font-dark-color: #1e1e1e;
  --light-color: #caff33;
}

body {
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  align-items: center;
}

.header {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.nav {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1550px;
  height: 85px;
  padding: 10px;
  border: 1px solid var(--border-color);
  align-items: center;
  padding: 10px 40px;
  border-radius: 50px;
  background-color: #1c1c1c;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.logo-text {
  color: var(--font-color);
  font-weight: 400;
  font-size: 22px;
}
.logo-img {
  width: 40px;
  height: 40px;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
  list-style: none;
}

.menu li {
  color: var(--font-color);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.5s ease-in-out;
}

.menu li a {
  text-decoration: none;
  color: inherit;
}

.menu li:hover {
  color: var(--light-color);
}

.nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 150px;
  position: relative;
}

#hamburger {
  display: none;
}

.log-btn {
  background-color: transparent;
  border: none;
  color: var(--font-color);
  cursor: pointer;
}

.sign-btn {
  background-color: var(--light-color);
  color: var(--font-dark-color);
  width: 85px;
  height: 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

.btn-inactive {
  background-color: transparent;
  border: none;
  color: var(--font-color);
  cursor: pointer;
}

.btn-active {
  background-color: var(--light-color);
  color: var(--font-dark-color);
  width: 95px;
  height: 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 95%;
}

.main-container {
  margin-top: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(./assets/form-background.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  width: 90%;
  max-width: 1350px;
  margin-bottom: 30px;
  padding-bottom: 50px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
}

.hero-container {
  padding-top: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.hero-title-container {
  --i: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px;
}

.hero-title {
  color: var(--light-color);
  font-weight: 400;
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-paragraph {
  color: var(--paragraph-color);
  font-weight: 200;
  font-size: 18px;
  width: 100%;
  margin-bottom: 20px;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#registration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  --i: 0;
}

.user-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
}
.user-container input {
  width: 480px;
  height: 75px;
  font-size: 18px;
  border: 1px solid var(--border-color);
  background-color: #1a1a1a;
  font-weight: 200;
  border-radius: 50px;
  margin: 0 10px 0 10px;
  padding: 25px;
  outline: var(--light-color);
  color: var(--light-color);
}

.pass-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
}
.pass-container input {
  width: 480px;
  height: 75px;
  font-size: 18px;
  border: 1px solid var(--border-color);
  background-color: #1a1a1a;
  font-weight: 200;
  border-radius: 50px;
  margin: 0 10px 0 10px;
  padding: 25px;
  outline: var(--light-color);
  color: var(--light-color);
  margin-top: 20px;
}

.buttons-container {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
}

.buttons-container button {
  width: 500px;
  height: 65px;
  border: 1px solid var(--border-color);
  background-color: #1a1a1a;
  font-weight: 100;
  border-radius: 50px;
  color: var(--light-color);
}

#heroBtnSub {
  background-color: var(--light-color);
  color: var(--font-dark-color);
  font-size: 18px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 400;
  width: 500px;
  height: 65px;
  border-radius: 50px;
}
#logInHero {
  background-color: #262626;
  border: none;
  color: #ffff;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1550px;
  height: 85px;
  margin: 20px;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background-color: #1c1c1c;
  color: var(--font-color);
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.footer-icon {
  width: 55px;
  height: 55px;
  fill: var(--light-color);
  border-radius: 50%;
  transition: opacity 0.3s ease;
  opacity: 0.8;
}

.footer-icon:hover {
  opacity: 1;
}

.footer-paragraph {
  margin-left: auto;
  color: var(--font-color);
  font-size: 16px;
  width: 100%;
}
.footer-paragraph a {
  margin-left: auto;
  text-decoration: none;
  color: var(--light-color);
  text-align: left;
}

.footer-links {
  height: 100%;
  display: flex;
  align-items: center;
  width: 30px;
  min-width: 280px;
}

.footer-links a {
  color: var(--font-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
}

.form-media-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  gap: 20px;
  flex-direction: column;
}

.form-icons-title {
  color: var(--font-color);
  font-size: 20px;
  font-weight: 400;
  display: flex;
}

.form-media-container {
  display: flex;
  flex-direction: column;
}

.login-form-media-container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  --i: 1;
}

.form-media-title {
  display: flex;
  color: var(--paragraph-color);
  font-size: 18px;
  font-weight: 200;
  margin-bottom: 10px;
  width: 500px;
  align-items: center;
}

.media-paragraph {
  color: var(--paragraph-color);
  font-size: 16px;
  width: 100%;
  text-align: center;
  font-weight: 300;
}
.line {
  background-color: #b3b3b3a7;
  height: 2px;
  width: 100%;
}

.form-media-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
.media-icon {
  width: 100px;
  height: 100px;
  cursor: pointer;
  transition: scale 0.2s ease-in, opacity 0.2s ease-in;
  opacity: 0.7;
}
.media-icon:hover {
  scale: 1.05;
  opacity: 2;
}
.circle {
  height: 24px;
  width: 24px;
  border-radius: 24px;
  background-color: var(--light-color);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100;
}

.hide {
  display: none;
}

#login {
  --i: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.login-input {
  width: 480px;
  height: 75px;
  font-size: 18px;
  border: 1px solid var(--border-color);
  background-color: #1a1a1a;
  font-weight: 200;
  border-radius: 50px;
  margin: 0 10px 0 10px;
  padding: 25px;
  outline: var(--light-color);
  color: var(--light-color);
}

#log-btn {
  margin-top: -20px;
  background-color: var(--light-color);
  color: var(--font-dark-color);
  font-size: 18px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 400;
  width: 500px;
  height: 65px;
  border-radius: 50px;
}

#log-signUp {
  width: 500px;
  height: 65px;
  border-radius: 50px;
  background-color: #262626;
  border: none;
  color: #ffff;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.main-logged-container {
  margin-top: 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url(./assets/form-background.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 1350px;
  padding-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
}
.logged-hero {
  display: flex;
}

.logged-hero-title-container {
  margin-top: 100px;
  padding-top: 45px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.logged-hero-title {
  color: var(--light-color);
  font-weight: 400;
  font-size: 48px;
  margin-bottom: 20px;
}

.logged-hero-paragraph {
  color: var(--paragraph-color);
  font-weight: 200;
  font-size: 24px;
  width: 500px;
  margin-bottom: 20px;
}

.explore-btn {
  background-color: var(--light-color);
  color: var(--font-dark-color);
  font-size: 18px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 400;
  width: 500px;
  height: 65px;
  border-radius: 50px;
}
.section-container {
  padding: 50px;
  position: relative;
  display: flex;
}

.card-container {
  --i: 1;
  margin-top: 150px;
  right: 0;
  display: flex;
  padding: 0;
}

.brands-logged {
  position: relative;
  display: flex;
  margin-top: 100px;
  margin-bottom: 25px;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 75px;
}

.users {
  display: flex;
  position: relative;
  margin-top: 20px;
}

.brands {
  margin-top: 100px;
  height: 30px;
}
.user {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
  position: absolute;
}

.user:nth-child(2) {
  left: 50px;
}
.user:nth-child(3) {
  left: 100px;
}
.user-text {
  margin-left: 175px;
}
.user-text h3 {
  font-size: 26px;
  font-weight: bold;
  color: var(--paragraph-color);
}
.user-text p {
  font-size: 18px;
  font-weight: 300;
  color: var(--paragraph-color);
}

@keyframes slider {
  0% {
    opacity: 0;
    transform: translateX(800px);
  }
  10% {
    opacity: 0.3;
  }
  95% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
    transform: translateX(-800px);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.transition {
  opacity: 0;
  animation: fadeInUp 1.5s ease-out forwards;
  animation-delay: calc(var(--i) * 1s);
}

.slide {
  animation: slider 100s ease-out infinite;
}

/* Responsive design */
@media screen and (max-width: 1024px) {
  body {
    overflow-x: hidden;
  }
  #nav-ul {
    display: none;
  }
  .logo-text {
    font-size: 16px;
  }
  .header {
    width: 100%;
    min-width: 308px;
    justify-content: center;
    margin: 0;
    padding: 0;
  }
  .nav {
    width: 90%;
    min-width: 308px;
    align-items: center;
  }
  .nav-buttons {
    gap: 10px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-paragraph {
    max-width: 75%;
    font-size: 14px;
    text-align: justify;
  }
  .main-container {
    margin-top: 125px;
    min-width: 308px;
    width: 95%;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    margin-bottom: 0;
  }
  .user-container {
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
  .user-container input {
    height: 58px;
    width: 70%;
    width: 300px;
  }
  .pass-container {
    align-items: center;
    flex-direction: column;
  }
  .pass-container input {
    height: 58px;
    width: 70%;
    width: 300px;
  }
  .form-media-title {
    width: 80%;
    justify-content: center;
    padding-left: 5px;
    padding-right: 5px;
  }
  .line {
    width: 65%;
  }
  .media-icon {
    height: 55px;
    width: 55px;
  }

  #heroBtnSub {
    max-width: 85%;
    height: 58px;
  }
  #logInHero {
    max-width: 85%;
    height: 58px;
  }
  .footer-paragraph {
    display: none;
  }
  .footer {
    justify-content: center;
    width: 90%;
  }
  .login-input {
    height: 58px;
    width: 308px;
  }
  #log-btn {
    margin-top: -20px;
    height: 58px;
    width: 308px;
  }

  #log-signUp {
    height: 58px;
    width: 308px;
  }
  .main-logged-container {
    justify-content: center;
    align-items: center;
    min-width: 329px;
    width: 95%;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    margin-top: 125px;
  }
  .logged-hero {
    display: flex;
    justify-content: center;
    align-self: center;
    flex-direction: column-reverse;
    align-items: center;
  }

  .card-container {
    --i: 0;
    justify-content: center;
    margin-top: 50px;
    align-items: center;
    width: 100%;
    margin-left: 25px;
    margin-right: 25px;
  }
  .card {
    width: 350px;
    height: 350px;
  }
  .logged-hero-title-container {
    --i: 1;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .logged-hero-title {
    font-size: 46px;
    width: 75%;
  }
  .logged-hero-paragraph {
    font-size: 16px;
    width: 100%;
  }
  .brands-logged {
    margin-top: 0;
  }
  .explore-btn {
    width: 350px;
  }
  .users {
    --i: 2;
    align-items: center;
  }
  .logo-img {
    width: 20px;
    height: 20px;
  }
}
