@font-face{
    font-family:'TitrepixelArtFont';
    src:url('../fonts/Pixelify/PixelifySans-VariableFont_wght.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
}
@font-face{
    font-family:'pixelArtFont';
    src:url('../fonts/PixelOperator8.ttf') format('truetype');
    font-weight:normal;
    font-style:normal;
}

/*-- Header --*/

header{
    text-align:center;
    background-color:#612f0c;
    width:1200px;
    height:120px;
    border-bottom-left-radius:25px;
    border-bottom-right-radius:25px;
    margin:0px auto;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);

    margin:0 auto;
    padding-top: 0;
    position:relative;
    top:0;
}
.t1{
    font-family:'TitrepixelArtFont';
    margin: 0;
    padding-top:15px;
    
}
.btnHeader{
    display: inline-flex;
    align-items: center;
    justify-content: center;  /* centre texte + image */
    gap: 8px;
    min-width: 120px;         /* largeur minimale fixe */
    height: 40px;              /* hauteur fixe */
    background-color: rgb(211, 136, 23);
    color: black;
    text-decoration: none;
    border-radius: 8px;
    padding: 0 20px;           /* padding horizontal */
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
    font-family: 'pixelArtFont', sans-serif;
}
.btnHeader:hover{
    background-color: rgb(187, 124, 31);
}
.github{
  image-rendering: pixelated;
  height:24px;
  width:24px;
}

/*-- body --*/

body{
    margin:0;
    padding:0;
    font-family:'pixelArtFont', sans-serif;
    background: linear-gradient(
    to right,
    #6d350d 0%,   /* brun clair gauche */
    #6d350d 15%,  
    #8B4513 15%,  /* brun foncé milieu */
    #8B4513 85%,
    #6d350d 85%,  /* brun clair droite */
    #6d350d 100%
  );
}
.section1{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 350px;
    height:500px;
    margin-top :20px;
    padding: 10px;
    background-color: rgb(211, 136, 23);
    border-radius: 25px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    margin:30px;
    transition: transform 0.2s ease;
}
.section1:hover{
    transform: scale(1.05);
}
.footersection{
    margin-top:20px;
    text-align:center;
    font-size:20px;
}
.divsection{
    display: flex; 
    justify-content:center;
}
.t2{
    font-family: 'TitrepixelArtFont', sans-serif;
    font-size:40px;
    text-align:center;
}
.p1{
    font-family: 'pixelArtFont', sans-serif;
    font-size:15px;
    padding-left:20px;
    padding-right:20px;
    margin-bottom:auto;
}

/* Fond grisé */
.modal {
    display: none; /* caché par défaut */
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Contenu de la popup */
.modal-content {
    position: relative;
    background: rgb(211, 136, 23);
    padding: 20px;
    border-radius: 25px;
    width: 550px;
    height: 650px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
#modal-title{
    font-family: 'TitrepixelArtFont', sans-serif;
    font-size:40px;
    text-align:center;
}
#modal-text{
    font-family: 'pixelArtFont', sans-serif;
    font-size:15px;
    padding-left:20px;
}

/* Bouton fermer */
#closeBtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
}
