* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "lato";
  font-size: 16px;
}

.header {
  display: flex;
  align-items: center;
  background-color: #4d4d4d;
  height: 2.82em;
}

.header a {
  margin-left: 2em;
  color: #fff;
}

.header .headerLinks {
  margin-left: 35em;
}

.header a:hover,
#headerEstudiantes:hover {
  color: rgb(85, 138, 6);
}

#headerEstudiantes {
  margin-left: 8em;
  background-color: rgb(118, 197, 0);
  color: #fff;
  padding: 0.36em;
}

/*   ----------- segundo header  ------------- */

header {
  height: 5.37em;
  align-content: center;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 50;
  width: 100%;
}

header a {
  text-decoration: none;
  margin-left: 2.5em;
  font-size: 0.8rem;
  color: #fff;
}

.sticky {
  background-color: #4d4d4d;
  position: fixed;
  top: 0;
  transition: 0.45s ease all;
}

#buttonPlatform {
  margin-left: 10rem;
  padding: 0.7rem 2rem;
  border: 1px solid white;
  background-color: transparent;
  color: #fff;
}

#buttonPlatform:hover {
  color: rgb(0, 71, 27);
  border: 1px solid rgb(0, 71, 27);
  transition: 0.5s ease all;
}

.logoHeader {
  background-repeat: no-repeat;
  height: 5.37em;
  padding-top: 0.625em;
  padding-left: 7.212em;
  padding-right: 2em;
}

.backgroundContainer {
  display: flex;
  align-items: center;
}

.backgroundContainer #botonIzquierdo,
.backgroundContainer #botonDerecho {
  position: absolute;
  border: none;
  background: rgba(75, 73, 73, 0.45);
  font-size: 20px;
  height: 5%;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease all;
}

.backgroundContainer #botonDerecho {
  right: 0;
}

.backgroundContainer #botonIzquierdo:hover,
.backgroundContainer #botonDerecho:hover {
  background: rgba(0, 0, 0, 0.9);
}

.backgroundSlider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}
.backgroundSlider .sliderImage img,
.sliderImage {
  object-fit: cover;
  width: 100vw;
  height: 85vh;
}

.sliderImageText {
  position: relative;
  top: -9em;
  left: 3em;
  text-decoration: none;
  color: #fff;

  font-family: "roboto";
  font-size: 1.2em;
}

/* ----------------- SELECTABLES   -----------------*/

.selectables {
  background-color: #4d4d4d;
  height: 100%;
  padding: 0rem 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  overflow: hidden;
}

.selectables__botones img {
  padding: 0.8rem 0.5rem;
}

/* ----------------- SECTION 2    -----------------*/

.section2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  align-items: center;
  gap: 1rem;
  
}

.section2__title {
  grid-column: span 3;
  text-align: center;
}

.section2__container {
  display: flex;
  justify-content: center;
}

.section2__container img {
  width: 7.5rem;
  height: auto;
}

.section2__text {
  width: 70%;
  margin: auto;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.8rem;
  color: rgba(0, 0, 0, 0.83);
}

.section2__text button {
  border: none;
  background-color: rgb(0, 71, 27);
  padding: 1em 3em;
  margin-top: 1.8em;
  color: #fff;
  font-family: "roboto";
  font-style: italic;
}

.section2__text button:hover {
  background-color: rgb(118, 197, 0);
  cursor: pointer;
  transition: all ease 0.2s;
}

footer {
  display: flex;
  width: 100%;
}
.footer {
  margin-top: 2rem;
  padding: 1rem;
  font-size: 0.7em;
  background-color: #4d4d4d;
  width: 100%;
  color: #fff;
  font-weight: 100;
  line-height: 1.7em;
}

.footer p {
  margin: 0em 6em;
}

/* --------------------MEDIA QUERIES --------------------*/

@media screen and (max-width: 800px) {
  .header {
    display: none;
  }

  header a {
    display: none;
  }

 #buttonPlatform{
   margin-left: 0rem;
 }

  
    
  

  footer{
    flex-direction: column;
    
  }
}
