:root {
    --bg--cabezera: #fff;
    --bg--cabezera--hover: #ebebeb;
    --bg--select: #0000007a;
    --bg--cuerpo--uno: #66075F;
    --bg--cuerpo--dos: #33032F;
    --color--cabezera: #000;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-image: linear-gradient(180deg, var(--bg--cuerpo--uno) 18%, var(--bg--cuerpo--dos) 100%);
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    width: 10px;
    height: 1px;
}

body::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #66075F; /* Color inicial */
    background: -moz-linear-gradient(180deg, #66075F 0%, #330330 50%, #66075F 100%);
    background: -webkit-linear-gradient(180deg, #66075F 0%, #330330 50%, #66075F 100%);
    background: linear-gradient(180deg, #66075F 0%, #330330 50%, #66075F 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#66075F",endColorstr="#66075F",GradientType=1);
}


.circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

header {
    width: 100%;
    height: 12vh;
    background-color: #00000000;
    /* Color de fondo transparente */
    transition: height 0.5s cubic-bezier(0.4, 0, 1, 1);
    justify-content: space-evenly;
}

header.active {
    position: fixed;
    height: 12vh;
    background-color: var(--bg--cabezera);
    /* Cambia el color de fondo cuando está activo */
    justify-content: space-evenly;
    z-index: 1;
}

.logo {
    width: 0;
}

.logo img {

    width: 100%;
}

.logo.active {
    width: 6%;
}

.select{
    cursor: pointer;
}

.select i {
    font-size: 1.5rem;
    color: var(--bg--cabezera);
    z-index: 1;
}

.boton{
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--bg--select);
    border: none;
}

.boton:hover{
    background-color: var(--color--cabezera);
}

.seleccionar{
    display: none;
}

.seleccionar.active{
    display: block;
    position: fixed;
    top: 5rem;
    width: auto;
    height: auto;
    padding: .6rem;
    background-color: var(--bg--cabezera--hover);
    border-radius: 10px;
}

.seleccionar div i{
    color: var(--color--cabezera);
}

.seleccionar div a{
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    padding: 0;
    color: var(--color--cabezera);
    font-weight: 600;
}

.seleccionar div{
    padding: 0px 10px 0px 10px;
    border-radius: 5px;
}

.seleccionar div:hover{
    background-color: var(--bg--cabezera);
}

.links {
    width: 100%;
    height: auto;

}

.cabazera_logo {
    padding-top: 2rem;
    width: 100%;
    color: var(--bg--cabezera);
}

.content_logo {
    width: 7.5%;
    /* background: rgb(255, 255, 255); */
    background: radial-gradient(circle, #ffffff 50%, #a5a5a5 100%);
    border-radius: 50%;
    box-shadow: 0px 17px 13px -8px rgba(255, 255, 255, 0.562);
}

.logo_cuerpo {
    width: 100%;
}

.cabazera_logo h2 {
    margin-top: 2rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.validado {
    margin-left: .5rem;
    width: 1.3rem;
    height: 1.3rem;
    background-color: #295FD1;
    border-radius: 50%;
}

.cabazera_logo p {
    width: 30%;
    font-weight: 600;
}

.cuerpo_links {
    margin-top: 1rem;
    width: 100%;
}

.content_links {
    margin-top: 2rem;
}

.content_links h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg--cabezera);
    width: 15%;
    text-align: center;
    margin-bottom: 1rem;
}

.contratos {
    padding: 0px 1rem 0 1rem;
    gap: 6rem;
    width: 30%;
    height: 7vh;
    background-color: var(--bg--cabezera);
    border-radius: 2rem;
    transition: all .3s;
    cursor: pointer;
}

.contratos:hover{
    background-color: var(--bg--cabezera--hover);
    transform: scale(1.1);
}

.contratos img {
    width: 12%;
}

.contratos a{
    text-decoration: none;
}

.contratos p {
    padding: 0;
    margin: 0;
    font-weight: 700;
    color: var(--bg--cuerpo--dos);
}

.contacto {
    width: 100%;
    color: var(--bg--cabezera);
    margin-top: 2rem;
}

.contacto .uno {
    font-size: .7rem;
    font-weight: 700;
    margin-top: 1rem;
}

.contacto .dos {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 700;
}

.redes i {
    font-size: 1.7rem;
    margin-left: 1rem;
    cursor: pointer;
    z-index: 5;
    transition: ease-in-out;
}

.logo_footer {
    width: 15%;
}

.logo_footer img {
    width: 100%;
}


@media (max-width: 1500px) {
    .content_links h5 {
        width: 20%;
    }

    .contratos {
        gap: 4rem;
    }

}

@media (max-width: 1100px) {

    .logo.active {
        width: 15%;
    }

    .content_logo {
        width: 15%;
    }

    .cabazera_logo h2 {
        font-size: 2rem;
    }

    .cabazera_logo p {
        width: 40%;
        font-size: 1.2rem;
    }

    .content_links h5 {
        font-size: 1.3rem;
        width: 40%;
    }

    .contratos {
        width: 60%;
        gap: 5.5rem;
    }

    .contacto p {
        font-size: 1.4rem;
    }
}

@media (max-height: 800px) {
    .contratos {
        width: 50%;
        height: 7.5vh;
    }

    header.active {
        height: 15vh;
    }

    .logo.active {
        width: 10%;
    }

}

@media (max-width: 760px) {
    .logo.active {
        width: 15%;
    }

    .content_logo {
        width: 13%;
    }

    .cabazera_logo p {
        width: 50%;
    }

    .content_links h5 {
        width: 40%;
        font-size: .95rem;
    }

    .contratos {
        gap: 4rem;
        width: 60%;
    }

    .contratos p {
        font-size: .8rem;
    }
}

@media (max-width: 550px) {
    header {
        justify-content: space-around;
    }

    header.active {
        justify-content: space-around;
    }

    .logo.active {
        width: 20%;
    }

    .content_logo {
        width: 20%;
    }

    .cabazera_logo h2 {
        font-size: 1.5rem;
    }

    .cabazera_logo p {
        width: 60%;
        font-size: .9rem;
    }

    .content_links h5 {
        width: 50%;
        font-size: .9rem;
    }

    .contratos {
        width: 70%;
    }
}

@media (max-width: 450px) {
    .seleccionar div i{
        font-size: 1.5rem;
    }

    .seleccionar div a{
        font-size: .8rem;
    }

    .logo.active{
        width: 28%;
    }

    .cabazera_logo h2 {
        font-size: 1.2rem;
    }

    .cabazera_logo p {
        font-size: .75rem;
    }

    .cuerpo_links {
        margin-top: 0rem;
    }

    .content_links h5 {
        width: 60%;
        font-size: .85rem;
    }

    .contratos {
        width: 90%;
    }

    .contratos p {
        font-size: .75rem;
    }

    .contacto h6, p{
        text-align: center;
        width: 100%;
    }

    .redes {
        text-align: center;
        width: 80%;
    }

    .redes i {
        font-size: 1.5rem;
    }

    .logo_footer {
        width: 35%;
    }
}