@import "../scss/_variables.scss";
/* screen Smartphone */
    body{
        background-color: rgba(26,26,26,1);
    }
    /* Menu */
    header {
        display: flex;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease-out;
        gap: 25px;
        padding: 0%;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        box-shadow: 1px 1px 19px #000000;
        backdrop-filter: blur(10px);
    }
    header nav {
        display: flex;
        justify-content: initial;
        width: 100%;
    }
    header nav ul {
        list-style: none;
        padding: 0.7em;
        display: flex;
    }
    header nav ul li {
        padding: 0;
    }
    nav li a {
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 0.5em 1em;
        text-decoration: none;
        font-family: 'Amazon Ember', sans-serif;
    }
    li{
        display:block;
        min-width: 0px;
        margin: 0.5rem;
        padding: 0.4rem 0;
        text-align: center;
        background-color: #F5C518;
        color: #F5C518;
        text-decoration: none;
        border-radius: 4px;
        text-transform: uppercase;
    }
    nav li a:hover {
        background-color: #f2f2f2;
        color: #F5C518;
        border-radius: 4px;
    }
    .nav-link{
        color: black !important;
    }
    .bg-body-tertiary{
        background-color: black !important;
    }
    /*.navbar-bran{
        color: white !important;
    }*/

    .dropdown-menu{
        --bs-dropdown-bg: #000 !important;
    }
/* Form */
/* Style général du formulaire */
div.rep h1{
    color: white;
}
label{
    color: white;
}


#searchbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Style de la zone de texte de recherche */
#search {
    border: 1px solid gray;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    margin: 10px 0;
    width: 80%;
    max-width: 500px;
}

/* Style du bouton de recherche */
#boutonrecherche {
    background-color: #F5C518;
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* Style du bouton de recherche au survol */
#boutonrecherche:hover {
    background-color: white;
}

/* Style du message de validité */
.validity {
    color: red;
    font-size: 12px;
    margin: 5px 0 0 0;
}

/* Main */
    main{
        display: grid;
        justify-content: center;
        padding: 10px;
        padding-bottom: 5px;
        padding-top: 5px;
    }
    main div{
        border-radius: 7px;
        box-shadow: 1px 1px 5px black;
        background-color: #EEE;
        display: inline-block;
        height: auto;
        width: 292px;
        margin-bottom: 20px;

    }
    main div img{
        height: 300px;
        width: 292px;
        border-radius: 7px;
    }
    div p{
        margin-left: 5px;
        margin-right: 5px;
        color: white;
    }
    div #data{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 8px;
        margin-bottom: 8px;
    }
.container {
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(26,26,26,1);

}

.box {
    flex-basis: calc(33.33% - 20px); /* Subtract any margins or paddings from the width */
    background: #2a2929;
    margin: 10px auto;
}
.h3, h3 {
    font-size: 1.75rem;
    display: flex;
    justify-content: center;
    color: white;
}
    /* Footer */
    footer {
        text-align: center;
        height: 50px;
        box-shadow: -1px -1px 19px #000000;
        background-color: black !important;
        backdrop-filter: blur(10px);
    }

    footer p {
        margin-right: 10px;
        margin-left: 10px;
        font-family: 'Amazon Ember', sans-serif;
        font-size: medium;
        color: white;
        font-size: 80%;
    }
