html{
    scroll-behavior: smooth;
}
body, html{
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}

p, li{
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

p.center{
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 3rem auto;
}


p.credit{
    font-size: 0.8rem;
    line-height: 1.2rem;
}

h5.center{
    text-align: center;
}

#sec2 ol {
    margin: 0.75em 0;
    padding: 0 1em;
    list-style: none;
  }
  #sec2 ol li::before { 
    content: "";
    border-color: transparent #264496;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    position: relative;
  }
  

td{
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4rem;
    font-weight: 300;
    padding: 10px 5px;
    border-bottom: 1px dotted #ccc;
}

p.autor{
    text-align: right;
    font-style: italic;
    color: #666;
}

header{
    height: 100vh;
    width: 100%;
    background-image: url(../img/portada.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.logo{
    position: absolute;
    top: 25%;
    left: 32%;
    z-index: 10;
    width: 600px;
    transform: translate(-50%, -50%);
}


header::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(38, 68, 150, 0.75);
}

header .v-line{
    position: absolute;
    right: 15%;
    height: 50vh;
    border-left: 1px solid #fff;
    z-index: 10;
    bottom: 0;
}

header .v-line::before{
    left: -16px;
    content: '';
    position: absolute;
    top: -31px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #fee836;
}

header .v-line::after{
    right: 14.75%;
    content: '';
    position: fixed;
    top: 47.2vh;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fee836;
    display: block;
    transition: all 0.3;
    z-index: 50;
}

header .v-line.is-up::after{
    right: 14%;
    width: 40px;
    height: 40px;

}

H1, H2, H3{
    font-family: 'Bungee', cursive;
    color: #264496;
}

h5{
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: #264496;
}

h2{
    font-size: 1.8rem;
}

.main-nav{
    position: absolute;
    right: 17%;
    top: 55vh;
    z-index: 10;
}

.main-nav a{
    display: block;
    width: 250px;
    color: #fff;
    margin-bottom: 30px;
    text-align: right;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.grey-lihtg{
    background-color: #f2f2f2;
}

.main-nav a:hover{
    color: #fee836;
    cursor: pointer;
    transform: translateX(-2rem);
}

.btn-popup{
    cursor: pointer;
}

mark{
   background-color:#fee836;
}

#sec2 mark{

    animation: latidos .5s infinite;
    display: inline-block;
 }

.button{
    background-color: #fee836;
    display: inline-block;
    padding: 7px 2rem;
    color: #264496;
    font-size: 1.2rem;
    font-weight: 300;
    border: none;
}

.container{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
}


.intro{
    background-color: #264496;
    color: #ffffff;
    padding: 3em 5rem 3rem 0;
    position: relative;
}

.section-pad{
    padding: 3rem 5rem 2rem 0; 
}


.intro:before{
    position: absolute;
    right: 15%;
    height: 100%;
    border-left: 1px solid #fff;
    z-index: 10;
    bottom: 0;
    content: '';
}

.section-secon{
    padding-bottom: 7rem;
    position: relative;
}

#sec2{
    position: relative;
}

.section-secon:before{
    position: absolute;
    right: 15%;
    height: 100%;
    border-left: 1px solid #264496;
    z-index: 10;
    bottom: 0;
    content: '';
}

#sec2:before{
    position: absolute;
    right: 15%;
    height: 100%;
    border-left: 1px solid #264496;
    z-index: 10;
    bottom: 0;
    content: '';
}

.intro h2{
    color: #fee836; 
}

.intro p{
    font-size: 1.2rem;
    line-height: 1.8rem;
    font-weight: 200;
    width: 80%;
    color: #fff;
}

.row{
    display: grid;
    grid-gap: 50px;
}

.row.col-2{
    grid-template-columns: repeat(2, 1fr);
}

.row.col-3{
    grid-template-columns: repeat(3, 1fr);
}

.graf2{
    width: 100%;
    max-width: 1050px;
    margin: auto;
    display: block;
}


