html {

    /* font-size: 100%; */
 
 }
 body {
     background-color: #25539B;
     font-family: 'Roboto';
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     min-height: 100vh;
     margin: 0;
     padding: 0;
     background: #FBFAF6;
     background-repeat: no-repeat;
     background-size: cover;
     
 }
 
 h1 {
     text-align: center;
     padding: 20px;
     margin-top: 0px;
     margin-bottom: 20px;
     background: #25539B;
     box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
     color: white;
     font-family: 'Roboto', sans-serif;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
     
 }
 
 .content {
     flex-grow: 1;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-around;
 }
 
 .fila {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-around;
     width: 100%;
 }
 
 .item {
    position: relative;
    display: flex;
    flex: 0 0 100%; /* Los items tomarán exactamente el 30% del ancho, agrupándose de 3 en 3 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    margin: 20px;
    
    min-height: 80px;
    max-width: 400px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    color: white;
    background: #25539B;
    transition: all 0.3s ease; 
}
 
 
 .item:hover {
     transform: translateY(-10px);
     box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.3);
 }
 
 .item a {
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     color: white;
     text-decoration: none;
     font-weight: bold;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
     width: 100%;
     height: 100%;
     
 }

 main {
    margin: 0% 10% 0% 10%;

 }
 
 footer {
     text-align: center;
     padding: 20px;
     color: white;
     text-decoration: none;
     font-weight: bold;
     text-align: center;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
     background: #25539B;
     
 }
 
 footer a {
     color: white;
     
 }

 @media (min-width: 600px) {
    html {

        /* font-size: 100%; */
     
     }
     body {
         background-color: #25539B;
         font-family: 'Roboto';
         display: flex;
         flex-direction: column;
         justify-content: space-between;
         min-height: 100vh;
         margin: 0;
         padding: 0;
         background: #FBFAF6;
         background-repeat: no-repeat;
         background-size: cover;
         
     }
     
     h1 {
         text-align: center;
         padding: 20px;
         margin-top: 0px;
         margin-bottom: 20px;
         background: #25539B;
         box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
         color: white;
         font-family: 'Roboto', sans-serif;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
         
     }
     
     .content {
         flex-grow: 1;
         display: flex;
         flex-wrap: wrap;
         justify-content: space-around;
     }
     
     .fila {
         display: flex;
         flex-wrap: wrap;
         justify-content: space-around;
         width: 100%;
     }
     
     .item {
        position: relative;
        display: flex;
        flex: 0 0 50%; /* Los items tomarán exactamente el 30% del ancho, agrupándose de 3 en 3 */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 20px;
        margin: 20px;
        height: 20vh;
        min-height: 80px;
        max-width: 400px;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        color: white;
        background: #25539B;
        transition: all 0.3s ease; 
    }
     
     
     .item:hover {
         transform: translateY(-10px);
         box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.3);
     }
     
     .item a {
         display: flex;
         align-items: center;
         justify-content: center;
         text-align: center;
         color: white;
         text-decoration: none;
         font-weight: bold;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
         width: 100%;
         height: 100%;
         
     }
    
     main {
        margin: 0% 10% 0% 10%;
    
     }
     
     footer {
         text-align: center;
         padding: 20px;
         color: white;
         text-decoration: none;
         font-weight: bold;
         text-align: center;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
         background: #25539B;
         
     }
     
     footer a {
         color: white;
         
     }
}


/* Estilos para pantallas grandes */
@media (min-width: 900px) {
    html {

        /* font-size: 100%; */
     
     }
     body {
         background-color: #25539B;
         font-family: 'Roboto';
         display: flex;
         flex-direction: column;
         justify-content: space-between;
         min-height: 100vh;
         margin: 0;
         padding: 0;
         background: #FBFAF6;
         background-repeat: no-repeat;
         background-size: cover;
         
     }
     
     h1 {
         text-align: center;
         padding: 20px;
         margin-top: 0px;
         margin-bottom: 20px;
         background: #25539B;
         box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
         color: white;
         font-family: 'Roboto', sans-serif;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
         
     }
     
     .content {
         flex-grow: 1;
         display: flex;
         flex-wrap: wrap;
         justify-content: space-around;
     }
     
     .fila {
         display: flex;
         flex-wrap: wrap;
         justify-content: space-around;
         width: 100%;
     }
     
     .item {
        position: relative;
        display: flex;
        flex: 0 0 20%; /* Los items tomarán exactamente el 30% del ancho, agrupándose de 3 en 3 */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 20px;
        margin: 20px;
        height: 20vh;
        min-height: 80px;
        max-width: 400px;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        color: white;
        background: #25539B;
        transition: all 0.3s ease; 
    }
     
     
     .item:hover {
         transform: translateY(-10px);
         box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.3);
     }
     
     .item a {
         display: flex;
         align-items: center;
         justify-content: center;
         text-align: center;
         color: white;
         text-decoration: none;
         font-weight: bold;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
         width: 100%;
         height: 100%;
         
     }
    
     main {
        margin: 0% 10% 0% 10%;
    
     }
     
     footer {
         text-align: center;
         padding: 20px;
         color: white;
         text-decoration: none;
         font-weight: bold;
         text-align: center;
         text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
         background: #25539B;
         
     }
     
     footer a {
         color: white;
         
     }   
    
}