* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.cabecera {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(/img/portada-fb-terra.png);
  height: 580px;
  background-position: center;
  background-repeat: none;
  background-size: cover;
}

.cabecera h2 {
  text-align: center;
  padding-top: 250px;
  color: white;
  font-size: 80px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.664);
}

.somos1 {
  width: 60%;
  text-align: center;
  height: auto;
}

.somos1 strong {
  color: blue;
}

.valores1 strong {
  color: blue;
}

.somos1 h2 {
  margin-top: 50px;
  margin-bottom: 40px;
}

.somos1 p {
  color: black;
  margin-bottom: 20px;
}

.somos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: auto;
}

.somos2 img {
  margin: 20px;
}

.premios {
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;

  background-color: rgb(238, 238, 238);
  height: 120px;
}

.premios h2 {
  color: blue;
}

.premios p {
  color: black;
}

.mision {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  margin: 50px;
}

.valores {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  margin: 50px;
  text-align: center;
}

.vision {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  margin: 50px;
}

.mision p {
  color: black;
  width: 600px;
}

.vision p {
  color: black;
  width: 600px;
}

.mision1 strong {
  color: blue;
}

.mision2 {
  text-align: center;
}

.vision1 {
  text-align: center;
}

.vision2 strong {
  color: blue;
}

.ubicacion {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 500px;
  margin-bottom: 50px;
}

.ubicacion1 strong {
  color: blue;
}

.ubicacion1 p {
  color: black;
}

.ubicacion2 p {
  color: black;
  margin-bottom: 10px;
}

@media (max-width: 1330px) {
  .cabecera {
    height: 140px;
  }

  .head {
    display: flex;
    flex-direction: column;
  }

  .cabecera h2 {
    font-size: 21px;
    padding: 60px 10px;
  }

  .somos {
    margin: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    height: auto;
  }

  .premios {
    display: flex;
    flex-direction: column;
    height: 280px;
    width: auto;
    gap: 10px;
  }

  .mision {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 50px;
    padding: 0 20px;
    gap: 15px;
  }

  .valores {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 50px;
    padding: 0 20px;
    gap: 15px;
  }

  .mision2 {
    gap: 15px;
  }

  .mision .mision2 p {
    display: inline;
  }

  .vision .vision1 p {
    display: inline;
  }

  .vision {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    margin: 50px;
    padding: 0 20px;
    gap: 15px;
  }

  .ubicacion {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    margin: 50px 15px;
    gap: 10px;
    height: auto;
  }

  .ubicacion1 {
    text-align: center;
    margin-top: 20px;
  }

  .ubicacion2 iframe {
    width: 350px;
  }

  .links-container {
    visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -45%;
    z-index: 10;
    width: 170px;
    background-color: hsla(0, 0%, 32%, 0.7);
    box-shadow: -5px 0 5px hsla(0, 0%, 0%, 0.25);
    transition: 0.56s ease-in;
  }

  nav a {
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 20px 30px;
    justify-content: flex-start;
  }

  .open-sidebar-button,
  .close-sidebar-button {
    display: block;
  }

  #sidebar-active:checked ~ .links-container {
    display: flex;
    right: 0;
    visibility: visible;
  }
}
