body {
    margin: 0;
    background-color: var(--color7);
}

#content {
    min-height: calc(80vh - 40px);
}

:root {
    --color1: #002911;
    --color2: #f9f9f9;
    --color3: white;
    --color4: #ffcd00;
    --color5: #afafaf;
    --color6: #e5e5e5;
    --color7: #f3f3f3;
    --color8: #dbffca;
    --font-family: 'Teko', Helvetica, Arial, Lucida, sans-serif;
}

h1, h4, h2, h3, h6 {
    margin: 0;
    color: var(--color1);
}

p {
    color: var(--color1);
    font-family: var(--font-family);
}

h3 {
    font-size: 32px;
    text-transform: uppercase;
    font-family: var(--font-family);
}

h2 {
    font-size: 32px;
    text-transform: uppercase;
    font-family: var(--font-family);
}

label {
    font-size: 17px;
    font-family: var(--font-family);
    color: var(--color1);
    letter-spacing: 1px;
}

select {
    font-family: var(--font-family);
    letter-spacing: 1px;
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

p {
    margin-top: 8px;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.section1 a {
    text-decoration: none;
    color: white;
}

.content {
    background-color: var(--color1);
}

.content2 {
    max-width: 1200px;
    margin: auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    padding: 20px 30px;
    margin: auto;
}

.section3 {
    display: flex;
    gap: 15px;
}

.header h1 {
    color: var(--color2);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 39px;
    line-height: 33px;
    height: 25px;
    font-family: var(--font-family);
}

.B1 {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color1);
    background-color: var(--color2);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 24px;
    height: 40px;
}

.B1:hover {
    color: var(--color2);
    background-color: var(--color4);
}

.B2 {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color3);
    background-color: var(--color4);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 24px;
    height: 40px;
}

.B2:hover {
    color: var(--color1);
    background-color: var(--color2);
}

#B1 {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color1);
    background-color: var(--color2);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 24px;
    height: 40px;
}

#B1:hover {
    color: var(--color2);
    background-color: var(--color4);
}

#B2 {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color3);
    background-color: var(--color4);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 24px;
    height: 40px;
}

#B2:hover {
    color: var(--color1);
    background-color: var(--color2);
}

.footer-section1 {
    padding: 60px 30px;
    text-align: center;
}

.footer-section1 h4 {
    font-size: 22px;
    color: var(--color2);
    font-family: var(--font-family);
}

.email {
    color: var(--color3);
    font-size: 17px;
    font-family: var(--font-family);
}

.footer-stuff {
    color: var(--color5);
    font-size: 14px;
    font-family: var(--font-family);
}

.footer-stuff a {
    text-decoration: none;
    color: var(--color5);
}

.footerlogo {
    width: 15%;
    padding-bottom: 16px;
}

hr {
    background-color: var(--color4);
    height: 14px;
    border: none;
    margin: 0;
}

.hero {
    height: 600px;
}

.hero-image {
    object-fit: cover;
    width: 100%;
    height: 600px;
    z-index: 1;
    position: absolute;
    object-position: 50% 35%;
}

.image-overlay {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    height: 600px;
    background-color: rgba(25, 36, 59, 0.35);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    align-items: center;
    justify-content: left;
    height: 100%;
    text-align: left;
    color: white;
    max-width: 1200px;
    margin: auto;
    align-content: center;
    padding: 0 30px;
}

.cta-button {
    margin-top: 16px;
    display: flex;
    gap: 15px;
}

.hero-content h2 {
    font-size: 43px;
    font-family: var(--font-family);
    line-height: 43px;
    text-transform: uppercase;
    color: var(--color2);
}

.hero-content p {
    font-size: 20px;
    line-height: 20px;
    height: 37px;
    font-family: var(--font-family);
    color: var(--color2);
}

.main-section1 {
    display: grid;
    gap: 60px;
    padding: 30px;
    margin: 104px 0;
    grid-template-columns: 1fr 1fr;
}

.main-section1-img {
    height: 100%;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    object-fit: cover;
}

