


body {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        min-height: 100vh;
        background-color: #f0f0f0;
        font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
        color: #333;
}

.header-container {
        margin: 0 auto;
        text-align: center;


}


.header-container h1 {
    display: inline-block; /* Allows the element to fit content width */
    background-color: #ffffff; /* Background color for the title */
    color: #666666; /* Text color */
    font-size: 24px; /* Adjust to the size you want */
    border: 1px dashed #cccccc; /* Dashed border as per your image */
    border-radius: 20px; /* Rounded corners */
    padding: 10px 20px; /* Padding inside the border */
}

/* Responsive adjustments if necessary */
@media (max-width: 768px) {
    .header-container h1 {
        font-size: 26px; /* Smaller font size for mobile */
        margin-top: 30px;

    }
}


.grid-container {
        width: 100%;
        max-width: 80%;

        margin: 0 auto;
        padding: 0 5px;
        padding-top: 20px;
        box-sizing: border-box;
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media screen and (max-width: 500px) {
        .grid-container {
                max-width: 90%;
                grid-template-columns: 1fr;
                padding: 0;

        }
}

@media screen and (min-width: 501px) and (max-width: 800px) {
        .grid-container {
                grid-template-columns: 1fr 1fr;
        }
}

@media screen and (min-width: 801px) and (max-width: 1100px) {
        .grid-container {
                grid-template-columns: repeat(3, 1fr);
        }
}

@media screen and (min-width: 1101px) {
        .grid-container {
                grid-template-columns: repeat(4, 1fr);
        }
}

.card {
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        display: flex;
        flex-direction: column;
        position: relative;

        overflow: hidden;

}
.card-image {
        padding: 10px;

        background-color: #fff;
        position: relative;

}
.card-image img {
        border-radius: 10px;
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;

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

}
.play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 75px;
        height: 75px;
        background-image: url('playbutton.png');

        background-size: cover;
        cursor: pointer;
        z-index: 2;

        opacity: 0.8;

}
.card-content {
        padding: 10px;
        display: flex;
        align-items: center;
}
.card-image-icon {
        width: 40px;
        margin-right: 20px;
        border-radius: 20px;
}

.card-title {
    font-size: 14px;
    margin: 0;
    font-weight: strong;
    color: #555555;
}


.card-category {
        font-size: 12px;
        color: #555;
        margin: 0;
}
@media (max-width: 600px) {
        .grid-container {
                grid-template-columns: 1fr;
        }
}
.back-button {
        position: absolute;
        top: 5px;
        right: 5px;

        background-color: rgba(255, 255, 255, 1);
        padding: 5px;
        margin: 10px;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s ease;
        z-index: 3;

}
.back-button:hover {
        background-color: black;
}
.category-tag {
        position: absolute;
        bottom: 0px;

        left: 10px;
        background-color: #fff;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 12px;
        color: #333;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease;
        z-index: 3;

        cursor: pointer;
}

header {
        display: flex;
        align-items: center;
        background-color: #f8f8f8;
        padding: 10px;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        margin-bottom: 60px;
       border-bottom: 1px solid #e7e7e7;

}

@media (max-width: 600px) { /* Adjust this value based on your definition of mobile */
    header {
        margin-bottom: 60px; /* Increased margin for mobile devices */
    }
}

.headmenu {

}
.headmenu a {
        margin: 0 15px;

        text-decoration: none;
        color: #333;

        font-size: 20px;
        padding: 5px 10px;
        transition: color 0.3s ease;

        position: relative;
        border-bottom: 2px solid transparent;

}
.headmenu a:hover {
        color: #555;

        border-bottom-color: #555;

}







.user-profile {
        position: absolute;
        top: 10px;

        right: 30px;

}
.user-profile img {
        height: 50px;

        border-radius: 50%;

}

.hamburger-menu {
    cursor: pointer;
    display: inline-block;
    width: 30px;
    height: 25px;
    padding-left: 20px;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 5px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger-menu span:last-child {
    margin-bottom: 0;
}

/* Hide the hamburger menu on screens wider than 768px */
@media (min-width: 768px) {
    .hamburger-menu {
        display: none;
    }
}


.logo {
        margin-left: 20px;
}











/* Default state for desktop */
.sidebar {
    width: 250px; /* Sidebar default width */

    background-color: #f0f0f0;
    transition: all 0.3s ease; /* Smooth transition for all changes */
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0; /* No offset by default */
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 40px;
    transform: translateX(-100%); /* Hide sidebar off-screen */
}

#mainpage {
    transition: margin-left .5s;
    padding: 20px;
    margin-top: 70px;
    margin-left: 0; /* No margin by default */
    width: 100%; /* Full width by default */
    box-sizing: border-box;
}

