* {
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-image: url('img/fond.jpeg');
    color: #ffffff;
    text-align: center;
    background-repeat: repeat;
    margin: 0;
        overflow-x: hidden;
}

header {
    height: 300px;
    width: 100vw;
    position: relative;
    box-shadow: 0px 7px 50px rgba(66, 42, 65, 0.573);
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(196, 221, 197, 0.881);
    padding: 10px;
    text-shadow: 2px 1px 3px rgb(92, 91, 91);
    margin: auto;
    font-size: 5rem;
}

.required{
    color: #ffb4fa;
}

button{
    cursor: pointer;
}

#music-selection {
    margin-bottom: 300px;
}

.track {
    background-color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    border-radius: 50px;
    max-width: 50%;
    color: black;
    margin: auto;
    box-shadow: 2px 1px 3px rgb(92, 91, 91);
}


.track-info {
    margin-bottom: 10px;
    
}

.track-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover {
    max-width: 30%;
    height: auto;
    margin-bottom: 10px;
    box-shadow: 2px 1px 3px rgb(92, 91, 91);
}

#suggest-form {
    background-color: rgba(89, 100, 93, 0.7);
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    margin: auto;
    text-align: center;
}

form .form-group {
    margin: 10px 0;
}

form label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    box-sizing: border-box;
    text-align: center;
}

footer {
    background-image: url('img/téléchargement.jpeg');
    padding: 10px;
    background-size: cover;
    margin-top: 20px;
}

#credits-content {
    text-align: left;
    margin-top: 10px;

}

#credits, footer  {
    text-shadow: 2px 1px 3px rgb(92, 91, 91);
}

.icon {
    max-width: 6%;
    margin: 20px;
}
.custom-play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffb6c1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: auto;
    box-shadow: 2px 1px 3px rgb(92, 91, 91);
}

.custom-play-button:hover {
    background-color: #ffa07a;
}

.custom-play-button audio {
    display: none;
}

.custom-play-button:before {
    content: '▶';
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 50px;
    text-shadow: 2px 1px 3px rgb(92, 91, 91);
}

.custom-play-button.pause:before {
    content: '⏸';
}

.popup-visible {
    z-index: 10;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px); 
    padding: 20px;
    width: 800px;
    height: 400px;
    color: black;
}

#credits-content img{
    width: 20px;
    height: 20px;
    float: right;
    cursor: pointer;
}

#credits{
    cursor: pointer;
    
}

.linkcredit{
    color: rgb(119, 160, 126);
}

h3+p {
    padding-right: 30px;
    padding-left: 30px;
}

h3 {
    padding-top: 30px;
}