@font-face {
    font-family: 'Orbitron';
    src: url('../font/Orbitron-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../font/Orbitron-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../font/Orbitron-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'Orbitron';
    src: url('../font/Orbitron-Black.ttf') format('truetype');
    font-weight: 900;
}
h1{
    color: #FFFFFF;
}

body{
    background:linear-gradient(#222238, #535368);
    font-family: 'Orbitron', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0 ;
    box-sizing: border-box;
    padding-top: 100px;

}
main{
    flex: 1;
}

/*------------------------------------------------------Partie de l'accueil------------------------------------------------------*/
.Accueil{
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 100px;
    background-color: #1b1b31;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.28), 0 -10px 30px rgba(255, 255, 255, 0.28);
    transition: transform 0.52s ease;
}
.Accueil:hover{
    transform: translateY(-10px) scale(1.005);}
.Accueil div{
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}
.Accueil div h1{
    margin-bottom: 0;
}
.Accueil div h2{
    margin-top: 0;
    color: #ffffff;
    font-size:xx-large
}
.Accueil div p{
    color: #00F0FF ;
    font-size: x-small;
    letter-spacing: 5px;
}
.Accueil div h3{
    color: #00F0FF;
}
.Accueil div a{
    padding: 12px 32px;
  background: #00e5ff;
  border: none;
  color: #001820;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    transition: transform 0.52s ease, background-color 0.52s ease;
}
.Accueil div nav{
    padding: 10px;
}
.Accueil a:hover{
   background: #313153;
   color: #00F0FF;
  transform: translateY(-2px);
}
.Accueil img{
    border-radius: 20px;
    max-height: 250px;
    align-self: center;
    border: solid 1px #6100c9;
}
/*------------------------------------------------------Partie des jeu en vedette------------------------------------------------------*/
.Game h1{
    text-align: center;
}
.Game{
    margin: 75px;
    padding: 50px;
    background-color: #1b1b31;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.28), 0 -10px 30px rgba(255, 255, 255, 0.28);
    padding-bottom: 50px;
    transition: transform 0.52s ease;
}
.Game:hover{
    transform: translateY(-10px) scale(1.005);
}
.Game p{
    color: #00F0FF;
    margin-bottom:0 ;
}
.Game section, .Game article{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    padding: 50px;
    padding-bottom: 20px;
    border-top: solid 3px #00F0FF;
}
.Game section div, .Game article div{
    position: relative;
    flex: 1;
    min-width: 0;
    transition: transform 0.52s ease;
}
.Game section div:hover, .Game article div:hover{
    transform: translateY(-10px) scale(1.1);
}
.Game section > div, .Game article > div {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.Game section > div img, .Game article > div img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}
.Game section > div h2, .Game article > div h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    padding-top: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,1));
    color: white;
    font-size: 16px;
    margin: 0;
    border-radius:0 0 20px 20px ;
}
.Game section > div a, .Game article > div a{
    display: block;
    text-decoration: none;
}
.Game h2{
    color: #FFFFFF;
    text-align: center;
    font-size: xx-large;
}
.Game div > p{
    text-align: right;
}
.Game h3{
    text-align: center;
    color: #00e5ff;
    font-size: large;
}
.Top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 35% ;
    margin-left:  35%;
}
.Top h1{
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom:solid 2px #00F0FF;
    position: relative;
}
.Top h2{
    position: relative;
    color: #ffffff;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: solid 2px #00F0FF;
    font-size: xx-large;
}
.Top h3{
    color: #00e5ff;
    text-align: center;
}
/*------------------------------------------------------Jeux------------------------------------------------------*/
.TopGame {
    position: relative;
}

.TopGame img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.TopGame h1, .TopGame h2 {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    margin-left:35% ;
    margin-right: 35%;
    text-align: center;
    color: white;
    border-bottom: solid 2px #00F0FF;
    padding-bottom: 10px;
    z-index: 2;
}

.TopGame p {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #00F0FF;
    z-index: 2;
}

