*{
    font-family: "Hanken Grotesk", sans-serif;
}

p{
    margin: 0;
}

h2{
    margin-top: 0;
}

.none{
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 0;
}

.hanken-big{
    font-size: 36px;
    margin: 0;
    font-style: italic;
}

.hangar-main .hanken-big{
    font-size: 32px;
    margin: 0;
    font-weight: 400;
    font-style: italic;
}

strong{
    font-weight: 900;
}


.albert-sans{
    font-family: "Albert Sans", sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem;
}

.section-title{
    padding: 24px;
    background-color: #4C4EC0;
    padding: 8px 24px;
    color: white;

}

.left{
    border-radius: 0 50px 0 0;
    padding-right: 50px;
}

.right{
    border-radius: 50px 0 0 0;
    padding-left: 400px;
    color: white;
}

.red{
    background-color: #F70000;
}

.green{
    background-color: #00C02D;
    color: white;
}

.tour{
    background-color: #FFD400;
    outline: 2px solid black;
    color: black;

}

.fl-joueur{
    z-index: 800;
    position: relative;
    bottom: 40px;
    margin-top: -40px;
    padding-right: 400px;
    width: fit-content;
}

.deroule{
    width: 100%;
    background-color: #009491;
    text-align: end;
}

.attaquant-actuel{
    position: relative;
    top: 60px;
    margin-top: -45px;
    width: fit-content;
    background-color: #00C02D;
}

.atkact{
    color: black;
    text-transform: uppercase;
}

body{
    height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
}

.wrapper{
    height: 100vh;
    width: 100%;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 10fr 50px 4fr;
    grid-template-areas: 
    'combat1 bar2 menu';

    background-color: #D0FDFD;
}

.bar{
    flex-shrink: 0;
    z-index: 1000;
    width: 50px;
    height: 100vh;
    background: linear-gradient(to right, 
    #5d62bd 0%,  #5d62bd 18%,  /* Bleu-violet */
    #4a90e2 18%, #4a90e2 36%,  /* Bleu vif */
    #2ecc71 36%, #2ecc71 52%,  /* Vert émeraude */
    #000000 52%, #000000 64%,  /* Noir */
    #1abc9c 64%, #1abc9c 78%,  /* Turquoise */
    #ffffff 78%, #ffffff 90%,  /* Blanc */
    #2c3e50 90%, #2c3e50 100%  /* Bleu nuit */
);

}

.bar2{
    z-index: 999;
    flex-shrink: 0;
    width: 50px;
    height: 100vh;
    background: linear-gradient(to right, 
    #5d62bd 0%,  #5d62bd 18%,  /* Bleu-violet */
    #4a90e2 18%, #4a90e2 36%,  /* Bleu vif */
    #2ecc71 36%, #2ecc71 52%,  /* Vert émeraude */
    #000000 52%, #000000 64%,  /* Noir */
    #1abc9c 64%, #1abc9c 78%,  /* Turquoise */
    #ffffff 78%, #ffffff 90%,  /* Blanc */
    #2c3e50 90%, #2c3e50 100%  /* Bleu nuit */
);

}

.bar3{
    flex-shrink: 0;
    z-index: 999;
    position: relative;
    width: 100%;
    height: 35px;
    background: linear-gradient(to top, 
    #5d62bd 0%,  #5d62bd 18%,  /* Bleu-violet */
    #4a90e2 18%, #4a90e2 36%,  /* Bleu vif */
    #2ecc71 36%, #2ecc71 52%,  /* Vert émeraude */
    #000000 52%, #000000 64%,  /* Noir */
    #1abc9c 64%, #1abc9c 78%,  /* Turquoise */
    #ffffff 78%, #ffffff 90%,  /* Blanc */
    #2c3e50 90%, #2c3e50 100%  /* Bleu nuit */
);
}


.overlay {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-manual {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    width: 300px;
    border-radius: 16px;
    transition: all 0.2s ease-out;
}

.overlay-content-manual {
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 40px;
    padding: 50px;
    width: 80%;
    max-height: 90vh;
    border-radius: 16px;
    transition: all 0.2s ease-out;
    overflow-y: auto;
}

.overlay-manual p {
    font-weight: bold;
    margin: 0;
    font-size: 18px;
    color: #333;
}

.overlay p {
    text-align: center;
    font-weight: bold;
    margin: 0;
    font-size: 24px;
    color: #333;
}

#close-overlay {
    align-self: center;
    justify-self: end;
    background-color: #F70000;
    color: rgb(255, 255, 255);
    cursor: pointer;
}

.title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding:  30px 0 60px 0 ;
}

.menu{
    max-height: 100vh;
    overflow: auto;

    display: flex;
    padding-top: 35px;
    flex-direction: column;
    align-items: end;
    gap: 20px;
    background-color: #fff;
}

