/* PARA EL HERO PRINCIPAL */
.hr-all {
    background-color: var(--clr4);
    position: relative;
    height: 780px;
    --img1: 0;
    --img2: 0;
    --img3: 0;
}
.hr-all:has(input[value="img1"]:checked){
    --img1: 1;
}
.hr-all:has(input[value="img2"]:checked){
    --img2: 1;
}
.hr-all:has(input[value="img3"]:checked){
    --img3: 1;
}
.hr-img-1,
.hr-img-2,
.hr-img-3 {
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: .5s all;
}
.hr-img-1 {
    background-image: url(../y-imgs/hr_bg_2.jpg);
    opacity: var(--img1);
}
.hr-img-2 {
    background-image: url(../y-imgs/hr_bg_1.jpg);
    opacity: var(--img2);
}
.hr-img-3 {
    background-image: url(../y-imgs/hr_bg_3.jpg);
    opacity: var(--img3);
}
.hr-all .hr-blr {
    position: absolute;
    z-index: 10;
    height: 100%; 
    width: 100%;
    background-color: #1c4e6b73;
}
.hr-ctnr {
    position: absolute;
    z-index: 11;
    height: inherit;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.hr-ctnr h2 {
    margin-top: -50px;
    font-size: 3em;
    font-weight: 400;
}
.hr-ctnr h1 {
    font-size: 5em;
}
.hr-ctnr p {
    font-size: 1em;
}
.hr-ctnr a {
    text-decoration: none;
    color: #fff;
    margin-top: 40px;
    background-color: var(--clr2);
    border-radius: 1px;
    padding: 15px 40px;
    /* TERMINAR */
    text-shadow: 1px 1px #141d2b;
}

.hr-dots {
    z-index: 21;
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 20px;
    width: 100px;
    height: 20px;
    width: 100%;
}
.hr-dots .btn-img {
    position: relative;
    transition: .2s all ease;
    cursor: pointer;
    padding: 0;
    margin: 0 8px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
}
.hr-dots .btn-img:has(input:checked){
    background-color: #fff;
}
.hr-dots .btn-img input {
    cursor: pointer;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
}
/* .hr-dots button {
    transition: 1s all ease;
    cursor: pointer;
    padding: 0;
    margin: 0 8px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
} */

@media screen and (max-width: 860px) {
    .hr-all {
        height: 700px;
    }
    .hr-ctnr h2 {
        font-size: 2.5em;
    }
    .hr-ctnr h1 {
        font-size: 4.2em;
    }
    .hr-ctnr p {
        font-size: 0.9em;
    }
    .hr-ctnr a {
        margin-top: 30px;
    }
}
@media screen and (max-width: 600px) {
    .hr-all {
        height: 700px;
    }
    .hr-ctnr h2 {
        font-size: 2.2em;
    }
    .hr-ctnr h1 {
        font-size: 3.5em;
    }
    .hr-ctnr p {
        text-align: center;
        width: 70%;
        font-size: 0.9em;
    }
    .hr-ctnr a {
        padding: 13px 35px;
        margin-top: 25px;
    }
}
@media screen and (max-width: 450px) {
    .hr-all {
        height: 560px;
    }
}