﻿body{
    background-color: rgb(22, 22, 22);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header{
    height: 5rem;
    width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 400;
}
.divider{
    height: 4rem;
    border-left: 3px solid rgb(255, 255, 255);
}
.logo{
    height: 4rem;
    width: 5.268rem;
    position: relative;
    left: 50%;
    top: -50%;
    transform: translate(-50%, 50%);
}
.logo-2{
    height: 4rem;
    position: relative;
    left: 50%;
    top: -50%;
    transform: translate(-50%, 50%);
}
.logo-link{
    height: 4rem;
    width: 5.268rem;
    margin-left: 8px;
    margin-right: 10px;
}
.logo-link-2{
    height: 4rem;
    margin-left: 10px;
}

.video-box{
    min-width: 23%;
    width: 23%;
    background-color: rgb(22, 22, 22);
    transition: background-color 150ms ease-in-out;
    position: relative;
}
.video-box:hover{
    background-color: rgb(27, 27, 27)
}

.video-box img{
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
a{
    text-decoration: none;
}
.video-box h2{
    color: white;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 0.4rem;
    
}
.video-box-container{
    display: flex;
    margin-top: 3rem;
    margin-left: 3rem;
    margin-right: 3rem;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

footer{
    height: 6.5rem;
    background-color: black;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /*visibility: hidden;*/
}
.fof{
    color: rgb(176, 176, 176);
    font-size: 900%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 16rem;
}
.fof-p{
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: larger;
    white-space: pre-line;
    text-align: center;
}
.tag{
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
    z-index: 100;
    border-radius: 6px;
    margin-left: 7px;
    margin-top: 7px;
    padding: 4px 5px 4px 5px;
    text-decoration: none;
    color: black;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 1;
    transition: opacity 75ms ease-in-out;
    font-weight: 600;
    filter: drop-shadow(0 0 1rem black);
}
.video-box:hover .tag{
    opacity: 0.30;
}
.search{
    margin-left: auto;
    margin-right: 20px;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    background-color: rgb(47, 47, 47);
    border-radius: 7px;
}
.search input{
    background-color: rgb(47, 47, 47);
    border: none;
    outline: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    height: 3rem;
    align-self: center;
    width: 12vw;
    max-width: 400px;
    padding-left: 5px;
    font-size: x-large;
    transition: width 0.4s ease-in-out;
    margin-left: 4px;
}

.search-divider{
    height: 3rem;
    border-left: 2px solid rgb(87, 87, 87);
    align-self: center;
}
@media (max-width: 661px){
    .search input{
        width: 12vw; 
        max-width: 190px;
    }
    header{
        height: 4rem;
    }
    .logo-link-2{
        height: 3rem;
    }
    .logo-2{
        height: 3rem;
    }
    .video-box {
        width: 92%;
    }
    .logo-link {
        display: none;
    }
    .divider{
        display: none;
    }
    .video-box-container{
      display: flex;
      margin-top: 1rem;
      margin-left: 1rem;
      margin-right: 1rem;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
  }
}
@media (max-width: 370px){
    .search input{
        width: 12vw; 
        max-width: 130px;
        height: 2.4rem;
    }
    .search{
        height: 3rem;
    }
    .search-divider{
        height: 2rem;
    }

}
@media (max-width: 1080px) and (min-width: 662px){
    .video-box {
        width: 42%;
    }
    .search input{
        width: 12vw;
        max-width: 400px;
    }
    .logo-link {
        display: none;
    }
    .divider{
        display: none;
    }
    
}
@media (max-width: 1332px) and (min-width: 1081px){
    .video-box {
        width: 30%;
    }
}
.search input:focus{
    width: 80vw;
    /*background-color: #565E65;*/
}
.search .has-text,
.search:has(.has-text){
    width: 80vw;
    /*background-color: #565E65;*/
}
.search button{
    background: transparent;
    align-self: center;
    outline: none;
    border: none;
    filter: invert(100%) sepia(6%) saturate(0%) hue-rotate(81deg) brightness(108%) contrast(105%);
}
.search button:active{
    filter: invert(86%) sepia(0%) saturate(0%) hue-rotate(329deg) brightness(91%) contrast(89%);
}
img:not([src]) {
    visibility: hidden;
}