/*
    GENERAL
*/

* {
    box-sizing: border-box !important;
    padding: 0;
    margin: 0;
}

body {
    width: 100%;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
}

h2{
    text-align: center;
}

ul li {
    list-style-type: none;
    display: inline-block;
}

/* Header Start */

header {
    display: flex;
    position: sticky;
    top: 0;
    width: 100%;
    background: rgb(23,87,128);
    z-index: 1000;
    animation: scrollheader linear both;
    animation-timeline: scroll(root);
    animation-range: 200px 400px;
    justify-content: space-between;
}

@keyframes scrollheader {
    to {
        background-color: transparent;
        backdrop-filter: blur(1.5px);
    }
}

/* Header End */

/* Article Start */

article {
    padding: 0;
    width: 100%;
    float: left;
    background: inherit;
}

a {
    text-decoration: none;
}

.seccion-1 {
    float: left;
    width: 100%;
    background-image: url(../images/seccion-1fondo.png);
    height: 600px;
    border-radius: 30px;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 5%;
}

.seccion-1 h1 {
    margin-top: 15%;
    margin-left: 10%;
    font-size: 40pt;
    color: white;
}

.seccion-1 h3 {
    color: #ffffff;
    margin-left: 10%;
    font-size: 20pt;
    margin-top: 1%;
}

.bg-gradient {
    padding-bottom: 5%;
    background: rgb(23,87,128);
    background: linear-gradient(180deg, rgba(23,87,128,1) 0%, rgba(240,240,240,1) 100%);
}

.seccion-2 {
    color: black;
    margin-bottom: 5%;
    font-size: 14pt;
    width: 100%;
    float: left;
}

.seccion-2 .left {
    width: 45%;
    float: left;
    margin-left: 5%;
    margin-top: -35px;
    font-family: 'Lato', sans-serif;
    line-height: 1.5;
}

.seccion-2 .left p {
    margin-left: 5%;
    font-size: 1 ;
}

.seccion-2 .left h2 {
    font-size: 25pt;
    padding: 18px;
    padding-top: 10%;
}

.seccion-2 .left .texto-resumen{
    display: none;
}

.seccion-2 .right {
    float: left;
    width: 43%;
    margin-right: 5%;
    margin-left: 2%;
    text-align: center;
}

.seccion-2 .right img {
    border-radius: 15px;
}

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

    .seccion-1 {
        background-position: unset;
    }

    .seccion-1 h1 {
        margin-top: 40%;
    }

    .seccion-2 .left {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .seccion-2 .left .texto-resumen {
        display: block;
    }

    .seccion-2 .right {
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .seccion-2 .right img {
        margin-top: 5%;
        width: 70%;
    }
}

.seccion-3 {
    width: 100%;
    float: left;
    margin-bottom: 6.5%;
    
}

.seccion-3 .contenedor {
    width: 90%;
    float: left;
   margin-left: 5%;
   margin-right: 5%;
}

.seccion-3 .contenedor .left {
    width: 50%;
    float: left;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    
}

.seccion-3 .contenedor .left .box {
    flex: 1 1 50%;
    text-align: center;
    padding: 20px;
    margin-top: -3%;     
}

.seccion-3 .contenedor .left .box p{
    margin: 3%;
    font-size: 13pt;
    line-height: 1.3;
}

.seccion-3 .contenedor .left .box h3 {
    font-size: 20pt;
    margin: 8% 0 0 0;
}

.seccion-3 .contenedor .right {
    width: 50%;
    float: left;
}

.seccion-3 .contenedor .right h2 {
    margin-top: 5%;
    font-size: 25pt;
}

.seccion-3 .contenedor .right p {
    font-size: 15pt;
    text-align: center;
    padding: 2% 10% 0 10%;
}

.seccion-3 .contenedor .right .imagen {
    width: 100%;
    float: left;
    text-align: center;
}

.seccion-3 .contenedor .right .imagen img {
    margin-top: 4%;
    border-radius: 20px;
}

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

    .seccion-3 {
        margin-top: 10%;
    }

    .seccion-3 .contenedor .left {
        width: 100%;
    }

    .seccion-3 .contenedor .left .box p {
        display: none;
    }

    .seccion-3 .contenedor .left .box {
        flex: 50%;
        text-align: center;
        padding: 0;
    }

    .seccion-3 .contenedor .left .box h3 {
        margin: 2% 0 10% 0;
    }

    .seccion-3 .contenedor .right {
        width: 100%;
        margin: 0;
    }

    .seccion-3 .contenedor .right img {
        width: 85%;
    }
}

.bg-gradient h2 {
    font-size: 25pt;
}

/* Article End */

/* Footer Start */

footer {
    float: left;
    width: 100%;
    bottom: 0;
    background: rgba(240,240,240,1);
}