/* Adjust for screens larger than 1400px */
@media screen and (min-width: 1401px) {
    .sidebar {
        transform: translateX(0); /* Show sidebar on desktop */
    }
    #mainpage {
        margin-left: 200px; /* Adjusted to match the sidebar width */
        width: calc(100% - 200px); /* Adjust width to account for sidebar */
    }
}

/* Adjust for mobile screens to start collapsed */
@media screen and (max-width: 1400px) {
    .sidebar {
        left: 0; /* Reset to no left offset */
        /* Keep the sidebar hidden by default */
    }

    .sidebar.expanded {
        transform: translateX(0); /* Bring sidebar on-screen when expanded */
        width: 70%; /* Adjust for expanded state on mobile */
        padding-top: 60px;
        overflow-y: auto;
        box-shadow: 4px 0 5px -2px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    }

    #mainpage.expanded {
        margin-left: 70%; /* Main content shifts when sidebar is expanded */
    }
}

/* Further adjustments for very small screens */
@media screen and (max-width: 767px) {
    .sidebar {
        max-width: 60%; /* Sidebar takes more screen space */

    }
    .sidebar.expanded {
        /* Keep the sidebar expanded properties as is */
    }

    #mainpage.expanded {
        margin-left: 0; /* Ensure main content is not offset */
    }
}

/* Adjustments for very small screens */
@media (max-width: 600px) {
    #mainpage {
        padding: 0; /* Reset padding for smaller screens */
        margin-top: 60px;
        width: 100%; /* Full width for small screens */
    }
    .sidebar,
    .sidebar.expanded {
        width: 100%; /* Sidebar takes full screen width when expanded */
    }
}








.menu-container {
    background-color: #f9f9f9; /* Light grey background */
    color: #333; /* Dark grey text for readability */
    width: 250px; /* Width of the sidebar */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 20px;
    margin-top: 60px;
    box-sizing: border-box;
    z-index: 1000;
    border-right: 1px solid #e0e0e0; /* Subtle right border */
}

.menu-container h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px; /* Slightly larger font size for headers */
    padding-bottom: 5px;
    border-bottom: 1px dashed #d0d0d0; /* Dashed bottom border for section headers */
    margin-top: 20px; /* Space above the section headers */
}

.menu-item {
    color: #555; /* Medium grey color for text */
    padding: 10px 15px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.menu-item:hover {
    background-color: #e7e7e7; /* Light grey background on hover */
    color: #222; /* Slightly darker text color on hover */
    cursor: pointer;
}

.menu-item i {
    font-size: 18px; /* Icon size */
    width: 30px; /* Ensure alignment and spacing for icons */
    text-align: center;
}


.menu-container a.menu-item {
    text-decoration: none; /* This will remove the underline */
}

hr {
    border: none;
    height: 1px;
    background-color: #d0d0d0;
    opacity: 0.5;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .menu-container {
        width: 100%; /* Full width on smaller screens */
        padding: 15px; /* Adjust padding on mobile */
    }

    .menu-container h3 {
        font-size: 18px; /* Slightly smaller font size on mobile */
    }

    .menu-item {
        padding: 12px 10px; /* Adjust padding for menu items on mobile */
        font-size: 16px; /* Slightly smaller text on mobile */
    }

    .menu-item i {
        font-size: 16px; /* Slightly smaller icons on mobile */
    }
}










.icon {
        flex-shrink: 0;

        height: 30px;

        padding-left: 10px;
        display: flex;

        justify-content: center;

        align-items: center;

}
.icon img {
        border-radius: 36px;
        max-width: 100%;
        max-height: 100%;
}
.icon img:hover {
        border: 5px solid white;

}

.text {
        display: none;

        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;

}


.darklink {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline;
    outline: none;
    text-decoration: underline; /* Initial underline */
}

.darklink:hover {
    text-decoration: underline;
    color: #666; /* Slightly lighter color on hover */
}

.no-style.dark-grey {
    color: #333; /* Dark grey color */
}



.video-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    height: auto;
    margin: auto;
}

