* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  font-family: 'Open Sans', sans-serif;
}
body {
  background-color: var(--50);
}
:root {
  --950: #001144;
  --900: #0031B0;
  --800: #0047E4;
  --700: #0050FF;
  --600: #0050FF;
  --500: #1363FF;
  --400: #3E91FF;
  --300: #74BFFF;
  --200: #A8DAFF;
  --100: #CFECFF;
  --50: #E4F5FF;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}

h1 {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--800);
  margin-bottom: 24px;
  text-align: center;
}
p {
  font-size: 1.6rem;
  color: var(--700);
  text-align: center;
  margin: 0 16px 20px 16px;
}
h2 {
  font-size: 2.0rem;
  color: var(--800);
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}
h3 {
  font-size: 2.0rem;
  font-weight: bold;
}
main {
  margin-top: 100px;
}
main svg {
  display: none;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  padding: 5px 32px;
  background-color: var(--100);
  position: fixed;
  z-index: 100;
  top: 0;
}
.logo {
  width: 50px;
  height: 70px;
}

/* Estilos del menú desplegable */
.menu {
  height: 40px;
  width: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: 300ms ease-in-out;
  cursor: pointer;
  display: none; /* Oculto por defecto en pantallas grandes */
  position: relative;
  z-index: 101;
}

.bar {
  height: 3px;
  width: 30px;
  background-color: var(--800);
  border-radius: 3px;
  transition: 300ms ease-in-out;
}

/* Animación del icono hamburguesa al hacer clic */
.menu.active .bar:nth-last-child(1) {
  transform: translateY(-11px) rotate(-45deg);
}

.menu.active .bar:nth-last-child(2) {
  opacity: 0;
}

.menu.active .bar:nth-last-child(3) {
  transform: translateY(11px) rotate(45deg);
}

/* Estilos para el menú desplegable */
.nav-container {
  display: flex;
  align-items: center;
}
.logo-negativo {
  width: 50px;
  height: 50px;
  margin-bottom: 32px;
}
.menu {
  display: flex;
}

.nav-container {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background-color: var(--100);
  transition: right 300ms ease-in-out;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.nav-container.clik {
  right: 0;
}

.nav__list {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.link {
  font-size: 2.0rem;
  color: var(--950);
  font-weight: bold;
}
.nav__item {
  text-align: center;
  margin-bottom: 24px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--400);
  color: var(--100);
  width: 100%;
  height: 450px;
}

.contact span {
  display: inline-block;
  background-image: url("../assets/icons/whatsapp.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}
.social__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0;
  
}
.social__media__icons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  padding: 24px 0;
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  gap: 24px;
}
.contact a {
  font-size: 1.6rem;
  color: var(--100);
}
.copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.copyright p {
  text-align: center;
  color: var(--100);
  margin: 0;
}
@media (min-width: 744px) {
  header {
    padding: 5px 50px;
    height: 114px;
  }
  li {
    list-style: none;
  }
  .logo {
    width: 70px;
    height: auto;
  }
  .logo-negativo {
    display: none;
  }
  .burger {
    display: none;
  }
  .nav__item {
    margin-bottom: 0;
  }
  .nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  .nav__list {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
  .link {
    text-decoration: none;
    font-size: 2.0rem;
    color: var(--950);
    font-weight: bold;
  }
  h1 {
    font-size: 2.4rem;
    text-align: left;
  }
  .contact-us__text {
    font-size: 1.6rem;
    width: 296px;
    height: auto;
    text-align: left;
    margin: 0;
  }
  main svg {
    display: block;
  }
  footer {
    flex-direction: row;
    justify-content: space-around;
    height: 200px;
  }
  .social__media {
    order: 2;
    width: 250px;
    align-items: center;
  }
  .social__media h3 {
    text-align: center;
  }
  .contact {
    order: 0;
    width: 250px;
  }
  .contact h3 {
    text-align: center;
  }
  .copyright {
    order: 1;
    width: 250px;
  }
  .menu {
    display: none;
  }
  
  .nav-container {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding-top: 0;
  }
  
  .nav__list {
    flex-direction: row;
  }
}
@media (min-width: 1100px) {
  header {
    height: 140px;
  }
  .logo {
    width: 80px;
  }
  h1 {
    font-size: 6.4rem;
  }
  .contact-us__text {
    font-size: 2.4rem;
    width: 500px;
    text-align: left;
  }
  h2 {
    font-size: 4.0rem;
  }
}