/* Add basic styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 20px;
    transition: background-color 0.3s, color 0.3s;
}

/* Light theme (default) */
body.light-theme {
    --background-color: #ffffff;
    --text-color: #000000;
    --container-bg: #f1f1f1;
    --button-bg: #e0e0e0;
    --video-item-bg: #f1f1f1;
}

/* Dark theme */
body.dark-theme {
    --background-color: #181818;
    --text-color: #ffffff;
    --container-bg: #333333;
    --button-bg: #444444;
    --video-item-bg: #555555;
}
/* The two new themes do not look great mostly the blue one im having them ready for milestone 5/*
/* Blueberry Theme */
body.blueberry-theme {
    --background-color: #87CEEB;
    --text-color: #003366; 
    --container-bg: #B0E2FF; 
    --button-bg: #66CDAA; 
    --video-item-bg: #E0FFFF;
}

/* Earth Theme */
body.earth-theme {
    --background-color: #CFF27E;
    --text-color: #523A34;
    --container-bg: #A3C9A8;
    --button-bg: #84A98C;
    --video-item-bg: #69A297;
}
/*warm theme*/
body.warm-theme {
    --background-color: #FF4500;
    --text-color: #2F1B0C;
    --container-bg: #FF7F50; 
    --button-bg: #FFD700;
    --video-item-bg: #FA8072; 
}
body {
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Container styles */
.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    padding: 20px;
    background-color: var(--container-bg);
    border-radius: 8px;
}

#player {
    width: 100%;
    max-width: 560px;
    height: 315px;
    margin: 20px auto;
}

select, button {
    padding: 10px;
    font-size: 16px;
    margin: 5px;
    background-color: var(--button-bg);
    color: var(--text-color);
    border: none;
    cursor: pointer;
}

.main-video {
    grid-column: 1 / -1;
}

.video-selection {
    grid-column: 1 / -1;
    text-align: left;
}

.video-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.video-item {
    cursor: pointer;
    width: 100px;
    height: 100px;
    background-color: var(--video-item-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

/* Hover effect for video items */
.video-item:hover {
    background-color: var(--button-bg);
    transition: background-color 0.3s ease;
}

.video-item-title {
    font-size: 12px;
    color: var(--text-color);
    text-align: center;
    width: 100%;
}

/* Theme toggle button */
#themeToggle {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: var(--button-bg);
    border-radius: 50%;
    cursor: pointer;
}
nav {
    text-align: center;
    background-color: #3C3744; /* Adjust to match your theme */
    padding: 15px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    display: inline;
    margin: 0 15px;
}

.nav-menu li a {
    text-decoration: none;
    color: white; /* Adjust based on your design */
    font-size: 1.2em;
}

.nav-menu li a:hover {
    color: #B4C5E4; /* Adjust for hover effect */
}
/* Profile Form Styling */
.profile-container {
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    text-align: center;
}

.profile-container input[type="text"],
.profile-container input[type="email"],
.profile-container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.profile-container input[type="radio"] {
    margin-right: 5px;
}

.profile-container button {
    background-color: #3C3744;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.profile-container button:hover {
    background-color: #3066BE;
}

.error {
    color: red;
    margin-top: 10px;
}
