* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: beige;
    height: 100%;
    font-family: Helvetica;
}

a {
    text-decoration: none;
    color: black;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-left: 3px solid rgb(221, 221, 204);    
}
   
::-webkit-scrollbar-thumb {
    background: beige; 
    border: 3px solid silver;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(221, 221, 204);
}

.topbar {
    display: flex;
    justify-content: center;  
    align-items: center;      
    position: relative;
    height: 100px;  
}

.toptext {
    font-size: 80px;
    padding-top: 20px;
}

.home {
    position: absolute;
    height: 30%;
    left: 20px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
}

.site {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mediaBtnList {
    background: rgb(246, 246, 239);
    border-radius: 40px;
    border: 4px solid rgb(221, 221, 204);
    display: flex;
    justify-content: center;
    padding: 20px;
}

.topicBtn {
    background: none;
    padding: 10px;
    border-radius: 1rem;
    border: 4px solid rgb(221, 221, 204);
}

.topicBtn:hover {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
}




.mediaBox {
    width: 90%;
}

.MediaGrid {
    background: rgb(246, 246, 239);
    border-radius: 40px;
    border: 4px solid rgb(221, 221, 204);
    display: block;
    columns: 4;
    padding: 20px;
}

.image {
    width: 100%;
    border-radius: 30px;
    border: 4px solid rgb(221, 221, 204);
    margin-bottom: 20px;
}

.VideoBtn {
    position: relative;
    width: 100%;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.VideoBtn:hover {
    cursor: pointer;
}

.VideoImage {
    position: relative;
    width: 100%;
    border-radius: 30px;
    border: 4px solid rgb(221, 221, 204);
}

.VideoPlayImg {
    position: absolute;
    height: 50px;
    z-index: 1;
    transition: 0.2s;
}

.VideoBtn:hover > .VideoPlayImg {
    height: 60px;
}
















.videoPage {
    position: fixed;
    top: 0px;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

#closeVideo {
    position: absolute;
    top: 3rem;
    left: 3rem;
    height: 3rem;
    width: 3rem;
    background: none;
    border: none;
}

#closeVideo:hover {
    cursor: pointer;
}

.videoBox {
    position: relative;
    max-width: 80%;
}

#video {
    height: 100vh;
    width: 100%;
}

#video:hover ~ #videoCtrl {
    display: flex;
}

#videoCtrl:hover {
    display: flex;
}

#videoCtrl {
    width: 100%;
    background: rgb(246, 246, 239);
    height: 50px;
    bottom: 4px;
    left: 0px;
    position: absolute;
    display: none;
    align-items: center;
    transition: 1s;
}

#progress {
    -webkit-appearance: none;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 4px;
    background: rgb(221, 221, 204);
    cursor: pointer;
}

#progress:hover {
    height: 5px;
}

#progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: beige;
    border-radius: 100%;
    border: 3.5px solid rgb(221, 221, 204);
    height: 15px;
    width: 15px;
    transition: 0.3s;
}

#progress::-webkit-slider-thumb:hover {
    height: 18px;
    width: 18px;
}

#volumebar {
    -webkit-appearance: none;
    position: absolute;
    height: 4px;
    left: 10%;
    background: rgb(221, 221, 204);
    cursor: pointer;
}

#volumebar:hover {
    height: 5px;
}

#volumebar::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: beige;
    border-radius: 100%;
    border: 3.5px solid rgb(221, 221, 204);
    height: 15px;
    width: 15px;
    transition: 0.3s;
}

#volumebar::-webkit-slider-thumb:hover {
    height: 18px;
    width: 18px;
}

#playPause {
    position: absolute;
    left: 5px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#playImg {
    width: 50%;
}

#pauseImg {
    width: 50%;
}

#playPause:hover {
    background: rgb(221, 221, 204);
}

#FullscreenBtn {
    position: absolute;
    right: 5px;
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ExpandImg {
    width: 50%;
}

#FullscreenBtn:hover {
    background: rgb(221, 221, 204);
}