.popup{
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(38, 68, 150, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    top: 0;
    left: 0;


}

.popup.is-open{
    display: flex;
}

.popup__body{
    background: #fff;
    padding: 2rem;
    width: 100%;
    max-width: 750px;
    position: relative;
}

.popup__content{
    display: none;
}

.popup__content.is-open{
    display: block;
}

.popup .close{
    color: #264496;
    position: absolute;
    right: -15px;
    top: -15px;
    width: 30px;
    height: 30px;
    background-color: #ffeb3b;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 100;
    font-size: 20px;
}

.negative-top{
    width: 360px;
    margin: auto;
    display: block;
    margin-top: 80px;
}

.popup table td{
    width: 25%;
    font-size: 0.75rem;
    padding: 3px;
}

table thead{
    background-color: #ccc;
}

table.col-4{
    margin-bottom: 4rem;
}

table.col-4 td{
    width: 25%;
}

.sect-ter{
    background-color: #264496;
    color: #ffffff;
    padding: 4rem 5rem 4rem 0;
    position: relative;
}

.sect-ter mark{
    color: #264496;
}

.sect-ter h2{
    color: #ffeb3b;
}

.sect-ter h3{
    color: #fff;
}

.sect-ter p{
    color: #fff;
}

.sect-ter:before{
    position: absolute;
    right: 15%;
    height: 100%;
    border-left: 1px solid #fff;
    z-index: 10;
    bottom: 0;
    content: '';
}

.sect-cua{
    background-color: #e4e1e1;
    padding: 4rem 5rem 4rem 0;
    position: relative;
}

.sect-cua:before{
    position: absolute;
    right: 15%;
    height: 100%;
    border-left: 1px solid #264496;
    z-index: 10;
    bottom: 0;
    content: '';
}

footer{
    padding: 5rem 0;
}

footer .logos{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

footer .logos img{
    margin: 0 10px;
}

.coles-2{
    grid-column: 2 / 4;
}

.circle{
    position: relative;
    display: block;
}

.circle:before{
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #f2f2f2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.circle.big:before{
    width: 600px;
    height: 600px;
}

.mb-50{
    margin-bottom: 50px;
}

.info-text{
    display: flex;
    width: 350px;
    font-weight: 300;
    align-items: center;
    color: #333;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.cir-tran{
    position: absolute;
    width: 1;
    height: 1;
    background-color: #fff;
    border-radius: 50%;
    z-index: -1;

}

.info-text:hover .cir-tran{
    width: 90px;
    height: 90px;
    background-color: #fee836;
    transform: scale(9);
}

.info-text span{
    font-size: 150px;
    font-weight: 800;
}

.big-graf{
    position: relative;
}

.big-graf h5{
    position: absolute;
    left: 0;
    top: 100px;
}   

.border-col{
    position: relative;

}

.border-col:after{
    content: '';
    position: absolute;
    height: 100%;
    border-right: 1px dotted #264496;
    right: -24px;
    top: 0;
}

.border-col.white:after{

    border-right: 1px dotted #fff;
}

#sec4::after{
    content: '';
    position: absolute;
    width: 490px;
    height: 490px;
    background-color: #cccccc73;
    border-radius: 50%;
    top: 50%;
    border: none;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.center-aling{
    text-align: center;
}

.table-75{
    width: 100%;
}

.table-75 tr td:first-child{
    width: 80%;
}

.table-75 tr td:last-child{
    width: 20%;
}

@keyframes latidos {
    from { transform: none; }
    50% { transform: scale(1.05); }
    to { transform: none; }
}


@media (max-width: 1600px) {
    header .v-line{
        position: absolute;
        right: 5%;
        height: 50vh;
        border-left: 1px solid #fff;
        z-index: 10;
        bottom: 0;
    }

    header .v-line::after{
        right: 4.75%;
    }
    
    header .v-line.is-up::after{
        right: 3.7%;
    }

    .intro:before {
        right: 5%;
    }

    #sec2:before {
        right: 5%;
    }

    .section-secon:before {
        right: 5%;
    }

    .sect-ter:before {
        right: 5%;
    }

    .sect-cua:before {
        right: 5%;
    }

    .main-nav {
        right: 8%;
    }
}

@media (max-width: 1450px) {
    header .v-line{
        position: absolute;
        right: 0;
        height: 50vh;
        border-left: 1px solid #fff;
        z-index: 10;
        bottom: 0;
    }

    header .v-line::after{
        right: -4px;
    }
    
    header .v-line.is-up::after{
        right: -15px;
    }

    .intro:before {
        right: 0;
    }

    #sec2:before {
        right: 0;
    }

    .section-secon:before {
        right: 0;
    }

    .sect-ter:before {
        right: 0;
    }

    .sect-cua:before {
        right: 0;
    }

    .main-nav {
        right: 4%;
    }
}


@media (max-width: 1300px) {
    .container{
        padding-left: 3rem;
    }
}

@media (max-width: 970px) {
    .row{
        display: block;
    }

    .logo{
        left: 50%;
        width: 400px;
    }
}