footer ul {
    flex-direction: column;
    flex-wrap: wrap;
    display: flex;
    height: 80px;
    padding: 0;
    margin: 0;
    text-align: center;
    list-style-type: none;
}

footer ul li {
    flex: 1 0 25%;
}

/* Footer End */

/*
ID
*/

/*
CLASSES
*/

.logo {
    float: left;
    width: 20%;
    margin: 2%;
    
}

.logo img {
    width: 128px;
    border-radius: 100%;
}

.error {
    margin: 0% 5%;
    box-sizing: border-box;
    padding: 2%;
    background-color: #AA2121;
    border-radius: 20px;
}

.error p {
    color: white;
    font-weight: bold;
    text-align: center;
}

.success {
    margin: 0% 5%;
    box-sizing: border-box;
    padding: 2%;
    background-color: #21AA21;
    border-radius: 20px;
}

.success p {
    color: black;
    font-weight: bold;
    text-align: center;
}


.navigator {
    font-weight: bold;
    float: right;
    width: 50%;
    margin-top: 3%;
    padding: 2% 3% 2% 3%;
}

.navigator nav ul li a, .navigator .active a {
    color: white;
    padding: 15%;
    margin: -15%;
}

.navigator nav ul li {
    float: right;
    padding: 2%;
    transition: background-color 0.3s;
    border-radius: 50px;
}

.navigator nav ul li a:hover, .navigator .active a {
    color: black;
}
.navigator nav ul li:hover, .navigator .active {
    background-color: #f2f2f2;
}


.column {
    float: left;
    width: 25%;
    text-align: center;
    align-items: center;
}


.row::after {
    content: "";
    display: table;
    clear: both;
}

.tarjeta{
    margin: 10% auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 256px;
    border: 1px solid lightgray;
    box-shadow: 2px 2px 8px 4px #d3d3d3d1;
    border-radius: 15px;
    font-family: sans-serif;
    margin-left: 50%;
    transform: translate(-50%);
    min-height: 400px;
    background-color: #FFF;
}

.tarjeta::after {
    content: "";
    display: table;
    clear: both;
}

.tarjeta img {
    width: 192px;
}

.titulo{
    font-size: 24px;
    padding: 10px 10px 0 10px;
    margin: 6%;
}

.cuerpo{
    padding: 10px;
    flex-grow: 1;
    margin-top: 5%;
    
}

.cuerpo p{
    margin: 10% 0 0 0;
}

.cuerpo .texto-ejemplo {
    margin-top: 25%;
}

.pie{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #6699ff;
    border-radius: 0 0 15px 15px;
}

.pie a{
    display: block;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
    text-decoration: none;
    color: white;
}

.pie a:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
}

.footer_info {
    padding: 20px;
}

.footer_info .row .column {
    width: 33.33%;
}

.footer_info .row .column ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    
}

.footer_info .row .column ul li {
    margin: 2px;
}

.footer_info .row .column a {
    color: black;
    padding: 5px;
}

.footer_info .row .column .imagen {
    float: left;
    width: 40%;
}

.footer_info .row .column .texto p {
    float: left;
    width: 60%;
    text-align: left;
    margin-top: 10%;
}

.navigator i {
    position: absolute;
    display: none;
    right: 0;
    z-index: 1000;
    margin-top: 12%;
    margin-right: 10%;
}

.visible {
    display: block !important;
}


@media screen and (max-width: 1200px) {
    .column {
        width: 50%;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header .navigator nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    header .navigator nav ul li {
        margin-bottom: 10px;
    }

    .seccion-2 h1 {
        font-size: 28px;
    }

    .seccion-2 p {
        font-size: 20px;
    }

    footer .row {
        flex-direction: column;
        align-items: center;
        
    }

    footer .column {
        text-align: center;
        width: 100%;
        float: left;
    }


}


/*Menú Hamburguesa*/
@media screen and (max-width: 940px) {
    header {
        padding: 15px;
    }

    header .logo img {
        width: 120px;
    }

    .seccion-2 h1 {
        font-size: 24px;
    }

    .seccion-2 p {
        font-size: 20px;
        margin-right: 5%;
    }

    footer {
        padding: 20px 0;
    }

    .column {
        width: 100%;
    }

    .seccion-2 .texto-normal {
        display: none;
    }

    .seccion-2 .texto-resumen {
        display: block;
    }

    .navigator #nav-links {
        display: none;
        margin-top: 45%;
    }

    .navigator #nav-links ul li {
        padding: 5%;
    }

    .navigator i {
        display: block;
    }

    .footer_info .row .column {
        width: 100%;
    }

    .footer_info .row .column .texto {
        display: none;
    }

    .footer_info .row .column .imagen {
        width: 100%;
        padding-bottom: 5%;
    }
}
