/* General Styles */
body {
    font-family: "Inter", serif;
    color: #fff;
    margin: 0;
    padding: 0;
    background-image: url(Background.jpg);
}

/* Navigation Styling */
nav {
    background: #222;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    z-index: 1000;
}

/* Navigation Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 15px 0;
    text-align: center;
}

nav ul li {
    display: inline-block;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 15px;
}

nav a:hover {
    background: #444;
    border-radius: 5px;
}

/* Menu */
.menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1100;
    align-items: center;
    left: 10px;
    height: 40px;
    top: 50%;
}

.menu div {
    width: 25px;
    height: 4px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Ensure the nav-links dropdown appears above everything */
#nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: space-around;
}

#nav-links li {
    padding: 10px;
}

#nav-links a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: normal;
}

/* Responsive design for the menu */
@media (max-width: 768px) {
    .menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .menu div {
        width: 30px;
        height: 3px;
        background-color: rgb(255, 255, 255);
        margin: 3px 0;
    }
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {

    #nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1200;
    }

    #nav-links.active {
        display: flex;
    }

    #nav-links li {
        text-align: center;
        padding: 5px;
    }

    #nav-links a {
        display: block;
        width: 100%;
    }
}

/* Responsive Menu */
@media screen and (max-width: 768px) {
    nav {
        justify-content: space-between; /* Allows hamburger and menu */
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: #343434;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    nav ul.show {
        display: flex;
    }
}

/* Intro Section */
.intro {
    text-align: center;
    padding: 50px 20px;
}


.intro h1 {
    font-size: 170px;
    color: white;
    letter-spacing: 2px;
    font-family: "Road Rage", serif;
    margin-bottom: 10px;
    margin-top: 40px;
}

.intro h2 {
    font-size: 100px;
    margin-top: 10px;
    font-family: "Nunito Sans", serif;
    margin-bottom: 20px;
}

.intro p {
    font-size: 18px;
    margin-top: 2px;
    font-family: "Inter", serif;
}

h1 {
    font-size: 150px;
    color: white;
    letter-spacing: 2px;
    font-family: "Road Rage", serif;
    margin-bottom: 20px;
    margin-top: 40px;
}

h2 {
    font-size: 70px;
    margin-top: 10px;
    font-family: "Nunito Sans", serif;
}

p {
    font-size: 18px;
    margin-top: 10px;
    font-family: "Inter", serif;
}

/* Start Investgation */
.start-btn {
    background: rgb(118, 1, 1);
    color: #fff;
    padding: 20px 40px;
    border-radius: 2rem;
    font-size: 50px;
    cursor: pointer;
    margin-top: 30px;
    font-family: "Nunito Sans", serif;
}

.start-btn:hover {
    background: rgb(62, 1, 1);
}

/* Case File Section */
.case-file {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 100px;
}

.file-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 90%;
}

.file {
    background: rgba(28, 28, 28, 0.7);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    width: 500px;
    max-width: 100%;
    box-shadow: 0 0 10px rgb(118, 1, 1);
    transition: transform 0.3s ease-in-out;
}

.file h3 {
    font-size: 40px;
    color: #ffffff;
    font-family: "Inter", serif;
}

.file p {
    font-size: 30px;
    margin-top: 10px;
    font-family: "Nunito Sans", serif;
}

