html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    /* font-family:Myriad Pro Bold,; */
    
}

@font-face {
    font-family: 'Myriad Pro Bold';
    src: url('font/Myriad\ Pro\ Bold.ttf') format('truetype');
    /* Ajoutez d'autres formats de police si nécessaire */
    font-weight: bold; /* Définissez le poids de la police */
    font-style: normal; /* Définissez le style de la police (normal, italic, etc.) */
}

body {
    font-family: 'Myriad Pro Bold', sans-serif;
    overflow: hidden;
    background-image: linear-gradient(
        #037649 0%,     /* Rouge commence à 0% de la hauteur */
        #037649 22.5%,    /* Rouge continue jusqu'à 30% de la hauteur */
        #f9dc30 22.5%,  /* Vert commence à 30% de la hauteur */
        #f9dc30 71.8%,  /* Vert continue jusqu'à 60% de la hauteur */
        #037649 71.8%,   /* Bleu commence à 60% de la hauteur */
        #037649 100%   /* Bleu continue jusqu'à 100% de la hauteur */
      );
      background-position: center;
      background-size: auto;
        max-width: 98%;
}

#main {
    overflow: hidden;
    
    /* border: solid 2px blue; */
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

#client {
    background-image: url("assets/Feu\ 2.png");
}

#test {
    font-size: 2em;
    position: absolute;
    top: 20%;
}

.txt-white {
    color: white;
}

.txt-red {
    color: #037649;
}

#div-error {
    position: relative;
    top: 22%;
    width: 100%;
    margin: auto;
    text-align: center;
    height: 30px;
    left: -1%;
}
#error {
    color: red;
    text-align: center;
    position: relative;
    top: 22%;
    font-weight: bold;
    padding: 0px;
    margin: 0px;
}

#num {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    position: relative;
    left: -2%;
    top: 5%;
}

form {
    position: relative;
    top: 24.6%;
    width: 100%;
    margin: auto;
    align-items: center;
    left: -1%;
    max-width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#label {
    text-align: center;
    position: relative;
    top: 23%;
    left: -1%;
    font-weight: bold;
    font-size: 1.5em;
}

#code {
    width: 100%;
    background-color: transparent;
    border: 2px solid black;
    height: 4vh;
    max-width: 400px;
    font-size: 1.5em;
    text-align: center;
}

#submit {
    margin-top: 20px;
    width: 100%;
    background-color: transparent;
    height: 1.7em;
    max-width: 200px;
    border-color: #037649;
    color: #037649;
    font-size: 1.5em;
    font-weight: bold;
}

#div-img {
    position: relative;
    top: 38%;
    font-size: 1.5em;
    left: 0%;
    width: 56%;
    margin: auto;
    text-align: center;
    color: white;
}

h4 {
    color: white;
}

img {
    width: 100%;
    height: auto;
}

#landscape {
    display: none;
    position: absolute;
    top: 38%;
    width: 100%;
}

.test {
    position: relative;
    top: 38%;
    width: 100%;
    margin: auto;
    text-align: center;
    color: white;
}

#landscape h2 {
    margin: auto;
    text-align: center;
}

@media screen and (orientation: landscape) {
    main {
      display: none; /* Masquer le contenu en mode paysage */
    }

    #landscape {
        text-align: center;
        display: block; /* Afficher le contenu en mode paysage */
    }
  }
