body{
    margin: 0;
    background:#0F2027;
    background:-webkit-linear-gradient(to right, #2C5364, #203A43, #0F2027) ;
    background: linear-gradient(to right, #2C5364, #203A43, #0F2027);
    margin: 0;
    text-align: center;
    font-family: 'Merriweather', sans-serif;
}


.headClass {
    color: white;
    width: 100%;
    background-color: #0f2128;
    display: flex; /* Add flex display to align children horizontally */
    justify-content: space-between; /* Use space-between to separate h2 and nav on opposite ends */
    align-items: center; /* Vertically center align items */
    position: fixed;
    z-index: 1;
}


nav, .headClass {
    font-size: 21px;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}
a {
    color: white;
    font-weight: 400;
    text-decoration: none;
}

nav a:hover {
    font-size: 25px;
    font-weight: 600;
}

#headHead {
    color: white;
    font-family: cursive;
    font-size: 21px;
    margin-right: 870px;
}

#join-btn{
    position: fixed;
    top:50%;
    left:50%;
    margin-top:-50px;
    margin-left:-100px;
    font-size:18px;
    padding:20px 40px;
}

#video-streams{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    height: 90vh;
    width: 1400px;
    margin:0 auto;
}

.video-container{
    max-height: 100%;
    border: 2px solid black;
    background-color: #203A49;
}

.video-player{
    height: 100%;
    width: 100%;
}

button{
    border:none;
    background-color: cadetblue;
    color:#fff;
    padding:10px 20px;
    font-size:16px;
    margin:2px;
    cursor: pointer;
}

#stream-controls{
    display: none;
    justify-content: center;
    margin-top:0.5em;
}
a {
    margin: 10px 10px;
}

@media screen and (max-width:1400px){
    #video-streams{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        width: 95%;
    }
}
@media screen and (max-width: 768px) {

   
    #join-btn {
        font-size: 14px;
        padding: 15px 30px;
    }

    #video-streams {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        width: 90%;
    }

    .bottom-container {
        margin-left: 0; 
    }
    
 body{
    width: 100%;
 }
}
.copyright {
    color: #EAF6F6;
    background-color: #203A49;
    margin: 0;
}

.bottom-container {
    margin-left: 200px;
}
.bottom_container-top {
    background-color: #203A49;
    border: 2px solid black;
    border-width: 2px 0px 0px 0px;
    padding: 50px 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
h1, h2, h3, p {
    color: white;
}


p {
    line-height: 2;
}
html {
    scroll-behavior: smooth;
}
