@font-face {
    font-family: AmsiPro-Black;
    src: url('/fonts/AmsiPro-Black.otf');
}

@font-face {
    font-family: AmsiPro-Regular;
    src: url('/fonts/SourceSansPro-Light.otf');
}


:root {
    --primaryColor: #385449;
    --SecondColor:  #CE1241;
    --ThirtCOlor:   #747474;
    --BlackColor:   #000000;
    --WhiteColor:   #FFFFFF;
    --ShadowColor: rgba(0, 0, 0, 0.25);
    --backGroundColor:    #EEEEEE;
    --IconbackGrounColor: #D9D9D9;
    --BoldFont:     'AmsiPro-Black';
    --RegularFont:  'AmsiPro-Regular';
    --FSMobileTittle: 26px;
    --FSMobilebody: 16px;
    --FSMobileMinimus: 10px;
    --FSDesktopTittle: 26px;
    --FSDesktopbody: 16px;
    --FSTabletTittle: 26px;
    --FSTabletbody: 16px;
}

*{
    margin: 0px;
    padding: 0px;
}

body{
    min-width: 375px;
}

nav{
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    top: 0;
    align-self: flex-start; /* <-- this is the fix */
    background-color: red;  /* Not necessary -- for example only */
    width: 100%;
    height: 70px;
    background-color: var(--WhiteColor);
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--BlackColor);
    z-index: 2;
}

nav img{
    width: 130px;
    margin-left: 10px;
}

nav .row-options{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    justify-items: center;
    gap: 90px;
    margin-right: 10px;
}

nav .hamb-options{
    display: none;
}

nav .desplegar_opciones{
    display: none;
}

nav .row-options a{
    font-size: var(--FSDesktopTittle);
    font-family: var(--BoldFont);
    color: var(--primaryColor);
    text-decoration: none;
}

