:root {
    --black-color: #1B1B1B;
    --white-color: #fefefe;
    --primary-color: #0c153c;
    --secondary-color: #516278;
    --tertiary-color: #080725;
    --yellow-color: #ffc30f;
    --grey-color: #8998A3;
    --orange-color: #e6561a;
    --lightgray-color: #E1E9EF;
    --bluegrey-color: #0F4D6B;
    --lightlightgray: #F4F6F8;
}

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/************************************************
COMMUN
*************************************************/

ul {
    list-style: none inside none;
}

a {
    text-decoration: none;
    font-family: "Fraunces", sans-serif;
}

.off-screen-menu {
    display: none;
}




/**************************************************
Structure 
**************************************************/
.row {
    display: flex;
    flex-flow: row wrap;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}

.row-menu {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.row-column {
    display: flex;
    flex-flow: row wrap;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
}

.row-header {
    display: flex;
    flex-flow: row wrap;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    align-content: center;
    justify-content: space-between;
}

.row-enseignement {
    /* display: flex
; */
    flex-flow: row wrap;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

.row-middle {
    display: flex;
    flex-flow: row wrap;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    align-content: center;
    justify-content: center;
}

.nowrap {
    flex-wrap: nowrap;
}



h2 {
    color: var(--black-color);
    font-family: "Fraunces", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    padding-bottom: 2rem;


}

#header_blue {
    background-color: var(--primary-color);
    padding: 5px;
    border-bottom: 3px solid var(--yellow-color);
}

#header_white {
    background-color: var(--white-color);
    padding: 5px;
    border-bottom: 3px solid var(--yellow-color);
}

.middle {
    text-align: center;
}

/******************************************************
INTErLUDE SPOrT 
*****************************************************/

.hawks {

    background: url(../images/hawksbann.png);
    background-attachment: fixed;
    background-position: left;
    background-size: contain;
    text-align: center;
    background-repeat: no-repeat;
    background-color: var(--secondary-color);
}

.hawks-pic {
    width: 33%;
}

.hawks-pic:hover {
    transform: scale(1.2);
}


/******************************************************************************************
PAGE CONNEXION 
**********************************************************************************************/

.connexion {
    background-color: var(--secondary-color);
    padding: 9rem 3rem 10rem;

}

.connexion-formulaire {
    background-color: white;
    text-align: center;
    display: flex;
    border-radius: 2rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.formulaire-gauche {
    flex: 55% 0 0;
}

.formulaire-gauche img {
    width: 100%;
    border-radius: 2rem 0 0 2rem;
    height: 100%;
}

.formulaire-droite {
    padding: 2rem;
    flex: 45% 0 0;
}

.formulaire-droite h1 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 0.5px solid rgba(128, 128, 128, 0.377);
    font-family: "Fraunces", sans-serif;
    color: black;
}

#login,
#password {
    width: 90%;
    border: 0 none;
    padding: 1rem 1rem 0.5rem 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1rem;
    font-size: 17px;
}

#login:focus,
#password:focus {
    outline: none;
}

#btn-1 {
    padding: 1rem;
    border-radius: 2rem;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    width: 40%;
    text-transform: uppercase;
    font-family: 'Comfortaa', sans-serif;
}

#btn-1:hover {
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
}

.information-supp {
    background-color: lightgray;
    border: 1px solid rgb(225, 225, 225);
    border-radius: 2rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.email-supp {
    font-weight: bold;
}

/*****************************
    CORRECT OU PAS
******************************/

#correct {
    padding: 0.8rem;
    background-color: #B0F2b6;
    margin-bottom: 1rem;
    color: green;
}

#mauvais {
    padding: 0.8rem;
    background-color: #FD9E9F;
    margin-bottom: 1rem;
    color: rgb(250, 27, 27);
}

/****************************************************
LOADING ( UTILISATION : https://cssloaders.github.io/ )
*******************************************************/

.loading {
    display: flex;
    padding: 18rem;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
}

.loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
    animation: prixClipFix 3s linear forwards;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes prixClipFix {
    0% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
    }

    25% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
    }

    50% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
    }

    75% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    }

    100% {
        clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
        visibility: hidden;

    }
}

.load {
    display: flex;
    align-content: center;
    justify-content: center;
}

/************************************************************************************************************   
ADMINISTRATION
**************************************************************************************************************/

.row-admin {
    display: flex;
    flex-flow: row wrap;
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.administration {
    background-color: #E4E7EB;
}

.title {
    padding: 2rem;
    color: var(--primary-color);
    font-family: "Comfortaa", sans-serif;
    text-align: center;
}

.title-2 {
    padding: 1rem;
    color: var(--primary-color);
    font-family: "Comfortaa", sans-serif;
    text-align: center;
}

fieldset {
    border: 0 none;
}

#choix-table {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2rem;
}

select#choix {
    margin: 0px;
    width: 75%;
    padding: 1rem;
    outline: none;
    border: 7px solid var(--secondary-color);
    background-color: white;
    border-radius: 4px;
    font-family: "Comfortaa", sans-serif;
}

.recherche-boom {
    padding: 25px 22px 20.8px 22px;
    position: relative;
    left: -7px;
    top: 0px;
    background-color: var(--secondary-color);
    font-family: "Comfortaa", sans-serif;
    border: none;
}

#ajout {
    text-align: center;
}

#ajout label {
    font-family: "Comfortaa", sans-serif;
}

.nv {
    margin: 0px;
    width: 60%;
    padding: 1rem;
    outline: none;
    border: 4px solid var(--secondary-color);
    background-color: white;
    border-radius: 4px;
    font-family: "Comfortaa", sans-serif;
    margin-top: 0.5rem;
}

#nve {
    margin: 0px;
    width: 85%;
    padding: 1rem;
    outline: none;
    border: 4px solid var(--secondary-color);
    background-color: white;
    border-radius: 4px;
    font-family: "Comfortaa", sans-serif;
    margin-top: 0.5rem;
}

.formu-contain {
    background-color: #ffffff;
    margin-bottom: 2rem;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.bouton {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4rem;
    border: 3px solid var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
    font-family: "Comfortaa", sans-serif;
    font-weight: bold;
}

.bouton:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
}

.users-container {
    display: flex;
}

.info-info p {
    padding: 0.8rem;
    border-bottom: 2px solid rgba(128, 128, 128, 0.284);
}

.information-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    font-family: "Comfortaa", sans-serif;
    background: var(--gris-color);
    border-radius: 4rem;
    border: 2px solid var(--primary-color);
    margin-bottom: 2rem;
    align-content: center;
}

.information-container {
    flex: 47% 0 0;
    margin-right: 2rem;
    background-color: var(--secondary-color);
}

.information-container strong {
    color: var(--lightlightgray-color);
}


.forms-container {
    flex: 45% 0 0;
    margin-left: 2rem;
}

/* Style du popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 1% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#editForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Container des produits */
.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    padding: 3rem;
}

/* Style de la card */
.cardz {
    border: 4px solid var(--secondary-color);
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 290px;
    /* object-fit: cover; */
    /* border-radius: 5px;*/
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

.card-price,
.card-collection,
.card-couleur,
.card-categorie,
.card-description,
.card-genre {
    font-size: 14px;
    color: #555;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;

}

.card-tailles {
    margin-top: 10px;
}

.card-tailles .card-taille {
    margin-bottom: 10px;
}

.card-actions {
    margin-top: 20px;
}

.update {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4rem;
    border: 3px solid var(--primary-color);
    background-color: var(--white-color);
    color: var(--primary-color);
    font-family: "Comfortaa", sans-serif;
    font-weight: bold;
}

.update:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    cursor: pointer;
}

.delete {
    color: #f44336;
    font-size: 20px;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    text-align: center;
}

.delete:hover {
    color: #d32f2f;
}

.forms-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.formu-contain {
    background: #ffffff;
    padding: 20px;
    width: 75%;
    margin: 4rem;
}

label {
    font-family: "Comfortaa", sans-serif;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}