*{
    margin : 0;
    padding : 0;
}

html{
    background-color: #080D16;
}
header{
    position: fixed;
    margin : 0;
    padding : 0;
    background-color: #121019;
    width: 100%;
    height: 64px;
    margin-bottom: 30px;
}

#menu{
    border-bottom: thin solid #777160;
    height: 64px;
}

ul{
    display : flex;
    flex-direction : row;
    align-items: center;
    justify-content: space-around;
    height: 64px;
}

#log{
    background-color: #E7B783;
    color: #000000;
    font-size: 16px;
    font-family: Lexend;
    font-weight: bold;
    width: 135px;
    height: 35px;
    border-radius: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

li{
    list-style-type:none;
}

button{
    background-color: #121019;
    border-style: none;
}

a{
    font-family: Lexend;
    text-decoration:none;
    color: #ffffff;
    font-size: 16px;
    transition: color 300ms;
}

.info{
    height: 370px;
    width: 25%;
    background-color: #121019;
    border: thin solid #404040;
    border-radius: 10px;
}

a:hover{
    color: #E7B783;
}

.all-info{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    min-height: 400px;
    min-height: auto;
    padding-top: 2.5%;
}
h1{
    text-transform: uppercase;
    font-family: Lexend;
    font-weight: bold;
    display: flex;
    color: #ffffff;
    justify-content: center;
    padding-top: 6%;
    font-size: 40px;
}
h2{
    font-family: Lexend;
    margin: 20px 0px 20px 0px;
    font-size: 32px;
    display: flex;
    color: #ffffff;
}

hr{
    margin-left: 10%;
    margin-right: 10%;
}

p{
    text-transform: uppercase;
    line-height: 150%;
    font-family: Lexend;
    font-size: 16px;
    font-weight: 350;
    color: #ffffff;
}
.cardBoard{
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 5%;
}

.alert-news {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #1e1b2e;
  color: #E7B783;
  border-left: 5px solid #05e810;
  padding: 20px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  font-family: 'Lexend', sans-serif;
  z-index: 999;
  display: none;
  animation: fadeInSlide 0.5s ease;
}

.alert-error {
  position: fixed;
  top: 30px;
  right: 30px;
  background-color: #1e1b2e;
  color: #E7B783;
  border-left: 5px solid #ff4e4e;
  padding: 20px;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  font-family: 'Lexend', sans-serif;
  z-index: 999;
  display: none;
  animation: fadeInSlide 0.5s ease;
}

.alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}

.alert-body {
  margin-top: 10px;
  font-size: 14px;
}

.close-btn {
  background: none;
  border: none;
  color: #E7B783;
  font-size: 22px;
  cursor: pointer;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.titleCard{
    font-weight: bold;
    justify-content: center;
}

#ttt{
    margin-bottom: 5%;
}

.all-infoo {
    display: flex;
    flex-direction: row; /* Aligne les div horizontalement */
    justify-content: flex-start; /* Aligne les div à gauche */
    align-items: center; /* Centre les div verticalement */
    margin: 0 auto; /* Centre le conteneur sur l'axe X */
    min-height: 400px;
    padding-top: 2.5%;
    box-sizing: border-box; /* Assure que padding et bordures sont inclus dans la largeur */
    gap: 8.6%; /* Ajoute un espacement entre les div */
    margin-left: 4.2%;
}

.infoo{
    height: 370px;
    width: 25vw;
    background-color: #121019;
    border: thin solid #404040;
    border-radius: 10px;
}


    
@media screen and (max-width: 1500px) {
    p{
        font-size : 14px;
    }

    h1{
        padding-top: 9%;
        padding-bottom: 2.5%;
    }

    h2{
        font-size : 30px;
    }
}

@media screen and (max-width: 1300px) {
    p{
        font-size : 14px;
    }

    h1{
        padding-top: 10%;
        padding-bottom: 2%;
    }

    h2{
        font-size : 23px;
    }
}

@media screen and (max-width: 1000px) {
    p{
        font-size : 12px;
    }
    h2{
        font-size : 18px;
    }
}

@media screen and (max-width: 800px) {

    header{
        top: 0%;
    }

    h1{
        margin-top: 30px;
        font-size: 27px;
    }
    h2{
        font-size : 20px;
    }
        p{
        font-size : 16px;
    }
    .all-info{
        margin-top: 30px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
    }

    .all-infoo{
        margin-top: 30px;
        margin-left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
    }
    .info{
        margin-bottom: 30px;
        width: 60%;
    }

    .infoo{
        margin-bottom: 30px;
        width: 60%;
    }

    #ttt{
        display: flex;
        flex-direction: column;
    }

}