.video-container::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* Aspect ratio for 16:9 videos */
}

.video-container iframe {
    position: absolute;
    top: 0; /* Adjusted from '20' to '0' */
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 767px) {
    .video-container {
        width: 95%;
        max-width: none;
        margin-top: 30px;
        padding-top: 20px; /* Added top padding for mobile */
    }
}

.video-info-container {
        width: 100%;
        max-width: 1280px;
        margin: 20px auto;
        padding-left: 20px;
        color: #444444;
        background-color: #f5f5f5;
        box-sizing: border-box;
        display: grid;
        grid-gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
        .video-info-container {
                max-width: 90%;

                padding: 10px;

                font-size: 18px;
        }
}

.playlist-container {
        display: flex;

        align-items: center;

        position: relative;

        padding-left: 60px;
        padding-right: 50px;
}
.playlist {
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        align-items: center;

        scrollbar-width: none;

        -ms-overflow-style: none;

}
.playlist::-webkit-scrollbar {
        display: none;

}

.playlist-item {
        display: flex;
        align-items: center;
        padding: 5px 15px;
        margin: 5px;
        cursor: pointer;
        border-radius: 16px;
        text-decoration: none;
        font-size: 14px;
        color: #333;
        background-color: #ffffff;
        border: 1px solid #ddd;
        user-select: none;
        white-space: nowrap;
}
@media (max-width: 767px) {
        .playlist-item {
                margin-top: 20px;
                margin-bottom: 10px;
                font-size: 16px;
                padding: 5px 10px;
        }
}

.playlist-item i {
        margin-right: 8px;

}
.playlist-arrow {
        border-radius: 20px;
        cursor: pointer;
        background-color: #f5f5f5;
        border: none;
        padding: 10px;
        user-select: none;
        font-size: 24px;

        color: #333;

        position: absolute;
        top: 50%;

        transform: translateY(-50%);

}
.left-arrow {
        left: 0;

}
.right-arrow {
        right: 0;

}
@media (max-width: 767px) {
        .left-arrow, .right-arrow {
                padding-top: 15px;
                border-radius: 20px;
        }
}

.playlist-arrow:hover, .playlist-item:hover {
        background-color: #e2e2e2;

}

.playlist-arrow {
        z-index: 1;
}

@media (max-width: 767px) {
        .playlist-item {
                font-size: 16px;

                padding: 5px 10px;

        }
}


