* {
  box-sizing:border-box
}
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none; 
  -ms-user-select: none; 
  -o-user-select: none; 
  -khtml-user-select: none; 
  user-select: none;
}
body {
    margin:0;
    font-size: 16px;
    font-family: Verdana;
    color:#fff;
    background: linear-gradient(rgba(20, 55, 35, 0.85), rgba(5, 20, 12, 0.85)), url('/images/harpbc.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
#close {
    position: absolute;
    top: 20px;
    left:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    z-index: 999;
}
#close:hover {
    background-color: LightCoral;
}
.bl {
    color: #000;
    padding: 20px;
    margin: 5px;
}
h1 {
    font-size:20px;
    flex: 1 1 100%;
}
h1 span {
    font-size: 12px;
    font-weight: normal;
}
h2 {
    font-size:16px;
}
h4 {
    font-size:12px;
    flex: 1 1 100%;
    font-weight: normal;
}
#search {
    outline: none;
    border: 1px solid #030414;
    padding: 8px;
    border-radius: 15px;
    margin: 20px 0;
    width: 500px;
}
#search:focus {
    outline: none;
    border: 1px solid LightCoral;
}
#main {
    width: 80vw;
    min-height: 100vh; 
    margin: 60px auto 0;
    padding: 50px 20px 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
    animation: expand 0.8s ease-out forwards; 
    transform-origin: center; 
    
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
@keyframes expand {
    0% {
        transform: scaleX(0) scaleY(0); 
        opacity: 0;
    }
    100% {
        transform: scaleX(1) scaleY(1);
        opacity: 1;
    }
}
a {
    color: #fff;
    text-decoration: none;
}
a:hover {
    color: LightCoral;
}
.video {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
    flex: 1 1 300px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}
.video:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.vimg img {
    width: 100%;
    border-radius: 10px;
}
.vtitle {
    padding-top: 10px;
    font-size: 16px;
    display: flex;
    flex-direction: row;
}
.vtitle img {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    margin-right: 20px;
}
.vtitletxt {
}
.vtitletxt span {
    font-size: 12px;
}
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 50px auto; /* Центрируем спиннер */
}
#loading-area {
    margin: 0 auto;
}
#content-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media screen and (max-width: 480px) {
    #close {
        display: none;
    }
    #main {
        width: 100vw;
        padding: 0;
    }
    h1 {
        margin: 20px 0 20px 20px;
    }
    .video {
        padding: 0;
        border-radius: 0;
        margin-bottom: 30px;
        width: 100vw;
        display: flex;
        flex-direction: column;
    }
    .vimg img {
        border-radius: 0;
        border-top: 1px solid #6B747F;
        border-bottom: 1px solid #6B747F;
    }
}