/*
/*estilos generales de body*/
html{
    scroll-behavior: smooth;
}
*{
    box-sizing: border-box;
    margin:0;
    padding:0;
    font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
}
/*codigo de la seccion 1 ..........................................................*/
#uno{
    display: flex;
    flex-wrap: wrap;
    height:735px;
    background: linear-gradient( #0e734e, #2f955f);
    gap: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
#unotexto{
    flex: 0 2 60%;
    display: flex;
    width: 53%;
    height: 60%;
    color: white;
    justify-content: flex-start; /*center*/
    align-items: flex-start; /*center*/
    padding-top: 210px;
    padding-left: 51px;
    flex-direction: column;
    line-height: 1;
}

#unotexto h1{
    font-size: 70px;
    font-weight: 800;
}

#unotexto p{
    color: #b6d3c0;
}

#unotexto a{
    background-color: white;
    padding: 12px 40px;
    border-radius: 25px;
    font-weight: 600;
    color:#2f955f;
    cursor: pointer;
    transition: all 0.3s;
}

#unotexto a:hover{
    transform: scale(1.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/*grafica.................................................*/
 #miGrafica{
    background-color: white;
    border-radius: 25px;
    padding: 20px; 
    width: auto;
    transition: all 0.3s;
}

#unografica{
    flex: 0 1 300px;
    display: flex;
    width: 450vh;
    height: auto;
    padding-top: 200px;
    flex-direction: column;
    transition: all 0.3s;

}

#miGrafica:hover{
    transform: scale(1.05);
}

#unografica h1{
    color: white;
}
#unografica div{
    background-color: #e1ffea;
    padding: 5px 25px;
    border-radius: 10px;
    transition: all 0.3s;
    
}

#unografica div h2{
    font-weight: 100;
    cursor:default;
}

#unografica div:hover{
    transform: scale(1.05);
}

/*Seccion 2 .............................................................................*/
#dos {
    height: 768px;
    background-color: #f9fafb;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

#dos div{
    flex-direction: column;
    padding-bottom: 100px;
}

#dos div h1{
    font-size: 70px;
    color: #166548;
}

#dos div p{
    color: #257f5d;
}

#dos img{
    width: 800px;
    height: auto;
    padding: 0px;
    max-width: 100%;
    padding-top: 50px;
}

/*Seccion 3...................................................................................*/

#tres {
    height: 650px;
    background-color: #e1ffea;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;
}

#tres .limite{
    justify-content: space-evenly;
    align-items: center;
    display: flex;
    gap: 6vh;
}


.s3div{
    flex-direction: column;
    background-color: white;
    height: auto;
    padding: 20px;
    width: 326px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    transition: all 0.3s;
    cursor: default;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.s3div:hover{
    transform: scale(1.1);
    box-shadow: 1 5px 7px rgba(0, 0, 0, 0.1);
}

.s3div p {
    height: auto;
    padding: 10px 10px;
    text-align: justify;
    color: black;
}

#icon {
    background-color: #e1ffea;
    width: 50px;
    height: 50px;
    color: #257f5d;
    font-size: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50px;
    padding: 1px 1px;
}

.s3div h1{
    color: #257f5d;
    font-weight: 800;
}

/*tablaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa*/
#cuatro {
    height: 1573px;
    background-color: white;
    display: flex;
    padding: 20px;
    justify-content: center;
}

table{
    border-collapse: collapse;
    width: 70%;
    overflow: visible;
    border-radius: 50px;
    
}

th, td {
    
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #444; /* solo la línea horizontal abajo */
}

th:first-child {
    border-top-left-radius: 25px;
}

th:last-child{
    border-top-right-radius: 25px;
}

thead{
    background: linear-gradient(#f9fafb, #d3ffe1);
    border-radius: 25px;
}

tbody tr{
    transition: all 0.3s;
}

tbody tr:hover {
    cursor: pointer;
    transform: scale(1.05);
    
}

#check{
    color: #329457;
}

