@font-face {
  font-family: 'Lato';
  src: url('../assets/font/Lato/Lato-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato-blackitalic';
  src: url('../assets/font/Lato/Lato-BlackItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato-italic';
  src: url('../assets/font/Lato/Lato-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato-black';
  src: url('../assets/font/Lato/Lato-Black.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  src: url('../assets/font/Roboto/Roboto-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Rubik-light';
  src: url('../assets/font/Rubik/Rubik-Medium.woff2') format('woff2');
}

/*scroll behaviour pour les liens entre les pages*/
html{
    font-size:16px;
    font-family: sans-serif;

    font-family: 'Lato';
    margin-bottom: 0;   
    overflow-y: scroll; 
    scroll-behavior: smooth;
}
h1{ 
    font-size: 2rem; 
}
h2{ 
    font-size: 1.75rem; 
}
h3{
    font-size: 1.5rem; 
}

p{
    line-height:1.8rem;
}
body{
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0;
    margin-bottom: 0;
}
[data-aos] {
  overflow: hidden; 
}
body {
  overflow-x: hidden;
}
a{
    text-decoration: none;
    cursor:pointer;
}

header{
    display:flex;
    align-items:center;
    justify-content:space-between;

    position: fixed;
    top:0;
    z-index:2000;

    height:110px;
    width:100%;

}

.header-visible{
    background-color: rgba(243, 243, 243, 1);
    box-shadow:5px 0 20px black;
}

.logo{
    position:relative;
    width:8rem;
    align-self:center;
    left:1rem;
    z-index:3000;
    transition: all 0.4s ease;
}

.logo-visible{
    height:10rem !important;
    width:auto !important;
    top:1.5rem;
    left:-1rem;
}
nav{
    margin-right:15rem;
    display:flex;
    align-self:flex-end;
    margin-bottom:10px;
    
    z-index:2000;
}
nav a{
    position:relative;
    font-size:1.3rem;
    color:black;
    font-family: 'Lato-Black';
}
.link div{
    display: flex;
    align-items: center;
    height: 45px;
    padding: 0 30px 0 30px;
    
    margin:0;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
    transition: all 0.3s ease;
}
.link-visible{
    color:white !important;
    font-size: 20rem m !important;
    text-shadow: 3px 2px 8px black;
    font-size: 1.5;
    text-shadow: 3px 3px 10px rgb(0, 0, 0),-3px -3px 10px rgb(0, 0, 0);

}
.first{
    background:url('../images/house-constructor.webp');
    background-size:cover;
    background-position: center center;
    overflow: hidden;
    position: relative;
}
.home-first{
    padding-top:100px;
    display:flex;
    justify-content: center;
    min-height:80vh;
    align-items: flex-start;

    

}

.home-catchphrase{
    position:relative;
    z-index:10;
    max-width:40rem;
    text-align: center;
   
    min-height:80vh;
    padding:3rem;
    box-sizing: border-box;

    border-radius:4px;
}
.home-catchsphrase::before{
    position:absolute;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color:rgb(226, 223, 223);

    content:"";
    background:rgb(11, 78, 77);
    background:linear-gradient(90deg,rgb(96, 22, 22),rgb(96, 22, 22), rgb(163, 78, 78));
    background:rgb(96, 22, 22);
    background:#ea4545;

    width:100%;
    height:2rem;
    right:0;
    top:0;
    z-index:10;

}

.home-catchphrase h1{
    position:relative;
    font-family: 'Lato-blackitalic';
    font-size:5rem;
    color:rgb(255, 255, 255);

    margin:0 0 0.5rem 0;
    /* text-shadow: 3px 3px 10px rgb(136, 5, 5),-3px -3px 10px rgb(70, 70, 70); */
    text-shadow: 3px 3px 10px rgb(44, 44, 44),-3px -3px 10px rgb(46, 45, 45);
    

}
.home-catchphrase h2{
    font-size:2.5rem;
    font-family: "Lato-blackitalic";

    color:rgb(255, 255, 255);
    margin:0;
    /* text-shadow: 3px 3px 10px rgb(136, 5, 5),-3px -3px 10px rgb(70, 70, 70); */
    text-shadow: 3px 3px 10px rgb(44, 44, 44),-3px -3px 10px rgb(46, 45, 45);
    margin-bottom:3.5rem;
}

@keyframes blink{
    0%, 50%{
        opacity:1;

    }
    51%,100%{
        opacity:0;
    }
}
.anime-pub{
    z-index:1000;
    position:absolute;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    width:38rem;
    padding:25px 0 25px 0;
    bottom: 60px;
    right:-160px;
    transform:rotate(-45deg);
    

    text-shadow: 2px 3px 5px rgb(0, 0, 0); 
    font-family: "Lato-black";
    background:linear-gradient(270deg,#240404,#c81c1c,#240404);
}

.anime-text{
    width:27rem;
    font-size:2rem;
    color:rgb(236, 229, 229);
    font-weight:600;
}

.writing-slogan,.blinking{
    font-size:2.5rem;
    background-color: #165049;
}
.blinking{
    display:inline-block;
    animation: blink 0.5s infinite;
    font-weight:100;
    padding:2px
}

.localisation-gif{
    width:5.5rem;
}


.home-devis{
    font-family: 'Lato-blackitalic';
    position:fixed;
    top:1.5rem;
    right:0rem;
    
    display:flex;
    align-items:center;
    text-align:center;

    width:8rem;
    font-size:1.5rem;
    margin-left:5rem;
    height: 80px;
    padding: 0 20px 0 20px;
    border-radius: 3px;



    background:linear-gradient(270deg,#dd3434,#c81c1c,#b40c0c);
    color:white;
    text-shadow: 4px 3px 5px rgb(0, 0, 0); 
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    
    opacity:0;

}

.home-devis-active{
    opacity:1;
    cursor: pointer;
}
.home-devis:hover{
    background:linear-gradient(270deg,#b50404,#8b0202,#900202);
}

.button-red{
    display:inline-block;
    color:white;
    padding:13px 28px 13px 28px;
    box-shadow: 6px 6px 7px rgb(24, 23, 23);

    transition: all 0.5 ease;
    cursor:pointer;
    border-radius:3px;
    background:linear-gradient(60deg,rgb(109, 26, 26),rgb(142, 39, 39),rgb(154, 89, 89));

}
.button-red.home{
    font-size:2rem;
    font-weight: 500;
    margin-top:1rem;
}
.button-red:hover{
    background:linear-gradient(90deg,rgb(97, 45, 45),rgb(97, 45, 45), rgb(97, 45, 45));
}
.button-red.home:active{
    font-size:2rem;
    box-shadow:none;
    margin-left:12px;
    margin-top:calc(1rem + 9px);
}
.button-green{
    background:linear-gradient(to right,#165049,#266c64, white);
    color:white;
}

.nav-active{
    color:rgb(255, 255, 255);
    display:inline-block;
    background:linear-gradient(270deg,#dd3434,#c81c1c,#b40c0c);
    text-shadow: 4px 3px 5px rgb(0, 0, 0); 
}


.link div:not(.nav-active):hover{
    background: rgb(166, 194, 197) !important;

}
.desactive{
    left: -2000px;
    transition: left 0.5s ease;
    }
.active{
    left: 0px !important;
    transition: left 0.5s ease;
    
}
nav.active{
    background-color: white;
    margin-top:0px;
    padding-top:150px;
    background:url('../images/house-constructor-2.webp');
    background-size: cover;
}
.nav-logo{
    display:none;
    padding-bottom:10rem;
    width:13rem;
    height: auto;
}
.nav-logo-active{
    display:block;
}
nav.active a{
    font-size: 2rem;
    margin-bottom:2rem;
    color:rgb(255, 255, 255);
    text-shadow: 3px 3px 10px rgb(44, 44, 44),-3px -3px 10px rgb(46, 45, 45);
    font-family: 'Lato-blackitalic';
}
nav.active a:hover{
    font-size: 2.5rem;
}
nav.active a  .nav-active{
    /* background: blue; */
    /* clip-path: none; */
    /* border-radius: 1rem; */
    background: none;
    
}

nav.active a .nav-active{

    padding: 0.5rem 2.5rem!important;
}

.burger-icon{
    width: 3.3rem;
    left:0px;
    margin:5px;

    padding-right:1rem;
    margin-bottom:0.3rem;
    display: none;
    z-index:3000;
}
.burger-icon:hover{
    cursor: pointer;
    opacity: 0.8;
}
.burger-icon:active{
    cursor: pointer;
    width:3rem;
}
.body-unscroll{
    overflow: hidden !important;
}
.nav-scroll{
    overflow: scroll;
}

@media(min-width:1500px){
    .experiences{
        justify-content: center !important;
    }
    .experience.first{
        clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%) !important;
    }
}

@media(min-width:1000px){
    .home-devis{
        opacity:1;
    }
    .home-catchphrase h1{
        font-size: 6rem;
    }
    .home-catchphrase h2{
        font-size: 3rem;
    }
}

@media(max-width:1000px){

    nav{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: fixed;

        padding-top:3rem;
        top: 0px;
        margin-top:90px;
        width:100%;
        height:100%;
    }
    .logo{
        width:auto;
        height:100px;
    }
    header{
        height:90px;

    }
    .burger-icon{
        display: block;
    }
    .home-devis{
        position:fixed;
        top:0.8rem;
        right:0rem;
        right:7rem;
        height:70px;
        width:70px;

    }
    .anime-pub{
        padding:15px 0 15px 0;

    }

    .localisation-gif{
        position:fixed;
        right:20rem;
        top:1rem;
    }
    .link div:not(.nav-active):hover{
        background: none !important;
    }
}


@media(max-width:1000px){

    .anime-pub{
        width:35rem;
        bottom: 30px;
        right:-180px;

    }
    .anime-text{
        width:27rem;
        font-size:1.3rem;
    }
    .writing-slogan,.blinking{
        font-size:1.7rem;
    }
    .home-devis{
        top:1.2rem;
     
        font-size: 1.2rem;
        height:55px;
    }

}
@media(max-width:740px){
    .experiences{
        padding: 0 0 0 0 !important;   
    }
    .experience{
        width:100% !important;
        max-width:100% !important;
        clip-path: none !important;
    }
    .experience:not(.first,.second-experience){
        border-top: 20px solid white !important;
        border-bottom: 20px solid white !important;
    }
}


@media(max-width:600px){   
    .anime-pub{
        bottom: 30px;
        right:-210px;
    }
    .anime-text{
        width:27rem;
        font-size:1.1rem;
    }
    .writing-slogan,.blinking{
        font-size:1.5rem;
    }
    .home-first{
        min-height:75vh;
    }
    .home-catchphrase{
        min-height:75vh;
    }


}
@media(max-width:500px){
    .home-catchphrase{
        margin-top: 0;
    }
     .home-catchphrase h1{
        font-size:3.2rem;
    }
     .home-catchphrase h2{
        font-size:2rem;
    }
}
@media(max-width:380px){

     .home-catchphrase h1{
        font-size:2.6rem;
    }
     .home-catchphrase h2{
        font-size:1.5rem;
    }
}

.experiences{
    padding:2rem 1rem 3rem 0;
    display:flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width:100%;
}
.experience{
    display:flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    gap:1rem;

    font-family: 'Lato-blackitalic';
    font-size:1.5rem;
    text-align:center;
    color:white;

    padding:2rem 0;
    width:25%;
    max-width:400px;
    height:120px;

    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    text-shadow:  2px 3px 8px black;
}
.exp-number{
    font-size:2.3rem !important;
}
.experience:not(.first){
    background:rgb(7, 71, 72);
    background:linear-gradient(270deg,rgb(2, 27, 28),rgb(7, 71, 72),rgb(2, 22, 22));

}

.experience.first{
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    color:white;
    text-shadow:  2px 3px 8px black;
    border-bottom: none;
}
.experience.second-experience{
    background:linear-gradient(270deg,#300808,#c81c1c,#300808); 
}
.experience span{
    width:80%;
}

.bande{
    display:flex;
    justify-content: center;
    text-align: center;
    
    font-size:2rem;
    padding-top:1.5rem;
    padding-bottom:1.5rem;
    margin-top: 0px;

    font-weight:600;
    color:#ffffff;
    font-family: 'Lato-blackitalic';
    width:100%;
    
    text-shadow: 2px 3px 5px rgb(0, 0, 0); 
    background:linear-gradient(270deg,rgb(2, 27, 28),rgb(7, 71, 72),rgb(2, 22, 22));
    border-top: 20px solid white;
    border-bottom: 20px solid white;

}


a.button{
    font-family: "Lato-blackitalic";
    font-size:1.5rem;
    color:white;
    background:linear-gradient(270deg,#dd3434,#c81c1c,#b40c0c);
    
    padding:10px;
    border-radius: 2px;
    border-radius: 20px 0;
    text-shadow: 2px 3px 5px rgb(0, 0, 0); 
    text-align: center;
}
a.button:active{
    padding:9px;
}
a.button:hover{
    background:linear-gradient(270deg,#bc2b2b,#9f1515,#8e0808);
}

@media(max-width:350px){
    html{
        font-size:14px;   
    }
    .nav.active a {
        font-size:1.5rem !important;
    }
    nav.active a .nav-active{
        padding: 0.5rem 1.5rem!important;
    }
    nav.active{
        padding-top:120px;
    }
}

/*Pou rendre accessibles les liens sans textes*/
.access-link {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   border: 0;
}