* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: normal;
}

body {
    background-color: #1b202d;
    /* border: 3px solid orangered; */
}

h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    padding: 15px;
    color: #ffcc00;
    text-align: center;
    font-size: 42px;
    text-transform: uppercase;
}

.container {
    padding: 5% 5%;
    border: 5px solid #ffcc00;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: flex-start;
}

.container .main-video {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    position: relative;
}

.container .main-video video {
    width: 100%;
    border-radius: 10px;
}

.container .main-video .title {
    color: #333;
    font-size: 28px;
    padding-top: 18px;
    padding-bottom: 15px;
}

.container .video-list {
    background: #fff;
    border-radius: 20px;
    margin-top: 20px;
    overflow-y: scroll;
    padding: 10px;
}

.container.video-list::-webkit-scrollbar {
    width: 7px;
}
.container.video-list::-webkit-scrollbar-track{
    background: #ccc;
    border-radius: 50px;
  }
.container.video-list::-webkit-scrollbar-thumb{
    background: #666;
    border-radius: 50px;
}


.container .video-list .vid video {
    width: 100px;
    border-radius: 5px;
}

.container .video-list .vid {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #1b202d;
    border-radius: 5px;
    margin: 10px 0;
    padding: 12px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.container .video-list .vid:hover {
    background: #0828ab;
}

.container .video-list .vid.active .title {
    color: #ffcc00;
}

.container .video-list .vid .title {
    color: #ffcc00;
}

.container .video-list .vid {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #1b202d;
    border-radius: 5px;
    margin: 10px 0;
    padding: 12px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
}

.container .video-list .vid:hover {
    background: #0828ab;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.container .video-list .vid.active .title {
    color: #ffcc00;
}

.container .video-list .vid .title {
    color: #ffcc00;
}

a{
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin: 40px 0;
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    margin-right: 50px;
   
}
a:hover{
    background: #03e9f4;
    color: #050801;
    box-shadow: 0 0 5px #03e9f4,
                0 0 25px #03e9f4,
                0 0 50px #03e9f4,
                0 0 200px #03e9f4;
     -webkit-box-reflect:below 1px linear-gradient(transparent, #0005);
}
a:nth-child(1){
    filter: hue-rotate(270deg);
}
a:nth-child(2){
    filter: hue-rotate(110deg);
}
a span{
    position: absolute;
    display: block;
}
a span:nth-child(1){
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,transparent,#03e9f4);
    animation: animate1 1s linear infinite;
}
@keyframes animate1{
    0%{
        left: -100%;
    }
    50%,100%{
        left: 100%;
    }
}
a span:nth-child(2){
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,transparent,#03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}
@keyframes animate2{
    0%{
        top: -100%;
    }
    50%,100%{
        top: 100%;
    }
}
a span:nth-child(3){
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg,transparent,#03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.50s;
}
@keyframes animate3{
    0%{
        right: -100%;
    }
    50%,100%{
        right: 100%;
    }
}

a span:nth-child(4){
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg,transparent,#03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}
@keyframes animate4{
    0%{
        bottom: -100%;
    }
    50%,100%{
        bottom: 100%;
    }
}

.navbar {
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    z-index: 100; /* Ensure the navbar is on top of other content */
}

.navbar a {
    color: #03e9f4;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 2px;
    overflow: hidden;
    margin-right: 15px;
    position: relative;
    padding: 5px 6px; /* Adjust padding for better visibility */
}

.navbar a:hover {
    background: #03e9f4;
    color: #050801;
    box-shadow: 0 0 5px #03e9f4,
                0 0 25px #03e9f4,
                0 0 50px #03e9f4,
                0 0 200px #03e9f4;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}
