* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    height: 275vh;
    background: radial-gradient(#1c1c1c, #000);

}

body::-webkit-scrollbar {
    display: none;

}

#theme-toggle {
    display: none;
}

.switch {
    position: fixed;
    top: 10px;
    right: 20px;
    width: 45px;
    height: 22px;
    background: #383636;
    border-radius: 10px;
    cursor: pointer;
}

.switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 19px;
    height: 18px;
    background: rgb(17, 17, 17);
    border-radius: 50%;
    transition: transform 0.3s;
}

body:has(#theme-toggle:checked) {
    background: #fdfefd;
}

body:has(#theme-toggle:checked) * {
    color: #000 !important;
}

body:has(#theme-toggle:checked) input::placeholder {
    color: #faf7f7 !important;
}

body:has(#theme-toggle:checked) #account {
    color: #fff !important;
}

body:has(#theme-toggle:checked) button {
    color: #fff !important;
}
body:has(#theme-toggle:checked) #navbar {
    background-color: #333131 !important;
}
body:has(#theme-toggle:checked) a {
    color: #cbc0c0 !important;
}

body:has(#theme-toggle:checked) h4 {
    color: #fff !important;
}
body:has(#theme-toggle:checked) span {
    color: #c6b6b6 !important;
}


body:has(#theme-toggle:checked) h2 {
    color: #fff !important;
}

body:has(#theme-toggle:checked) p {
    color: #fff !important;
}

body:has(#theme-toggle:checked) .sub-account {
    color: #fff !important;
}

body:has(#theme-toggle:checked) #line {
    color: #fff !important;
}

body:has(#theme-toggle:checked) #iframe {
    background-color: #fff !important;
}




body:has(#theme-toggle:checked) #logout {
    color: #fff !important;
}

#theme-toggle:checked+.switch::after {
    transform: translateX(24px);
    background-color: #ffffff;
}

.maincontainer {
    display: flex;
    min-height: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 0px;
}



#navbar {
    position: relative;
    position: fixed;
    top: 0rem;
    align-items: center;
    display: flex;
    max-height: 3rem;
    min-width: 100%;
    z-index: 2;
    background-color: transparent;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(0, 0, 0, 0.3);
    animation: scroll-transition;
    animation-timeline: scroll(y);
}

@keyframes scroll-transition {
    0% {
        background-color: transparent;
    }

    25% {
        background-color: #181818;
    }

    100% {
        background-color: #181818;
    }
}

.navbar a {
    position: relative;
    top: 0.5rem;
}
.logo{
    position: relative;
    top:0.5rem;
}
.search{
    max-width: 60dvw;
}

.search input {

    position: absolute;
    font-family: Georgia, 'Times New Roman', Times, serif;
    top: 0.5rem;
    text-align: left;
    text-indent: 1rem;
    width: 35%;
    min-height: 2rem;
    border-radius: 8px;
    border: none;
    color: rgb(250, 247, 247);
    background-color: #fff3;
    outline: none;
}

input::placeholder {
    color: rgb(254, 249, 249);
    position: relative;
    left: 0.5rem;
}

.line {
    position: relative;
    left: 1rem;
    color: #fff;
    font-size: 1.4rem;
}

.gern_box button {
   
    color: #fcfbfb;
    background-color: transparent;
    border: none;
    outline: none;
    font-weight: 600;
    letter-spacing: 0.02cm;
    border-radius: 0.5rem;
    min-height: 2rem;
    min-width: 3rem;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 0 0.5rem;
    transition: transfrom 3ms ease;

}

.gern_box {
    position: absolute;
    right: 30rem;
    display: inline-block;
}

.gern_box button:hover {
    transform: scale(1.1);
    background-color: rgb(58, 44, 44);
}

.gern_box .gern_contain {
    position: absolute;
    display: flex;
    justify-content: space-evenly;
    height: auto;
    display: none;
    border-radius: 10px;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #181818;
    box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.9);
}

.gern_box a {
    display: flex;
    flex-direction: column;
    border-radius: 0.3rem;
    color: rgb(253, 250, 250);
    text-decoration: none;
    padding: 8px 30px;
    position: relative;
}

.gern_box a:hover {
    background-color: rgb(234, 31, 31);
}

.gern_box:hover .gern_contain {
    display: block;
}


