*{
    --couleur-carte:#192ec6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,html{
    width: 100%;
    height: fit-content;
    user-select: none;
    background-color: snow;
    box-sizing: border-box;
}

#miniature{
    display: none;
}

#navbar{
    position: fixed;
    top:0;
    padding:  30px;
    display:flex;
    height: fit-content;
    width: 100%;
    justify-content: space-between;
    transition: transform 0.8s ease-in-out;
    z-index: 100;
}

.hide-navbar {
  transform: translateY(-100%);
}

#julien{
padding: 16px 32px;
    background-color: #0000004a;
backdrop-filter: blur(20px);
border-radius: 100px;
transition: 0.3s ease;
display: flex;
}

#julien a{
    text-decoration: none;
}

#logo{
    color:snow;
font-size: 24px;
font-family: 'Geist', sans-serif;
font-weight: 600;
height: fit-content;
padding: 0;
margin: 0;
 position:relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: 0.3s ease;
}

#julien:hover{
background-color: #00000060;
#logo{
    font-style: italic;
}
}

#julien:active{
background-color: #00000075;
#logo{
    font-weight: 800;
}
}

#menu{    
font-size: 20px;
font-family: 'Geist', sans-serif;
padding: 8px;
border-radius: 100px;
display: flex;
gap: 16px;
height: fit-content;
background-color: #0000004a;
backdrop-filter: blur(20px);
}

.btn-pages{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 10px 20px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

.btn-pages:hover{
    background-color: #00000029;
}

.btn-pages:active{
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

#btn-pages-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 10px 20px;
    border-radius: 100px;
    height: fit-content;
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

    h1{
        font-size: 45px;
        font-family: 'Geist', sans-serif;
        font-weight: 500;
        margin: 0;
        height: fit-content;
        line-height: 115%;
        padding: 30px;
        padding-bottom: 10px;
    }

    h2{
        color: black;
        font-size: 35px;
        font-family: 'Geist', sans-serif;
        font-weight: 700;
        word-wrap: break-word;
        line-height:130%;
    }

    h3{
        color: black;
font-size: 28px;
font-family: 'Geist', sans-serif;
font-weight: 600;
padding-bottom: 6px;
    }

    h4{
        color: black;
font-size: 22px;
font-family: 'Geist', sans-serif;
font-weight: 400;
padding: 30px 0px;
text-align: right;
    }

    h5{
        color: black;
font-size: 20px;
font-family: 'Geist', sans-serif;
font-weight: 400;
    }

    p{
color: #212121;
font-size: 20px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
height: fit-content;
    }

        p#maison{
color: #212121;
font-size: 20px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
    }

    #salut{
        margin-top: 150px;
        width: 75%;
    }

    #gestion-vue{
        margin-top: 60px;
        display: flex;
        flex-direction: row;
        width: 100%;
        height: fit-content;

    }

    #emplacement-filtres{
        width: 100%;
        padding-left: 30px;
        padding-bottom: 0;
        display: flex;
        gap: 16px;
        margin: auto;
    }

    .filtre{
        font-family: 'Geist', sans-serif;
        font-size: 32px;
        font-weight: 400;
        width: fit-content;
        height: fit-content;
        border: 0;
        background-color: transparent;
        color: #00000080;
        line-height: 110%;
        transition:0.3s ease;
    }

        .filtre:hover{
        color: #000000BF;
    }

        .filtre.active{
        color: #212121;
        font-weight: 600;
    }

    #emplacement-affichage{
        width: fit-content;
        margin-right: 30px;
        padding-bottom: 0;
        display: flex;
        gap: 8px;
        height: fit-content;
        padding: 8px;
        border-radius: 100px;
        background-color: #21212115;
        margin-top:auto;

    }

    .vue{
        height: fit-content;
        padding: 8px;
        color: #212121;
        border-radius: 100%;
        border: 0;
        background-color: transparent;
        background-color: #21212100;
    }

    .vue img{
        display: flex;
        margin: auto;
        margin-top: auto;
    }

    .vue:hover{
        height: fit-content;
        color: #212121;
        border-radius: 100%;
        border: 0;
        background-color: transparent;
        background-color: #21212121;
        transition: ease-in-out 0.3 opacity;
    }

    #vue-grille.active{
        background-color: #2121213c;
    }

    #vue-ligne.active{
        background-color: #2121213c;
    }

