*{
    box-sizing: border-box;
}


h1{font-size: 3em;}
h2{font-size: 2.5em;}
h3{font-size: 2em;}
p{font-size: 1.5em;}


body{
    font-family: 'roboto', sans-serif;
    margin: 0;
    background-color: #FFFFFF;
}


button{
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 20px;
    padding: 10px 20px;
    color: #FFFFFF;
    background-color: #1E90FF;
}
button:hover{
    background-color: #1565C0;
    border-radius: 22px;
     padding: 11px 22px;
}


.container{
    max-width: 1080px;
    margin: auto;
}


header{
    background-color: #0A3D62;
}
header .logo{
    margin: 0;
    padding: 20px 25px;
    background-color: #0A3D62;
    color: #F7CF5E;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.5em;
    font-family: 'cinzel', serif;
}
header .container{
    display: flex;
    flex-direction: column;
    align-items: center;


}
header nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}
header a{
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    color: #D1D8E0;
}
header a:hover{
    color: #FFFFFF;
}


#hero{
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    height: 90vh;
    background-image: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.7)
    )
    ,url("images/2c9d8263-3628-4155-878b-98131daedfa6.jfif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #FFFFFF;


}
#quiensomos .container{
    text-align: center;
    padding: 200px 12px;
    background-color: #FFFFFF;
    color: #0A3D62;
}
#curso{
    background-color: #0A3D62;
    color: #FFFFFF;
    text-align: center;
    padding: 100px 0px;
}
#curso h2{
    margin: 0 0;
}
#curso h3{
    font-size: 1.7em;
    color: #F7CF5E;
}


footer{
    margin: 0;
    background-color: #0A3D62;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}


@media (min-width: 720px){
    header{
        position: fixed;
        width: 100%;
    }
    header .container{
        flex-direction: row;
        justify-content: space-between;
    }
    header nav{
        flex-direction: row;
        padding-bottom: 0;
    }


    #quiensomos .imagen{
        background-image: url(images/sasasa\ \(1\).png);
        background-size: cover;
        background-position: center center;
        height: 500px;
        width: 500px;


    }
    #quiensomos .container{
        display: flex;
        justify-content: center;
    }
    #quiensomos .texto{  
        width: 50%;
        text-align: initial;
        padding-left: 50px;
        max-width: 600px;
        display: flex;
        flex-direction: column;
        justify-content: center;
       
    }
    #quiensomos h2{
        margin-top: 0;
    }
    #curso .carta{
        background-image: linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)
        ),url(images/img.jfif);
        background-size: 100% 90px;
        background-repeat: no-repeat;
        background-position-y: 0;
        background-color: #1E2A38;
        padding: 20px 20px;
        border-radius: 30px;
    }
    #curso h2{
        padding-bottom: 20px;
    }
   
}