.main-section1-content {
    display: block;
    align-content: center;
    color: var(--color1);
    font-family: var(--font-family);
}

.main-section1-content h3 {
    font-size: 32px;
    text-transform: uppercase;
}

.main-section1-content p {
    font-size: 18px;
}

.main-section2-background {
    background-color: var(--color6);
}

.main-section2 {
    padding: 104px 30px;
    margin: 104px 0;
    text-align: center;
    font-family: var(--font-family);
    color: var(--color1);
}

.main-section2 h3 {
    font-size: 32px;
    text-transform: uppercase;
}

.main-section2 p {
    font-size: 18px;
}

.main-section2 h6 {
    font-size: 16px;
}

.main-section3 {
    display: grid;
    padding: 30px;
    margin: 104px 0;
    gap: 60px;
    grid-template-columns: 1fr 1fr;
}

.main-section3, .cta-button {
    margin-top: 24px;
}

.color-change {
    color: var(--color4);
    background-color: var(--color1) !important;
    padding: 0 !important;
}

.main-section4 {
    padding: 104px 30px;
    margin-top: 104px;
    margin-bottom: 48px;
    text-align: center;
    font-family: var(--font-family);
    color: var(--color1);
}

.main-section4 h3 {
    font-size: 32px;
    text-transform: uppercase;
}

.main-section4 p {
    font-size: 18px;
}

.booking {
    max-width: 1200px;
    margin: auto;
    margin-bottom: 104px;
}

.pay-now-form {
    display: grid;
    justify-content: center;
    font-family: var(--font-family);
    font-size: 22px;
    padding: 30px;
    margin-bottom: 104px;
}

#duration {
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 18px;
    height: 27px;
    margin-bottom: 16px;
}

.main-section5 {
    padding: 104px 30px 0 30px;
    margin-top: 104px;
    margin-bottom: 48px;
    text-align: center;
    font-family: var(--font-family);
    color: var(--color1);
}

.main-section5 h3 {
    font-size: 32px;
    text-transform: uppercase;
}

.main-section5 p {
    font-size: 18px;
}

#content {
    min-height: calc(75vh - 40px);
}

.section2 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    top: 1%;
    text-align: center;
}

.section1 {
    z-index: 5;
}

.section3 {
    z-index: 6;
}

.logo {
    max-width: 15%;
}

/*#################Login#####################*/

#content {
    padding: 15px;
}

.container {
  margin: auto;
  max-width: 1200px;
  margin-bottom: 104px;
  margin-top: 96px;
}

#loginPage, #addUserForm {
  text-align: center;
    margin: auto;
    justify-content: center;
    display: grid;
    padding: 15px;
    margin-bottom: 100px;
    margin-top: 40px;
    max-width: 400px;
}

label {
  padding-top: 16px;
}

p {
  padding-top: 8px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 6px;
  resize: vertical;
  font-family: var(--font-family);
  font-size: 16px;
}

.header2 {
  background-color: #f5f5f5;
  padding: 15px;
}

.header2-menu {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 15px;
}

a {
  text-decoration: none;
  font-weight: 500;
  color: #444444;
}

a.active {
  color: #002a0e;
  font-weight: 600;
}

.B2login {
    margin: 32px 0 16px 0;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color3);
    background-color: var(--color4);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: 24px;
    height: 40px;
}

/* Dashboard Stuff */

.header2dash-menu {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 42px;
    background-color: var(--color1);
    padding: 16px;
}

.menu-item {
    font-family: var(--font-family);
    font-size: 22px;
}

.menu-item a {
    color: var(--color2);
}

.menu-item a:hover {
    border-bottom: 4px solid var(--color4);
    border-radius: 0;
}

.menu-item a.active {
    border-bottom: 4px solid var(--color4);
    border-radius: 0;
}

/*#################Add Player Stuff#####################*/

.bg-red-100 {
    color: var(--color1);
    font-family: var(--font-family);
    letter-spacing: 1px;
}

.bg-gray-50 {
    margin-top: 42px;
}

.manplayers {
    margin-top: 42px;
}