footer {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    padding-top: 50px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 30px;
    margin-top: 40px;
    font-size: 14px;
    border-top: 1px dashed #cccccc;
    border-bottom: 1px dashed #cccccc;
    border-left: 1px dashed #cccccc;
    border-right: 1px dashed #cccccc;
    background-color: #f9f9f9; /* Base color, might be visible depending on the gradient coverage */
    color: #444;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    /* CSS gradient background fading to transparent at the bottom */
    background-image: linear-gradient(to bottom, #f3f3f3, rgba(243, 243, 243, 0));
}




@media (max-width: 767px) {
    footer {
        padding-bottom: 70px; /* Increased padding-bottom on mobile */
    }
}

footer a.footmenu {
    text-decoration: none;
    color: #666666;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

footer a.footmenu:hover {
    text-decoration: underline;
}

footer h3, footer p {
    margin: 0;
    padding: 5px 0;
    line-height: 1.5;
}

footer h3 {
    font-size: 16px;
    font-weight: bold;
}

footer p {
    font-size: 14px;
}


.footmenu a {
        margin: 0 15px;

        text-decoration: none;
        color: #333;

        font-size: 20px;
        padding: 5px 10px;
        transition: color 0.3s ease;

        position: relative;
        border-bottom: 2px solid transparent;


}
.footmenu a:hover {
        color: #555;

        border-bottom-color: #555;

}


.welcomepage-container {
        display: grid;
        grid-template-columns: auto 720px auto;
        gap: 25px;
        justify-content: center;
        align-items: start;
        padding-top: 20px;
}
@media screen and (max-width: 768px) {
        .welcomepage-container {
                display: none;
        }
}
.welcomepage-card {
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
        border-radius: 10px;
        overflow: hidden;

}
.welcomepage-card.side {
        display: flex;
        flex-direction: column;
}
.welcomepage-card.side .image-container {
        position: relative;
        display: flex;
        flex-direction: column;
}
.welcomepage-card.side .image-container img {
        flex: 1;
        object-fit: cover;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.welcomepage-card.side .image-container img:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 12px 0 rgba(0,0,0,0.3);
}
.welcomepage-card.side .image-container .welcomepage-card-info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
        padding: 16px;
}
.welcomepage-card.center {
        width: 720px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: hidden;
}
.welcomepage-card-info {
        background-color: white;
        color: #333;
        width: 100%;
        display: flex;

        flex-direction: column;

        justify-content: center;

        align-items: center;

        padding-bottom: 20px;
}
.welcomepage-card-info h2 {
        font-size: 18px;
        margin: 0;
}
a.welcomepage-card {
        text-decoration: none;
}

button {
        padding: 0;
        border: none;
        background: none;
        cursor: pointer;
}

.signupbutton {
    background: linear-gradient(to right, #3498db, #3cb0f3); /* Gradient background */
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 3px solid #a3d1f7; /* Thicker border with a light, complementary blue */
    text-decoration: none; /* Removes underline from text */
}

.signupbutton:hover, .signupbutton:focus {
    transform: scale(1.05);
    background: linear-gradient(to left, #3498db, #3cb0f3); /* Slightly change gradient direction on hover */
    border-color: #88c3f7; /* Slightly darker border color on hover/focus for contrast */
}

.signupbutton:active {
    transform: scale(0.95);
    background: linear-gradient(to bottom, #3498db, #2980b9); /* Different gradient on active for effect */
    border-color: #88c3f7; /* Consistent border color on active */
}

.signupbutton small {
    font-size: 10px;
    font-weight: normal;
    margin-top: 0px;
}


.mobile-footer {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: #FFFFFF;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 10;

}
.mobile-footer .footer-link {
        flex-grow: 1;
        text-align: center;
        text-decoration: none;
        color: #222222;
        font-size: 24px;

        padding: 10px;
        transition: color 0.3s ease;
}
.mobile-footer .footer-link i {
        display: block;

}
.mobile-footer .footer-link:hover {
        color: #555555;
}

@media (min-width: 769px) {
        .mobile-footer {
                display: none;
        }
}

#login-form, #recovery-form {
        max-width: 320px;

        margin: 2em auto;
        padding: 20px;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#login-form h2, #recovery-form h2 {
        text-align: center;
        color: #333;
        margin-bottom: 1.5em;
}
#login-form input[type="text"],#login-form input[type="password"],#recovery-form input[type="email"] {
        width: 100%;
        padding: 10px 15px;
        margin-bottom: 1em;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1em;
        box-sizing: border-box;
}
#login-form input[type="submit"],#recovery-form input[type="submit"] {
        width: 100%;
        padding: 10px;
        background-color: #3498db;
        color: #fff;
        border: none;
        border-radius: 5px;
        font-size: 1em;
        cursor: pointer;
        transition: background-color 0.2s;
        box-sizing: border-box;
}
#login-form input[type="submit"]:hover,#recovery-form input[type="submit"]:hover {
        background-color: #2980b9;
}
#error-message, #recovery-message {
        margin-bottom: 1em;
        text-align: center;
}

@media (max-width: 480px) {
        #login-form, #recovery-form {
                max-width: 80%;

                padding: 15px;
        }
        #login-form input[type="text"],#login-form input[type="password"],#recovery-form input[type="email"],#login-form input[type="submit"],#recovery-form input[type="submit"] {
                font-size: 1.2em;

        }
}
.modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
        z-index: 1000;
}
.modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 450px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 10px;
}
.close-button {
        color: #aaaaaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
}
.close-button:hover, .close-button:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
}

