* {
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    background-color: #1d1d1d;
}

body p, h1 {
    color: white;
}

.admin-message {
    border: solid palevioletred 2px;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    background-color: rgb(216, 112, 147, 0.5);
    color: aliceblue;
    font-size: 18px;
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Distribute space between elements */
    align-items: center; /* Center vertically */
}

.admin-message-x {
    display: flex;
    justify-content: space-between;
}

.close {
    cursor: pointer;
    color: white;
    margin-left: 10px;
    font-weight: bold;
    transition: color 0.3s;
}

.close:hover {
    color: palevioletred;
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

#xButton {
    width: 8%;
    display: none;
    margin-bottom: 15px;
}

.navBar {
    border-bottom: solid 1px #1B1212;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 70px;
    justify-content: center;
    place-items: center;
    margin-bottom: 25px;
    background-color: rgb(240, 136, 117);
}

.imgText {
    margin-left: 50px;
    width: 30%;
}

.imgLogo {
    width: 17%;
}

.navElement a {
    text-decoration: none;
    color: black;
    font-size: 20px;
    align-items: right;
    font-weight: bolder;
    transition: color 0.5s ease-out;
}

.navElement a:hover {
    color: white;
}

.navElement a:nth-child(2) {
    margin-right: 70px;
}

.logoDiv {
    text-align: center;
}

.logo {
    width: 400px;
    margin-top: 30px;
}

.iframe_Container {
    display: flex;
    flex-direction: row-reverse;
    margin: 20px 0;
    text-align: center;
    justify-content: center;
    gap: 30px;
}

.VideoPlayer {
    border-radius: 10px;
    border: solid 5px pink;
    width: 1150px;
    height: 600px;
}

.Chatbox {
    border-radius: 10px;
    border: solid 5px pink;
    width: 400px;
    height: 600px;
}

.server_Section {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    width: 40%;
}

.server_Section p {
    border: solid 2px pink;
    background-color: rgb(59, 59, 59);
    padding: 18px;
    border-radius: 10px;
    margin: 20px;
    transition: border-color 0.3s ease-in-out;
}

.server_Section p:hover {
    border-color: #e26779;
}

.pickServer {
    text-align: center;
    text-decoration: underline;
    margin: 40px 0;
    color: #e26779;
}

.no-stream-message {
    text-align: center;
    color: white;
    font-size: 18px;
}

@media screen and (max-width: 1024px) {
    .navBar {
        grid-template-columns: 1fr 1fr 1fr;
        height: 70px;
    }

    .imgText {
        width: 70%;
    }

    .imgLogo {
        width: 40%;
    }

    #xButton {
        display: block;
    }

    .navElement {
        position: fixed;
        background: rgb(240, 136, 117);
        border-left: solid 3px #e23e57;
        top: 0;
        right: -550px;
        width: 40%;
        height: 100vh;
        padding: 10px;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
        z-index: 999;
        transition: 0.3s ease;
    }

    .navElement a {
        display: block;
        margin: 0 !important;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        font-size: 18px;
    }

    .hamburger {
        display: block;
    }

    .navElement.active {
        right: 0;
    }

    .logo {
        width: 300px;
    }

    .iframe_Container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .iframe_Container iframe {
        width: 100%;
        height: 400px;
    }

    .server_Section {
        width: 100%;
    }

    .admin-message {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {

    .iframe_Container iframe {
        width: 600px;
        height: 350px;
    }

    .server_Section {
        width: 80%;
    }

    .Chatbox {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .iframe_Container iframe {
    width: 100%;
    height: 250px;
    }

    .server_Section {
    width: 100%;
    }

    .logo {
        width: 70% !important;
    }
    .admin-message {
        font-size: 13px;
    }
}