.mt-8 {
    margin-top: 24px;
}

.mt-9 {
    margin-top: 24px;
    margin-bottom: 24px;
}

.manplayersbuttonarea {
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    margin-top: 16px;
}

/* Table wrapper (optional but recommended) */
.table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Table base */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
    color: var(--color1);
    background-color: var(--color3);
}

/* Table head */
thead th {
    background-color: var(--color1); /* gray-50 */
    color: var(--color2); /* gray-700 */
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-family: var(--font-family);
    font-size: 17px;
}

/* Table rows */
tbody tr {
    transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Row hover */
tbody tr:hover {
    background-color: #f3f4f6; /* gray-100 */
}

/* Table cells */
tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-family: var(--font-family);
    font-size: 16px;
    letter-spacing: 1px;
}

/* Center checkbox column */
tbody td:first-child {
    text-align: center;
    width: 60px;
}

/* Checkbox styling */
.select-player {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color4); /* blue-600 */
}

/* Email column */
tbody td:nth-child(3) {
    color: #4b5563; /* gray-600 */
}

/* Last row border fix */
tbody tr:last-child td {
    border-bottom: none;
}

.checkbox {
    height: 18px;
    width: 18px;
}

.selectorbutton {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color4);
}

.selectorbutton2 {
    text-align: center;
    width: 60px;
}

.bg-green-100 {
    padding: 8px;
    background-color: var(--color8);
    font-family: var(--font-family);
    letter-spacing: 1px;
}

/* Hide hamburger by default (tablet & desktop) */
#menuToggle {
    display: none;
}

/*#################Add Video Stuff#####################*/

.mb-6 {
    margin: 24px 0 24px 0;
}

/*#################Video Libary Stuff#####################*/

.videogridcolumns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: auto;
    justify-content: left;
    margin-top: 24px;
}

.video_options {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.video_options_addedp p {
    margin: 0;
    padding: 0;
}

#deleteModal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.deletepopup {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background-color: var(--color6);
    padding: 24px;
    margin: 16px;
}

.deletebuttons {
    display: flex;
    gap: 15px;
}

/*#################Add Change Password Stuff#####################*/

.text-center {
    font-weight: bold;
}

/*#################Countdwon Stuff#####################*/

.countdownstuffbox {
    background-color: var(--color6);
    padding: 15px;
    text-align: center;
}

.countdownbox {
    display: flex;
    gap: 15px;
    margin-top: 16px;
    justify-content: center;
}

.countdown-unit {
    font-family: var(--font-family);
    text-align: center;
}

.countdowntime {
    text-align: center;
    background-color: var(--color4);
    padding: 5px;
    color: var(--color1);
    font-weight: bold;
    border-radius: 5px;
    font-size: 22px;
}

/*#################Bus time Stuff#####################*/

.nopadding {
    margin: 0;
    padding: 0;
}

/*#################Dashboard Stuff#####################*/

.dashbox {
    display: grid;
    gap: 60px;
    grid-template-columns: 1.5fr .5fr;
    justify-content: space-between;
}

/*#################Rapsoto data Stuff#####################*/

.flexgap {
    margin-bottom: 8px;
}

.mb-12 {
    width: 750px
}

/*#################Player Profile Stuff#####################*/

.profile-content img {
    max-width: 180px;
    border: 10px solid var(--color4);
}

/* The container that holds the background image */
.profile-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;         
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay – the only thing that makes most background images usable with text */
.profile-overlay {
    margin-right: auto;
    margin-left: auto;
    max-width: 1284px;
    max-height: 800px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 61.91%, #000000bd 81.78%);
    position: revert-layer;
    background-color: transparent;
    padding-top: 33.3%;
    min-height: 150px;
}

/* Content must sit above the overlay */
.profile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    /* display: flex; */
    align-items: center;
    padding: 0 2rem
;
}

.profile-name {
    font-size: 43px;
    color: var(--color3);
}

.header2dash-menu2 {
    display: flex;
    gap: 32px;
    justify-content: center;
    background-color: var(--color1);
    padding: 16px;
}

