@import url('https://fonts.googleapis.com/css2?family=Momo+Trust+Display&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Zalando+Sans+SemiExpanded:ital,wght@0,200..900;1,200..900&display=swap');
/* Style for Vidverse - A simple video search and player interface */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #e0dfe3;
    color: #111;

}



.topbar {
    background: #202020;
    color: white;
    text-align: center;
    padding: 1rem;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 1.5rem auto;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 70%;
    ;
    padding: 10px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

.search-box button {
    padding: 10px 15px;
    font-size: 1.1rem;
    background: #007bff;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.search-box button:hover {
    background: #0056b3;
}

/* Main video player */
.main-video {
    display: none;
    margin-bottom: 2rem;
}

.main-video.active {
    display: block;
}

.player-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
}

.player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .5rem;
}

.video-info h2 {
    font-size: 1.2rem;
}

#closeBtn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #444;
}

/* Video grid */
.results-grid h3 {
    margin-bottom: 1rem;

}

.videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.video-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-thumb img {
    width: 100%;
    display: block;
}

.video-meta {
    padding: 10px;
}

.video-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 5px;
}

.muted {
    color: #666;
    font-size: 0.85rem;
}

.footer {
    text-align: center;
    padding: 1rem;
    background: #202020;
    color: white;
    margin-top: 27rem;

}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 0.5rem 0;
}

.footer .heart {
    color: red;
}
.footer .heart:hover {
    color: darkred;
}
.footer .heart:active {
    color: crimson;
}
.footer .heart:focus {
    outline: none;
}
.footer .heart:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}


