@font-face {
    font-family: 'blueberry';
    src: url(Fonts/blueberry.ttf);
    color:black;
}

body{
    background-color:#BFBFBF;
    background-size:cover;

}


#content{
    background-color:transparent;
    max-width:1024px;
    margin: 0 auto;
    padding:20px;
    border-radius:15px;
}

.video-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
}

video{
    width:100%;
    max-width:700px;
    border-radius:10px;
}

.thumbnailgrid{
    display:grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap:10px;
}

.thumbnailgrid img{
    width:100%;
    max-width:200px;
    margin:0 auto;
    display:block;
    border-radius:10px;
    cursor:pointer;
    transition: transform 0.2s ease;
}

.thumbnailgrid img:hover{
    transform: scale(1.05);
}

.moviecard{
    text-align:center;
}

.movie-title{
    margin-top:8px;
    font-size:16px;
    font-weight:600;
    font-family:blueberry;
    color:black;
}



#search{
    padding:8px 12px;
    font-size:16px;
    border-radius:6px;
    border:1px solid #444;
    background-color:#222;
    color:white;
    width:200px;
    font-family:blueberry;
}


.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor:pointer;
}


.mascot {
    height: 150px;      
    width: auto;
    display: block;
}


.titleheading {
    font-size: 100px;
    font-family: blueberry;
    font-weight: bold;
    color: white;
    margin: 0;
    cursor:pointer;
}


#header {
    background: black;
    display: flex;
    position:relative;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap; 
    
}


#motw {
    background: white;
    color: gold;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor:default;
    font-family:blueberry;
}


#navigation {
    background: #111;
    padding: 15px 20px;
    width: 100%;
    box-sizing: border-box;

    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    border-radius:0px 0px 10px 10px;

    
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family:blueberry;
    font-size: 18px;
}

#search {
    padding: 10px;
    border-radius: 10px;
    border: none;
    width: 200px;
}


body {
    overflow-x: hidden;
}

#movies{
    background-color:#1e1e1e;
}

#header_movie{
    background: black;
    display: block;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;

}


#movie_body{
    background-color:#BFBFBF;
}

.titleheading_movie{
    font-size: 40px;
    font-family: blueberry;
    font-weight: bold;
    color: white;
    margin: 0;
    cursor:pointer;
}

.mascot_movie{
    height: 65px;     
    width: auto;
    display: block;
    cursor:pointer;
}

#no-results{
    display:block;
    font-family:blueberry;
    font-size:90px;
    color:#1e1e1e;
    text-align:center;
    
}

#no-suggestion {
    display: block;
    font-family: blueberry;
    font-size: 30px;
    color: #1e1e1e;
    margin-top: -40px; 
    text-align:center;
}

.video-frame {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}


.motw-header-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.motw-title {
    font-family: blueberry;
    font-size: 24px;
    color: gold;
    margin: 0;
    cursor:default;
}

.motw-thumb {
    height: 250px;
    width: auto;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.motw-thumb:hover {
    transform: scale(1.05);
}

.motw-thumb-link {
    display: inline-block;
}


.no-results-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.no-results-img {
    height: 120px;
    width: auto;
    border-radius: 10px;
}

.no-results-text {
    text-align: left;
}

#no-results-wrapper {
    display: none;
}


.splash-text {
    font-family: blueberry;
    font-size: 18px;
    color: #FFD700; /* gold */
    text-decoration: none;
    margin: 0;
    margin-top: -100px;
    transform: rotate(-5deg);
    text-shadow: 0 0 5px rgba(0,0,0,0.6);
    display: inline-block;
    margin-left:-900px;
}

.splash-text:hover {
    color: #fff27a;
}


.movie-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.movie-player {
    position: relative;
    width: 100%;
    max-width: 1100px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
}


.mature-warning {
    background: #111;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    font-family:blueberry;
    font-size:xx-large
}

.mature-warning button {
    background: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    font-family:blueberry;
}


.moviecard {
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease;
}

.moviecard:hover {
    transform: scale(1.05);
}

.moviecard.mature::after {
    content: "M";
    position: absolute;
    top: 6px;
    right: 6px;
    background: red;
    color: white;
    padding: 4px 10px;
    font-weight: bold;
    border-radius: 999px;   
    font-size: 0.9rem;
}


.nav-middle {
    flex: 1;
    display: flex;
    justify-content: center;
    font-family: blueberry;
    font-size: 18px;
    color:gold !important;
}

#trophy-popup {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: gold;
    color: black;
    padding: 15px 20px;
    border-radius: 10px;
    font-family: blueberry;
    font-size: 18px;
    z-index: 9999;
    text-align: center;
}

.trophy-icon {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
}