.texth3 {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    height: 65px;
    line-height: 65px;
}

.divider {
    border-top: 1px solid #ccc;
    height: 33px;
    margin-top: -55px;
    width: 100%;
}

span {
    background-color: var(--color7);
    padding: 0 20px;
}

.sessiondropdown {
    padding-bottom: 8px;
}

.mb-10 {
    overflow-x: auto;
    padding-top: 12px;
}

.text-end {
    font-weight: bold;
    font-family: var(--font-family);
}

.profile-content-mobile {
    display: none;
}

/* Show hamburger ONLY on mobile */
@media (max-width: 767px) {
    #menuToggle {
        display: block;
        border: none;
        background-color: var(--color1);
        color: var(--color4);
        font-size: 30px;
        border-radius: 5px;
    }
}

@media (max-width: 767px) {
    .header2dash-menu {
        display: none; /* hidden initially */
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding: 12px;
        border-radius: 5px;
    }

    .header2dash-menu2 {
        display: none; /* hidden initially */
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
        padding: 12px;
        border-radius: 5px;
    }

    .header2dash-menu.hidden {
        display: none !important;
    }

    .header2dash-menu.md\:flex {
        display: flex;
    }

    .flex {
        display: flex;
        justify-content: center;
        padding-bottom: 24px;
    }
}


@media (max-width: 767px) {
    .header2dash-menu {
        animation: slideDown 0.2s ease-out;
    }

    .container {
        margin-top: 9px;
    }

    .logo {
        display: none;
    }
}

@media (max-width: 425px) {
    .profile-content-mobile {
        display: block;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* End of Hamburger Stuff */

@media (min-width: 750px) {
  .ava {
    display: none;
  }
}

@media (max-width: 640px) {
    .container {
        padding: 0.5rem;
    }

    table {
        font-size: 0.875rem;
    }

    table th,
    table td {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {

.hero-content p {
    height: 57px;
}

.section2 {
    display: none;
}

}

@media (max-width: 583px) {

.header h1 {
    height: 59px;
}

}

@media (max-width: 425px) {

.main-section1 {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    padding: 15px;
    flex-direction: column;
}

.main-section3 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
    padding: 15px;
}

.img3 {
    order: -1;
}

.main-section2 {
    margin: 40px 0;
    padding: 104px 15px;
}

.section3 {
    display: none;
}

.header {
    justify-content: center;
}

.footer-section1 {
    padding: 30px 15px;
}

.hero-content {
    padding: 0 15px;
}

.hero-content p {
    height: 98px;
}

.main-section1-img {
    max-width: 100%;
}

.main-section4 {
    margin: 40px 0;
    padding: 40px 15px;
}

.booking {
    margin-bottom: 40px;
}

.main-section5 {
    padding: 0 15px 0 15px;
    margin-top: 40px;
}

.pay-now-form {
    padding: 15px;
    margin-bottom: 40px;
}

#content {
    min-height: calc(50vh - 40px);
}

.image-overlay {
    height: 618px;
}

.videogridcolumns {
    justify-content: center;
}

.section1 {
    text-align: center;
}

.texth3 {
    line-height: 33px;
    padding-top: 32px;
    height: 32px;
}

.divider {
    display: none;
}

span {
    padding: 0;
}

.videosgrid {
    text-align: center;
}

.footerlogo {
    width: 50%;
}

.profile-header {
    display: none;
}

.profile-content-mobile {
    text-align: center;
}

.profile-content-mobile img {
    width: 60%;
    border: 10px solid var(--color4);
}

.profile-name-mobile {
    padding-top: 16px;
    font-size: 43px;
    line-height: 43px;
}

.videogrid {
    text-align: center;
}

/*#################Dashboard Stuff#####################*/

.dashbox {
    grid-template-columns: 1fr;
}

.dash1 {
    order: 2;
}

.dash2 {
    order: 1;
}

}

@media (max-width: 375px) {

.hero-content p {
    height: 114px;
}

}

@media (max-width: 320px) {

.hero-content p {
    height: 134px;
}

}