#activate-form, #recovery-form {
        max-width: 320px;

        margin: 2em auto;
        padding: 20px;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#activate-form h2, #recovery-form h2 {
        text-align: center;
        color: #333;
        margin-bottom: 1.5em;
}
#activate-form input[type="text"],#activate-form input[type="password"],#recovery-form input[type="email"] {
        width: 100%;
        padding: 10px 15px;
        margin-bottom: 1em;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1em;
        box-sizing: border-box;
}
#activate-form input[type="submit"],#recovery-form input[type="submit"] {
        width: 100%;
        padding: 10px;
        background-color: #3498db;
        color: #fff;
        border: none;
        border-radius: 5px;
        font-size: 1em;
        cursor: pointer;
        transition: background-color 0.2s;
        box-sizing: border-box;
}
#activate-form input[type="submit"]:hover,#recovery-form input[type="submit"]:hover {
        background-color: #2980b9;
}
#error-message, #recovery-message {
        margin-bottom: 1em;
        text-align: center;
}

@media (max-width: 480px) {
        #activate-form, #recovery-form {
                max-width: 100%;

                padding: 15px;
        }
        #activate-form input[type="text"],#activate-form input[type="password"],#recovery-form input[type="email"],#activate-form input[type="submit"],#recovery-form input[type="submit"] {
                font-size: 1.2em;

        }
}
.generic-container {
    max-width: 90%;
    height: auto;
    margin: 0 auto;
    padding: 30px;
    font-size: 16px;
    border: 1px dashed #cccccc;
    background-color: #f9f9f9;
    color: #444;
    border-radius: 36px;

}
@media (max-width: 767px) {
        .generic-container {
                max-width: 90%;

                padding: 10px;

                font-size: 18px;
        }
}

.vidimage {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    margin-top: 10px;
    overflow: hidden;
}

.vidimage::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* Aspect ratio for 16:9 images */
}

