@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:wght@400;700&display=swap');
#slider {
    position: relative;
    overflow: hidden;
    margin: 0px;
    padding: 0;
    border-radius: 10px;
    width: 600px;
    height: 500px;
    margin-top: -55px;
  }
  
  #slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    height: auto;
    list-style: none;
    width: 600px;
    height: 500px;
  }
  
  #slider ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 600px;
    height: 500px;
    background: #ccc;
    text-align: center;
  }

  .imgsslider{
    width: 600px;
    height: 500px;
    object-fit: cover;
  }
  
  a.control_prev, a.control_next {
    position: absolute;
    top: 40%;
    z-index: 999;
    display: block;
    padding: 4% 3%;
    width: auto;
    height: auto;
    background: rgb(185, 86, 4);
    color: #fff;
    text-decoration: none;
    font-weight: 1000;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
  }
  
  a.control_prev:hover, a.control_next:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
  }
  
  a.control_prev {
    border-radius: 0 2px 2px 0;
  }
  
  a.control_next {
    right: 0;
    border-radius: 2px 0 0 2px;
  }




#fondoblur{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    opacity: 0.7;
    background-color: black;

    display: none;
}
#divpreview0{
    position: fixed;
    left: calc(50% - 600px/2);
    top: calc(50% - 500px/2);
    width: 600px;
    height: 500px;

    display: none;
    z-index: 1001;

    background-size: cover;
    border-radius: 10px;
}
#divpreview{
    position: fixed;
    left: calc(50% - 600px/2);
    top: calc(50% - 500px/2);
    width: 600px;
    height: 500px;

    display: none;
    z-index: 1001;

    background-size: cover;
}
#cross{
    cursor: pointer;
    width: 50px;
    height: auto;


    margin-left: 610px;
}
.imgpreview{
    cursor: pointer;
    position: relative;
    margin-top: -40px;
    margin-left: 5px;

    width: 50px;
    height: auto;
}


header{
    position: relative;
    height: 100px;
}
main{
    height: fit-content;
    width: 100%;

    font-family: 'Old Standard TT';
    color: white;

    height: 1600px;
}
#h1proyectos{
    position: relative;
    top: 50px;
    font-size: 120px;

    height: 150px;
    width: 100%;
    left: -255px;

    overflow: hidden;
    text-align: center;
    font-weight: 400;
}



#locales{
    cursor: pointer;
    position: absolute;
    left: calc(50% - 600px/2);

    font-size: 27px;
    color: white;

    height: 32px;
    width: 337px;

    overflow: hidden;
    white-space: nowrap;
}
#residencial{
    cursor: pointer;
    position: absolute;
    left: calc(50% - -330px/2);

    font-size: 27px;
    color: orange;

    height: 32px;
    width: 134px;

    overflow: hidden;
    white-space: nowrap;
}
#locales:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 1px;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right center;
    -moz-transform-origin: right center;
    -ms-transform-origin: right center;
    -o-transform-origin: right center;
    transform-origin: right center;
    background: currentColor;
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -o-transition: -o-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -moz-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -moz-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -o-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#locales:focus,
#locales:hover {
    color: white;
    text-decoration: none;
}
#locales:hover:before {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}
#residencial:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 1px;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: right center;
    -moz-transform-origin: right center;
    -ms-transform-origin: right center;
    -o-transform-origin: right center;
    transform-origin: right center;
    background: currentColor;
    -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -o-transition: -o-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -moz-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -webkit-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -moz-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), -o-transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#residencial:focus,
#residencial:hover {
    color: orange;
    text-decoration: none;
}
#residencial:hover:before {
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}



#divclarence{
    position: relative;
    width: 600px;
    height: fit-content;

    top: 100px;
    left: calc(50% - 600px/2);
}
#proyectoclarence{
    position: relative;
    width: 600px;
    height: 450px;

    object-fit: cover;
    opacity: 0.7;
}
#titclarence{
    position: absolute;
    top: 200px;
    left: -120px;

    font-size: 72px;

    height: 100px;
    width: 830px;

    overflow: hidden;
    white-space: nowrap;
}

#divlopez{
    position: relative;
    width: 600px;
    height: fit-content;

    top: 200px;
    left: calc(50% - 1100px/2);
}
#proyectolopez{
    position: relative;
    width: 600px;
    height: 450px;

    object-fit: cover;
    opacity: 0.7;
}
#titlopez{
    position: absolute;
    top: 200px;
    left: 300px;

    font-size: 72px;

    height: 100px;
    width: 790px;

    overflow: hidden;

    white-space: nowrap;
}





