/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

body {
    overflow-y: scroll;
}

#site-logo {
    height: 10vh;        /* Adjusts the height to 10% of the viewport height */
    margin-left: 15vw;   /* Adjusts the left margin to 15% of the viewport width */
}
 
 /* Navigation Menu Styles */
 nav {
     background-color: #000000;
     padding-bottom: 1px; /* Reduce vertical padding */
     width: 100%;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     position: relative; /* Allow it to move with scroll */
     top: 0;
     left: 0;
     z-index: 1000;
 }
  
  nav ul {
     list-style: none; /* Remove default list styling */
     margin-top: -35px; /* No margin */
     padding-top: 10px; /* No padding */
     display: flex; /* Flexbox for horizontal layout */
     justify-content: center; /* Center items in nav */
  }
 
  nav ul.show {
     display: flex; 
 }
  
  nav ul li {
     margin: 0 15px; /* Margin between nav items */
  }
  
  nav ul li a {
     color: white; /* White text for nav links */
     text-decoration: none; /* Remove underline */
     font-weight: bold; /* Bold text */
     font-size: 18px; /* Font size */
     padding: 8px 16px; /* Padding for clickable area */
     border-radius: 4px; /* Rounded corners */
     transition: background-color 0.3s ease; /* Smooth background transition */
 }
  
  nav ul li a:hover {
     background: linear-gradient(135deg, #bfe3ff, #fbc2eb); /* Gradient on hover */
     color: #2d3436; /* Optional: Change text color on hover */
 }

/* Hamburger Menu for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 1px 0px;
    margin: 0;
    width: 100%;
}
 
 .footer-container {
    width: 100%; /* Make the container span the full width */
 }
 
 footer p {
    font-size: 20px;
    color: #ddd;
 }

.container {
    width: 90vw;
    display: flex;
    margin: auto;
}

h1 {
    text-align: center;
    font-size: 2.3rem;
    color: #008cff;
}

/* Input Form Container */
.inputcontainer {
    padding: 20px;
    border-radius: 8px;
    background-color: #f3f9ff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    width: 15vw;
    height: 98vh;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input, select, textarea, button {
    padding: 0.7vw;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 50px;
}

/* Fieldset and Checkboxes */
fieldset {
    border: 1px solid #ccc;
    padding: 10px 0;
    border-radius: 5px;
}

legend {
    font-weight: bold;
    text-align: center;
}

fieldset label {
    display: inline-block;
    margin-right: 8px;
}

/* Day Selection */
#dayOptions {
    display: flex;
    margin-top: 5px;
    margin-left: 0.5vw;
}

#dayOptions input {
    display: none;
}

#dayOptions label {
    width: 1.5vw;
    height: 4vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #3498db;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

#dayOptions label:hover {
    background-color: #2980b9;
}

#dayOptions input:checked + label {
    background-color: #2ecc71;
    transform: scale(1.1);
}

/* Class Color Picker */
.classcolor {
text-align: center;
}

#colorOptions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

/* Submit Button */
button {
    background-color: #23a0ff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border: none;
    padding: 0.8vw;
    transition: background-color 0.2s ease-in-out;
    margin-top: 1.3vh;
}

button:hover {
    background-color: #0047ba;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1vh;
}

/* Visual Schedule */
.visualschedule {
    text-align: center;
}

#scheduleChart {
    width: 75vw;
    height: 190vh;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
}

/* Schedule Table */
#scheduleTable {
    width: 85vw;
    border-collapse: collapse;
    margin-top: 20px;
    margin: 0 auto;
    margin-left: 8vw;
}

#scheduleTable th, #scheduleTable td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

#scheduleTable th {
    background-color: #007bff;
    color: white;
}

#scheduleTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hide the default radio input */
#colorOptions input[type="radio"] {
    display: none;
}

/* Style the labels to appear as color buttons */
#colorOptions label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease-in-out, border 0.2s ease-in-out;
}

/* When selected, make the button larger and add a border */
#colorOptions input[type="radio"]:checked + label {
    transform: scale(1.7); /* Increase size */
    border: 2px solid #65bcff; /* Add black border */
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: top;
}

article {
    width: 60vw;
    margin: 20px auto;
    padding: 20px 5vw;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

article h2 {
    color: #0068b2;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

article h3 {
    color: #000000;
    font-size: 20px;
    margin-top: 20px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    text-align: center;
}

article p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

article strong {
    color: #003994;
}

article ul, ol {
    margin: 10px 0;
    padding-left: 20px;
}

article ul li, ol li {
    margin-bottom: 8px;
}

article ul li strong {
    color: #003e80;
}

article em {
    font-style: italic;
    color: #2980b9;
}

article p:last-child {
    font-weight: bold;
    text-align: center;
    color: #000000;
    margin-top: 20px;
}

/* Media Query for Larger Screens */
@media (max-width: 768px) {
    #site-logo {
        height: 65px;
        margin-left: 2px;
        margin-top: 0px;
    }
    
    nav {
        padding-bottom: 10px;
        width: 290vw;
    }
    
    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 130px;
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 10px 0;
    }

    #nav-menu.show {
        display: flex;
    }

    #nav-menu li {
        text-align: left;
        margin: 10px 0;
        padding-left: 0.5vh;
    }
 
    .hamburger {
        display: flex;
        flex-direction: column; /* Stack lines vertically */
        justify-content: space-between; /* Space between lines */
        width: 30px;
        height: 25px;
        margin-left: 20px;
    }

    .hamburger span {
        background-color: #fff;
        height: 5px;
        width: 100%;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    footer {
        display: flex; /* Enables Flexbox for alignment */
        justify-content: center; /* Centers text horizontally */
        align-content: center;
        text-align: center; /* Ensures multi-line text is also centered */
        width: 290vw;
    }
    footer p {
        font-size: 17px;
    }

    .container {
        flex-direction: row;
        justify-content: space-between;
        width: 90vw;
        margin-left: 2vw;
    }

    #dayOptions label {
width: 7vw;
margin: 0 auto;
    }

    .inputcontainer {
        width: 95%;
        height: 95vh;
    }

    input {
        font-size: 1.2rem;
    }

    form {
        font-size: 1.1rem;
    }

    input, select, textarea, button {
        padding: 2vw;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1.1rem;
    }

    button {
        background-color: #23a0ff;
        color: white;
        font-size: 16px;
        cursor: pointer;
        border: none;
        padding: 3vw;
        transition: background-color 0.2s ease-in-out;
        margin-top: 2vh;
    } 

    label {
        margin: 0 auto;
    }
    
    #classStartTime {
        font-size: 1rem;
    }

    option {
        font-size: 1rem;
    }

    #classEndTime {
        font-size: 1rem;
    }

    .visualschedule {
        width: 100vw;
    }

    #scheduleChart {
        width: 200vw;
        height: 100vh;
    }

    #scheduleTable {
        width: 20vw;
        overflow-x: auto; /* Enable horizontal scrolling if needed */
        margin-left: 2vw;
    }

    article {
        padding: 1vh 6vw;
        width: 80vw;
        font-size: 1.2rem;
    }

    article h2 {
    font-size: 1.6rem;
    line-height: 1.5;
    }

    article p {
        font-size: 1.2rem;
    }
}
