@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

img {
    object-fit: cover;
}

body {
    background-color: #f6f6f6;
}

nav {
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav .logo {
    display: flex; /* Use flexbox to align items */
    align-items: center; /* Center the items vertically */
}

.logo-image {
    width: 50px; /* Adjust the width as needed */
    height: 50px; /* Keep it square for a rounded effect */
    border-radius: 50%; /* Make the image rounded */
    margin-right: 20px; /* Space between the logo and text */
}

nav a.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    color: #333;
    font-weight: 700;
}

nav .logo span {
    margin-left: -10px; /* Adjust this value to move the text to the left */
}

nav .links {
    display: flex;
    gap: 20px;
}

nav .links a {
    position: relative;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav .links a:hover {
    color: #ff5722;
}

nav .links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 2px;
    width: 100%;
    background-color: #ff5722;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav .links a:hover::after {
    transform: scaleX(1);
}

.main {
    padding: 40px 20px;
    text-align: center;
}

.main h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ff5722;
}

.search-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-bar {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px; /* Rounded corners */
    width: 300px; /* Longer search bar */
    margin-right: 10px; /* Space between search bar and button */
}

#filter-btn {
    padding: 10px 15px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 20px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#filter-btn:hover {
    background-color: #006bdd; /* Darker shade on hover */
}


.video-container {
    text-align: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    max-width: 700px; /* Max width for the video player */
    border-radius: 5px;
}


.currently-playing-title {
    margin-top: 10px;
    font-size: 24px;
    font-weight: bold;
    justify-self: center;
    color : #ff5722;
}

.video-list {
    margin-top: 20px;
}

.video-list h3 {
    font-size: 24px;
    margin-bottom: 10px;
    margin-left: 20px;
    color:#ff5722;
}

.video-container {
    flex-wrap: wrap; /* Allow wrapping */
}

.video-item {
    display: flex;
    align-items: center; /* Align items vertically */
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px; /* Space between video items */
    padding: 10px; /* Padding for the item container */
    background-color: #ffffff; /* Light background for video item */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s; /* Smooth transition for hover */
    cursor: pointer; /* Change cursor to pointer on hover */
}

.video-item:hover {
    background-color: #e0e0e0; /* Darker background on hover */
}

.video-item img {
    width: 50px; /* Set width of thumbnails */
    height: 50px; /* Set height of thumbnails */
    margin-right: 10px; /* Space between image and title */
}

.view-more {
    background-color: #ff5722; /* Button color */
    color: #fff; /* Text color */
    border: none; /* Remove default border */
    padding: 10px 20px; /* Padding for the button */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor to pointer on hover */
    transition: background-color 0.3s ease; /* Smooth transition */
    margin-top: 10px; /* Space above the button */
    margin-bottom: 10px;
    display: block; /* Ensures the button takes up the full line */
    margin-left: auto; /* Automatically adjust left margin */
    margin-right: auto; /* Automatically adjust right margin */
    text-align: center; /* Center-align the text inside the button */
}

.view-more:hover {
    background-color: #006cd8; /* Darker shade on hover */
}

.video-item h4 {
    margin-top: 5px;
    font-size: 16px;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer h3 {
    font-size: 36px;
}

footer .links a {
    color: #aaa;
    margin: 0 10px;
}

footer .links a:hover {
    color: #fff;
}

footer .social i {
    font-size: 24px;
    color: #ff5722;
    margin: 0 10px;
}