#grid {
  column-count: 3;
  column-gap: 25px;
  padding: 30px;
}

#grid > * {
  break-inside: avoid;
  margin-bottom: 25px;
}

    .carreau{
 position: relative;
    background-color: transparent;
    color: snow;
    border-radius: 20px;
    width: 100% !important;
    height: auto;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 25px;
    }

    .carreau h3,h5,p{
        color: snow;
        text-align: left;
        padding: 0;
    }

    .carreau img{
        width: 100%;
    }

    .informations-projet{
      padding: 20px;
      background-color: rgba(0, 0, 0, 0.497);
      backdrop-filter: blur(3px);
      width: 100%;
      top: 0;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      position: absolute;
      visibility: hidden;
      opacity: 0;
      transition: 0.5s ease-in-out;
      color: snow;

  }

  .carreau img {
    z-index: 0;
    border-radius: 0;
    object-fit: cover;
    position:relative;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: block;
  }
  
  .carreau:hover .informations-projet{
      transition: 0.5s ease-in-out;
      visibility: visible;
      opacity: 1;
  }

  .carreau h5{
    color: snow;
  }
  
  .infos-titrage{
      display: flex;
      flex-direction: column;
      gap: 8px;
      color:snow;
  }
  
  .infos-an{
      margin-top: auto;
      display: flex;
      flex-direction: column;
      margin-top: auto;
      color:snow;
  }

  .infos-an p{
          font-size: 16px;
          color:snow;
      }
      
          #titre-proj{
              margin-top: auto;
              gap:4px;
              display: flex;
              flex-direction: column;
              width: fit-content;
              color:snow;
          }
  
          #mentions-proj{
              gap:24px;
              display: flex;
              flex-direction: column;
              width: 100%;
              color:snow;
          }

    #more{
        opacity: 0.75;
        width: 75%;
        padding: 80px 0 5px 30px;
        margin: 0;
    }

    #titres{
        width: 100%;
        height: fit-content;
        flex-wrap: wrap;
        display: flex;
        break-inside: avoid;
        column-gap: 10px;
        row-gap: 5px;
    }

    #titre p{
            font-size: 24px;
            transition: ease 0.3s;
        }

        .titre-projet{
            color:#212121
        }
        
        #plus{
            text-decoration: none;
            font-size: 24px;
            padding: 0;
            font-weight: 400;
        }

    #miniature{
        width:fit-content;
        height: 250px;
    }

    #footer{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 99vh;
        padding:120px 30px 30px 30px;
    }

    #footer p{
            padding-top:30px;
            width: 100%;
            opacity: 0.5;
        }

    #contact{ 
        width: 100%;
        height: 100%;
        background-color: var(--couleur-carte);
backdrop-filter: blur(20px);
        color: snow;
        padding: 30px;
        display: flex;
        flex-direction: column;
        border-radius: 20px;
    }

    #contact p{
            padding: 0;
            color: snow;
            opacity: 100;
        }

        #contact h2{
            padding: 0;
            color: snow;
            opacity: 100;
        }

    #infos{
        margin-top: auto;
        width: 100%;
        gap: 16px;
        height: fit-content;
        display: flex;
    }

    #btn-mail{
        width: 100%;
        text-align: center;
        height: fit-content;
        background-color: snow;
        width: 100%;
        color: var(--couleur-carte);
        padding: 16px 24px;
        border-radius: 100px;
        font-family: 'Geist', sans-serif;
        font-weight: 600;
        font-size: 22px;
        text-decoration: none;
        font-style: normal;
        transition: 0.3s ease;
    }

    #btn-mail:hover{
        font-style: italic;
    }

    .btn-invert{
        width: 100%;
        text-align: center;
        height: fit-content;
        border: snow solid 3px;
        width: 100%;
        color: snow;
        padding: 16px 24px;
        border-radius: 100px;
        font-family: 'Geist', sans-serif;
        font-weight: 500;
        font-size: 22px;
        text-decoration: none;
        font-style: normal;
        transition: 0.3s ease;
    }

    .btn-invert:hover{
        font-style: italic;
    }

    #mentions{
        width: 100%;
        height: fit-content;
        display: inline;
        padding: 16px 24px;
        font-family: 'Geist', sans-serif;
        font-weight: 400;
        font-size: 18px;
        text-decoration: none;
        color:snow;
    }

    #mentions:hover{
        text-decoration: underline;
    }

    #nav-tel, #nom-tel{
            display: none;
            transition: transform 0.5s ease;
        }

        #infos-tel{
            display: none;
        }

        .content{
    background-clip: text;
    -webkit-background-clip: text;
    color:transparent;
    background-image:radial-gradient( black,black,rgb(160, 160, 160),black,black);
    background-size: 400% 400%;
    animation: animate 30s ease infinite;
  }

  @keyframes animate{
    0%{
        background-position: 0 0;
    }

    25%{
        background-position: 100% 0;
    }

    50%{
        background-position: 100% 100%;
    }

    75%{
        background-position: 0 100%;
    }

    100%{
        background-position: 0 0;
    }
  }