#x{
    color: rgb(233, 28, 28);
}

#spcheck{
    color: gold;
}

/*Seccion 2 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa*/
#tresa{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    flex-direction: column;
}

.divss{
    display: grid;
    grid-template-columns: repeat(3, 450px);
    grid-template-rows: repeat(2, auto);
    gap: 10px;
}

.rectang6{
    background: linear-gradient(#329457, #09ac81);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
    cursor: default;
    border: 5px solid #329457;

}


.rectang6:hover{
    background: white;
    color: black;
    
}


.rectang6 h1 {
    padding: 15px;
    font-weight: 800;
    font-size: 30px;
}

.rectang6 p{
    padding: 0px 20px;
    padding-bottom: 30px;
    text-align: justify;
}
/*La 5...........................................................................*/
#cinco {
  height: auto;
  background-color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.logo-container {
  position: relative;
  width: 80vw;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.ojoboton {
  width: 100%;
  height: auto;
  display: block;
}

.ojo-boton {
  position: absolute;
  top: 46%;
  left: 45%;
  width: 10%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
}

#cincotext {
  max-width: 500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

#cincotext h1 {
  font-size: 2.5rem;
  color: #166548;
  margin-bottom: 10px;
}

#cincotext p {
  color: #257f5d;
  font-size: 1rem;
}

/* Media Query para pantallas chicas */
@media (max-width: 768px) {
  #cinco {
    flex-direction: column;
    text-align: center;
  }

  #cincotext h1 {
    font-size: 2rem;
  }

  #cincotext p {
    font-size: 0.95rem;
  }

  .ojo-boton {
    top: 46%;
    left: 45%;
    width: 12%;
  }
}

/*foteeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeer*/

footer{
    height: 73px;
    background: linear-gradient(#f9fafb, #d3ffe1);
    justify-content: space-between;
    align-items: center;
    display: flex;
}

footer div img{
    width:70px;
    height: auto;
}

footer h1{
    color: black;
}

/*Estilos de la barra de navegacion...........................................................................................................*/

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background: white;
    z-index: 2;
    padding: 5px 10%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: default;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

#logo img{
    width: 70px;
    height: auto;
    transition: all 0.3s;
    cursor: pointer;
}

#logo {
    margin-right: auto;
}

#logo img:hover{
    transform: scale(1.2);
}

.nav{
    list-style: none;
}

.nav li{
    display: inline-block;
    padding: 0 20px;
    transition: all 0.1s;
}

.nav a{
    font-size: 700;
    color: black;
    text-decoration: none;
}

.nav li:hover{
    transform: scale(1.1);
    color: red;
}

/*Boton de "inicia" en navbar*/

#inicia, #menu{
    font-weight: 700;
    color: white;
    padding: 10px 25px;
    background: linear-gradient(#329457, #09ac81);
    border-radius: 25px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;

}

#inicia:hover{
    transform: scale(1.1);
    border-color: #329457;
    border: 2px solid #329457;
    background: white;
    color: #329457;
}

/*Estilos responsive de la nav*/
#menu-responsive{
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    background-color: #e1ffea;
    opacity: 95%;
    overflow: hidden;
    transition: all 0.3s;
}

#header-responsive{
    list-style: none;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#header-responsive a{
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: all 0.3s;
    color:black;
    font-weight: 700;
}

#header-responsive a:focus{
    color:yellow;

}

#cerrar{
    position: absolute;
    top:20px;
    right: 45px;
    font-size: 65px;
}

@media screen and (max-height:450px){
    #header-responsive a{
        font-size:20px;
    }

    #cerrar{
        font-size: 40px;
        top:15px;
        right:35px;
    }
}
#menu{
    display: none;
}

@media screen and (max-width: 800px){
    .nav, #inicia{
        display: none;
    }

    #menu {
        display: inherit;
    }
}

