/*
COLORES: 
  - Fondo: #c6d9e6
  - Oscuro PRINCIPAL: #274c77
  - Claro PRINCIAL: #e7ecef
  - Letra OSCURA: #214166
  - Letra GRIS: #8B8C89
  - Sombra 1: #A3CEF1
  - Sombra 2: #6096BA

  Paleta original: https://coolors.co/palette/e7ecef-274c77-6096ba-a3cef1-8b8c89
*/

/*-------------------------  Estilos Header  ----------------------------*/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

#header {
  border-bottom: 5px solid #d2ac47;
}

.header {
  height: 12rem;
  width: 100vw;
  background-color: #02666a;
  display: flex;
  flex-direction: row;
}

.logo-header {
  background-color: #e7ecef;
  width: fit-content;
  height: 12rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  border: none;
  padding-right: 5rem;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.header-img {
  max-height: 6rem;
  width: auto;
  padding: 2rem 3rem;
  box-sizing: content-box;
}

h1 {
  margin: 0;
  padding: 0;
  font-size: 4.7rem;
  text-align: center;
}

.titulo-header {
  color: #e7ecef;
  text-transform: uppercase;
  font-weight: 800;
  margin: auto;
  /*font-family: "Varela Round", Arial, Helvetica, serif;*/
}

.menu-seccion {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menu-header,
.menu-header:link,
.menu-header:visited {
  color: #e7ecef;
  text-decoration: none;
  font-size: 3rem;
  margin: auto 6rem;
  font-weight: 500;
}

.menu-header:hover,
.menu-header:active {
  transition: 1s;
}

.icono-logout {
  height: 6rem;
  width: 6rem;
  fill: #e7ecef;
  margin-right: 6rem;
}

.icono-logout:hover {
  height: 6.5rem;
  width: 6.5rem;
  transition: 0.5s;
}

@media (max-width: 1000px) {
  html {
    font-size: 50%;
  }
  .logo-header {
    padding-right: 4rem;
  }
  .header-img {
    max-height: 5rem;
  }

  .texto-titulo {
    font-size: 3.98rem;
  }
  .menu-header,
  .menu-header:link,
  .menu-header:visited {
    margin: auto 4rem;
    font-size: 3.31rem;
  }
}

@media (max-width: 800px) {
  html {
    font-size: 50%;
  }
  .logo-header {
    padding-right: 3rem;
  }
  .header-img {
    max-height: 4rem;
  }

  .texto-titulo {
    font-size: 3.31rem;
  }
  .menu-header,
  .menu-header:link,
  .menu-header:visited {
    margin: auto 4rem;
    font-size: 2.76rem;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 45%;
  }
  .logo-header {
    padding-right: 2.5rem;
  }
  .header-img {
    max-height: 3.5rem;
  }
  h1 {
    font-size: 3.31rem;
  }
  .menu-header,
  .menu-header:link,
  .menu-header:visited {
    margin: auto 2rem;
  }
  .icono-logout {
    height: 5rem;
    width: 5rem;
    margin-right: 3rem;
  }
}

@media (max-width: 470px) {
  html {
    font-size: 40%;
  }
  .logo-header {
    padding-right: 2rem;
  }
  .header-img {
    padding: 2rem 2rem;
    height: 3rem;
  }
  .texto-titulo {
    font-size: 2.76rem;
  }
  .menu-header,
  .menu-header:link,
  .menu-header:visited {
    font-size: 2.3rem;
  }
  .icono-logout {
    height: 4rem;
    width: 4rem;
  }
}

@media (max-width: 390px) {
  html {
    font-size: 35%;
  }
}
