:root {
    /* Variables modo claro */
    --bg-color: #fff;
    --main-color: #152351;
    --main-color-second:#152351;
    --text-color2:#fff;
}
*, *::before, *::after {
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
}

header{
    padding:0px 15%;
}
section{
    padding:0px 15%;
    min-height: 100vh;
}
header h1{
        font-size: 35px;
        color:var(--main-color);
    }
section h2{
    font-size: 25px;
    color: var(--main-color);
}
section p{
    color:var(--text-color)
}
.progreso{
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 10px;
    background-color: var(--main-color);

    transform-origin: 0 50%;
    animation:barra-progeso auto linear ;
    animation-timeline: scroll(root block);
}

.btn-terminos {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--main-color);
    border: none;
    border-radius: 30px;
    color: var(--text-color2);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(4, 50, 210, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.btn-terminos:hover,
.btn-terminos:focus {
    background-color: var(--main-color-second);
    outline: none;
}

@keyframes barra-progeso {
    from{
        width: 0%;
    }
    to{
        width: 100%;
    }
}

.footer{
    padding: 40px 10%;

}
.footer p{
    font-size: 16px;
    text-align: center;
    color: var(--text-color);
}


@media (max-width: 600px) {
    section h1 {
        font-size: 28px;
    }
    section h2 {
        font-size: 20px;
    }
}



@media (max-width:1100px){
    section{
        padding: 0 7%;
    }
}
