@font-face {
    font-family: "Red Hat Text", sans-serif;
    src: url('Red-hat-Text.woff2') format('woff2'),
         url('Red-hat-Text.woff') format('woff');
}

body {
    font-family: 'Red Hat Text', sans-serif;
    margin: 0;
}

#disconnectMessage {
    display: none;
    color: red;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#logo {
    background-image: url('logo.jpg');
    background-size: cover;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}



#block {
    width: 100%;
    height: 60px;
    text-align: center;
    border-radius: 0;
    background-color: #673b74;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}


#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    z-index: -1;
}



#volumeBarContainer {
    width: 80%; /* Breedte van de container */
    margin: auto; /* Horizontaal centreren */
}

/* Stijl voor de volumebalk */
#volumeBar {
    width: 100%; /* Breedte van de volumebalk */
    height: 40px;
}

/* Stijl voor de voortgang van de volumebalk */
#volumeBar::-webkit-slider-runnable-track {
    width: 100%; /* Breedte van de voortgangsbalk */
    height: 16px; /* Hoogte van de voortgangsbalk - aangepast naar 20px */
    background: #B530EC; /* Kleur van de voortgangsbalk */
    border-radius: 10px; /* Afgeronde hoeken van de voortgangsbalk */
}

#contentWrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 20px;
}


#container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(103, 59, 116, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    width: 65%;  /* Adjusted to leave room for #middleSquare */
    border-radius: 20px;
}

#middleSquare {
    background-color: rgba(103, 59, 116, 0.8);
    color: white;
    padding: 20px;
    width: 30%;  /* Nu naast #container */
    margin-left: 20px;  /* Voegt ruimte van 20px toe tussen #container en #middleSquare */
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#middleSquare, #middleSquare p {
    color: white;
    font-size: 15px;
}

#middleSquare button {
    padding: 8px 16px;
    font-size: 1em;
    background-color: #9D3399;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    margin-top: 10px;
}

#middleSquare button:hover {
    background-color: #7F2473;
}

#leftSquare h3 {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #7F2473;
    text-align: center;
}

#leftSquare p {
    font-size: 0.9em;
    color: #000000;
    text-align: center;
    margin: 10px 0;
}

#leftSquare button {
    padding: 8px 16px;
    font-size: 1em;
    background-color: #9D3399;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

#leftSquare button:hover {
    background-color: #7F2473;
}

#leftSquare, #rightSquare {
    flex: 1;
    padding: 20px;
    margin: 10px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#latestpost {
    background-image: url('latest.jpg');
    background-size: cover;
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 2 / 1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px; /* Ruimte onder de afbeelding */
}

#rightSquare h2 {
    color: #673b74;
}

#volumeBar::-webkit-slider-thumb {
    width: 30px; /* Aanpassen naar jouw gewenste breedte */
    height: 30px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #4CAF50;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}


/* Stijl voor het volumepercentage */
#volumePercentage {
    display: block; /* Maak het percentage een blok-element */
    text-align: center; /* Centreer de tekst */
    margin-top: 5px; /* Voeg wat ruimte toe bovenaan */
    color: white;
    font-weight: bold;
    font-size: 25px;
}


#playerHead {
    width: 100px;
    height: 100px;
    background-size: cover;
    margin-top: 20px;
    border-radius: 20px;
}

#footer {
    width: 50px;
}

#connectMessage {
    text-align: center;
    background-color: rgba(103, 59, 116, 0.8);;
    color: white;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    width: 80%;
    height: 110px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#contentWrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 20px;
}

#disconnectMessage {
    display: none; /* Zorgt ervoor dat het standaard verborgen is */
    position: fixed; /* Fixeer het op het scherm */
    top: 50%; /* Plaats het in het midden van het scherm */
    left: 50%;
    width: 80%;
    transform: translate(-50%, -50%); /* Verplaats het exact naar het midden */
    background-color: rgba(0, 0, 0, 0.61); /* Donkere achtergrond met transparantie */
    color: white; /* Witte tekstkleur */
    padding: 20px; /* Ruimte binnenin het element */
    border-radius: 10px; /* Ronde hoeken */
    font-size: 20px;
    text-align: center; /* Tekst centreren */
    z-index: 1000; /* Zorg dat het boven andere elementen staat */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Schaduw om het element */
    font-weight: bold;
}

#welcomeMessageContainer {
    display: flex;
    align-items: center; /* Verticaal centreren van inhoud */
}

#welcomeMessage {
    margin-right: 10px; /* Ruimte tussen de welkomsttekst en de speler naam */
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #9D3399;
    color: #fff;
    border: none;
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

button:hover {
    background-color: #7F2473;
}

h1 {
    color: white;
    font-weight: bold;
    font-size: 20px;
}

p {
    color: red;
    font-weight: bold;
    font-size: 20px;
}

p1 {
    color: black;
    
}
p2 {
    color: white;
    
}

p3 {
    color: white;
    font-weight: bold;
    font-size: 25px;
}