.vidimage img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.vidimage .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Consolidated duplicate rules for .play-overlay img */
.vidimage .play-overlay img {
    display: block;
    width: 100px; /* Adjusted width */
    height: 100px; /* Adjusted height */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vidimage .black-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

@media (max-width: 767px) {
    .vidimage {
        width: 95%;
        max-width: none;
        margin-top: 30px; /* Added margin-top for consistency */
        padding-top: 30px; /* Added top padding for mobile */
    }
}

button {
        background-color: #4CAF50;
        border: none;
        color: white;
        padding: 6px 12px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 14px;
        margin: 0 2px;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s;
}
button:hover {
        background-color: #367C39;
}
#playlistModal {
        display: none;
        position: fixed;
        z-index: 465;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
        padding-top: 60px;
}
.modal-content {
        background-color: #fefefe;
        margin: 5% auto;
        padding: 15px;
        border: 1px solid #888;
        width: 25%;
        border-radius: 5px;
        min-width: 250px;
}
.close {
        color: #aaa;
        float: right;
        font-size: 50px;
        font-weight: bold;
}
.close:hover,.close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
}
#playlistList {
        list-style-type: none;
        padding: 0;
        margin: 0;
}
#playlistList li {
        padding: 6px;
        margin-top: 5px;
        background-color: #f2f2f2;
        border: 1px solid #ddd;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
}
#playlistList li:hover {
        background-color: #e2e2e2;
}
.buttonsmall {
        padding: 3px 8px;
        font-size: 12px;
        line-height: 1.5;
        cursor: pointer;
}
#newPlaylistName {
        width: 100%;
        padding: 8px;
        margin-top: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
}
.message-added {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #000;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        font-size: 18px;
        text-align: center;
}
.buttonsmall {
        padding: 10px 15px;
        background-color: #3498db;
        color: white;
        font-size: 0.8em;
        font-weight: bold;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        white-space: nowrap;

}
.buttonsmall:hover {
        background-color: #3498db;
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.buttonsmall:active {
        transform: scale(0.95);
        background-color: #3498db;
}
.playlistmanage-container {
        display: flex;
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
}
.playlistmanage-item {
        display: flex;
        align-items: center;
        padding: 10px;
        margin-bottom: 10px;
        background-color: #f3f3f3;
        border-radius: 4px;
        transition: background-color 0.3s ease;

}

.playlistmanage-item img {
        width: 120px;
        height: 67.5px;
        object-fit: cover;
        margin-right: 15px;
        border-radius: 4px;
        transition: transform 0.3s ease;
}
.playlistmanage-item img:hover {
        transform: scale(1.05);
}
.playlistmanage-details {
        flex-grow: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
}
.playlistmanage-details h3 {
        margin: 0;
        font-size: 1em;
}
.playlistmanage-remove-button {
        padding: 5px 10px;
        background-color: #ff4d4d;
        color: white;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        transition: background-color 0.3s ease;
}
.playlistmanage-remove-button:hover {
        background-color: #e63939;
}



@media (max-width: 768px) {
        .playlistmanage-container {
                max-width: 90%;
        }
        .playlistmanage-item {
                align-items: center;
        }
        .playlistmanage-item img {
                width: 80px;
                height: 45px;
                margin-right: 10px;
        }
        .playlistmanage-details {
                flex-grow: 1;
                justify-content: space-between;
                align-items: center;
                width: calc(100% - 90px);
        }
        .playlistmanage-remove-button {
                padding: 5px 10px;
        }
}














.userdash-container {
    max-width: 80%;
    margin: 30px auto;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.userdash-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.userdash-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.userdash-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.userdash-col {
    flex: 1;
    min-width: 200px;
    padding: 10px;
}

.userdash-plan-name {
    font-weight: bold;
}

.userdash-plan-details {
    margin-top: 5px;
}

.userdash-btn-success,
.userdash-btn-danger {
    padding: 10px 15px;
    margin-right: 10px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.userdash-btn-success {
    background-color: #28a745;
}

.userdash-btn-danger {
    background-color: #dc3545;
}

.userdash-flex-row {
    display: flex;
    justify-content: space-between;
}

.userdash-payment-detail {
    margin-right: 15px;
    font-weight: bold;
}

.userdash-not-found {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .userdash-row {
        flex-direction: column;
    }

    .userdash-col {
        min-width: auto;
        width: 100%;
    }

    .userdash-flex-row {
        flex-direction: column;
    }
}




.sidebarlinks {
    display: block; /* Make the link fill the container for larger touch area */
    font-size: 16px; /* Desktop font size */
    color: #333; /* Text color */
    text-decoration: none; /* Remove underline */
    padding: 10px; /* Padding for touch targets */
    border-bottom: 1px solid #eaeaea; /* Subtle border for separation */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.sidebarlinks:hover,
.sidebarlinks:focus {
    background-color: #f5f5f5; /* Highlight link on hover/focus */
}

/* Mobile specific styles */
@media screen and (max-width: 768px) {
    .sidebarlinks {
        font-size: 14px; /* Smaller font size for mobile */
    }
}







.headsearcher {

  padding: 0;
  margin: 0;
}

.headsearcher-input {
  padding: 11px;
  margin-left: 20px;
  border: 1px solid #ddd;
  outline: none;
}

.headsearcher-button {
  padding: 13px; /* Increased from 8px to roughly 30% larger */
  margin: 0;
  border: none;
  background: #333;
  cursor: pointer;
  color: white;
}

.headsearcher-icon {
}





.funbutton {
    background-color: #ff6f61; /* Fun orange color */
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent; /* Transparent border to start */
    overflow: hidden; /* Ensures that rounded corners remain when scaled */
    position: relative; /* Needed for the hover effect */
}

.funbutton::before {
    content: ''; /* Create a pseudo-element for the animation */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    transition: transform 0.4s ease;
    border-radius: 50%;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0); /* Initial scale set to 0 */
}

.funbutton:hover::before {
    transform: translate(-50%, -50%) scale(1); /* Expand to cover the button on hover */
}

.funbutton:hover {
    transform: scale(1.05);
    background-color: #ff955b; /* Lighter orange color on hover */
    border-color: #ff955b; /* Matching border color on hover */
}

.funbutton:active {
    transform: scale(0.95);
}

.funbutton small {
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    display: block;
}





.icon-container {
  position: absolute;
  right: 0;
  top: 20px; /* Added 'px' to the value */
}

.icon-link {
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Icon color will be the same as the text color */
  display: inline-block; /* Or block, depending on your layout */
  font-size: 34px; /* Increase font size to make icons larger */
}

/* Hide icons on screens smaller than 768px */
@media (max-width: 768px) {
  .icon-container {
    display: none;
  }
}






.redbutton {
    padding: 15px 30px;
    background-color: #E50914;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap; /* Prevents text from wrapping */
}

.redbutton:hover {
    background-color: #f40612;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.redbutton:active {
    transform: scale(0.95);
    background-color: #c4080d;
}
