/*Général*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
    font-family: "Quicksand", sans-serif;
}

header, footer {
    background-color: black;
    color: white;
}

h1{
   text-align: center;
   font-family: "Boldonse", system-ui;
}


main {
    /*padding: 5px;*/
    text-align: center;
    min-height: 100vh;
}

main p{
    text-align: justify;
}

.ajout{
    background-color: #000;
    padding: 10px;
    color:white;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.ajout:hover{
    background-color: grey;
    transform: scale(1.05);
    color:black;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

a{
    text-decoration: none;
    color: white;
    transition: color 0.3s ease-in-out;
}

a:hover{
    text-decoration: none;
    color: grey;
    transition: color 0.3s ease-in-out;
}

ul{
    list-style: none;
    margin: auto;
    padding-left: 0px;
}

footer{
    margin-top: 5vh;
    text-align: center;
    font-size: 1px;
}

footer p{
    font-size: 10px;
}

.Shi-moto{
    text-decoration: none;
    background-color: rgba(128, 128, 128, 0.0.5);
    border-radius: 15px;
    padding: 10px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.Shi-moto:hover{
    background-color: rgba(128, 128, 128, 0.1);
    border-radius: 15px;
    padding: 10px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.top{
    margin-top: 3vh;
}

.border{
    border-radius: 15px;
}

.zelda-img{
    height: 30vh;
    width: auto;
    filter: grayscale(50%);
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.zelda-img:hover{
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.35);
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}



/* Formulaire*/

/*Style du formulaire*/
.formulaire {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: left;
}

select {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

select:hover {
    background-color: #111;
}

select:focus {
    outline: none;
    border-color: #ccc;
}

option {
    background-color: #000;
    color: #fff;
}


/* Style des titres */
h1 { 
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* Style des labels */
label {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

/* Style des champs de texte */
input[type="text"], input[type="number"], input[type="date"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Style du bouton submit */
input[type="submit"] {
    font-family: "Quicksand", sans-serif;
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

/* Changement de couleur au survol */
input[type="submit"]:hover {
    background-color: #262626;
    transform:scale(1.15);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/*.Shi-moto img{
    height: 30vh;
    width: auto;
}*/

.espace{
    margin-top: 4vh;
}

/*Tableau*/

table {
    margin-bottom: 2vh;
    margin-top: 2vh;
    width: 100%;
    border-collapse: collapse;
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #fff;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #222;
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #111;
}

tr:nth-child(odd) {
    background-color: #000;
}

tr:hover {
    background-color: #333;
}


/* Input File */

.upload-container {
    text-align: center;
    padding: 20px;
    /* background: white; */
    /* border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    /* width: 300px; */
}

.upload-label {
    display: block;
    background: black;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.3s;
}

.upload-label:hover {
    background: gray;
}

.drop-zone {
    border: 2px dashed black;
    padding: 30px;
    border-radius: 5px;
    transition: background 0.3s;
}

.drop-zone p {
    margin: 0;
    color: black;
    font-weight: bold;
}

.drop-zone.dragover {
    background: rgba(0, 0, 0, 0.1);
}

/*-----------------------------------------------------------------------------------*/

/*Ordinateur*/
@media screen and (min-width: 576px) {

    ul{
        display: flex;
        /* grid-template-columns: repeat(3, 50px);
        place-items: center;
        gap: 50%; */
        justify-content: center;
        margin:auto;
    }

    li{
        padding: 1%;
    }

    header, footer{
        font-size: 20px;
        padding: 3vh;
    }

    main{
        margin: auto;
        width: 75vw;
    }

    /* header{
        display: flex;
        justify-content: center;
    } */

    #grid-1{
        display: grid;
        grid-template-columns: 2fr 1fr;
        place-items: center;
        gap: 1vw;
    }

    .galerie-zelda{
        margin-top: 5vh;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        place-items: center;
        gap: 3vw;
    }
    .Shi-moto img{
        height: 30vh;
        width: auto;
    }
    .grid-2{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 1vw;
    }.Shi-moto img{
        height: 30vh;
        width: auto;
    }

    #Shigeru{
        width: auto;
        height: 50vh;
    }
}


/*Téléphone*/
@media screen and (max-width: 576px) {

    ul{
        margin: auto;
        display: grid;
        grid-template-columns: repeat(1, 50px);
        grid-template-rows: repeat(3, 1vh);
        /*place-items: center;*/
        gap: 30px;
    }

    main{
        margin: auto;
        width: 75vw;
    }

    header{
        font-size: 20px;
        padding: 4vh;
    }

    footer{
        font-size: 20px;
        padding: 3vh;
    }

    .Shi-moto{
        margin-top: 4vh;
    }

    .galerie-zelda{
        margin-top: 5vh;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
        place-items: center;
        gap: 3vw;
    }

    .zelda-img-zelda{
        text-align: center;
    }

    .grid-2{
        padding: 10px;
    }

    #Shigeru{
        width: auto;
        height: 30vh;
    }
    
}
