* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

.navbar {
    height: 70px;
    margin-bottom: 20px;
    background: white;
}

.navbar .logo {
    width: 25%;
    display: flex;
    padding: 5px;
    margin-left: 10px;
}

.togglemenu {
    display: none;
    background: #1d2371e9;
    color: white;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    right: 10px;
    margin: -30px 5px 30px 0px;
}

.navbar .logo img {
    width: 60px;
    height: 60px;
}

.navbar .logolink {
    text-decoration: none;
}

.navbar .logo .innertext {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 20px 0px 10px;
    color: black;
    width: 100%;
    text-align: left;
}

.navbar .topmenu {
    display: flex;
    width: 50%;
    float: right;
    margin-top: -36px;
    z-index: 20;
}

.navbar .topmenu li {
    list-style: none;
}

.navbar .topmenu li a {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    margin-right: 40px;
}

.navbar .topmenu li a:hover {
    border-bottom: 1px solid black;
}

.main-section {
    padding: 20px;
    background: white;
    display: flex;
}

.main-section .livevideo {
    background: black;
    padding: 20px;
    height: 88.8vh;
    width: 70%;
}

.main-section .livevideo-side-menu {
    /* width: 300px; */
    background: white;
    height: 95.2vh;
    width: 40%;
    overflow-y: scroll;
}

.side-header {
    background: white;
    padding: 20px;
    display: grid;
    place-content: center;
    top: 0;
    right: 0;
    position: sticky;
}

.side-header .searchbox {
    width: max-content;
}

.side-header input {
    outline: none;
    border: none;
    background: rgb(223, 222, 222);
    border-radius: 8px;
    height: 40px;
    padding: 2px 5px;
    min-width: 300px;
}

.side-header button {
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
}

.sidemessage-container {
    padding: 10px 20px
}

.sidemessage-container .audiosound {
    width: 100%;
}

.sidemessage-container .audiosound .soundcontent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0px;
}

.sidemessage-container .audiosound h4 {
    margin: 5px 2px;
}

.sidemessage-container .audiosound .soundcontent span a {
    color: black;
}

.sidemessage-container a {
    display: grid;
    place-content: center;
    background: rgba(128, 128, 128, 0.529);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 5px;
}

.latestvideo {
    padding: 10px 30px;
}

.latestvideo-wrapper {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(auto-fill, minmax(23rem, 3fr));
    grid-gap: 2rem;
    z-index: -1;
}

.latestvideo h3 {
    padding: 20px;
    text-transform: capitalize;
}

.latestvideo .uploadedvideo {
    width: 400px;
    height: 400px;
    margin-right: 15px;
}

@media only screen and (max-width:1200px) {
    .navbar .logo {
        width: 300px;
    }
    .togglemenu {
        display: block;
    }
    .navbar .topmenu {
        position: absolute;
        background: whitesmoke;
        top: 0;
        height: 100vh;
        display: none;
        width: 300px;
        float: right;
        margin-top: 90px;
        transition: 0.57s;
    }
    .navbar .topmenu.active {
        display: block;
    }
    .navbar .topmenu li a {
        padding: 20px;
        display: block;
    }
    .main-section {
        display: block;
    }
    .main-section .livevideo {
        width: 96.47%;
    }
    .main-section .livevideo-side-menu {
        width: 100%;
    }
    .sidemessage-container {
        display: grid;
        /* grid-template-columns: auto auto auto; */
        grid-template-columns: repeat(auto-fit, minmax(15rem, 3fr));
        grid-gap: 2rem;
    }
}


/* table mode */

@media only screen and (max-width:900px) {
    .main-section .livevideo {
        width: 96%;
        height: 70vh;
    }
    .side-header {
        display: flex;
        align-items: left;
        padding: 0;
    }
    .side-header .searchbox {
        width: 90%;
        position: relative;
        margin-top: 20px;
    }
    .side-header .searchbox .searchmen {
        position: absolute;
        right: 0;
    }
    .side-header input {
        width: 90%;
        background: rgb(222, 217, 217);
        border-radius: 8px;
        height: 40px;
        padding: 2px 5px;
        min-width: 20%;
    }
}

@media only screen and (max-width: 370px) {
    .main-section .livevideo {
        height: 35vh;
    }
    .side-header {
        align-items: center;
        width: 100%;
    }
    .side-header input {
        justify-content: center;
        padding-right: 20%;
    }
    .side-header input::placeholder {
        width: 100%;
    }
    /* .side-header input{
        width: 30%;
    } */
    .side-header button {
        outline: none;
        border: none;
        padding: 10px 8px;
        border-radius: 10px;
    }
}