body{  
    /* border: 2px solid white; */
}

#main {
    width: 100%;
    font-family: "U-R" !important;
    font-size: 1vw !important;
}


section{
    width: 100%;
    height: 100% !important;
    /*padding-bottom: 5% !important;*/
    /*padding-top: 10vh;*/
    overflow: hidden;
    /*margin: 1%;*/
    /*border: 1px solid yellow;*/
}

#bg{
    position: fixed; 
    left: 0vw;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#bg .bg{
    width: auto;
    height: auto;
    top: 0vw;
    left: 0;
    transition: all 0.15s ease-in-out;
}

#bg #bg0{
    z-index: -1;
}
#bg #frame{
    z-index: 2;
}
#bg #bg1{
    z-index: 3;
}

#bg #origin{
    width: 100%;
    height: 100%;
    top: 0vw;
    left: 0;
    /*border: 1px solid yellow;*/
}
.aspect section #bg #origin{
    height: 55vw;
    top: 16vw;
}

#bg #frame{
    width: 100vw;
    height: auto;
    top: 0vw;
    left: 0vw;
    z-index: 2;
}

#frame img{
    min-height: 100%;
    min-width: 100%;
    /* width: 100vw; */
}

.bg-show{
    bottom: 0vw !important;
}

/*/////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////*/
 
.sections{
    position: fixed;
    width: 100vw;
    height: 10vw;
    top: auto;
    bottom: 0;
    right: 0;
    z-index: 2;
}
.aspect .sections{  
    bottom: 0;
}

.sections:before{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: block;
    content: "";    
    background-color: black;
    opacity: 0.5;
}

.sections span {
    width: 19vw;
    height: auto;
    /* top: 4vw; */
    /*right: 10vw !important;*/
    font-size: 140%;
    /* border-radius: 0vw 1vw 0vw 1vw; */
    padding: 0.5vw 1vw;
    margin: 0.5vw 1% !important;
    text-decoration: none !important;
    color: white;
    background-color: #d18814;
    /* transform: skewX(-15deg); */
    border-radius: var(--border-radius);
    opacity: 0.8;
    cursor: pointer;
}
.aspect .sections span{
    width: 29vw;
    font-size: 180%;
    /*left: 15%;*/
}

.sections span:hover{
    font-size: 150% !important;
    background: rgb(97,65,13);
    background: linear-gradient(0deg, rgba(97,65,13,1) 0%, rgba(209,136,20,1) 100%);opacity: 1;
}
.aspect .sections span:hover{
    font-size: 220%;
}

.sections span label{
    width: 100%;
    height: 100%;
    /* transform: skewX(15deg); */
    cursor: pointer;
}

.sections span:nth-child(1){
    width: 30%;
}

.sections span:nth-child(3){
    width: 30%;
}
/*/////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////*/


.btn_title{
    color: white;
}

.fadeIn{
    animation: fadeIn 0.30s ease-in 0s 1 forwards;
}

.fadeOut{
    animation: fadeOut 0.30s ease-in 0s 1 forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@media screen and (max-width: 991px) and (orientation:portrait){
    
    .bg{
        /* left: -20% !important; */
        left: -60% !important;/*Mueve la imagen en movil para mostrarla mejor*/
    }
    
    #bg #frame {
        width: auto;
        height: 100vh;
        bottom: 0;
        left: -25vw;
    }
    
    #bg #frame img {
        width: auto;
        height: 100%;
    }
    
    .sections {
        display: block;
        height: 30vw;        
    }
    
    .sections span {
        width: 70vw !important;
        font-size: 340%;
        margin: 1.25vw 15vw !important;
    }
    
    
    .sections span:hover{
        font-size: 350% !important;
        background: rgb(97,65,13);
        background: linear-gradient(0deg, rgba(97,65,13,1) 0%, rgba(209,136,20,1) 100%);opacity: 1;
    }   
}

@media screen and (max-width: 575.98px) and (orientation: portrait){
    .bg{/*Mueve la imagen en móvil para mostrarla mejor*/
        left: -125% !important;
    }
}


@media screen and (max-width: 991px) and (orientation:landscape){

    
      #bg #frame {
        width: auto;
        height: 100%;
    }
    
}