/* Smooth transition for color changes */
* {
    transition: all 0.3s ease-in-out;
}

/* -------- codes faits par Yasmin Illu1 2025.02.16 --------- */

.inner {
    width: 80%;
    margin: 0 auto;
}

 body {
    font-family: "Inter", serif;
    background-image: url(images/paper_beige.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
} 

header a img {
    max-width: 100%;
}

header a {
    display: flex;
    justify-content: center;
    justify-items: center;
}


.articles {
    width: 100%;
    padding: 5%;
    background-color: #f1f1f1a2;
}

article {
    display: flex;
    justify-content: space-between;
}

.programme-hour {
    width: 35%;
    color: #ed4319;
    padding-top: 6%;
}

.programme-contenu {
    width: 65%;
} 

h1 {
    font-family: "Roboto", serif;
    text-transform: uppercase;
    font-size: 2.5vh;
}

h2 {
    text-transform: uppercase;
    color: #ed4319;
    font-size: 4.8em;
    font-weight: 800;
    line-height: 1.2em;
    width: 100%;
}

h4 {
    text-transform: uppercase;
    font-size: 2rem;
}

.titre-programme {
    display: flex;
    justify-content: end;
}

.titre-programme img {
    width: 100%;
    height: auto;
}

.container-important {
    margin-bottom: 5vw;
}

article p {
    font-size: 1.5rem;
}

.programme-hour {
    font-size: 1.7rem;
}

#chat-container {
    margin-bottom: 10%;
}

#programme {
    margin-top: 15%;
}


/* cela aparait que dans les version d'ordinateur*/
@media screen and (min-width:1000px){
    header {
        margin-top: 2vh;
    }
    #programme {
        width: 35%;
        margin-top: 0;
    }
    #chat-container{
        width: 60%;
    }
    .container-important{
        display: flex;
        justify-content: space-between;
        margin-top: 4vh;
    }
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 3.5rem;
    }
    h4 {
        font-size: 1.2rem;
    }
    article p {
        font-size: 1rem;
    }
    .programme-hour {
        font-size: 1rem;
    }
    .player-container {
        margin: 3% 0 3% 0;
    }
    
  }

/* fin des codes faits par Yasmin */

body {
    background-color: #e1d9c1;
    color: #222a2a;
    margin: 0;
    padding: 0;
}



header {
    width: 100%;
    margin-top: 4vw;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.marquee {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0 0 0;
}

.marquee h1 {
    display: inline-block;
    padding-right: 100%;
    animation: marquee 15s linear infinite;
    color: #222a2a;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.player-container {
    margin: 0;
}

#audio-player {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* .custom-player {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
} */

.loader-container {
    position: relative;
    display: inline-block;
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ed4319;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.play-btn, .pause-btn {
    background-color: #ed4319;
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 50%;
    padding: 30px;
    transition: background-color 0.3s ease-in-out;
    z-index: 2;
}

.play-btn:hover, .pause-btn:hover {
    background-color: #ed4319;
}

.play-btn svg, .pause-btn svg {
    width: 50px;
    height: 50px;
    fill: #ffffff;
}

.info {
    margin-top: 20px;
    font-size: 1.2em;
    color: #f0f0f0;
}

.description {
    margin-top: 30px;
    line-height: 1.5;
    font-size: 1em;
    color: #bbbbbb;
}

canvas {
    display: block;
    width: 100%;
    height: 0px;
}

footer {
    margin-top: auto;
    padding: 20px;
    width: 100%;
    text-align: center;
}



    #chat-container {
        margin: 0 auto;
        margin-bottom: 5%;
    }

    #chat-box {
        background: #f9f9f9;
        border-radius: 5px;
    }

    .chat-message {
        margin-bottom: 10px;
        padding: 5px;
        border-bottom: 1px solid #eee;
    }

    #chat-input, #user-name {
        width: calc(100% - 20px);
        padding: 5px;
        margin-bottom: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    #send-button {
        width: 100%;
        padding: 10px;
        background: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    #send-button:hover {
        background: #0056b3;
    }

    /* cela aparait que dans les version d'ordinateur*/
@media screen and (min-width:1000px){
  }

  header .inner {
    display: flex;
    justify-content: space-between;
  }