@media (max-width: 1300px) and (min-width: 600px){
    .imgpreview{
        cursor: pointer;
        position: relative;
        margin-top: -40px;
        margin-left: 5px;
        
        width: 40px;
        height: auto;
    }

    main{
        height: fit-content;
        width: 100%;
    
        font-family: 'Old Standard TT';
        color: white;
    
        margin-top: -70px;
        height: 123vw;
    }
    #h1proyectos{
        position: relative;
        top: 3.8462vw;
        font-size: 9.2308vw;
    
        height: 11.5385vw;
        width: 100%;
        left: -19.6154vw;
    
        overflow: hidden;
        text-align: center;
        font-weight: 400;
    }

    #divclarence{
        position: relative;
        width: 46.1538vw;
        height: fit-content;
    
        top: 7.6923vw;
        left: calc(50% - 46.1538vw/2);
    }
    #proyectoclarence{
        position: relative;
        width: 46.1538vw;
        height: 34.6154vw;
    
        object-fit: cover;
        opacity: 0.7;
    }
    #titclarence{
        position: absolute;
        top: 15.3846vw;
        left: -9.5385vw;
    
        font-size: 5.5385vw;
    
        height: 7.6923vw;
        width: 64.8462vw;
    
        overflow: hidden;
        white-space: nowrap;
    }

    #divlopez{
        position: relative;
        width: 46.1538vw;
        height: fit-content;
    
        top: 15.3846vw;
        left: calc(50% - 84.6154vw/2);
    }
    #proyectolopez{
        position: relative;
        width: 46.1538vw;
        height: 34.6154vw;
    
        object-fit: cover;
        opacity: 0.7;
    }
    #titlopez{
        position: absolute;
        top: 15.3846vw;
        left: 20.4615vw;
    
        font-size: 5.5385vw;
    
        height: 7.6923vw;
        width: 60.8462vw;
    
        overflow: hidden;
    
        white-space: nowrap;
    }
}
@media (max-width: 600px){
    .imgpreview{
        cursor: pointer;
        position: relative;
        margin-top: -40px;
        margin-left: 5px;
        
        width: 40px;
        height: auto;
    }

    main{
        height: fit-content;
        width: 100%;
    
        font-family: 'Old Standard TT';
        color: white;
    
        margin-top: -120px;
        height: 175vw;
    }
    #h1proyectos{
        position: relative;
        top: 60.0772px;
        font-size: 18vw;
    
        height: 25.5385vw;
        width: 76vw;
        left: 12vw;
    
        overflow: hidden;
        text-align: unset;
        font-weight: 400;
    }

    #divclarence{
        position: relative;
        width: 66vw;
        height: fit-content;
    
        top: 12.6923vw;
        left: 17vw;
    }
    #proyectoclarence{
        position: relative;
        width: 66vw;
        height: 40.6154vw;
    
        object-fit: cover;
        opacity: 0.7;
    }
    #titclarence{
        position: absolute;
        top: 15.3846vw;
        left: -13.5385vw;
    
        font-size: 8.0385vw;
    
        height: 12.6923vw;
        width: 92.8462vw;
    
        overflow: hidden;
        white-space: nowrap;
    }
    
    #divlopez{
        position: relative;
        width: 66vw;
        height: fit-content;
    
        top: 24.3846vw;
        left: 3vw;
    }
    #proyectolopez{
        position: relative;
        width: 66vw;
        height: 40.6154vw;
    
        object-fit: cover;
        opacity: 0.4;
    }
    #titlopez{
        position: absolute;
        top: 15.3846vw;
        left: 7.4615vw;
    
        font-size: 7.9385vw;
    
        height: 12.6923vw;
        width: 86.8462vw;
    
        overflow: hidden;
    
        white-space: nowrap;
    }
}

/*Ajuste footer*/
@media (max-width: 1300px){
    footer{
        margin-top: 0px;
    }
}