.TopGame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,1));
    z-index: 1;
}
.avis{
    display: flex;
    flex-direction: column;
    border: solid 1px #00F0FF;
    padding-bottom: 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    transition: transform 0.52s ease;
}
.avis:hover{
    transform: translateY(-10px) scale(1.05);

}
.Game .avis p{
    padding: 0 20px;
    text-align: center;
}
.Note{
    width: 100px; ;
}
/*------------------------------------------------------Contact------------------------------------------------------*/
.section{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section .Game:nth-child(1),
.section .Game:nth-child(2){
    width: 75%;
}
label{
    display: flex;
    flex-direction: column;
    color: #00e5ff;
}
input, textarea{
    background-color:#2b2a40 ;
    color: #FFFFFF;
    border-radius: 10px;
    border: 2px solid #00b7c4;
    min-height: 30px;
    min-width: 500px;
}
input::placeholder, textarea::placeholder {
    font-family: 'Orbitron', sans-serif;
}
.contact button{
    justify-self: center;
}
.contact-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact{
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;
}
.send-btn{
    width: 50%;
    align-self: center;
    border: solid 1px #00F0FF;
    border-radius: 3px;
    min-height: 30px;
    color: #00F0FF;
    background-color: #19213a;
}
.network{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    flex: 1;
    gap: 10px;
}
.network a{
    text-decoration: none;
    color: #00F0FF;
    border: 1px solid #00F0FF;
    border-radius: 12px;
    padding: 3px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*------------------------------------------------------A propos------------------------------------------------------*/
.propos{
    display: flex;
    margin: 50px;
}
.propos .Game{
    padding: 20px;
    margin: 30px;
}
.propos .Game:nth-child(1){
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.propos .Game p{
    letter-spacing: 2px;
    line-height: 30px;
}
.propos img{
    min-width: 200px;
}
.qualite section{
    display: flex;
    justify-content: center;
}
.qualite h1{
    text-align: center;
    border-bottom: 2px solid #00F0FF;
    margin-left: 35%;
    margin-right: 35%;
}
.qualite h2{
    color: #ffffff;
    font-size: xx-large;
    text-align: center;
}
.qualite h3{
    color: #FFFFFF;
}
.qualite section .Game{
    width: 25%;
    padding-top: 20px;
    padding-bottom: 20px;
}
/*------------------------------------------------------Partie du Header------------------------------------------------------*/
header{
    display: flex;
    background: linear-gradient(-120deg,#2b2c4b,#000000);
    align-items: center;
    position:fixed ;
    z-index: 1000;
    width: 100%;
    top: 0;
}
header nav a, .network a{
    color:#00F0FF;
    background-color: #353e53;
    text-decoration: none;
    margin-right:8px;
    margin-left:8px ;
    padding: 13px 20px 13px 20px;
    border-radius: 10px;
    border: solid 1px #00F0FF;
    transition: transform 0.52s ease, background-color 0.52s ease;
}
header nav a:hover, .network a:hover{
    color: #313153;
    background-color: #00F0FF;
    border: 1px solid #353e53;
    transform: translateY(5px) scale(1.05);
}
header .logo-link{
    display: flex;
    align-items: center;
    text-decoration: none;
    background: none;
    padding: 0;
    margin: 0;
}
header div{
    display: flex;
}
header div:nth-child(2){
    display: flex;
    justify-content: flex-end;
    flex: 1;
    gap: 20px;
    padding-right: 30px;
}
header div h1{
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff, #00F0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;  
}
.burger-toggle {
    display: none; /* cache la checkbox */
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #00F0FF;
    border-radius: 3px;
}
/*------------------------------------------------------Partie du footer------------------------------------------------------*/
footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size:small;
    background-color: #0f0e42;
}
footer nav{
    display: flex;
    justify-content: center;
}
footer p{
    display: flex;
    justify-content: center;
    color:#d7dee6;
}
footer a{
    display: flex;
    text-decoration: none;
    color: #d7dee6;
    margin: 10px;
}
/*------------------------------------------------------Responsive (Paysage)------------------------------------------------------*/
@media (max-width: 393px) {
 
    /* ===== BODY ===== */
    body {
        padding-top: 80px;
    }
 
    /* ===== HEADER ===== */
    .burger {
        display: flex;
    }
 
    header div:nth-child(2) {
        padding-right: 10px;
        gap: 0;
    }
 
    header nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #0f0e42;
        padding: 20px;
        z-index: 999;
    }
 
    header nav a {
        margin: 8px 0;
        text-align: center;
    }
 
    .burger-toggle:checked ~ nav {
        display: block;
    }
 
    /*--------------------------------------------------------------top----------------------------------------- */
    .Top {
        margin-left: 5%;
        margin-right: 5%;
    }
 
    .Top h1 {
        font-size: 18px;
    }
 
    .Top h2 {
        font-size: 12px;
    }
 
    /*--------------------------------------------------------------TOPGAME--------------------------------------------------------------*/
    .TopGame img {
        height: 250px;
    }
 
    .TopGame h1, .TopGame h2 {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 14px;
        bottom: 50px;
    }
 
    .TopGame p {
        font-size: 11px;
        bottom: 15px;
    }
 
    /*--------------------------------------------------------------ACCUEIL--------------------------------------------------------------*/
    .Accueil {
        flex-direction: column;
        margin: 15px;
        padding: 0;
    }
 
    .Accueil div {
        padding: 20px;
        margin: 10px;
    }
 
    .Accueil img {
        max-height: 180px;
        align-self: center;
        margin: 0 auto 20px;
    }
 
    .Accueil div h1 {
        font-size: 18px;
    }
 
    .Accueil div a {
        font-size: 12px;
        padding: 10px 20px;
    }
 
    /*--------------------------------------------------------------GAME--------------------------------------------------------------*/
    .Game {
        margin: 15px;
        padding: 20px;
    }
 
    .Game h1 {
        font-size: 16px;
    }
 
    .Game h2 {
        font-size: 13px;
    }

    .Game p{
        line-height: 20px;
    }
 
    .Game section, .Game article {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
 
    .Game section div, .Game article div {
        flex: none;
        width: 100%;
    }
 
    .Game section > div img, .Game article > div img {
        height: 160px;
    }
 
    /*--------------------------------------------------------------AVIS--------------------------------------------------------------*/
    .avis {
        padding: 15px;
    }
 
    .avis h3 {
        font-size: 13px;
    }
 
    .Game .avis p {
        line-height: 20px;
        letter-spacing: 2px;
        font-size: 11px;
        padding: 0 10px;
    }
 
    /*--------------------------------------------------------------CONTACT--------------------------------------------------------------*/
    .section {
        flex-direction: column;
    }
 
    .section .Game:nth-child(1) {
        width: auto;
    }
 
    input, textarea {
        min-width: unset;
        width: 250px;
        box-sizing: border-box;
    }
 
    .send-btn {
        width: 100%;
    }
 
    .network {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        height: auto;
    }
    .network a {
        flex: 1 1 calc(50% - 12px);
        min-width: 120px;
        padding: 12px 8px;
        font-size: 11px;
    }
 
    /*--------------------------------------------------------------A PROPOS--------------------------------------------------------------*/
    .propos {
        flex-direction: column;
        margin: 10px;
    }
 
    .propos .Game {
        margin: 10px;
        padding: 15px;
    }
 
    .propos img {
        min-width: unset;
        width: 60%;
        margin: 0 auto;
        display: block;
    }
 
    .propos .Game p {
        font-size: 12px;
        line-height: 22px;
        letter-spacing: 1px;
    }
 
    .qualite section {
        flex-direction: column;
        align-items: center;
    }
 
    .qualite h1 {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 16px;
    }
 
    .qualite section .Game {
        width: 80%;
    }
 
    /*--------------------------------------------------------------FOOTER--------------------------------------------------------------*/
    footer nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
 
    footer a {
        font-size: 11px;
        margin: 5px;
    }
 
    footer p {
        font-size: 10px;
    }
}
/*------------------------------------------------------Responsive Paysage (873px x 393px)------------------------------------------------------*/
@media (max-width: 873px) and (orientation: landscape) {
 
    /* ===== BODY ===== */
    body {
        padding-top: 90px;
    }
 
    /* ===== HEADER ===== */
    .burger {
        display: flex;
    }
 
    header div:nth-child(2) {
        padding-right: 10px;
        gap: 0;
    }
 
    header nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #0f0e42;
        padding: 15px 20px;
        z-index: 999;
    }
 
    header nav a {
        margin: 6px 0;
        text-align: center;
        padding: 10px;
    }
 
    .burger-toggle:checked ~ nav {
        display: block;
    }
 
    /*--------------------------------------------------------------TOP--------------------------------------------------------------*/
    .Top {
        margin-left: 5%;
        margin-right: 5%;
    }
 
    .Top h1 {
        font-size: 18px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .Top h2 {
        font-size: 30px;
        padding-top: 10px;
    }
 
    .Top h3 {
        font-size: 13px;
    }
 
    /*--------------------------------------------------------------TOPGAME--------------------------------------------------------------*/
    .TopGame img {
        height: 300px;
    }
 
    .TopGame h1, .TopGame h2 {
        margin-left: 15%;
        margin-right: 15%;
        font-size: 16px;
        bottom: 55px;
    }
 
    .TopGame p {
        font-size: 12px;
        bottom: 18px;
    }
 
    /*--------------------------------------------------------------ACCUEIL--------------------------------------------------------------*/
    .Accueil {
        flex-direction: row;
        margin: 20px 40px;
    }
 
    .Accueil div {
        padding: 15px 20px;
        margin: 15px 10px;
    }
 
    .Accueil div h1 {
        font-size: 18px;
    }
 
    .Accueil div h2 {
        font-size: 18px;
    }
 
    .Accueil div h3 {
        font-size: 12px;
    }
 
    .Accueil div a {
        font-size: 12px;
        padding: 8px 18px;
    }
 
    .Accueil img {
        max-height: 160px;
        align-self: center;
    }
 
    /*--------------------------------------------------------------GAME--------------------------------------------------------------*/
    .Game {
        margin: 20px 40px;
        padding: 25px 30px;
    }
 
    .Game h1 {
        font-size: 18px;
    }
 
    .Game h2 {
        font-size: 16px;
    }
 
    .Game h3 {
        font-size: 13px;
    }
 
    .Game p {
        line-height: 22px;
    }
 
    .Game section, .Game article {
        flex-direction: row; 
        flex-wrap: wrap;
        padding: 20px;
        gap: 15px;
    }
 
    .Game section div, .Game article div {
        flex: 1 1 calc(50% - 15px);
        min-width: 0;
    }
 
    .Game section > div img, .Game article > div img {
        height: 150px;
    }
 
    .Game section > div h2, .Game article > div h2 {
        font-size: 13px;
    }
 
    /*--------------------------------------------------------------AVIS--------------------------------------------------------------*/
    .avis {
        padding: 15px;
    }
 
    .avis h3 {
        font-size: 14px;
    }
 
    .Game .avis p {
        font-size: 12px;
        padding: 0 15px;
        line-height: 20px;
    }
 
    /*--------------------------------------------------------------CONTACT--------------------------------------------------------------*/
    .section {
        flex-direction: column;
    }
 
    .section .Game:nth-child(1) {
        width: auto;
    }
 
    input, textarea {
        min-width: unset;
        width: 500px;
        box-sizing: border-box;
    }
 
    .send-btn {
        width: 80%;
    }
 
    .network {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-content: center;
        height: auto;
    }
    .network a {
        flex: 1 1 calc(50% - 10px);
        min-width: 100px;
        font-size: 11px;
        padding: 10px 6px;
    }
 
    /*--------------------------------------------------------------A PROPOS--------------------------------------------------------------*/
    .propos {
        flex-direction: row;
        margin: 20px 40px;
    }
 
    .propos .Game {
        margin: 15px;
        padding: 15px;
    }
 
    .propos .Game:nth-child(1) {
        max-width: 200px;
    }
 
    .propos img {
        min-width: unset;
        width: 100%;
    }
 
    .propos .Game p {
        font-size: 12px;
        line-height: 24px;
        letter-spacing: 1px;
    }
 
    .qualite section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
 
    .qualite h1 {
        margin-left: 15%;
        margin-right: 15%;
        font-size: 18px;
    }
 
    .qualite h2 {
        font-size: 16px;
    }
 
    .qualite section .Game {
        width: 28%;
        padding: 15px;
    }
 
    /*--------------------------------------------------------------FOOTER--------------------------------------------------------------*/
    footer nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
 
    footer a {
        font-size: 12px;
        margin: 5px 8px;
    }
 
    footer p {
        font-size: 11px;
    }
}
/*------------------------------------------------------Reset ul/li dans nav------------------------------------------------------*/
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
nav li {
    display: flex;
}
header nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0;
}
/* Menu burger ouvert : ul en colonne */
@media (max-width: 393px) {
    header nav ul {
        flex-direction: column;
        width: 100%;
    }
}
@media (max-width: 873px) and (orientation: landscape) {
    header nav ul {
        flex-direction: column;
        width: 100%;
    }
}
footer nav ul {
    justify-content: center;
    flex-wrap: wrap;
}
.network ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.network li {
    width: 100%;
}
