/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body{
  margin: 0;
  font-family: 'Roboto', sans-serif;
}
a{
  text-decoration: none;
  color: #000;
}

.navbar {
  overflow: hidden;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo {
  width: 400px;
  height: 90%;
  padding: 0.8rem;
}
@media (max-width: 768px) {
  .navbar .logo {
    margin: 0 auto;
  }
}
@media (max-width: 430px) {
  .navbar .logo {
    width: 300px;
  }
}
@media (max-width: 390px) {
  .navbar .logo {
    width: 200px;
  }
}
.navbar .logo img {
  width: 100%;
  height: 100%;
}

.navbar .navbar_links{
  display: flex;
  justify-content: right;
  align-items: center;
  width: 50%;
  height: 100%;
  margin: 0 auto;
  gap: 2rem
}
@media (max-width: 822px) {
  .navbar .navbar_links {
    margin-right: 2rem;
  }
}
@media (max-width: 430px) {
  .navbar .navbar_links {
    display: none;
  }
}
.navbar .navbar_links a,
.navbar .navbar_links{
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
}
.navbar .navbar_links a:hover{
  scale: 1.05;
  cursor: pointer !important;
}
.navbar .navbar_links .separador{
  font-weight: 700;
}
.navbar_links .idiomas{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;

}
.navbar_links .idioma.active{
  font-weight: 700;
}

/* Sidebar */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 2rem;
  cursor: pointer;
  color: white;
  padding: 10px 15px;
  border: none;
  display: none;
}
@media (max-width: 430px) {
  .openbtn {
    display: block;
  }
}

.sidebar .separador{
  font-weight: 700;
  color: #818181;
}
.sidebar .idiomas{
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 0.2rem;
  padding-left: 32px;
}
.sidebar .idiomas a{
  padding: 0;
}
.sidebar .idioma.active{
  font-weight: 700;
}

.contenedor{
  width: 85%;
  height: 100%;
  min-height: 90vh;
  margin: 4rem auto 4rem auto;
  padding-bottom: 2rem;
  background-color: #fff;
}

@media (max-width: 1100px) {
  .contenedor{
    width: 100%;
  }
}

footer{
  background-color: #000;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

@media (max-width: 430px) {
  footer{
    font-size: 0.8rem;
  }
}

footer a{
  color: #fff;
  transition: all 0.3s ease;
}
footer a:hover{
  cursor: pointer !important; 
}
footer ul{
  margin: 0;
  padding: 0;
}
footer hr{
  border: 0.8px solid #fff;
}

footer .superior{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20vw;
  width: 90%;
  margin: 0 auto 1rem auto;
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  font-size: 1.5rem;
}
@media (max-width: 900px) {
  footer .superior{
    gap: 10vw;
  }
}
@media (max-width: 768px) {
  footer .superior{
    flex-direction: column;
    gap: 2rem;
  }
}

footer .superior h5{
  font-weight: 800;
  margin-bottom: 1rem;
}

footer .superior .asociaciones li,
footer .superior .contacto li, 
footer .inferior .derecha li{
  margin: 0 0.5rem;
  list-style: none;
} 
footer .superior .asociaciones a{
  font-size: 1.2rem;
}

footer .superior .contacto ul{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

footer .inferior{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
  padding: 2rem 0;
  color: #fff;
  text-align: center;
}
@media (max-width: 1024px) {
  footer .inferior{
    flex-direction: column-reverse;
    gap: 2rem;
  }
}

footer .inferior .izquierda,
footer .inferior .derecha ul{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 280px) {
  footer .inferior .izquierda{
    flex-direction: column-reverse;
    gap: .5rem;
  }
}

@media (max-width: 414px) {
  footer .inferior .derecha ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
