:root {
  --maxw: 1600px;
  --minw: 700px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

.pegajoso {
  position: sticky;
  top: 0;
  z-index: 2000;
  margin: 0 auto;
}

.rs-li {
  text-decoration: none;
  list-style: none;
  padding: 2px 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.informacion {
  height: 50px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(232, 192, 70);
}
.informacion-f {
  height: 300px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgb(232, 192, 70);
}

.text-inf {
  font-size: calc(5px + 1.5vw);
  font-weight: bold;
  line-height: 50px;
  text-align: center;
}
.rs-int {
  display: flex;
  flex-wrap: wrap;
}
.rs-li img {
  width: calc(20px + 1.5vw);
  border: solid white 2px;
  border-radius: 50%;
  padding: 2px;
}
/* .frace {
  margin-top: 15px;
  background-color: rgba(0, 0, 0, 1);
  text-align: center;
  transition: all 1000s;
} */
/* .frace:hover {
  background-color: rgb(17, 51, 29);
} */

/* .frace h1 {
  margin: 0;
  font-size: calc(10px + 2.5vw);
  text-align: center;
  color: transparent;
  font-weight: normal;
  background: -webkit-linear-gradient(red 20%, yellow, red 89%);
  background: linear-gradient(red 20%, yellow, red 89%);
  -webkit-background-clip: text;
  position: relative;
} */

/* pie de pagina */

.derechos {
  width: 100%;
  background-color: rgb(194, 214, 66);
  font-size: 25px;
  text-align: center;
}

/* DESDE AQUI COMENZAMOS PARA EL MENU */

/*HEADER SUPERIOR*/
/* yo mismo */
.btn-menu {
  width: 50px;
  color: red;
  background-color: red;
  border-radius: 10px;
  margin-top: 9px;
  margin-left: 10px;
}

/* yo mismo */

/* .header__superior {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
} */

.search input {
  width: 300px;
  padding: 10px;
}

/*BARRA MENU*/

.container__menu {
  width: 100%;
  height: 70px;
  background: #023877;
  padding: 0px 20px;
  position: relative;
}

.menu {
  max-width: 1200px;
  margin: auto;
  height: 100%;
}

nav {
  height: 100%;
}

nav > ul {
  height: 100%;
  display: flex;
}

nav ul li {
  height: 100%;
  list-style: none;
  position: relative;
}

nav > ul > li:first-child > a {
  background-image: url(../img/home.png);
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 20px 40px;
}

nav > ul > li:first-child:hover > a {
  background-image: url(../img/home.png);
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: center center;
}

nav > ul > li > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 14px;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 300ms ease;
}

nav > ul > li > a:hover {
  transform: scale(1.1);
  background: #0074c7;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

#selected {
  transform: scale(1.1);
  background-color: #0074c7;
  box-shadow: 0px 0px 10px 0px rgba(236, 19, 19, 0.5);
}

/*SUBMENU*/

nav ul li ul {
  width: 200px;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 90px;
  left: -5px;
  padding: 14px 0px;
  visibility: hidden;
  opacity: 0;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  z-index: 10;
  transition: all 300ms ease;
}

nav ul li:hover ul {
  visibility: visible;
  opacity: 1;
  top: 70px;
}

nav ul li ul:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid white;
  position: absolute;
  top: -12px;
  left: 20px;
}

nav ul li ul li a {
  display: block;
  color: #0099e9;
  padding: 6px;
  padding-left: 14px;
  margin-top: 10px;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 300ms ease;
}

nav ul li ul li a:hover {
  background: #0074c7;
  color: #fff;
  transform: scale(1.2);
  padding-left: 30px;
  font-size: 14px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/*ELEMENTOS RESPONSIVOS*/

.icon__menu {
  font-size: 26px;
  color: white;
  cursor: pointer;
  width: 26px;
  height: 100%;
  display: none;
  align-items: center;
}

#label__check {
  width: 26px;
  height: 100%;
  display: none;
}

#check__menu {
  display: none;
}

@media screen and (max-width: 720px) {
  .search input {
    display: none;
  }
  .icon_menu {
    display: none;
  }

  .header__superior {
    padding: 10px;
  }

  .logo img {
    width: 200px;
  }

  nav > ul {
    flex-direction: column;
    background-color: #023877;
    position: absolute;
    left: 0;
    top: 71px;
    width: 100%;
    height: 0px;
    transition: all 300ms ease;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
  }

  nav > ul > li > a:hover {
    transform: scale(1);
  }

  nav ul li ul {
    left: 90px;
  }

  nav > ul > li:hover ul {
    top: 50px;
  }

  nav > ul > li:first-child a {
    background-position: 20px;
  }

  #selected {
    transform: scale(1);
  }

  #label__check {
    display: block;
  }

  .icon__menu {
    display: flex;
  }

  #check__menu:checked ~ nav > ul {
    height: 300px;
    visibility: visible;
    opacity: 1;
  }

  main {
    margin-top: 158px;
  }
}

/* Para la informacion */
@media (max-width: 700px) {
  .rs-li {
    padding: 2px 3px;
  }
}
@media (max-width: 600px) {
  .rs-li {
    padding: 2px 0px;
  }
}
