* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Amatic SC', cursive;
    font-family: 'Crimson Text', serif;
}

main {
    background-color: #CCE4FC;

}

.logo {
    height: 6rem;
    margin-left: 3rem;
}

.navvbar{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
header a {
    text-decoration: none;
    color: black;
    font-size: large;
    margin-right: 4rem;

}

.bt_inscripcion {
    background-color: #9AC6D3;
    color: #f5f5dc;
    margin: 2rem;
    padding: 1rem;
    border-radius: .8rem;
}

header {
    background-color: #D0F2FE;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h2 {
    text-align: center;
    color:beige;
    margin: 4rem;
    font-size: 2rem;
    border-bottom: 1px solid black;

}


.containerFechas {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.imgFechas {
    height: 12rem;
}

.imgConsejoUno{
    height: 10rem;
    border-radius: 1rem;
}

.consejoUno{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem;
    background-color: #9AC6D3;
    padding: 1rem;
    width: 100%;
    font-size: 20px;
}

.consejoDos{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem;
    background-color: #9AC6D3;
    padding: 1rem;
    width: 100%;
}

.consejoTres{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem;
    background-color: #9AC6D3;
    padding: 1rem;
    width: 100%;
}

.consejoCuatro{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem;
    background-color: #9AC6D3;
    padding: 1rem;
    width: 100%;
}

.consejoCinco{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem;
    background-color: #9AC6D3;
    padding: 1rem;
    width: 100%;
}
.consejoSeis{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    margin: .5rem;
    background-color: #9AC6D3;
    padding: 1rem;
    width: 100%;
}

.containerConsejos{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.intenciones_María{
    text-align: center;
}

.texto {
    height: 8rem;
    width: 60rem;
}


.containerInscripcion {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.autorizacion{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;

}


.bt_link_inscripcion {
    text-decoration: none;
    background-color: #9AC6D3;
    color: beige;
    margin: 2rem;
    padding: 2rem;
    border-radius: .8rem;
}

.bt_link_autorizacion{
    text-decoration: none;
    background-color: #9AC6D3;
    color: beige;
    margin: 1rem;
    padding: 1rem;
    
}

form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

form input {
    background-color: #CFFEFF;
    margin: 1rem;
}

.btnForms{
    background-color: #9AC6D3;
    color: beige;
    margin: 1rem;
    padding: 1rem;
    border-radius: .8rem;
    width: 15rem;
    margin-bottom: 4rem;
}



h5, .reja{
    text-align: center;
    
}

h4{
    margin-top: 2rem;
    font-size: 5px;
}

footer img {
    height: 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

footer {
    background-color: #D0F2FE;
    height: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;

}

@media screen and (max-width: 970px) {

    header {
        background-color: #D0F2FE;
        display: flex;
        align-items:center;
        justify-content: space-evenly;
    }

    .logo {
        height: 6rem;
        margin-left: .02rem;
    }
    
    header a {
        text-decoration: none;
        color: black;
        font-size: large;
        margin-right: 1rem ;
        margin-left: 0.5rem;
    
    }
    
    .bt_inscripcion {
        background-color: #9AC6D3;
        color: beige;
        margin: 1rem;
        padding: .5rem;
        border-radius: .8rem;
    }

    .consejoUno{
        display: flex;
        justify-content: center;
    }
    
    .consejoDos{
        display: flex;
        justify-content: center;
    }
    
    .consejoTres{
        display: flex;
        justify-content: center;
    }
    
    .consejoCuatro{
        display: flex;
        justify-content: center;
    }
    
    .consejoCinco{
        display: flex;
        justify-content: center;
    }
    .consejoSeis{
        display: flex;
        justify-content: center;
    }
    

    .texto{
        width: 50%;
        height: 5rem;
    }
    


    footer {
        flex-direction: column;

    }
}


@media screen and (max-width: 598px) {

    header {
        background-color: #D0F2FE;
        display: flex;
        flex-direction: column;
        align-items:center;
        justify-content: space-evenly;
        height: 20rem;
    }

    .logo {
        height: 6rem;
        margin-left: .02rem;
    }
    
    .navvbar{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }


    header a {
        text-decoration: none;
        color: black;
        font-size: large;
        margin-right: 1rem ;
        margin-left: 0.5rem;
    
    }
    
    .bt_inscripcion {
        background-color: #9AC6D3;
        color: beige;
        margin: 1rem;
        padding: .5rem;
        border-radius: .8rem;
    }

    .btnForms{
        width: 10rem;
    }

    .bt_link_inscripcion{
        text-align: center;
    }

    .bt_link_autorizacion{
        text-align: center;
    }

    .texto{
        width: 70%;
        height: 5rem;
    }


}
