@import url('https://fonts.googleapis.com/css?family=Numans');

:root {
    --bg: #EFE7DD;
    --text: black;
    --head: #46B8BF;
    --head_text: white;
    --text_box: white;
    --bg_box: white;
    --strong: #BAE8EB;
    --shadow: #1c1a19;
    --hover_dark: #fe9e15;
    --hover_light: #f9c985;
    --link: white;
    --button: #F79E02;
}

p, li {
    font-size: 25px;
    color: var(--text);
}

h1 {
    font-size: 35px;
    color: var(--text);
}

h2 {
    font-size: 30px;
    color: var(--text);
}

h3 {
    font-size: 28px;
    color: var(--text);
}

a {
    color: var(--text);
}

.photo_album {
 height: 200px;
}

html, body {
    background-color: var(--strong);
    font-family: 'Numans', sans-serif;
}

#logo {
    width: 100px;
    margin: 10px;
}

header h1 {
    vertical-align: middle;
    margin: auto;
    margin-left: 10px;
}

#dropdown li {
  display: inline-block;
  margin-right: 10px; /* ajoute une marge entre les liens */
    text-align: right;
}

header {
    top: 0%;
    position: fixed;
    z-index: 1;
    width: 100%;
    background-color: var(--head);
    display: flex;
    box-shadow: 0px 2px 5px var(--shadow);
}

header ul {
    margin: auto;
    margin-right: 10px;
    list-style-type: none;
    display: flex;
    float : right;
}

header li {
    margin-right: 7px;
    font-size: 30px;
    margin-left: 7px;
}

header li a {
    color: var(--link);
    text-decoration: none;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
}

.corps {
    margin: 50px;
    margin-top: 150px;
    margin-left: 5%;
    margin-right: 5%;
}

header h1 {
    color: var(--head_text);
}

header li a:hover {
    color: var(--hover_light);
}

#menu{
    display: none;
    background: transparent;
    border: none;
    color: var(--head_text);
    cursor: pointer;
    outline: none;
}

.dropdown, #dropdown {
    display: block;
}

.wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.image-container {
width: 75%;
}

.image-container img {
    width: 100%;
    height: auto;
}

.text-container {
    margin-left: 30px;
    width: 100%;
}

.image_orga {
    width: 250px;
}

#titre {
    margin-left: 5%;
    margin-right: 5%;
}

#playlists {
    margin-top: 20px;
}

#content {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#frameDeezerDiv iframe, #frameSpotifyDiv iframe {
    width: 100%;
    height: 100%;
}

#frameDeezerDiv {
    margin-right: 10px;
    color: pink;
    height: 150px;
    width: 100%;
    margin-top: -150px;
}

#frameSpotifyDiv {
    color: pink;
    height: 300px;
    padding-bottom: -150px;
    width: 100%;
    margin-top: 0px;
}

#playlists h1 {
    margin-bottom: 20px;
}

#bouton-simple {
margin-top : -150px;
}

.logo_playlist {
    margin-right: 20px;
    width: 50px;
    height: 50px;
}

#image_home {
    display: flex;
    width: 90%;
    margin: auto;
    margin-top: 50px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.album_bc {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.album_bc img {
  margin-right: 5px;
}

.album {
  width: 30%;
  margin-bottom: 20px;
  text-decoration: none;
}

.photo {
  width: 100%;
  height: 200px;
  object-fit: cover; /* ou object-fit: contain; */
}

.album_link {
    color: var(--text);
    text-decoration: none;
}

.album_link {
    text-decoration: none;
}

.album_link:hover p, .album_link:hover h2 {
  color: var(--hover_dark); /* couleur du texte lors du survol */
}

* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.container {
  display: flex;
  align-items: flex-start;
}

#text {
    flex: 1;
}

.chartBox {
    flex: 5;
}


.chartBox {
    margin-left: 20px;
    border-radius: 20px;
    border: solid 3px lightgray;
    background: none;
    padding: 10px;
}

#myChart{
    margin-top: 20px;
    width: 100%;
}

@media (max-width: 800px) {

    .container {
      display: block;
    }

    .chartBox {
        margin-top: 20px;
    }
}

.formulaire {
    margin-top: 20px;
    margin-right: 20%;
    margin-left: 20%;
    padding-right: 20px;
    padding-left: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

label {
  display: block;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

select {
  background-color: #FFF;
  border: 1px solid #ddd;
  color: #333;
  font-size: 16px;
  width: 100%;
  height: 30px;
}

option {
  color: #333;
  font-size: 16px;
}

#butt_form {
    width: 100%;
    text-align: right;
}

input[type="submit"], .button {
  background-color: var(--button);
  color: var(--link);
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  margin: 30px 0px;
  padding: 10px 30px;
  font-weight: bold;
  text-decoration: none;
}

.nb_photos {
    margin-bottom: 20px;
    font-style: italic;
    font-size: 20px;
}

.title_album {
    margin-top: 20px;
}

.merci_declic {
    font-style: italic;
    font-size: 20px;
    margin-top: 20px;
}

input[type="submit"]:hover, .button:hover {
  background-color: var(--head);
}

input[type="text"], input[type="password"],
textarea {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.password-input {
  display: flex;
  align-items: center;
}

.password-input label {
  margin-left: 5px;
}


input[type="number"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: none;
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.grid-playlists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.frame_bc {
    height: 352px;
    width: 100%;
}


@media (max-width: 800px) {

    p, li {
        font-size: 15px;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    header {
        z-index: 1;
        width: 100%;
        width: 100%;
        background-color: var(--head);
        display: flex;
        box-shadow: 0px 2px 5px var(--shadow);
    }

    header h1 {
        font-size: 25px;
    }

    .corps {
        margin: 50px;
        margin-top: 150px;
        font-size: 15px;
    }

    .wrapper {
        flex-direction: column;
    }

    .image-container {
        flex: initial;
        order: 2;
        text-align: center;
        width: 100%;
    }

    .image-container img {
        width: 100%;
        height: auto;
    }

    .text-container {
        flex: initial;
        order: 1;
        margin-bottom: 20px;
        margin-left: 0px;
    }

    .gallery {
        display: flex;
        flex-direction: column;
    }

    .album {
        width: 100%;
    }

    .formulaire {
        margin-right: 0%;
        margin-left: 0%;
    }

    #menu{
        display: block;
        font-size: 25px;
        background: transparent;
        border: none;
        color: var(--link);
        cursor: pointer;
        outline: none;
    }

    .photo_album {
        width: 100%;
        height: auto;
    }

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
    }

    nav li {
        margin-right: 20px;
    }

    nav a {
        display: block;
        text-decoration: none;
        color: #000;
        font-weight: bold;
    }

    .menu ul {
        position: absolute;
        border-radius: 10px;
        top: 65%;
        right: 0;
        display: none;
        background-color: var(--head);
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
        padding: 10px;
    }

    .dropdown:hover > ul {
        display: block;
    }

    #dropdown {
        width: 180px;
    }

    .menu li {
        width: 100%;
        font-size: 25px;
    }

    .menu li a {
        padding-right: 10px;
    }

    .grid-playlists {
        display: block;

    }
    .frame_bc {
        margin-top: 10px;
    }
    .playlist_box {
        margin-top: 20px;
    }

    #content {
        display: block;
    }

    #content div {
        margin-top: 10px;
    }

    #frameDeezerDiv {
        margin-top: 0px;
    }
}