@media (min-width: 2000px){
h1{
        font-size: 65px;
        font-family: 'Geist', sans-serif;
        font-weight: 500;
        margin: 0;
        height: fit-content;
        line-height: 115%;
        padding: 30px;
        padding-bottom: 10px;
    }

    h2{
        color: black;
        font-size: 45px;
        font-family: 'Geist', sans-serif;
        font-weight: 700;
        word-wrap: break-word;
        line-height:130%;
    }

    h3{
        color: black;
font-size: 40px;
font-family: 'Geist', sans-serif;
font-weight: 600;
padding-bottom: 6px;
    }

    h4{
        color: black;
font-size: 35px;
font-family: 'Geist', sans-serif;
font-weight: 400;
padding: 30px 0px;
text-align: right;
    }

    h5{
        color: black;
font-size: 30px;
font-family: 'Geist', sans-serif;
font-weight: 400;
    }

    p{
color: #212121;
font-size: 24px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
height: fit-content;
    }

        p#maison{
color: #212121;
font-size: 24px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
    }

    #salut{
        margin-top: 150px;
        width: 100%;
    }

    #emplacement-filtres{
        margin-top: 60px;
        width: 100%;
        padding: 30px;
        padding-bottom: 0;
        display: flex;
        gap: 16px;
    }

    .filtre{
        font-family: 'Geist', sans-serif;
        font-size: 35px;
        font-weight: 400;
        width: fit-content;
        height: fit-content;
        border: 0;
        background-color: transparent;
        color: #00000080;
        line-height: 110%;
        transition:0.3s ease;
    }

            #grid{column-count: 4;}

            #infos{
        flex-direction: column;
        text-align: center;
    }

    #more{
        opacity: 0.75;
        width: 75%;
        padding: 100px 0 5px 30px;
        margin: 0;
    }

    #footer{
        margin-top: 30px;
    }

    #infos{
        display: flex;
        flex-direction: row;
    }

    #contact h2{
        color: snow;
        padding-bottom: 16px;
    }

    #btn-mail, .btn-invert{
        padding: 24px 0px;
        font-size: 32px;
    }

    #mentions{
    padding:24px 0;
    }

    
        }

    
@media (max-width: 1200px){
            #grid{column-count: 2;}

            #infos{
        flex-direction: column;
        text-align: center;
    }

    #more{
            width: 100%;
            padding:0px 20px;
            padding-bottom: 10px;
        }
        }

