body, html {
    font-family: "Serenity", sans-serif;
    font-variation-settings: "wght" 400;
    line-height: 1.3;
    color: rgb(255, 255, 255,0.8);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #060139, #91c9f9)}

.container{
    width: 84vw;
    max-width: 900px;
    margin:0 auto;
    padding: 10%;
}

section {
    max-width: 100%; 
    margin: 20% auto;
    padding: 0 10px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    background: transparent;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}



/* Landing Section */
#landing {
    text-align: center;
    padding-bottom: 30%;
    background: transparent;
    width: 100vw;
    position: relative;
}

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.landing-image-1 {
    position: absolute;
    background: url('IMAGES/thumb-1920-1347376-\(1\).jpg') no-repeat center center;
    background-size: cover;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}


header .navbar {
    background-color: transparent;
    padding: 20px 0;
}


#navbar {
    display: grid;
    padding:1%;
    grid-template-columns: 25% 25% 25% 25%;
    gap:1.2em;
    font-size:.8em;
 } 

 @media (max-width: 1000px) {
    #navbar {
        font-size:.6em;
        gap:0.5em;
    }
}

@media (max-width: 800px) {
    #navbar {
        font-size:.5em;
        gap:0.3em;
}
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
  }

  
  .navbar nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; 
  }

  
  .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
  }
  
  .nav-links li {
    display: inline-block;
  }
  
  .nav-links a {
    text-decoration: none;
    color: WHITE;
    font-weight: bold;
    padding: 8px 15px;
    white-space: nowrap;
    position: relative; 
    transition: color 0.3s;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: white;
    z-index: -1; 
    transition: width 0.1s ease, height 0.1s ease; 
}

.nav-links a:hover {
    color: red;
}

.nav-links a:hover::before {
    width: 120%; 
    height: 120%; 
} 

/* Title  */
h1 {
    font-family: "Neue Kabel", sans-serif;
    font-weight: 500;
    color: white;
    font-size: clamp(6em, 12vw, 50em);
    text-align: center;
    margin-top: 140px;
}

/* Landing Text  */
.landing-text {
    margin-top: 670px;
    padding: 6%;
    text-align: center;
    background-color: #02025c;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.landing-text p {
    font-style: italic;
    font-size: 1em;
    color: white;
}

h5 {
    font-size: 1em;
    font-weight: 600;
    margin-top: 10px;
    color: red;
}

/* Section Title Styling */
h2.section-title {
    font-size: 4em;
    font-family: "Neue Kabel", sans-serif;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
    color: #ffffff;
}

/* Text boxes */
.text-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 3%;
    margin: 10%;
}

.text-box h3 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 3px;
}

.text-box p {
    font-size: 0.9em;
    line-height: 1.3;
    max-width: 700px;
}



.character-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
}

@media (max-width: 1024px) and (min-width: 601px) {
    .character-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}
@media (max-width: 600px) {
    .character-grid {
        grid-template-columns: 1fr; 
    }
}



.character-card {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.character-card img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

.characterText h4 {
    font-size: 22px;
    margin-top: 15px;
    color:#020e5d; 

}

.characterText p {
    font-size: .8em;
    color:#020e5d; 

}

.plotContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    padding:20px;
}

.plotContainer img {
    width: 50%;
    height: auto;
    max-height:400px;
    object-fit: cover;
}


.plotText {
    width: 45%;
    padding: 20px;

}

.plotText h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.plotText h6 {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 10px;
}

.plotText p {
    font-size: .9em;
}



@media (max-width: 768px) {
    .plotContainer {
        flex-direction: column;
        align-items: center;
    }


    .plotContainer {
        flex-direction: column;
        align-items: center;
    }


    .plotText {
        width: 80%;
        text-align: center;
    }
}

/* Inspirations */
#inspirations {
    width: 100vw;
    padding: 10%;
    background-size: cover;
}

#inspirations1, #inspirations2 {
    background-size: cover;
    padding: 5%;
}



/* Sketchfab */
.sketchfab-embed-wrapper {
    width: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.sketchfab-embed-wrapper iframe {
    width: 100%;
    height: calc(100vw * 0.75);
    border: none;
}




/* Footer */
footer {
    padding: 3em 1.5%;
    background-color: #02025c;
    color: #E43D12;
    text-align: center;
    border-top: 2px solid #E43D12;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

footer p {
    margin: 10px 0;
    line-height: 1.6em;
}

footer a {
    color: #E43D12;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 1000px) {
    #navbar {
        font-size: 0.6em;
        gap: 0.5em;
    }
}

@media (max-width: 800px) {
    #navbar {
        font-size: 0.5em;
        gap: 0.3em;
    }
}

@media (max-width: 600px) {
    .nav-links a {
        padding: 5px 10px;
        font-size: 0.9em;
    }

    .landing-text {
        margin-top: 400px;
        padding: 4%;
    }

    h1 {
        font-size: clamp(4em, 10vw, 40em);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(5em, 8vw, 30em);
    }

    .plotContainer {
        flex-direction: column;
        align-items: center;
    }

    .plotText {
        width: 80%;
        text-align: center;
    }
}