.movies {
    position: relative;
    min-height: 100vh;
    max-width: 100%;
    background-color: #181818;
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, 0.9);
    bottom: 1px;
    z-index: -1;

}

.TopFeatures {
    color: rgb(248, 246, 247);
    font-family: sans-serif;
    position: relative;
    left: 1rem;
    top: 4rem;
    font-weight: 900;

}

.account {
    position: absolute;
    display: inline-block;
    right: 7rem;
    top: 0.5rem;
    cursor: pointer;
}

#account {
    color: rgb(245, 245, 250);
    font-size: 1.5rem;
}

.account {
    display: inline-block;
}

.account #account {
    background-color: transparent;

    border: none;
    cursor: pointer;
}

.account a {
    display: flex;
    flex-direction: column;
    color: rgb(253, 250, 250);
    text-decoration: none;
    padding: 10px 30px;
    position: relative;
    top: 2px;
}

.account .content {

    position: absolute;
    border-radius: 10px;
    top: 1.5rem;
    right: 1em;
    display: none;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #181818;
    box-shadow: 2px 2px 5px hsla(0, 0%, 0%, 0.9);
}

.account:hover .content {
    display: inline-block;

}

.account a:hover {
    background-color: rgb(237, 42, 42);
    border-radius: 5px;
}

#logout {
    display: inline;
    position: absolute;
    bottom: 0.6rem;
    left: 6.5rem;
}

.Featureslist {
    max-width: 100%;
    min-height: 15rem;
    display: flex;
    position: relative;
    top: 3rem;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    z-index: 1;
    perspective: 1000px;
    padding: 3rem 1.5rem;
}

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

.Features {
    flex: 0 0 10em;
    min-width: 9rem;
    max-height: 100%;
    border: 1px solid rgb(12, 11, 12);
    display: flex;
    position: relative;
    z-index: 1;
    left: 2rem;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
}


.Features:hover {
    z-index: 2;
    transform: scale(1.2);
}

.Movies {
    color: white;
    font-family: "work sans", sans-serif;
    position: relative;
    left: 1rem;
    top: 1rem;
    font-weight: 900;
}

.Movieslist {
    max-width: 100%;
    min-height: 15rem;
    display: flex;
    position: relative;
    top: 1rem;
    gap: 1rem;
    overflow-x: auto;
    padding: 3rem 1.5rem;
    z-index: 0;
}

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

#movies {
    flex: 0 0 10em;
    min-width: 9rem;
    max-height: 100%;
    border: 1px solid rgb(12, 11, 12);
    display: flex;
    flex-direction: row;
    position: relative;
    left: 2rem;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}


#movies:hover {
    z-index: 2;
    transform: scale(1.2);
}



.Webseries-name {
    color: white;
    font-family: "work sans", sans-serif;
    position: relative;
    left: 1rem;
    top: 1rem;
    font-weight: 900;
}

.webserieslist {
    max-width: 100%;
    min-height: 17rem;
    display: flex;
    position: relative;
    top: 1rem;
    gap: 1rem;
    overflow-x: auto;
    padding: 3rem 1.5rem;

}

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

.webseries {
    flex: 0 0 10em;
    min-width: 9rem;
    max-height: 100%;
    border: 1px solid rgb(12, 11, 12);
    display: flex;
    flex-direction: row;
    position: relative;
    left: 2rem;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    transition: transform 0.3s ease;

}

.webseries:hover {
    z-index: 2;
    transform: scale(1.3);
}


.img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

#blur-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    visibility: hidden;
    transition: visibility 200ms;
    z-index: 20;

}

body:has(.search input:focus) #blur-overlay,
.maincontainer:has(.search input:focus) #blur-overlay {
    visibility: visible;

}

.navbar {
    z-index: 100;
}

.search,
.search input {

    z-index: 110;
}
.moviehub-footer {
  background: #0f0f0f;
  color: #bdbdbd;
  padding: 3rem 2rem 1.5rem ;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
   margin-left: 8.5rem; 
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
}

.footer-section {
  min-width: 180px;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-section a {
  display: block;
  color: #bdbdbd;
  text-decoration: none;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: #e50914;
}

.footer-section.brand {
  max-width: 320px;
}

.footer-section.brand h2 {
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.footer-section.brand p {
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.footer-section.brand .region {
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #2a2a2a;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #888;
  display: flex;
  gap: 0.6rem;
}