@media (max-width: 800px) {
              body,html{
              width: 100vw;
              height: fit;
            margin: 0;
              display: block;
              box-sizing: border-box;
          } 

          #emplacement-affichage{
            display: none;
          }

          h2{
            font-weight: 600;
            font-size: 28px;
            padding-bottom: 10px;
          }

              h3{
        color: black;
font-size: 24px;
font-family: 'Geist', sans-serif;
font-weight: 500;
padding-bottom: 4px;
text-decoration: none;
    }

    h1{
        padding: 20px;
        font-size: 35px;
    }

    #salut{
        margin-top: 120px;
        width: 100%;
    }

    h4{
        color: black;
font-size: 22px;
font-family: 'Geist', sans-serif;
font-weight: 400;
padding: 30px 0px;
text-align: right;
text-decoration: none;
    }

    h5{
        color: #21212190;
font-size: 17px;
font-family: 'Geist', sans-serif;
font-weight: 500;
text-decoration: none;
padding-bottom: 0px;
    }

    p{
color: #212121;
font-size: 16px;
font-family: 'Geist', sans-serif;
font-weight: 400;
line-height: 120%;
height: fit-content;
    }

          #navbar{
            display:none;
          }

          #nom-tel{
            display:block;
             position: fixed;
            top: 0;
            z-index: 100;
            width: 100%;
            padding:20px;
          }

          h3#logo-tel{
            display: flex;
            flex-direction: row;
            width: 100%;
            text-align: center;
            justify-content: center;
            padding: 12px 16px 12px 16px;
            backdrop-filter: blur(10px);
            border-radius: 100px;
            background-color: #0000004a;
            font-size: 24px;
            color: snow;
            font-weight: 600;
          }

          #nav-tel{
            box-sizing: border-box;
            display:block;
            position: fixed;
            bottom: 0;
            z-index: 100;
            width: 100%;
            padding:20px;
          }

          #menu-tel{
            width: 100%;

            justify-content: space-between;

            font-size: 20px;
font-family: 'Geist', sans-serif;
padding: 8px;
border-radius: 100px;
display: flex;
gap: 8px;
height: fit-content;
background-color: #00000068;
backdrop-filter: blur(20px);
height: fit-content;
            
          }

          #menu-tel h4{
            height: fit-content;
            font-size: clamp(0.8125rem, 0.7266rem + 0.4361vw, 1.25rem);
            font-family: 'Geist', sans-serif;
            padding: 0;
            color: snow;
            font-weight: 400;
            text-align: center;
          } 

          .btn{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    width: 100%;
}

 #menu-tel h4{
            height: fit-content;
            font-size: clamp(0.9375rem, 0.8762rem + 0.3115vw, 1.25rem);
            font-family: 'Geist', sans-serif;
            padding: 0;
            color: snow;
            font-weight: 500;
            text-align: center;
          }

          #btn-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    background-color: #000000a1;
    font-family: 'Geist', sans-serif;
    width: 100%;
    h4{
        font-weight: 600;
    }
}

.btn:hover{
    background-color: #00000029;
}

.btn:active{
    background-color: #00000060;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
}

#btn-act{
    transition: 0.3s ease;
    text-decoration: none;
    color: snow;
    padding: 12px 16px;
    border-radius: 100px;
    height: fit-content;
    font-family: 'Geist', sans-serif;
    width: 100%;
    background-color: #000000b5;
    h4{
        font-weight: 600;
    }
}

#emplacement-filtres{
    margin-top: 40px;
    display: block;
    padding: 20px;
    padding-bottom: 0;
}

.filtre{
    font-size: 20px;
    padding-right: 5px;
    padding-bottom: 10px;
}

#grid{
      column-count: 1;
  column-gap:20px;
  padding: 20px;
}

#grid > *{
    margin-bottom: 30px;
}

.vers-projet{
    width: 100%;
    display: block;
    width: fit-content;
    height: fit-content;
    padding: 15px;
    border: 0px solid #21212133;
    background-color: #2121211A;
    border-radius: 20px;
    text-decoration: none;
}

.carreau{
    border-radius: 12px;
    margin-bottom: 16px;
}

.informations-projet{
    display: none;
}

#infos-tel{
            display:block;
        }

        #more{
            width: 100%;
            padding:0px 20px;
            padding-bottom: 10px;
        }

        #titres{
            p{
            font-size: 18px;
            transition: ease 0.3s;
        }
        p:hover{
            text-decoration: underline;
            font-weight: 500;
        }
        #plus{
            text-decoration: none;
            font-size: 18px;
            padding: 0;
            font-weight: 400;
        }
    }

    #footer{
        padding:  100px 20px 105px 20px;
        border-radius: 20px;
    }

    #contact{
        padding:20px;
        row-gap: 8px;
    }

    #infos{
        flex-direction: column;
        text-align: center;
    }

    #btn-mail, .btn-invert{
        padding: 12px 0px;
        font-size: clamp(0.9375rem, 0.8762rem + 0.3115vw, 1.25rem);
    }

    #mentions{
    padding:5px;
    font-size: 13px;
    }

    #maison{
        display: none;
    }
        }