@font-face {
    font-family: "LondrinaSolid";
    src: url("../multimedia/sorteo/fonts/LondrinaSolid-Thin.woff2");
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "LondrinaSolid";
    src: url("../multimedia/sorteo/fonts/LondrinaSolid-Light.woff2");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "LondrinaSolid";
    src: url("../multimedia/sorteo/fonts/LondrinaSolid-Regular.woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "LondrinaSolid";
    src: url("../multimedia/sorteo/fonts/LondrinaSolid-Black.woff2");
    font-weight: 700;
    font-display: swap;
}

html{
    font-size: 100%;
    box-sizing: border-box;
}


body{
    font-family: 'LondrinaSolid', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.center-content{
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding-left: 2%;
    padding-right: 2%;
    box-sizing: border-box;
}

header{
    background-color: #173e72;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header p{
    width: 100%;
    margin: 0;
    padding: 20px;
    color: white;
    font-size: 1.25em;
    font-weight: 400;
    text-align: center;
    background-color: #FF6600;
}

header img{
    margin: 30px auto 50px auto;
    width: 100%;
    max-width: 500px;
    display: block;
}

header h1{
    margin: 0;
    padding: 0;
    width: 100%;
    color: white;
    font-size: 2.5em;
    font-weight: 400;
    text-align: center;
    text-wrap: wrap;
    margin-bottom: 50px;
}

/*ContactForm*/

main{
    background-color: #173e72;
}

.contact-form{
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: #ffffff;
}

.contact-form h2{
    margin: 0 0 20px 0;
    padding: 0;
    color: #173e72;
    font-size: 2.25em;
    font-weight: 400;
    text-align: center;
}

.contact-form p{
    font-size: 1.25rem;
    line-height: 160%;
    margin: 0;
    font-weight: 500;
    color: #FF6600;
}

.contact-form form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form form label{  
    position: relative;
    width: 96%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.contact-form form label span{
    width: 40%;
    color: #173e72;
    font-size: 1.5em;
    font-weight: 300;
    text-align: right;
}

.contact-form form label span.error{
    position: absolute;
    top: -13px;
    right: 0;
    color: #ff0000;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
}

.contact-form form label input{
    width: 60%;
    padding: 10px;
    background-color: #9999cc;
    border: none;
}

.contact-form form button{
    width: 120px;
    margin: 0 auto;
    padding: 8px 0px;
    color: #ffffff;
    font-family: 'LondrinaSolid', sans-serif;
    font-size: 1.25em;
    font-weight: 400;
    background-color: #173e72;
    border: none;
    cursor: pointer;
}

.modal-windows{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 101;
}

.modal-windows div{
    padding: 1.875rem;
    border-radius: 0.3125rem;
    background-color: #ffffff;
    text-align: center;
        
}

.modal-windows div svg{
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
    fill: #008000;
    font-size: 2.5rem;
}

.modal-windows div p{
    font-size: 1.25rem;
    font-weight: 400;
    color: #173e72;
    line-height: 120%;
}

.modal-windows div.error svg{
    fill: #FF6600;
}

.modal-windows div.error p{
    color: #FF6600;
}

/*Caracteristicas del sorteo*/
.sorteo-feat{
    padding: 50px 0;
}

.sorteo-feat ul{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    list-style: none;
}

.sorteo-feat ul li{
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sorteo-feat ul li img{
    width: 100%;
    max-width: 65px;
    margin-bottom: 5px;
    display: block;
}

.sorteo-feat ul li p{
    margin: 0;
    color: #FF6600;
    font-size: 1.25em;
    font-weight: 300;
    text-align: center;
    line-height: 140%;
}

.sorteo-feat ul li p span{
    display: block;
}

/*About*/
.about{
    position: relative;
    padding-bottom: 40px;
    background-color: #ffffff;
}

.about div div{
    position: relative;
}

.about div div img{
    position: absolute;
    top: -20px;
    height: 300px;
    display: block;
}

.about div div img:first-child{
    left: -200px;
}

.about div div img:nth-child(2){
    right: -200px;
}

.about h2{
    margin: 0 0 10px 0;
    padding: 30px 0 0 0;
    color: #173e72;
    font-size: 2.5em;
    font-weight: 400;
    text-align: center;
}

.about h3{
    margin: 30px 0 20px 0;
    color: #FF6600;
    font-size: 2em;
    text-align: center;
}

.about p{
    margin: 0;
    color: #173e72;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 140%;
    text-align: center;
}

.about p small{
    display: block;
    font-size: 0.625em;
    font-weight: 300;
}

.about p span{
    color: #FF6600;
}

.about ul{
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.about ul li{
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about ul li svg{
    margin-bottom: 0.625em;
    height: 45px;
    fill: #FF6600;
}

.about ul li h4{
    margin: 0;
    padding: 0;
    color: #FF6600;
    font-size: 1.25em;
    font-weight: 400;
    text-align: center;
    line-height: 100%;
}

.video{
    padding: 80px 0;
}

.video div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
}

.video iframe{
    width: 100%;
    height: 432px;
    margin-bottom: 10px;
}

.video a{
    padding: 10px 20px;
    background-color: #439447;
    color: #fff;
    font-family: "Open Sans", sans-serif;   
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
}

/*Footer*/
footer{
    background-color: #173e72;
    padding: 0 0 50px 0;
    margin: 0;
}

footer h2{
    margin: 0 0 14px 0;
    color: #ffffff;
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 400;
}

footer h3{
    margin: 0 0 14px 0;
    color: #ffffff;
    font-size: 0.875em;
    font-family: "Open Sans", sans-serif;   
    font-weight: 600;
}

footer p{
    padding-left: 5px;
    margin: 0 0 1em 0;
    color: #ffffff;
    font-size: 0.75em;
    font-family: "Open Sans", sans-serif;   
    font-weight: 300;
    line-height: 140%;
}

footer ol{
    margin: 0;
    padding: 0 0 0 30px;
    list-style: outside;
}

footer ol li{
    margin: 0 0 14px 0;
    color: #ffffff;
    font-size: 0.75em;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    line-height: 140%;
}

footer ol li a{
    width: auto;
    padding: 0;
    margin: 0;
    background-color: transparent;
    color: #ffffff;
    font-size: inherit;
    text-align: inherit;
    text-decoration: underline;
    text-transform: none;
    display: inline;
}

footer img{
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 60px auto;
}

footer .links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

footer .links a{
    width: 250px;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #173e72;
    font-size: 1.25em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
}


/*Responsive*/

@media screen and (max-width: 1168px){

    .about div div img{
        height: 200px;
    }

    .about div div img:first-child{
        left: -150px;
    }

    .about div div img:nth-child(2){
        right: -150px;
    }

}

@media screen and (max-width: 1067px){

    .about div div img{
        display: none;
    }

    .video iframe{
        height: 420px;
    }

}

@media screen and (max-width: 425px){

    header img{
        margin: 30px auto 50px auto;
        width: 100%;
        max-width: 350px;
        display: block;
    }
    
    header h1{
        font-size: 1.875em;
    }

    header h1 br{
        display: none;
    }

    .contact-form{
        width: 100%;
        max-width: 4250px;
        padding: 30px 10px;
        box-sizing: border-box;
    }

    .contact-form form label{ 
        width: 100%; 
        flex-direction: column;
        align-items: right;
        gap: 3px;
    }

    .contact-form form label span{
        width: 100%;
        text-align: left;
    }

    .contact-form form label input{
        width: 100%;
        box-sizing: border-box;
    }

    .sorteo-feat ul{
        flex-wrap: wrap;
    }

    .sorteo-feat ul li{
        width: auto;
    }

    .abou ul{
        flex-wrap: wrap;
    }

    .about ul li{
        width: auto;
    }

    footer .links{
        flex-direction: column;
    }
}