/*RESPONSIVEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES*/
/*SCCION 1.......................CHICAS..........................*/
@media (max-width: 1024px) {
  #uno {
    height: auto;
    padding: 20px;
  }
  #unotexto {
    flex: 0 1 100%;
    width: 100%;
    height: auto;
    padding-top: 40px;
    padding-left: 20px;
  }
  #unotexto h1 {
    font-size: 40px;
  }
  #unotexto p {
    font-size: 16px;
  }
  #unotexto a {
    padding: 10px 30px;
    font-size: 14px;
  }
  #unografica {
    flex: 0 1 100%;
    width: 100%;
    padding-top: 20px;
  }
  #miGrafica {
    width: 100%;
    padding: 15px;
  }
}

@media (max-width: 600px) {
  #uno {
    flex-direction: column;
    height: auto;
    padding-top: 80px;
  }
  #unotexto {
    padding-top: 30px;
    padding-left: 15px;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
  }
  #unotexto h1 {
    font-size: 30px;
  }
  #unotexto p {
    font-size: 14px;
  }
  #unotexto a {
    padding: 8px 20px;
    font-size: 13px;
  }
  #unografica {
    padding-top: 10px;
    width: 100%;
    height: auto;
  }
  #miGrafica {
    width: 100%;
    padding: 10px;
  }
}

/*SECCION 2..........................................................................*/

/* Para pantallas medianas */
@media (max-width: 1024px) {
  #dos {
    height: auto; /* que crezca con el contenido */
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  #dos div {
    padding-bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #dos div h1 {
    font-size: 45px;
  }
  #dos div p {
    font-size: 18px;
  }
  #dos img {
    width: 100%;
    max-width: 600px;
    padding-top: 30px;
  }
}

/* Para móviles */
@media (max-width: 600px) {
  #dos {
    height: auto;
    flex-direction: column;
    padding: 15px 10px;
    gap: 10px;
  }
  #dos div {
    padding-bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #dos div h1 {
    font-size: 30px;
  }
  #dos div p {
    font-size: 16px;
  }
  #dos img {
    width: 100%;
    max-width: 350px;
    padding-top: 20px;
  }
}

/*LOS CUADRADOS..............................................................................................*/

/* Para pantallas medianas */
@media (max-width: 1024px) {
  .divss {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 15px;
    width: 90%;
  }
  .rectang6 {
    border-width: 3px;
  }
  .rectang6 h1 {
    font-size: 24px;
    padding: 10px;
  }
  .rectang6 p {
    padding: 0 15px 20px;
    font-size: 15px;
  }
}

/* Para móviles */
@media (max-width: 600px) {
  #tresa {
    height: auto;
    padding: 20px 10px;
  }
  .divss {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }
  .rectang6 {
    border-width: 2px;
  }
  .rectang6 h1 {
    font-size: 20px;
    padding: 8px;
  }
  .rectang6 p {
    padding: 0 10px 15px;
    font-size: 14px;
  }
}

/*LOS CUADRITOS..................................................................*/

/* Para pantallas medianas */
@media (max-width: 1024px) {
  #tres {
    height: auto; /* que crezca con contenido */
    padding: 30px 20px;
  }
  #tres .limite {
    flex-direction: column;
    gap: 4vh;
  }
  .s3div {
    width: 90%;
    max-width: 400px;
    padding: 15px;
  }
  .s3div p {
    font-size: 16px;
  }
  .s3div h1 {
    font-size: 28px;
  }
  #icon {
    width: 45px;
    height: 45px;
    font-size: 26px;
  }
}

/* Para móviles */
@media (max-width: 600px) {
  #tres {
    padding: 20px 10px;
  }
  #tres .limite {
    gap: 3vh;
  }
  .s3div {
    width: 100%;
    padding: 10px;
  }
  .s3div p {
    font-size: 14px;
  }
  .s3div h1 {
    font-size: 24px;
  }
  #icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}