.menu-buttons{
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: end;
    gap: 6px;
}

.combat1{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.combat11{
    display: flex;
    flex-direction: column;
    height: 65%;
}

.combat{
    z-index: 500;
    outline: 3px solid #FFD400;
    background-color: white;
    margin-left: 10%;
    padding: 50px 50px 130px 50px;
    height: 100%;
    border-radius: 50px 0 0 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vaisseau{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 4px;
}

.combat .pv{
    font-size: 18pt;
    padding: 0 15px;
    width: fit-content;
    color: #009434;
    border: 1px solid #009434;
    border-radius: 16px;
}

.combat .pt{
    font-size: 18pt;
    padding: 0 15px;
    width: fit-content;
    color: #B100C5;
    border: 1px solid #B100C5;
    border-radius: 16px;
}


.pv{
    font-size: 18pt;
    width: fit-content;
    color: #009434;
    border: 1px solid #009434;
    border-radius: 16px;
}

.pt{
    font-size: 18pt;
    width: fit-content;
    color: #B100C5;
    border: 1px solid #B100C5;
    border-radius: 16px;
}

.atk{
    font-size: 18pt;
    width: fit-content;
    color: #F70000;
    border: 1px solid #F70000;
    border-radius: 16px;
}

.def{
    font-size: 18pt;
    width: fit-content;
    color: #111ED8;
    border: 1px solid #111ED8;
    border-radius: 16px;
}

.combat-info{
    width: 100%;
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flotte:nth-of-type(1){
    align-items: end;
}

.flotte{
    display: flex;
    width: 100%;
    gap: 20px;
    flex-direction: column;
    align-self: end;
}


.flotte:first-child{
    text-align: end;
}

.nom-flotte{
    margin: 0;
}

.flotte-liste{
    width: fit-content;
    display: flex;
    justify-content: end;
    gap: 40px;
}

.attack{
    flex-grow: 1;
    outline: 3px solid #FFD400;
    background-color: white;
    margin-left: 5%;
    padding: 90px 50px 50px 50px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    gap: 20px;
}


.moves{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.moves-list{
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: wrap;
    height: 150px;
}

.choices{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
}

.choice-list{
    display: grid;
    justify-content: end;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 8px;

}

.vaisseau-choice{
    border: 1px solid black;
    padding: 5px 20px ;
    width: 100px;
    height: fit-content;

    display: flex;
    justify-content: center;
}

.vaisseau-choice p{
    margin: 0;
}

.btn-default{
    border-radius: 50px;
    border: none;
    font-size: 24px;
    padding: 0px 24px;
    width: fit-content;
    font-weight: bold;
    transition: all 0.1s ease-out;
}

.btn-default:hover{
    background-color: black;
    color: white;
    padding: 2px 26px;
}

.btn-normal{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;

    height: 30px;
    padding: 0px 48px;
    background-color: #8FDDE1;
    border: none;
    color: black;
    font-weight: 700;

    border-radius: 50px 0 0 50px;
}

.btn-normal:hover{
    background-color: #000000;
    color: rgb(255, 255, 255);
    width: 105%;
    transition: all 0.1s ease-out;

}

.btn-rouge{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;

    height: 30px;
    padding: 8px 48px;
    background-color: #ed6868;
    border: none;
    color: rgb(255, 255, 255);
    font-weight: 700;

    border-radius: 50px 0 0 50px;
    transition: all 0.1s ease-out;
}


.btn-rouge:hover{
    background-color: #000000;
    color: rgb(255, 255, 255);
    width: 105%;
}

.btn-attaque{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;

    height: 30px;
    padding: 8px 48px;
    border: 1px solid black;
    color: rgb(0, 0, 0);
    font-weight: 700;
    background-color: white;

    border-radius: 50px;
    transition: all 0.1s ease-out;

}

.btn-attaque:hover{
    width: 100%;
    margin-left: 10px;
    background-color: black;
    color: white;
}

.btn-choix{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;

    height: 30px;
    padding: 8px 48px;
    border: 1px solid black;
    color: rgb(0, 0, 0);
    font-weight: 700;
    background-color: rgb(250, 198, 198);

    border-radius: 50px;
    transition: all 0.1s ease-out;

}

.btn-choix:hover{
    width: 100%;
    background-color: black;
    color: white;
}


.dashboard{
    width: 100%;
    grid-area: dashboard;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;

    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text{
    background-color: #ffffff;
    padding: 30px;
    margin: 0;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.2s ease-out;
}

.text p{
    margin: 0;
}

.text:nth-last-child(2){
    border: none;
}

.text:last-child{
    background-color: #d3effd;
    border-radius: 16px;

}

.text-start{
    margin: 0;
    font-weight: bold;
    background-color: rgb(100, 255, 136);
    text-align: center;
    padding: 8px;
    color: rgb(0, 0, 0);
    border-radius: 50px;
}

.victory{
    font-weight: bold;
    background-color: rgb(100, 255, 136);
    padding: 20px;
    color: white;
    margin: 0;
    border-radius: 16px;
}

.lose{
    font-weight: bold;
    background-color: rgb(145, 50, 50);
    padding: 20px;
    color: white;
    margin: 0;
    border-radius: 16px;
}

a{
    text-decoration: none;
}





/*! PAGE CHOIX DES VAISSEAUX */




.wrapper2{
    height: 100vh;
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
}

.choix-menu{
    width:85%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 16px;
}


.affichage-flotte{
    width: 20%;
    min-width: 330px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: start;
    grid-area: affichage-flotte;
    border: 1px solid black;
    gap: 20px;
    padding: 50px 0;
}

.liste-flotte{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.fl-hangar{
    padding-left: 150px;
    padding-right: 50px;    
    width: 70%;

}

.hangar{
    flex-grow: 2;
    display: flex;
    flex-direction: column;
}

.hangar-main{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: end;
    overflow-y: auto;
}

.vaisseau-ajoute{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-right: -65px;
    justify-content: space-between;
    align-items: center;
}

.vaisseau-ajoute .vaisseau-hangar{
    width: 100%;
}

.donnees{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.donnees p{
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.donnees1{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats{
    width: 100%;
    flex-direction: column;
    display: flex;
    gap: 4px;
}


.detail-vaisseau{
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    overflow-y: scroll;
    min-height: 300px;
    align-items: center;
    justify-content: space-around;
}

.detail-vaisseau p{
    margin: 0;
}

.detail-vaisseau .vaisseau-hangar{
    width: 25%;
    padding: 20px;
    flex-shrink: 0;
}


.detail-vaisseau .moveset{
    width: fit-content;
    max-width: 50%;
    display: grid;
    grid-template-columns: repeat(2,1fr); 
    grid-template-rows: repeat(2, 1fr);
    gap: 15px 30px;

    font-size: 1rem;
    font-weight: bold;
    font-style: italic;
}

.detail-vaisseau .move{
    min-width: 250px;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.move-name{
    font-size: 1.2rem;
    font-weight: 900;
}

.move-stats{
    display: flex;
    gap: 24px;
}

.move-stats span:nth-of-type(1){
    color: red;
}

.move-stats span:nth-of-type(2){
    color:#B100C5;
}

.liste-vaisseaux{
    background-color: #f0f0f0a3;
    width: calc(100% - 60px);
    box-sizing: border-box;
    margin: 30px 30px 0 30px;
    padding: 30px;
    border: 3px solid #ffd500;
    border-radius: 50px 50px 0 0;

    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;

    overflow-y: auto;
}

.hbongar{
    padding-right: 30px;
    padding-left: 600px;
    background-color: #78B5AA;
}

.vaisseau-choix{
    padding: 20px;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: all 0.1s ease-out;
}

.vaisseau-choix:hover{
    background-color: rgb(222, 222, 222);
}

.vaisseau-ajoute .liste-vaisseaux-boutons{
    align-items: center;
    position: relative;
    top: -30px;
    right: 80px;
    display: flex;
    gap: 10px;
}

.hangar-main .liste-vaisseaux-boutons{
    width: fit-content;
    align-items: center;
    position: relative;
    top: -85px;
    right: -80px;
    display: flex;
    gap: 10px;
}

.hangar-main .vaisseau-hangar{
    width: 100%;
    margin-bottom: -24px;
}

.btn-vert{
    display: flex;
    justify-content: start;
    align-items: center;

    width: fit-content;
    height: 30px;
    padding: 8px;
    background-color: white;
    color: black;
    font-weight: 700;
    border: 1px solid rgb(26, 160, 26);
    border-radius: 0px;
}

.btn-vert:hover{
    background-color: black;
    border: 1px solid black;
    color: white;
}

.vaisseau p{
    margin: 0;
}

/*! ACCUEIL */

.wrapper3{
    z-index: 2;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.blackline{
    width: 1px;
    background-color: #000;
    position: absolute;
    height: 100%;
    left: 120px;
}

.home-title{
    display: flex;
    flex-direction: column;

    padding-top: 5%;
    gap: 40px;
}

.home-title1{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-title1 .section-title{
    width: 40%;
}

.home-text{
    display: flex;
    justify-content: space-between;
    padding: 0 120px 0 90px;
    font-weight: bold;
    font-style: italic;
}

.home-menu{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    gap: 20px;
    padding: 50px 0;
}

.menu-1{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    gap: 20px;
}

.sec-tit-menu{
    width: 200px;
    max-width: 25%;
    text-align: end;
}

.menu-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}

.menu-list .menu-element a{
    text-align: end;
    box-sizing: border-box;
    justify-content: end;
    padding: 16px 32px;
    z-index: 20;
    transition: all 0.1s ease-out;
}


.menu-list .menu-element:first-child a{
    background-color: #A0D6AD;
}

.menu-list .menu-element:nth-child(2) a{
    background-color: #d6a0c7;
}


.menu-list .menu-element:hover a{
    background-color: #000;
    color: white;
    box-sizing: border-box;
    padding-right: 56px;
    transition: all 0.1s ease-out;
}


.menu-element{
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    
}

.menu-element p{
    position: absolute;
    left: 90px;
    top: 30px;
    width: 400px;
    flex-shrink: 0;
    transform: translate(-200%, 1%);
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.menu-element:hover .blackline-menu{
    transform: translate(0%, 0%);
}

.menu-element:hover p{
    transform: translate(0%, 0%);
}

.blackline-menu {
    height: 1px;
    background-color: #000;
    width: 125%;
    transform: translate(400%, -50%);
    transition: all 0.3s ease-out;
}

.home-menu form{
    display: flex;
    justify-content: end;
    width: 30%;
}

.home-menu form button{
    box-sizing: border-box;
    background-color: #F70000;
    color: #fff;
    width: 60%;
    justify-content: end;
    transition: all 0.1s ease-out;
    min-width: 250px;

}

.home-menu form button:hover{
    color: #fff;
    width: 75%;
}

.home-flotte-list{
    display: grid;
    grid-template-columns: repeat(6,1fr);
    justify-content: center;
    gap: 30px;
    padding: 50px 150px;
}

.home-flotte-vaisseau:first-child{
    grid-column: 1/3;
}

.home-flotte-vaisseau:nth-child(2){
    grid-column: 3/5;
}

.home-flotte-vaisseau:nth-child(3){
    grid-column: 5/7;
}

.home-flotte-vaisseau:nth-child(4){
    grid-column: 2/4;
}

.home-flotte-vaisseau:nth-child(5){
    grid-column: 4/6;
}

.home-flotte-vaisseau{
    padding: 10px;
    display: flex;
    justify-content: center;
}

.vaisseau-accueil{
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vaisseau-accueil-intro{
    width: fit-content;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.vaisseau-accueil-intro .stats p:first-child{
    color:#F70000;
}

.vaisseau-accueil-intro .stats p:nth-child(2){
    color:#111ED8;
}

.vaisseau-accueil .stats{
    width: fit-content;
    justify-content: end;
    gap: 0;
    line-height: 14px;
}

.vaisseau-accueil-stats p{
    border-radius: 50px;
    padding-left: 20px;
}

.vaisseau-accueil-stats p:first-child{
    background-color: #00C02D;
    width: 80%;
}

.vaisseau-accueil-stats p:nth-child(2){
    position: relative;
    bottom: 8px;
    background-color: #ea00fffc;
    color: white;
    margin-left: 90px;
}

.hanken-xl{
    font-size: 52px;
    line-height: 38px;
    font-weight: 900;
    margin: 0;
    font-style: italic;
}

.lancer-combat{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 30px;
    grid-area: lancer-combat;
    border: 1px solid #000;
}

.choisir-flotte{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 30px;
    grid-area: choisir-flotte;
    border: 1px solid #000;
}


/*! ECRAN CONNEXION */

.wrapper4{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 20px;
}

.wrapper4 form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wrapper4 .form{
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    width: 25%;
    min-width: 500px;
    gap: 20px;
}

.form .section-title{
    padding-left: 0;
    text-align: end;
}

.logo{
    width: 25%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    margin-left: 75px;
    gap: 12px;
}

.logo p{
    font-weight: 900;
    font-style: italic;
}

.logins{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.login label{
    font-size: 18px;
    font-weight: 700;

}

.login input{
    padding-left: 12px;
    border-radius:  50px 0 0 50px;
    border: none;
    font-size: 18px;
    height: 2rem;
    background-color: #e7e7e7;
}

.validation{
    display: flex;
    gap: 12px;
}

.validation .btn-default:first-child{
    background-color: #00C02D;
    color: white;
}

.validation .btn-default:hover{
    padding: 0 26px;
    background-color: #000;
    color: white;
}

.invalid{
    margin: 0;
    color: fff;
    font-weight: 900;
    font-style: italic;
    padding: 10px;
    position: absolute;
    bottom: 380px;
    right: 24px;
    background-color: rgb(249, 91, 91);
    border-radius: 16px;
}

@media (max-width: 1600px) {
    .liste-vaisseaux {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1300px) {
    .no-responsive{
        position: absolute;
        z-index: 10000;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #000;
    }
}