
@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&family=Tenor+Sans&display=swap');
/* RESET */
html {
    scroll-behavior: smooth;
} 
ul {
   list-style: none;
 }
 
 a {
   text-decoration: none;
 }

 
/*   
 .main {
     overflow: hidden;
 } */

 /*=============== VARIABLES CSS ===============*/
 :root {
    --header-height: 4.5rem;
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: rgb(255,255,255);
    --text-color-alt: rgb(241, 236, 116);
    --title-color: rgb(36, 44, 93);
    --text-color: rgb(47, 47, 47);
  
    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    
    --body-font: "Overpass", sans-serif; 
    --fonts1 : 200;
    --fonts2: 300;
    --fonts3 : 380;
    --fonts4  :500;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }


/* HEADER & NAV */
.header{
   position: fixed;
   width: 100vw;
   top: 0;
   left: 0;
   z-index: var(--z-fixed);
}
.nav{
   padding-bottom: 20px;
   position: relative;
   height: var(--header-height);
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.nav__logo{
    margin-left: 20px;  
    margin-top: 28px;
    width: 170px;
    height: 50px;
}
.nav__logo--img{
    object-fit: contain;
}

.background-image{
    width: 100%;
    height: 280px;
    position: absolute;
}
.contacto-img{
    width:100vw;
    height: 280px;
    object-fit: cover;
    position: absolute;
}

.contacto-text{
    position: relative;
    margin: 150px auto;
    text-align: center;
    color: var(--first-color);
    font-size: 25px;
    font-family: var(--body-font);
    font-weight: var(--fonts3);
    
}

.nav__logo{
  color: var(--first-color);
  font-size: 32px;
  font-family: var(--second-font);
  transition: color .4s;
  margin-top: 40px;
  margin-left: 20px; 
}

.nav__logo:hover{
   color:var(--text-color-alt);
}
.nav__toggle,
.nav__close{
   font-size:  1.7rem;
   color: var(--first-color);
   cursor: pointer;
   margin: 10px;
   margin-top: 50px;
   margin-right: 20px; 
}

/* Navigation for mobile devices */

@media screen and (max-width: 1150px){
.nav__menu{
   position : fixed;
   top: 0;
   right:-100%;
   background-color: hsla(0, 0%, 6%, .2);
   backdrop-filter: blur(16px);
   width: 80%;
   height: 100%;
   padding: 6rem 3rem 0;
   transition: right .4s;

}
}

.nav__list{
    display:flex;
    flex-direction: column;
    row-gap: 3.5rem;
}

.nav__link{
    color:var(--first-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
    font-size: 18px;
    font-family: var(--body-font);
    font-weight: var(--fonts1);

}
.nav__link:hover{
 color: var(--text-color-alt);
}

.nav__close{
    position: absolute;
}
.nav__close{
    top:1rem;
    right: 1.5rem;
}
.nav__img-1{
    width: 80px;
    top:11rem;
    right:.75rem
}
.nav__img-2{
    width: 60px;
    top:28rem;
    right:6rem;
}
/* Show menu */
.show-menu{
    right:0;
    transition: right .4s;
}


/* INFO CONTACTO */

.info-contacto{
    margin-top: 350px;
    width: 100%;
    margin-bottom: 100px;
    
}
.contacto-info{
    margin: 40px 40px;
    color: var(--text-color);
    
}

.contacto-info__h2{
    font-size: 25px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: var(--fonts2);
    
}
.contacto-info__list{
    font-size: 14px;
    padding-top: 10px;
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: var(--fonts2);
}
.telf, .map , .message{
    display: flex;
    flex-direction: row;
    margin-top: 5px;
    align-content: center;
    
}
.icons{
    width: 20px;
    margin-right: 5px;
}

/* form */
.form{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 70px;
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: var(--fonts2);
}

.contenedor{
    border: 2px solid var(--title-color);
    margin: auto;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 650px;
}
.form-title{
    margin-right: 60px;
    margin: 20px 0 30px 0px;
    color: var(--title-color);
}

.name ,.mail, .telfs, .menssaje{
   display: flex;
   flex-direction: column;
   width: 100%;
   margin-bottom: 20px;
}
.form-row{
    width: 300px;
}
.contact__form-tag{
    padding-bottom: 5px;
    font-size: 18px;
}

.btn-block{
    width: 100%;
    background: var(--text-color-alt);
    border: none;
    padding: 5px;
    font-weight: var(--fonts4);

}
.form-control{
    padding: 3px;
    background: rgb(231, 233, 231);
    border: none;
}

/*  MAPA  */

.contenedor-mapa{
    width: 100%;
    height: 550px;
    margin: 80px auto
}
.map{
    height: 100%;
    width: 100%;
}




.footer{
    background: var(--title-color);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 710px;
    padding-top: 50px;
}
.trabajamos{
    margin: 30px 40px;
    color: var(--first-color);

}
.trabajamos__h2{
    font-size: 20px;
    font-family: var(--body-font);
    font-weight: var(--fonts3);
}
.trabajo__lista{
    font-size: 16px;
    padding-left: 20px;
    padding-top: 10px;
    font-family: var(--body-font);
    font-weight: var(--fonts1);
}
.trabajo__lista li{
    padding: 5px 0;
}

.contacto{
    margin: 30px 40px;
    color: var(--first-color);
    
}

.contacto__h2{
    font-size: 20px;
    font-family: var(--body-font);
    font-weight: var(--fonts3);
    
}
.contacto__list{
    font-size: 16px;
    padding-left: 20px;
    padding-top: 10px;
    font-family: var(--body-font);
    font-weight: var(--fonts1);
}
.telf, .map , .message{
    display: flex;
    flex-direction: row;
    margin-top: 5px;
    align-items: center;
    
}

.footer-icons{
    width: 15px;
    margin: 5px;
    margin-right: 7px;
}

.copy{
    text-align: center;
    color: var(--first-color);
    font-size: 12px;
    margin-top: 54px;
    border-top: 1px solid var(--first-color);
    padding: 10px;
    font-family: var(--body-font);
    font-weight: 200;
}
.contenedor__desktop{
    display: none;
}




@media screen and (min-width: 1150px){
    
    .nav{
        position: relative;
        height: 120px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav__close,.nav__toggle{
        display: none;
    }
    .nav__menu{
        display: flex;
        align-items: center;
    }
    .nav__list{
        width: 700px;
        height: var(--header-height);
        align-items: center;
        flex-direction: row;
        justify-content: space-around;
        margin-top: 10px;
        
    }
    .nav__link{
        font-size: 20px;
        font-family: var(--body-font);
        font-weight: var(--fonts2);
    }
    .nav__logo{
        margin-top: 10px;
        width: 250px;
        height: 50px;
     }

     .info-contacto__flex{
         width: 80%;
         margin: auto;
         display: flex;
         flex-direction: row;
         height: 550px;
         align-items: center;
     }
     .contenedor{
        margin: 0;
        font-size: 20px;
        align-self: center;
       
    }
    
    
     .contacto-info__h2{
        font-size: 40px;
     }

     .contacto-info__list{
        font-size: 25px;
     }
     .contact__form-tag{
        font-size: 20px;
     }

     .contenedor-mapa{
        margin-top: -60px;
     }

     /* footer */
     .footer{
        height: 460px;   
    }

    .footer-flex{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
  
    .copy{
        margin-top: -10px;
    }
    .contacto-text{
        font-size: 40px;
    }

    /* disable form mobile */

    .contenedor{
        display: none;
    }

    /* form web */

    .contenedor__desktop{
        border: 2px solid var(--title-color);
        margin: auto;
        width: 700px;        
        margin-top: 70px;
        height: 490px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px;
    }
    
    .form-title--web{
        margin: 20px 0 30px 0px;
        font-size: 30px;
        color: var(--title-color);
        font-family: var(--body-font);
        font-weight: var(--fonts3);
    }
    .text__web{
        width: 700px;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center; 
    }
    .name__web{
        margin-right: 50px;
    }
    .name__web,.telfs__web{
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
        font-family: var(--body-font);
        font-weight: var(--fonts3);
    }
    .contact__form-tag{
        font-size: 20px;
        font-family: var(--body-font);
        font-weight: var(--fonts3);
    }
    .form-control{
        width: 265px;
        height: 40px;
        background: rgb(231, 233, 231);
        border: none;
        font-size: 25px;
        font-family: var(--body-font);
        font-weight: var(--fonts3);
    }
    .form-control-email{
       display: flex;
       font-family: var(--body-font);
       font-weight: var(--fonts3);
       width: 580px;
    }
    .mensaje__web{
        display: flex;
        flex-direction: column;
        margin-top: 10px;
       
    }
    .control__web{
        width: 580px;
        height: 80px;
    }
    .btn-block{
        width: 580px;
        height: 40px;
        background: var(--text-color-alt);
        border: none;
        padding: 5px;
        font-family: var(--body-font);
        font-weight: var(--fonts4);
        font-size: 22px;
        margin-top: 15px;
    
    }
    
    }