@font-face {
    font-family: "Source-Serif-Pro";
    src:url("../fonts/SourceSerifPro-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style:normal;
}
@font-face {
    font-family: "Source-Serif-Pro";
    src:url("../fonts/SourceSerifPro-Semibold.ttf") format("truetype");
    font-weight: 600;
    font-style:normal;
}
@font-face {
    font-family: "Source-Serif-Pro";
    src:url("../fonts/SourceSerifPro-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style:normal;
}


html{
    scroll-behavior:smooth;
    overflow-y: scroll;
}

body {
    width: 100vw;
    height: auto;
}

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
p{
    margin:0;
}

.spinner-wrapper{
    background-color: black;
    position:fixed;
    width: 100%;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition:all 0.2s;
}
.spinner-border{
    height:60px;
    width: 60px;
}
.hidden{
    /* opacity:0; */
    transition:all 0.2s;
    /* transform:translateY(-100%); */
    display:none !important;
}

.mobile-navbar{
    display:none;   
}
.desktop-navbar{
    height:80px;
    width:100%;
    padding:0 1rem;
    display:flex;
    position:fixed;
    z-index: 999;
}
.nav_bg{
    height:100%;
    width:100%;
    /* background-color: #353D48; */
    background-color:rgba(53, 61 , 72, 0.8);
    position:absolute;
    top:0;
    left: 0;
    z-index: 1;
    backdrop-filter: blur(5px);
}
.logo-container{
    height:100%;
    width:20%;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    z-index: 2;
}

.logo-container img{
    height:3rem;
}
.menu-container{
    height:100%;
    width:80%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    z-index: 2;
}
body{
    /* font-family: 'Montserrat', sans-serif; */
    font-family: Source-Serif-Pro;


}
.menu{
    height:100%;
    width:100%;
    display:flex;
    justify-content: space-around;
    align-items: center;
    font-family: Source-Serif-Pro;
}
.menu li{
    list-style: none;
}
.menu li a{
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    font-size: clamp(0.5rem, 2vw, 1.1rem);
    font-weight: 200;
    padding-bottom: 12px;
    border-bottom:2px solid transparent;
    transition: .5s ease;
    font-family: Source-Serif-Pro;

}

.menu li a:hover {
    border-bottom:2px solid white;
}

.section-title{
    text-transform: capitalize;
    font-size: clamp(2rem, 3vw, 3.3rem);
    letter-spacing: 1px;
    font-family: "source-serif-pro", serif;
    font-weight: 300;
}
.home{
    font-weight: 600;
    min-height: 100vh;
    display:flex;
    justify-content: center;
    position:relative;

    background-image: url('../img/wimgs/home1.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* .home-img{
    height: 100vh;
    width:100%;
    position:absolute;
    z-index: -1;
    top:0;
    left:0;
}
.home-img img{    
    height: 100%;
    width:100%;
    object-fit: cover;
    filter:brightness(80%)
} */
.home-img{
    height:100%;
    width:100%;
    position: absolute;
    top:0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
    z-index:1;
}

.home-container{
    min-height:100%;
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.home-container *{
    margin:15px 0;
}
.home-container h1{
    color: #fff;
    font-size: clamp(21px, 3vw, 3rem);
    font-weight: 200;
    text-align: center;
    
}
.home-container img{
    height: 100px;
}
.home-container button{
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 1rem;
    text-transform:uppercase;
    font-weight: 300;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
 button a{
    text-decoration: none;
    color: #fff;
}

.home-container button:hover {
    background:#353D48;
    border: 1px solid #353D48;
}
.home .fixed-icon{
    height:55px;
    width: 55px;
    padding:10px;
    border-radius: 100%;
    position:fixed;
    bottom:15px;
    right:15px;
    background-color: #525d6d;
    box-shadow:2px 2px 2px black;
    z-index: 999;
    opacity: 0.7;
}

.home .fixed-icon-text{
    /* height:50%; */
    padding:3px 5px;
    position:absolute;
    top:-20px;
    left:-45px;
    font-size: 0.7rem;
    font-weight:100;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    text-transform: uppercase;
    box-shadow:0px 0px 1px black;

    opacity:0;
    transition:0.4s;
}
.home .fixed-icon:hover .fixed-icon-text{
    opacity:1;
}
.home .fixed-icon a{
    text-decoration: none;
    color:black;
}
.home .fixed-icon a img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
    position:relative;
 
}

.about{
    min-height:100vh;
    width:calc(100% - 0rem);
    margin: auto;
    display:flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
}
.about-item{
    height:100vh;
    width:calc(100%/4 - 0.5rem);
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    text-align: center;
}
.card-container:hover > .card{
    transform: rotateY(180deg);
}

.card{
    height:100%;
    width:100%;
    position:relative;
    transition: transform 1s;  
    transform-style: preserve-3d;  
    border-style: none;
}
.front, .back{
    height: 100%;
    width:100%;
    position:absolute;
    backface-visibility: hidden;

}
.back{
    transform: rotateY(180deg);
    display:flex;
    justify-content: center;
    align-items: center;
    padding:2vw;
}
.back p{
    font-size: clamp(1rem, 2vw, 1.3rem);
}
.who{
    height: 100vh;
    box-sizing: border-box;
    justify-content: flex-end;
    align-items: center;
    position:relative;
}
.who-container{
    height:70%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; 
}
.who-text{
    height:60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.thirty{
    height: 30vh;
    display: flex;
    align-items: center;
    /* padding: 30% 0; */
    justify-content: center;
}

.who h2{
    font-size: clamp(2.5rem, 3vw, 4rem) !important;
    font-weight: 400 !important;
    font-family: 'Source-Serif-Pro';
    margin-bottom: 2rem;

    font-size: clamp(2rem, 3vw, 3.3rem);

}
 .who-text>p{
    margin: 0px 0px;
    padding:5px 30px;
    box-sizing: border-box;
    font-size: 1.5rem;
    font-weight: 300;
}

.media{
    height:70%;
    width: 100%;
    object-fit:cover;
    position:relative;
}
.about-item-title{
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 300;
    text-transform:uppercase;
}
.about-item .back p{
    font-weight: 300;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
}
.logo-epel{
    height: clamp(100px, 10vw, 150px);
    object-fit: cover ;
    /* margin-bottom: 100px; */
   
}

/* Section services */

.services {
    width: 100%;
    height: 100vh;
    background:#22262e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px 40px;
}

.services h2 {
    color:white;
    /* text-transform: uppercase; */
    /* font-weight: 600; */
}

.services .services-container {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    margin: 50px 0;
}

.services-container .services-item {
    width: calc(100%/4 - 1rem );
    height: 100%;
    background: white;
    border-radius: 14px;
    transition: all .4s ease-in-out;
    position:relative;
}
.services-container .services-item .services-hidden{
    position:absolute;
    background-color:white;
    height: 100%;
    width:100%;
    border-radius: 14px;
    opacity:0;
    display:flex;   
    justify-content: center;
    align-items: center;
    padding:0 2vw;
}
.services-hidden p{
    font-weight: 400;
    font-size: clamp(1rem, 1.3vw, 1.5rem);
    text-align: center;

}
.services-item .item-title {
    width: 100%;
    height: 13%;
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    background-color:#525d6d;
    border-radius: 0px 0px 14px 14px;
    transition: all .4s ease-in-out;
    font-weight: 300;
    font-size: clamp(1rem, 1.1vw, 2rem);
    /* letter-spacing: 1px; */
    /* font-family: 'Montserrat'; */
}
.item-title p {
    margin-bottom: 0px;
}
.services a {
    width: 250px;
    height: 55px;
    margin: 0 auto;
    border:none;
    border-radius: 25px;
    color:white;
    text-transform: uppercase;
    background: #525d6d;
    transition: all .4s ease-in-out;
    display:flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; 
    font-weight: 300;
    /* text-transform: capitalize; */
    letter-spacing: 1px;
}
.services-container .services-item:hover {
    cursor: pointer;
    transform: translateY(-18px);
}
.services-item:hover > .services-hidden{
    opacity:0.8;
    transition: all .4s ease-in-out;
}
.services-container .services-item:hover > .item-title {
    background: white;
    color:#353D48
}
.services-item .item-imagen {
    width: 100%;
    height: 87%;
}
.item-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 14px 14px 0 0;
}
.services a:hover {
    background: white;
    color:#353D48;
}

/* Renting Section */

.renting {
    width: 100vw;
    min-height: 100vh;
    display:flex;
    /* color:white;
    position:relative;
    background-image: url('../img/portrait_renting.jpg');
    background-size: cover; */
}

.renting_bg{
    /* width:100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    position:absolute; */
    width:30vw;
    background-image: url('../img/audi.jpg');
   
    background-size: cover;
    background-position: center; 
}

.renting-box {
    /* min-height:100vh; */
    /* padding: 5vh 20vw ; */
    /* padding: 80px 6vw;
    position: relative; */
    width:70vw;
    display:flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    
}
.renting-box .centering{
    width:auto;
    margin:0 auto;
    /* background-color: aqua; */
}
.renting .renting-title {
    color:black;
    /* padding-top: 50px; */
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 3.3vw, 3.3rem);
    letter-spacing: 1px;
    font-family: "source-serif-pro", serif;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    /* text-transform: uppercase; */
}
.renting-subtitle {
    /* font-size: clamp(1.1rem, 1.5vw, 3rem);
    font-family: "source-serif-pro", serif;
    font-weight: 200;
    font-style: normal; */
    font-size: clamp(1rem, 1.4.4vw, 3rem);
    margin-left: 0px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-top: 0px;
}
.renting-subtitle:nth-child(2){
    font-size: clamp(1.2rem, 2vw, 3rem);
    font-weight: 300;
    margin-bottom: 10px;
    text-transform: initial;

}
.renting-subtitle:nth-child(3){
    margin: 0px 0 0px 0;
    text-align: left;
    /* text-align: left !important;
    font-family: 'Montserrat', sans-serif; */

}
.renting ul {
    padding: 25px 0;
    /* list-style-type: none; */
    margin-bottom: 0;
    /* text-align: center; */
}
.renting ul li {
    font-size: clamp(1rem, 1.4vw, 3rem);
    margin-left: 0px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    list-style-position: inside;
}
.renting-text {
    margin-top: 0px;
    /* font-size: clamp(1.2rem, 1.5vw, 3rem);
    font-weight: 200; */
    font-size: clamp(1.2rem, 1.6vw, 3rem);
    margin-left: 0px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}
.renting button {
    /* width: 200px; */
    margin-top: 20px;
    padding: 20px;
    background: black;
    border:none;
    /* border:2px solid #525d6d; */
    /* border-radius: 50px; */
    font-family: 'Montserrat', sans-serif;
    font-size:clamp(1rem, 1vw, 3rem);
    font-weight: 200;
    color:black;
    /* position:relative;
    bottom:-100px;
    left:calc(50% - 165px); */
    text-transform: initial;
    transition: all .2s ease-in-out;
    /* margin:auto; */
   
}
.renting button a{
    /* color:black; */
}

.renting button:hover {
    background: #353D48;
    /* border: 3px solid #353D48; */
}

.blog {
    background: white;
    color:#353D48;
    width: 100%;
    min-height: 110vh;
    padding:30px;
    display:flex;
    flex-direction: column;
    justify-content: center;

}

.blog h2 {
    /* text-transform: uppercase; */
    /* margin: 50px 0 0 0; */
    padding:40px;

}

.blog .blog-container {
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-container .blog-item {
    width: calc(100%/3 - 1rem);
    /* height: 80%; */
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.blog-item .blog-item-info {
    width: 90%;
    max-width:400px;
    /* height: 380px; */
    height: clamp(350px, 31vw, 800px);
    background: #353D48;
    border-radius: 40px;
    color:white;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.blog-item-info .item-title{
    height:25%;
    padding:5px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.blog-item-info .item-img{
    height: 50%;
    overflow: hidden;
}
.blog-item-info .item-text{
    height: 25%;
    padding:5px;
    display:flex;
    justify-content: center;
    align-items: center;

}


.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% 60%;

}

.blog-item-info h3 {
    text-transform: uppercase;
    font-size: clamp(1.5rem, 1.8vw, 2.3rem);
    font-weight: 600;
    margin:0;
    /* padding: 20px 10px; */
}

.blog-item-info h3, .blog-item-info p {
   
    text-align: center;
    /* height: 40%; */
    margin-bottom: 0;

}

.blog-item-info p {
    padding: 10px 30px;
    font-size:clamp(1rem, 1.2vw, 1.3rem);
    display:flex;
    justify-content: center;
    align-items: center;
}

.blog-item .button-box {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.button-box a {
    width: 60%;
    height: 30%;
    border:none;
    border: 3px solid #353D48;
    background: none;
    border-radius: 30px;
    color:#353D48;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    
}

.button-box a:hover {
    background:#353D48;
    color:white;
}

/* sección contacto */

.contact {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding:3vw;
    background:#b7bcc2;
}

.contact h2 {
    width: 30%;
    /* height: auto; */
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 300;
    text-align: center    ;
    padding-left: 30px;
    color: #353D48;

    /* text-transform: uppercase; */
}

.contact form {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

 .form-group label {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 300;
    color:#353D48;
    display:block;
}
.form-group input,.form-group select{
    font-weight: 200;
}

.form-group input, .form-group select {
    width: 80%;
    height:40px ;
    border:none;
    border-radius: 40px;
    padding:13px 30px;
}
.form-group select {
    padding: 0 30px;
    color:grey;
}

.submit {
    width: 80%;
    height: 50px;
    margin-top: 10px;
    border:none;
    border-radius: 40px;
    color:white;
    background:#353D48;
    transition: all .3s ease-in-out;
}

.submit:hover {
    transform: translateY(-8px);
}

/* footer */ 

.footer {
    width: 100%;
    height: 160px;
    background: #353D48;
    color:white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.footer-item{
    width:calc(100%/3 - 1rem);
    height: 100%;
    display:flex;
    justify-content:center;
    align-items: center;
}
.footer-item a{
    text-decoration: none;
    color:white;
    display:flex;
    justify-content:center;
    align-items: center;}
.footer-item p{
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    display:flex;
    margin-bottom: 0;
}
.footer-item i{
    font-size: clamp(1.8rem, 4vw, 3rem);
    padding:15px;
}
.sn{
    display:flex;
    width:calc(100%/3 - 9rem) ;
    justify-content: space-around;
}
.icon{
    font-size: clamp(1.3rem, 5vw, 4rem);
}


/* MEDIA QUERIES */

@media screen and (max-width: 1090px) {
    /* navbar media queries */
    .nav_bg{
        background-color:rgba(53, 61 , 72, 0.98);
    }
    /* about media queries */
    .card-container:hover > .card{
        transform: none;
    }
    /* services media queries */

    .services {
        height: auto;
        padding:40px;
    }
    .services h2 {
        text-align: center;
        padding: 50px 0;
    }
    .services .services-container {
        flex-wrap: wrap;
        /* justify-content: center; */
    }
    .services-container .services-item {
        height: 500px;
        margin-bottom: 50px;
        /* margin-right: 50px; */
    }

     /* renting media queries */

     .renting {
        /* height: calc(100vh + 100px); */
     }
     .renting .renting-title, .renting .renting-subtitle  {
        /* text-align: center; */
        margin: 0 ;
        color: black !important;
     }

     .renting p {
        /* text-align: center; */
     }
     #background-video {
        /* height: calc(100% + 110px); */
     }
    

     /* Blog media queries */

     .blog {
        height: auto;
     }

     .blog h2 {
        text-align: center;
        margin-bottom: 100px;
     }
     .blog .blog-container {
        flex-wrap: wrap;
        justify-content: center;
     }
     .blog-container .blog-item {
        width: 360px;
        height: 700px;
        margin-bottom: 80px;
        /* margin-left: 60px; */
     }
     .blog-container .blog-item {
   
        height: auto;
        justify-content: center;
    }
    .blog-item .button-box{
        justify-content: flex-start;
    }

     /* contact media queries */

     .contact {
        height: auto;
        flex-direction: column;
     }
     .contact h2 {
        width: 100%;
        /* font-size: 40px; */
        margin-bottom: 80px;
     } 
     .contact form {
        width: 60%;
     }
     .form-group input, .form-group select {
        width: 100%;
     }
     
     .submit {
        width: 100%;
     }
}

@media screen and (max-width: 980px) {
    .blog-container .blog-item {
        width: 70%;
        height: auto;
        justify-content: center;
    }
    .blog-item .button-box{
        justify-content: flex-start;
    }
    .renting {
        /* height: auto; */
        position: relative;
        /* padding-bottom:50px; */

    }
    .about{
        flex-direction: column;
    }
    .about-item{
        width:100%;
        height:calc(100vh/2);
    } 
    .who{
        justify-content: center;
    }
    .who-container{
        position:relative;
        height:100%;
        width:100vw;
    }

    .who-text, .who .thirty{
        height: 50%;
        justify-content: center;
        position:relative;
    }
    .who-text>p{
        padding:0;
        margin:0;
        font-size: 1.2rem;
    }
    .logo-epel{
        height:130px;
    }

    
    .card{
    
        transform-style:flat;
   
    }
    .front, .back{
        height:50%;
        position:relative;
        backface-visibility:visible;
        transform:rotateY(0deg);
    }
    .front .thirty{
        height:100%;
        width:100%;
        position:absolute;
        top:0;
        left:0;
        color:white;
        z-index: 1;
    }
    .thirty h2{
        padding:10px;
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 10px;
    }

    .media{
        height: 100%;
    }

    .contact h2{
        text-align: center;
    }


}

@media screen and (max-width: 818px) {
    .fixed-icon-text{
        opacity: 1 !important;
    }
    .services-container .services-item {
        width: 45%;
        margin-right: 0;
        margin-bottom: 100px;
    }
    .desktop-navbar{
        display:none;
    }
    .mobile-navbar{
        display:block;
    }
    .renting{
        flex-direction: column-reverse;
    }
    .renting .renting_bg{
        width:100%;
        height:50vh;
    }
    .renting .renting-box{
        width: 100%;
        padding:50px 15vw;
        flex-direction: column;
        justify-content:unset;
        /* text-align: center; */
    }
    .renting .renting-box .renting-container>*{
        margin:0px 0 10px 0;
    }

    .renting .renting-title {
        color:white;
        padding-top: 0px;
        margin-bottom: 2rem;
    }
    .renting-subtitle:nth-child(2){
        margin-bottom:30px !important;
    }
    .renting ul{
        padding:5px 0px;
    }
    .renting button{
        margin-top:20px ;
    }

    .blog{
        padding: 60px 0 0 0;
        /* height equal to the 3 blog-items plus the height of the header */
        /* min-height:calc(calc(440px * 3) + 140px); */
        min-height: 1560px;
    }
    .blog-container .blog-item {

        margin-bottom: 40px;
     }
    .footer{
        flex-direction: column;
        /* height: auto; */
    }
    .footer-item{
        width:100%;
    }
    .footer-item p{
        /* display:none; */
    }

    
}

@media screen and (max-width:560px){
    .fixed-icon-text{
        padding:1px 4px !important;
        top:-13px !important;
        left:-25px !important;
        font-size: 0.5rem !important;

    }
    .services .services-container{
    }
    .services h2{
        padding:0
    }
    .services-container .services-item{
        width:100%;
        height:30vh;
        margin-bottom: 10px;
    }
    .services-container .services-item:hover{
        transform: translateY(0px);
    }

    .renting p, .renting ul li{
        /* font-size: 1.2rem; */
    }
    .renting button{
        /* font-size: 1.2rem; */
        /* width:280px; */
        left:5px;
    }
    /* blog media queries */
    .blog h2{
        margin-bottom: 50px;
    }
    .blog-container .blog-item{
        height: 400px;
        width:100%;
        margin-left: 0;
        justify-content: space-around;
    }
    .blog-item .button-box{
        height: 10%;
    }
    .blog-item .blog-item-info{
        height: 80%;
    }
    .blog-item .blog-item-info h3{
        font-size: 1.2rem;
    }
    .blog-item .blog-item-info p{
        padding:0;
        /* margin-top:20px; */
    }
    .blog-item .blog-item-info .item-img{
        height: 45%;
    }
    .contact{
        padding:10px 0;
    }
    .contact h2{
        padding-left: 0;
        margin-bottom: 40px;
    }
    .contact form{
        width: 80%;
    }
    /* footer queries */
    .footer{
        padding:30px 10px;
        height:250px;
    }
    .footer-item{
        justify-content: flex-start;
    }
}

@keyframes flip{
    from{
        transform: rotateY(0deg);
    }
    to{
        transform: rotateY(180deg);
    }
}