.investigate-btn {
    background: rgb(118, 1, 1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 1rem;
    font-size: 30px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    text-align: center;
    width: fit-content;
    font-family: "Nunito Sans", serif;
}

.investigate-btn:hover {
    background: rgb(62, 1, 1);
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 80px;  /* Ensure equal width */
    height: 80px; /* Ensure equal height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn svg {
    width: 70px;
    height: 70px;
    transition: fill 0.2s ease-in-out;
}

.arrow-btn:hover svg {
    fill: rgb(118, 1, 1);
}

/* Fonts */
.road-rage-regular {
    font-family: "Road Rage", serif;
    font-weight: 400;
    font-style: normal;
  }


.nunito-sans {
    font-family: "Nunito Sans", serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    font-variation-settings:
      "wdth" 112.5,
      "YTLC" 500;
}


.inter {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup-content {
    background: white;
    color: black;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.popup-content h2{
    font-family: "Road Rage", serif;
    letter-spacing: 1px;
    line-height: 70px;
    margin-bottom: 20px;
}

.popup-content p{
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Buttons */
.popup-content button {
    margin: 10px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Inter", serif;
}

.popup-content button:first-of-type {
    background: #008000;
    color: white;
}

.popup-content button:last-of-type {
    background: rgb(118, 1, 1);
    color: white;
}

@media (max-width: 1400px){

    .intro h1{
        font-size: 120px;
    }

    .intro h2{
        font-size: 70px;
    }

    .intro p{
        font-size: 20px;
        padding-left: 50px;
        padding-right: 50px;
    }

    nav a {
        color: white;
        text-decoration: none;
        padding: 10px;
        font-size: 15px;
    }
}

@media (max-width: 1200px){
    nav a{
        font-size: 12px;
        padding: 5px;
        text-align: center;
    }
}

@media (max-width: 900px) {

    .intro h1 {
        font-size: 90px;
        margin: auto;
        padding: 10px;
    }
    
    .intro h2{
        font-size: 50px;
        margin: auto;
    }

    .intro p{
        font-size: 15px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .start-btn {
        padding: 20px 40px;
        padding-bottom: -20px;
        border-radius: 2rem;
        font-size: 20px;
        cursor: pointer;
        margin-top: 10px;
        font-family: "Nunito Sans", serif;
    }

    .case-file {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        margin-bottom: 50px;
    }
    
    .file-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        max-width: 90%;
    }
    
    .file {
        background: rgba(28, 28, 28, 0.7);
        padding: 10px;
        text-align: center;
        border-radius: 8px;
        width: 300px;
        max-width: 100%;
        box-shadow: 0 0 10px rgb(118, 1, 1);
        transition: transform 0.3s ease-in-out;
    }
    
    .file h3 {
        font-size: 20px;
        color: #ffffff;
        font-family: "Inter", serif;
    }
    
    .file p {
        font-size: 20px;
        margin-top: 5px;
        font-family: "Nunito Sans", serif;
    }
    
    .investigate-btn {
        background: rgb(118, 1, 1);
        color: #fff;
        padding: 5px 10px;
        border-radius: 1rem;
        font-size: 20px;
        cursor: pointer;
        margin: 10px auto;
        display: block;
        text-align: center;
        width: fit-content;
    }

    .alert{
        font-size: 10px;
    }

    .popup-content {
    background: white;
    color: black;
    padding: 20px;
    width: 60%;
    max-width: 250px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .popup-content h2{
    font-family: "Road Rage", serif;
    letter-spacing: 1px;
    line-height: 40px;
    margin-bottom: 10px;
    font-size: 40px;
    }

    .popup-content p{
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    margin-top: 5px;
    font-size: 14px;
    line-height: 18px;
    }

    .popup-content button {
    margin: 5px;
    padding: 8px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-family: "Inter", serif;
    }
    
}

@media (max-width: 850px) {

    .intro h1 {
        font-size: 70px;
        margin: auto;
        padding: 10px;
    }
    
    .intro h2{
        font-size: 40px;
        margin: auto;
    }

    .intro p{
        font-size: 10px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .start-btn {
        padding: 20px 40px;
        padding-bottom: -20px;
        border-radius: 2rem;
        font-size: 18px;
        cursor: pointer;
        margin-top: 10px;
        font-family: "Nunito Sans", serif;
    }

    .case-file {
        margin-bottom: 20px;
    }

    .intro h2{
        margin-bottom: 10px;
    }

    .intro p{
        margin-top: 5px;
    }
    
}

@media (max-width: 600px) {

    .case-file {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px;
        margin-bottom: 10px;
    }
    
    .file-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        max-width: 80%;
    }
    
    .file {
        background: rgba(28, 28, 28, 0.7);
        padding: 5px;
        text-align: center;
        border-radius: 8px;
        width: 200px;
        max-width: 100%;
        box-shadow: 0 0 10px rgb(118, 1, 1);
        transition: transform 0.3s ease-in-out;
    }
    
    .file h3 {
        font-size: 15px;
        color: #ffffff;
        font-family: "Inter", serif;
    }
    
    .file p {
        font-size: 15px;
        margin-top: 5px;
        font-family: "Nunito Sans", serif;
    }
    
    .investigate-btn {
        background: rgb(118, 1, 1);
        color: #fff;
        padding: 5px 10px;
        border-radius: 1rem;
        font-size: 15px;
        cursor: pointer;
        margin: 10px auto;
        display: block;
        text-align: center;
        width: fit-content;
    }

    .arrow-btn svg {
        width: 40px;
        height: 40px;
    }

    .arrow-btn{
        width: 30px;
        height: 30px;
    }
    
    .intro h1 {
        font-size: 60px;
        margin: auto;
        padding: 10px;
    }
    
    .intro h2{
        font-size: 30px;
        margin: auto;
    }

    .intro p{
        font-size: 9px;
        padding-left: 60px;
        padding-right: 60px;
    }

    .intro h2{
        margin-bottom: 10px;
    }

    .intro p{
        margin-top: 5px;
    }
}

@media (max-width: 500px){
    .case-file{
        margin-bottom: -250px;
    }

    .intro h2{
        margin-bottom: 10px;
    }

    .intro p{
        margin-top: 5px;
    }
}

@media (max-width: 400px){
    .case-file{
        margin-bottom: -150px;
    }

    .intro h2{
        margin-bottom: 10px;
    }

    .intro p{
        margin-top: 5px;
    }

    .start-btn {
        margin-top: 20px;
    }
}