.imgindex{
    background-image: url("/img/DSC_1038.jpg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    vertical-align: middle;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

.bg-overlay {
    background: linear-gradient(to right, var(--BlackColor), transparent);
    position: absolute ;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 100%;
    opacity:0.80;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.bg-overlay span{
    font-size: var(--FSDesktopTittle);
    font-family: var(--BoldFont);
    color: var(--WhiteColor);
    text-align: center;
}

.tittle_index{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: calc( 50% - 40px);
    height: calc(100% - 40px);
    opacity:1;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    padding: 20px;
}

.tittle_index .ColumTittle{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    flex-direction: column;
    gap: 15px;
}

#button{
    width: calc(auto - 40px);
    height: calc(auto - 40px);
    padding: 10px 20px;
    border-radius: 2px;
    background-color: var(--primaryColor);
    border: 1px solid var(--BlackColor);
    color: var(--primaryColor);
    cursor: pointer;
    font-size: var(--FSDesktopbody);
    font-family: var(--BoldFont);
    color: var(--WhiteColor);
}

#button:hover{
    background-color: var(--WhiteColor);
    color: var(--primaryColor);
}


.tittle_index span{
    font-size: var(--FSDesktopTittle);
    font-family: var(--BoldFont);
    color: var(--WhiteColor);
    text-align: center;
}

.Row_tittle{
    width: 500px;
    height: auto;
    position: relative;
    left: 100px;
    display: flex;
    padding: 10px;
    gap: 12px;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    justify-items: center;
}

.red_tangl{
    width: 4px;
    height: 40px;
    background-color: var(--SecondColor);
}

.Row_tittle h3{
    font-family: var(--BoldFont);
    color: var(--primaryColor);
    font-size: var(--FSDesktopTittle);
}

.Row_body{
    width: calc(100% - 220px);
    height: auto;
    position: relative;
    left: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    padding: 20px;
    gap: 20px;
}

.Row_body span{
    text-align: justify;
    font-family: var(--RegularFont);
    color: var(--BlackColor);
    font-size: var(--FSDesktopbody);
}

.body-no-atention{
    width: calc(100% - 200px);
    text-align: justify;
    padding: 20px;
    display: flex;
    font-family: var(--RegularFont);
    color: var(--BlackColor);
    font-size: var(--FSDesktopbody);
    position:relative;
    left: 110px;
}

.body-atention{
    text-align: justify;
    font-family: var(--BoldFont);
    color: var(--primaryColor);
    font-size: var(--FSDesktopbody);
    position:relative;
    left: 110px;
}

.RowList{
    width: calc(100% - 40px);
    height: auto;
    gap: 90px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-items: center;
    padding: 20px;
}

.row_service{
    width: auto;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    justify-items: start;
    gap: 20px;
    padding: 12px;
}

.row_service img{
    width: 30px;
}

.row_service span{
    text-align: start;
    font-family: var(--RegularFont);
    color: var(--BlackColor);
    font-size: var(--FSDesktopbody);
}

.rsuImage{
    background-image: url("/img/DSC_0710-4.jpg");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    vertical-align: middle;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

.imgservice1{
    background-image: url("/img/DSC_0907.jpg");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    vertical-align: middle;
    min-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    border-bottom: 1px solid black;
    border-top: 1px solid black;
}

ul li{
    text-align: center;
    font-family: var(--RegularFont);
    color: var(--WhiteColor);
    font-size: var(--FSDesktopTittle);
    list-style: none;
}

.rights{
    width: calc(100% - 10px);
    height: auto;
    background-color: var(--ThirtCOlor);
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    padding: 5px;
}

.rights span{
    text-align: start;
    font-family: var(--BoldFont);
    color: var(--WhiteColor);
    font-size: var(--FSDesktopbody);
}

.RowColums{
    width: calc(100% - 40px);
    height: auto;
    display: flex;
    padding: 20px;
    flex-direction: row;
    justify-content: space-around;
    justify-items: start;
    align-items: start;
}

.RowColums .column{
    width: 33%;
    height: auto;
    display: flex;
    gap: 40px;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;

}

.card_valor{
    padding: 20px;
    gap: 8px;
    width: calc(80% - 40px);
    height: calc(180px - 40px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    justify-items: start;
    align-items: center;
}

.card_valor h3{
    text-align: center;
    font-family: var(--BoldFont);
    color: var(--primaryColor);
    font-size: var(--FSDesktopbody);
}

.card_valor span{
    text-align: justify;
    font-family: var(--RegularFont);
    color: var(--BlackColor);
    font-size: var(--FSDesktopbody);
}

.foot{
    border-top: 1px solid black;
    width: calc(100% - 40px);
    padding: 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.foot .colFoot{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.foot .colFoot span{
    text-align: center;
    font-family: var(--RegularFont);
    color: var(--BlackColor);
    font-size: var(--FSDesktopbody);
}

.foot img{
    width: 200px;
    padding: 20px;
}

.back{
    width: 60px;
    height: 60px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: var(--WhiteColor);
    position: absolute;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    cursor: pointer;
}

.next{
    width: 60px;
    height: 60px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: var(--WhiteColor);
    position: absolute;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
    cursor: pointer;
}

.info-contact{
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: #385449;
    display: flex;
    justify-content: center;
    opacity: 0.98;
    align-items: center;
    justify-items: center;
}

.info-contact .col-info{
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    justify-items: center;
}

.info-contact .col-info h3{
    text-align: start;
    font-family: var(--BoldFont);
    color: var(--WhiteColor);
    font-size: var(--FSDesktopTittle);
}

.info-contact .col-info span{
    text-align: start;
    font-family: var(--RegularFont);
    color: var(--WhiteColor);
    font-size: var(--FSDesktopbody);
}


.info-contact img{
    width: 450px;
}

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

    nav .row-options{
        display: none;
    }

    nav .hamb-options{
        width: 90%;
        height: 100%;
        display: flex;
        justify-content: end;
        align-items: center;
        justify-items: center;
    }

    nav .hamb-options button{
        display: flex;
        flex-direction: column;
        width: 3rem;
        height: 3rem;
        border: 0;
        gap: .65rem;
        margin-top: 20px;
        margin-right: 20px;
        background-color: transparent;
    }

    nav .hamb-options button > div{
        background-color: var(--BlackColor);
        height: 2px;
        width: 80%;
        border-radius: 5px;
        transition: all .5s;
        transform-origin: left;
    }

    nav .hamb-options button:hover div:nth-child(1){
        transform: rotate(45deg);
    }


    nav .hamb-options button:hover div:nth-child(2){
        opacity: 0;
    }

    nav .hamb-options button:hover div:nth-child(3){
        transform: rotate(-45deg);
    }

    nav .hamb-options .container-hamb:hover + .desplegar_opciones{
        display: flex;
    }

    nav .hamb-options .desplegar_opciones:hover {
        display: flex;
    }

    .desplegar_opciones{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        justify-items: center;
        background-color: var(--WhiteColor);
        border: 1px solid var(--BlackColor);
        gap: 15px;
        margin-right: 10px;
        position: absolute;
        top: 70px;
        right: 0px;
        padding: 20px;
    }

    .desplegar_opciones a{
        font-size: var(--FSDesktopTittle);
        font-family: var(--BoldFont);
        color: var(--primaryColor);
        text-decoration: none;
    }

    .tittle_index{
        width: calc(100% - 40px);
    }

    .bg-overlay {
        width: 100%;
        background: linear-gradient(to bottom, var(--BlackColor), transparent);
    }

    .Row_tittle{
        width: 100%;
        left: 10px;
    }

    .Row_body{
        width: calc(90% - 10px);
        left: 10px;
    }

    .RowList{
        flex-direction: column;
        gap: 0px;
    }

    .col_body{
        width: 100%;
    }

    .body-atention{
        left: 20px;
    }

    #rsutittle{
        max-width: calc(100% - 40px);
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }

    .body-no-atention{
        width: calc(100% - 40px);
        left: 0px;
    }

    .RowColums{
        flex-direction: column;
        gap: 20px;
    }

    .RowColums .column{
        width: 100%;
        gap: 20px;
    }

    .card_valor{
        width: 90%;
    }

    .info-contact{
        width: 100%;
        flex-direction: column;
    }
    .info-contact .col-info{
        order: 2;
        width: 100%;
        justify-content: center;
        justify-items: center;
        align-items: center;
    }

    .info-contact .col-info span{
        text-align: center;
    }

    .info-contact img{
        display: none;
    }


}