/*Ajuste logo*/
@media (max-width: 950px){     
    #locales{
        cursor: pointer;
        position: absolute;
        left: calc(50% - 370px/2);
    
        font-size: 27px;
        color: white;
    
        height: 32px;
        width: 337px;
    
        overflow: hidden;
        white-space: nowrap;
    }
    #residencial{
        cursor: pointer;
        position: absolute;
        margin-top: 40px;
        left: calc(50% - 370px/2);
    
        font-size: 27px;
        color: orange;
    
        height: 32px;
        width: 134px;
    
        overflow: hidden;
        white-space: nowrap;
    }  
    #divclarence{
        margin-top: 130px;
    }
    footer{
        margin-top: 75px;
    }
}
@media (max-width: 600px){
    #locales{
        cursor: pointer;
        position: absolute;
        left: calc(50% - 73.33vw/2);
        margin-top: -3.333vw;
    
        font-size: 5.33vw;
        color: white;
    
        height: 5.33vw;
        width: 66vw;
    
        overflow: hidden;
        white-space: nowrap;
    }
    #residencial{
        cursor: pointer;
        position: absolute;
        margin-top: 3.533vw;
        left: calc(50% - 73.33vw/2);
    
        font-size: 5.33vw;
        color: orange;
    
        height: 5.33vw;
        width: 26.66vw;
    
        overflow: hidden;
        white-space: nowrap;
    } 
    #divclarence{
        margin-top: 28.666vw;
    }
}
@media (max-width: 500px){
    #locales{
        cursor: pointer;
        position: absolute;
        left: calc(50% - 73.33vw/2);
        margin-top: -1.333vw;
    
        font-size: 5.93vw;
        color: white;
    
        height: 6.23vw;
        width: 74vw;
    
        overflow: hidden;
        white-space: nowrap;
    }
    #residencial{
        cursor: pointer;
        position: absolute;
        margin-top: 7.533vw;
        left: calc(50% - 73.33vw/2);
    
        font-size: 5.93vw;
        color: orange;
    
        height: 6.23vw;
        width: 28.66vw;
    
        overflow: hidden;
        white-space: nowrap;
    } 
}

/*Ajuste localyresidencial*/

/*Medias preview*/
@media (max-width: 800px){
    #slider {
        position: relative;
        overflow: hidden;
        margin: 0px;
        padding: 0;
        border-radius: 10px;
        width: 75vw;
        height: 62.5vw;
        margin-top: -55px;
      }
      
      #slider ul {
        position: relative;
        margin: 0;
        padding: 0;
        height: auto;
        list-style: none;
        width: 75vw;
        height: 62.5vw;
      }
      
      #slider ul li {
        position: relative;
        display: block;
        float: left;
        margin: 0;
        padding: 0;
        width: 75vw;
        height: 62.5vw;
        background: #ccc;
        text-align: center;
      }
    
      .imgsslider{
        width: 75vw;
        height: 62.5vw;
        object-fit: cover;
      }
      



    #divpreview0{
        position: fixed;
        left: calc(50% - 75vw/2);
        top: calc(50% - 62.5vw/2);
        width: 75vw;
        height: 62.5vw;
    
        display: none;
        z-index: 1001;
    
        background-size: cover;
        border-radius: 10px;
    }
    #divpreview{
        position: fixed;
        left: calc(50% - 75vw/2);
        top: calc(50% - 62.5vw/2);
        width: 75vw;
        height: 62.5vw;
    
        display: none;
        z-index: 1001;
    
        background-size: cover;
    }
    #cross{
        cursor: pointer;
        width: 6.25vw;
        height: auto;
    
    
        margin-left: 76.25vw;
    }
}
@media (max-width: 500px){
    #slider {
        z-index: -1;
        position: relative;
        overflow: hidden;
        margin: 0px;
        padding: 0;
        border-radius: 10px;
        width: 85vw;
        height: 62.5vw;
        margin-top: -55px;
      }
      
      #slider ul {
        position: relative;
        margin: 0;
        padding: 0;
        height: auto;
        list-style: none;
        width: 85vw;
        height: 62.5vw;
      }
      
      #slider ul li {
        position: relative;
        display: block;
        float: left;
        margin: 0;
        padding: 0;
        width: 85vw;
        height: 62.5vw;
        background: #ccc;
        text-align: center;
      }
    
      .imgsslider{
        width: 85vw;
        height: 62.5vw;
        object-fit: cover;
      }




    #divpreview0{
        position: fixed;
        left: calc(50% - 85vw/2);
        top: calc(50% - 62.5vw/2);
        width: 85vw;
        height: 62.5vw;
    
        display: none;
        z-index: 1001;
    
        background-size: cover;
        border-radius: 10px;
    }
    #divpreview{
        position: fixed;
        left: calc(50% - 85vw/2);
        top: calc(50% - 62.5vw/2);
        width: 85vw;
        height: 62.5vw;
    
        display: none;
        z-index: 1001;
    
        background-size: cover;
    }
    #cross{
        cursor: pointer;
        width: 40px;
        height: auto;
    
    
        margin-left: 74.25vw;
        margin-top: 10px;
    }
}