body {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Roboto Condensed", sans-serif;
}

header {
    background-color: black;
    text-align: center;
    padding: 10px;
    margin-top: none;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    position:fixed;
}

footer {
    background-color: white;
    border: 2px solid black;
    text-align: center;
    padding: 10px;
    color: black;
    margin-top: auto;

}

summary{
    cursor: pointer;
}


/*css pour les album*/
header>img {
    width: 88%;
}



.album h4 {
    color: gray;
}



.album>img {
    width: 150px;
    border-radius: 5px;
    border: 2px solid black;
}


.box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px;
    gap: 30px;
    margin-top:130px;
}


.album {
    background-color: white;
    border: 2px solid black;
    border-radius: 5px;
    margin: 1px;
    padding: 30px;
    box-shadow: 8px 8px 0px black;
    text-align: center;
    width: 185px;
    height: 270px;
    transition: 0.3s;
    
}


.album:hover {
    background-color: black;
    border: 2px solid white;
    color: white;
    transition: 0.5s;
    transform: scale(1.02);
    cursor: pointer;
    img{border: 2px solid white};
}



/*css pour les modal des album*/
.modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;

}

.modal_content {
    position: fixed;
    background-color: white;
    border-radius: 5px;
    padding: 30px;
    padding-top: 60px;
    margin-bottom: 60px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 690px;
    height: 350px;
    transition: 0.3s;
    

}



.modal_content p{
    border: 2px solid black;
    border-radius: 5px;
    padding: 12px;
    margin-left: 15px;
    box-shadow:  8px 8px 0 black;
    position: absolute;
    left: 310px;
    top: 13px;
    width: 350px;
    height: 280px;
    
    
       
}


.modal_content a {

    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 8px 8px 0px black;
    font-size: 15px;
    position: absolute;
    right: 95px;
    bottom: 30px;
    font-family: "Roboto Condensed", sans-serif;
    width: 250px;
    text-align: center;
    text-decoration: none;

}



.modal_content a:hover {
    background-color: black;
    color: white;
    border: 2px solid white;
    transition: 0.4s;
    transform: scale(1.01);
    cursor: pointer;
}

.audio_controls{
    
    position: absolute;
    bottom: 30px;
    left: 30px;
    border: solid black 2px;
    padding: 15px;
    padding-top: 30px;
    border-radius: 5px;
    box-shadow:8px 8px 0px black ;
    text-align: center;  
}

.audio_controls>img:first-child{
    width: 180px;
    border-radius: 15px;
    border: solid black 2px;
}

.volume>img{
    width: 18px;
    
}
.volume{
    margin-left: 10px;
    background-color: white;
    border-radius: 30px;
    border: solid black 2px;
    padding: 8px;
    cursor: pointer;
}

.audio_controls span{
    font-size: 13px;
    
    
}
.audio_controls h4{
    color: gray;
}

.track-time{
    padding-left: 100px;
}

.playPauseBtn{
    font-size: 20px;
    color: black;
    background-color: white;
    border-radius: 20px;
    border: solid black 2px;
    padding-bottom: 5px;
    cursor: pointer;
    
}


.audioSpectrum{
    width: 81px;
    padding-left: 10px;
    padding-right: 10px;
    position: absolute;
    bottom: 5px;  
}
.close {
    color: rgb(158, 158, 158);;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 5px;
}

.close:hover {
    color: black;
    transition: 0.3s;
    cursor: pointer;
}

/*css pour le boutton pour ouvrir la modale du formulaire*/
body>button {
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 15px;
    border-radius: 8px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 8px 8px 0px black;
    font-size: 30px;
    transition: 0.3s;
}


body>button:hover {
    background-color: black;
    color: white;
    border: 2px solid white;
    transition: 0.5s;
    transform: scale(1.01);
    cursor: pointer;
}

/*css pour le formulaire*/
form {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    text-align:center;
   

}

h1{
    font-size:1.5em;
    }

.form-content {
    background-color: white;
    border: 2.5px solid black;
    border-radius: 5px;
    padding: 30px;
    padding-top: 10px;
    padding-right: 218px;
    padding-bottom: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 185px;
    height: 850px;
    position: relative;
}

.form-content div {
    text-align: left;
}

.form-content input:not(.add) {
    height: 25px;
    width: 365px;
    outline: none;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 2px solid black;
    box-shadow: 5px 5px 0px black;
    border-radius: 5px;
    
}

.description {
    height: 150px;
    resize: none;
    outline: none;
    width: 198%;
    border: 2px solid black;
    box-shadow: 5px 5px 0px black;
    border-radius: 5px;
    
}
.description2 {
    word-wrap: break-word;
    
}

.counter {
    font-size: 14px;
    width: 201%;
    margin-top: 0px;
    margin-bottom: 0px;
    color: gray;
    text-align: right;
}




.add {
    background-color: white;
    color: black;
    border: 2px solid black;
    border-radius: 8px;
    font-family: "Roboto Condensed", sans-serif;
    box-shadow: 8px 8px 0px black;
    font-size: 20px;
    transition: 0.3s;
    padding: 10px;
    width: 300px;
    position: absolute;
    left: 60px;
}

.add:hover {
    border: 2px solid white;
    box-shadow: 8px 8px 0px black;
    background-color: black;
    color: white;
    transition: 0.5s;
    cursor: pointer;
}

.close-form {
    color: rgb(158, 158, 158);
    font-size: 30px;
    font-weight: bold;
    text-align: right;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 5px;
}

.error_msg{
    color: #ff365e;
    font-size: 0.75em;
    display:none;
    margin-top: 0px;
    margin-left: 5px;
    margin-bottom: 10px;

}

/*css pour les previews*/
.preview-container{
    display:none;
    margin-left:100px;
    margin-right:650px;
    margin-bottom: 78px;

}

.previewmodal_content {
    position: absolute;
    background-color: white;
    border-radius: 5px;
    padding: 30px;
    padding-top: 60px;
    margin-bottom: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 690px;
    height: 350px;
    transition: 0.3s;
    top:150px;
    left:840px;
    
}




.previewmodal_content p{
    border: 2px solid black;
    border-radius: 5px;
    padding: 12px;
    margin-left: 15px;
    box-shadow:  8px 8px 0 black;
    position: absolute;
    left: 310px;
    top: 13px;
    width: 350px;
    height: 280px;
    word-wrap: break-word;
    
    
       
}


.previewmodal_content a {

    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 8px 8px 0px black;
    font-size: 15px;
    position: absolute;
    right: 95px;
    bottom: 30px;
    font-family: "Roboto Condensed", sans-serif;
    width: 250px;
    text-align: center;
    text-decoration: none;

}

.previewaudio_controls{
    
    position: absolute;
    bottom: 30px;
    left: 30px;
    border: solid black 2px;
    padding: 15px;
    padding-top: 30px;
    border-radius: 5px;
    box-shadow:8px 8px 0px black ;
    
}

.previewaudio_controls h4{
    
    text-align:center;
   
    
}

.previewaudio_controls h3{
    
    
    text-align:center;
      
       
   }

.previewaudio_controls>img:first-child{
    width: 180px;
    border-radius: 15px;
    border: solid black 2px;
    margin-left:30px;
 
}



.previewaudio_controls span{
    font-size: 13px;
    
    
}

.previewaudio_controls h4 {
    color: gray;
}


