/* General Styles */
body {
    position: relative;
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    background-image: url('../img/background.png'); /* Replace with the path to your image */
    background-size: cover;
    background-attachment: fixed;
}

.logo {
    height: 5vw; /* Responsive logo size */
    width: 5vw; /* Responsive logo size */
    margin-right: 2vw; /* Adjusted margin for smaller screens */
    margin-left: -38px;
}

.text-container {
    font-size: 30px; /* Responsive font size */
    color: #00ff0d;
    position: absolute;
    left: 152px;
}

header {
    background-color: rgba(51, 51, 51, 0.7);
    padding: 2vh 4vw; /* Responsive padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    text-align: center;
    position: absolute;
    left: 457px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    font-size: 20px;
}

nav li {
    margin: 0 2vw; /* Adjusted margin for smaller screens */
}

nav a {
    text-decoration: none;
    color: white;
    display: inline-block;
    border: 1px solid transparent;
}

nav a:hover {
    background-color: #555;
    border-color: #00ff0d;
    border-width: thick;
}

.user-info {
    text-align: right;
    position: absolute;
    right: 106px;
}

.user-info a, .welcome-message {
    text-decoration: none;
    color: white;
    padding: 2vh 3vw; /* Responsive padding */
    display: inline-block;
    border: none;
}

form {
    max-width: 100%;
    margin: 0 auto;
    padding: 4vw;
    background-color: rgba(50, 50, 50, 0.8);
    border-radius: 2vw; /* Responsive border radius */
}

label {
    display: block;
    margin-bottom: 2vw; /* Adjusted margin for smaller screens */
    color: #00ff0d;
}

input, textarea {
    width: 100%;
    padding: 2vw;
    margin-bottom: 4vw; /* Adjusted margin for smaller screens */
    box-sizing: border-box;
    border: 1px solid #00ff0d;
    border-radius: 2vw;
    background-color: rgba(0, 0, 0, 0.5);
    color: #00ff0d;
}

button {
    background-color: #168a1c;
    color: white;
    padding: 2vh 3vw; /* Responsive padding */
    border: none;
    border-radius: 2vw;
    cursor: pointer;
}

button:hover {
    background-color: #00ff0d;
}

.contactcard {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.home1 {
    font-size: 1.5vw; /* Responsive font size */
    margin: 5vw 0; /* Adjusted margin for smaller screens */
    text-align: center;
}

.baloo-chettan h1, .baloo-chettan h2 {
    font-family: 'Baloo Chettan 2', cursive;
}

.cards-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4vw; /* Adjusted gap for smaller screens */
}

.card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff0d;
    border-radius: 2vw;
    overflow: hidden;
    max-width: 20vw; /* Responsive maximum width */
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.2); /* Responsive box shadow */
    transition: transform 0.3s;
}

.card img {
    height: auto;
    width: 100%;
}

.card-title {
    font-size: 1.2vw; /* Responsive font size */
    font-weight: bold;
    margin: 2vw;
    color: #00ff0d;
}

.card-description {
    font-size: 1vw; /* Responsive font size */
    margin: 2vw;
}

.card:hover {
    transform: scale(1.05);
}

.section-title {
    font-size: 2vw; /* Responsive font size */
    margin: 4vw;
    text-align: center;
    color: #00ff0d;
}

/* Styling for the latest video */
.latest-video {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 4vw; /* Space between the video and the next section */
}
/* Styling for the latest video */
.latest-video iframe {
    width: 100%;
    max-width: 800px; /* Adjust the max-width as needed */
    height: 600px;
    border-radius: 1vw;
}

/* Container for the featured playlists */
.featured-playlists-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2vw; /* Gap between the playlists */
    margin-top: 4vw; /* Space between the video and playlists */
}

/* Individual playlist styling */
.featured-playlist {
    flex: 1 1 300px; /* Adjust the width as needed */
    max-width: 400px; /* Adjust the max-width as needed */
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff0d;
    border-radius: 1vw;
    overflow: hidden;
    padding: 2vw;
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.2);
    text-align: center;
}

.featured-playlist iframe {
    width: 100%;
    height: 200px; /* Adjust the height as needed */
    border-radius: 1vw; /* Optional: for rounded corners */
}

.featured-playlist h4 {
    font-size: 1.2vw; /* Responsive font size */
    color: #00ff0d;
    margin-bottom: 1vw;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: rgba(50, 50, 50, 0.8);
    padding: 2vw;
    border-radius: 2vw;
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.5);
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.popup {
    background: rgba(50, 50, 50, 0.8);
    padding: 2vw;
    border-radius: 2vw;
    box-shadow: 0 2vw 4vw rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-content {
    position: relative;
}

.close {
    position: absolute;
    top: 1vw;
    right: 1vw;
    font-size: 1.5vw;
    cursor: pointer;
}