/* screen PC */
@media screen and (min-width: 480px){
    body {
        width: 1080px;
        background-color: black !important;
        margin: 0 auto 0 auto;
    }
    /* Menu */
    header {
        display: flex;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease-out;
        gap: 25px;
        padding: 0%;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        box-shadow: 1px 1px 19px #000000;
        backdrop-filter: blur(10px);
    }
    header nav {
        display: flex;
        justify-content: initial;
        width: 100%;
    }
    header nav ul {
        list-style: none;
        padding: 0.7em;
        display: flex;
    }
    header nav ul li {
        padding: 0;
    }
    nav li a {
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 0.5em 1em;
        text-decoration: none;
        font-family: 'Amazon Ember', sans-serif;
    }
    li{
        display:block;
        min-width: 0px;
        margin: 0.5rem;
        padding: 0.4rem 0;
        text-align: center;
        background-color: #F5C518;
        color: #F5C518;
        text-decoration: none;
        border-radius: 4px;
        text-transform: uppercase;
    }
    nav li a:hover {
        background-color: #f2f2f2;
        color: #F5C518;
        border-radius: 4px;
    }
    .navbar-expand-sm .navbar-nav {
        flex-direction: row;
    }
    .nav-link{
        color: black !important;
    }
    .bg-body-tertiary{
        background-color: black !important;
    }
    /*.navbar-bran{
        color: white !important;
    }*/
    .dropdown-menu{
        --bs-dropdown-bg: #000 !important;
    }
    .navbar-expand-sm .navbar-collapse {
        display: flex!important;
        flex-basis: auto;
    }
    .navbar-expand-sm .navbar-toggler {
        display: none;
    }
    .navbar-expand-sm .navbar-nav .nav-link {
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: var(--bs-navbar-nav-link-padding-x);
    }
    /* Form */
    div.rep h1{
        color: white;
    }
    label{
        color: white;
    }
    #text{
        color: white;
    }
    /* Style général du formulaire */
    #searchbox {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Style de la zone de texte de recherche */
    #search {
        border: 1px solid gray;
        border-radius: 5px;
        padding: 8px;
        font-size: 16px;
        margin: 10px 0;
        width: 80%;
        max-width: 500px;
    }

    /* Style du bouton de recherche */
    #boutonrecherche {
        background-color: #F5C518;
        border: none;
        color: black;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
    }

    /* Style du bouton de recherche au survol */
    #boutonrecherche:hover {
        background-color: white;
    }

    /* Style du message de validité */
    .validity {
        color: red;
        font-size: 12px;
        margin: 5px 0 0 0;
    }

    /* Main */
    #list{
        filter: grayscale(100%);
        transition: 0.5s ease;
    }
    }
    div.rep{
        padding: 10px;
    }
    main{
        display: flex;
        justify-content: center;
        padding: 10px;
    }
    main div{
        border-radius: 7px;
        margin-right: 7px;
        box-shadow: 1px 1px 5px black;
        background-color: #EEE;
        display: inline-block;
        height: auto;
        width: 292px;
    }
    main div img{
        height: 340px;
        width: 292px;
        display: block;
        margin: 0 auto;
    }
    .container {
        display: flex;
        flex-wrap: wrap;
        background-color: rgba(26,26,26,1);

    }

    .box {
        flex-basis: calc(33.33% - 20px); /* Subtract any margins or paddings from the width */
        margin: 10px; /* Add margin to create some space between the boxes */
        background: #2a2929;
    }
    .h3, h3 {
        font-size: 1.75rem;
        display: flex;
        justify-content: center;
        color: white;
    }
    .auteur{
        display: flex;
        justify-content: center;
    }
    /*Tab*/
    table {
        border-collapse: collapse;
        width: 100%;
        margin: 20px 0;
        font-size: 1.1em;
        font-family: sans-serif;
    }

    table thead {
        background-color: #F5C518;
    }

    table th,
    table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    table th {
        background-color: #e8e8e8;
        font-weight: bold;
    }

    table tbody tr:hover {
        background-color: #f5f5f5;
    }

    table img {
        max-width: 100px;
        max-height: 100px;
    }
    td #text{
        color: white;
    }

    table td a {
        display: inline-block;
        padding: 5px 10px;
        background-color: #007bff;
        color: #fff;
        border-radius: 4px;
        text-decoration: none;
        margin-right: 5px;
    }

    table td a:hover {
        background-color: #0062cc;
    }

  table {
      border-collapse: collapse;
      width: 100%;
      margin: 20px 0;
      font-size: 1.1em;
      font-family: sans-serif;
  }

    table thead {
        background-color: #f2f2f2;
    }

    table th,
    table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    table th {
        background-color: #e8e8e8;
        font-weight: bold;
    }

    table tbody tr:hover {
        background-color: rgba(215, 176, 27, 0.83);
    }

    table img {
        max-width: 100px;
        max-height: 100px;
    }
    #z1{
        margin-top: 40px;
        background-image: url("images/");
        background-repeat: no-repeat;
        margin-bottom: 10px;
        background-color: rgba(26,26,26,1);
    }



    #z1{
        min-width: 1200px;
        height: 800px;
        background-size:100% 1200px ;
        background-attachment: fixed;
    }
    #sc1 {
        background-color: rgba(0, 0, 0, 0.5); /* white color with 50% opacity */
        width: 400px;
        float: right;
        margin: 20px;
        position: relative;
        top: 50px;
        padding: 30px;
    }
    #sc2{
        background-color: rgba(0, 0, 0, 0.5);
        position: relative;
        top: 200px;
        padding: 20px 0px 0px;
        margin: 0 auto;
        padding: 30px;
    }
    .a{
        background-color: black;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .bouton {
        display: inline-block;
        background-color: #007bff;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
    }

    .bouton:hover {
        background-color: #3e8e41;
    }
    .main{
        justify-content: center;
        padding: 10px;
        display: grid;
    }
    select {
        width: 200px;
        padding: 10px;
        font-size: 16px;
        border: none;
        background-color: #f2f2f2;
    }

    option {
        display: flex;
        align-items: center;
        padding: 10px;
    }

    img #I {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }

    option:hover {
        background-color: #ddd;
    }

/* Footer */
    footer {
        text-align: center;
        height: 50px;
        box-shadow: -1px -1px 19px #000000;
        backdrop-filter: blur(10px);
    }

    footer p {
        margin-right: auto;
        font-family: 'Amazon Ember', sans-serif;
        font-size: x-large;
        color: white;
        font-size: 100%;
    }
}