body {
    font-family: "Inter", serif;
    color: #eee;
    margin: 0;
    padding: 0;
    background-image: url(Background\ copy\ 3.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;
    }
}

.title h4{
    font-size: 2.5em;
    font-weight: bold;
    font-family: "Road Rage", serif;
    font-size: 80px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

/* Investigator Insights */
.investigator-insights {
    margin-top: 10px;
    padding: 20px;
    background: rgba(28, 28, 28, 0.7);
    border-radius: 10px;
    text-align: center;
}

.title h2{
    font-family: "Road Rage", serif;
    font-size: 80px;
    letter-spacing: 2px;
    text-align: center;
}

.insight h3{
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    font-size: 25px;
    text-align: center;
}

.insight h4{
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    font-size: 25px;
    text-align: center;
    margin-bottom: -60px;
    margin-top: 100px;
}

.insight p{
    font-family: "Inter", serif;
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

/* Fill-in Report */
.final-report {
    margin-top: 0;
    padding: 40px;
    border-radius: 10px;
    background-image: url(old_paper_stock_02_by_ftourini_d48ubt0-fullview.png);
    background-size: contain; /* Ensures full image is visible */
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 100vh; /* Prevents cutting off */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Title */
.title h3 {
    font-family: "Road Rage", serif;
    font-size: 80px;
    letter-spacing: 2px;
    text-align: center;
    color: rgb(255, 255, 255); /* Darker to contrast */
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

/* Labels */
label {
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    font-size: 18px;
    color: rgb(50, 25, 0); /* Darker for better readability */
    margin-bottom: 5px;
}

/* Input and Textarea */
form input, form textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.4); /* Semi-transparent for paper effect */
    border: 1px solid rgba(50, 25, 0, 0.5); /* Aged ink look */
    color: rgb(30, 15, 5);
    font-size: 16px;
    font-family: "Nunito Sans", serif;
}

/* Submit Button */
button {
    background: rgb(118, 1, 1);
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-family: "Nunito Sans", serif;
    font-size: 18px;
    transition: 0.3s ease-in-out;
}

button:hover {
    background: rgb(150, 20, 20);
}

/* Popup Warning */
.alert {
    padding: 20px;
    background-color:  rgb(118, 1, 1);
    color: white;
    font-size: 16px;
  }
  
  .closebtn {
    margin-left: 10px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .closebtn:hover {
    color: black;
  }

/* 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;
}

/* General Styling for Centering */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Title & Insight Centering */
.insight h4 {
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    font-size: 25px;
    text-align: center;
    margin-bottom: -40px;
    margin-top: 100px;
}

.title h2 {
    font-family: "Road Rage", serif;
    font-size: 80px;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 40px;
}


/* Table Centering */
#myTable {
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Click to Reveal Text */
#myTable tbody td {
    font-size: 20px;
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
}

/* Blur & Reveal Effect */
#myTable tbody td:nth-of-type(3) {
    width: 100%;
    max-width: 1000px;
    color: transparent;
    text-shadow: gray 0px 0px 10px;
    cursor: help;
}

#myTable tbody td:nth-of-type(3):hover {
    text-shadow: gray 0px 0px 4px;
    cursor: help;
}

#myTable tbody td:nth-of-type(3):active {
    color: inherit !important;
    text-shadow: none;
    cursor: help;
}

/* Investigator */
.hero h1{
    font-size: 2.5em;
    font-weight: bold;
    font-family: "Road Rage", serif;
    font-size: 80px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

/* Insights */
.evidence h2{
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    font-size: 40px;
    text-align: center;
    margin-top: -60px;
}

@media (max-width: 1400px){
    nav a {
        color: white;
        text-decoration: none;
        padding: 10px;
        font-size: 15px;
    }

    .hero h1 {
        font-size: 60px;
        margin: auto;
        padding-top: 30px;
        margin-bottom: -20px;
        padding: 20px;
    }
    
    .evidence h2{
        font-size: 20px;
        margin: auto;
        padding-bottom: 30px;
        padding-top: 5px;
    }
}

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

@media (max-width: 900px) {

    .title h2 {
        font-size: 40px;
        margin-bottom: 20px;
        margin-top: 0;
    }

    /* After you Sumbit */
    .insight h4 {
        font-size: smaller;
        font-size: 16px;
        margin-top: 30px;
        margin-bottom: 0;
    }

    #myTable tbody td {
        font-size: 16px;
        padding: 10px;
    }
    
    .investigator-insights h3{
        font-size: 20px;
        margin: auto;
        padding-bottom: 20px;
    }

    .final-report label{
        font-size: 10px;
        margin: auto;
    }

    .alert{
        font-size: 10px;
    }

    .insight h3{
        font-size: 15px;
    }
    
    .insight p{
        font-size: 10px;
    }
   
    .title h3 {
        font-size: 50px;
        margin: auto;
        padding-top: 40px;
        padding-bottom: 30px;
        
    }

    form input, form textarea {
        width: 70%;
    }

    button {
        font-size: 14px;
        padding: 10px 20px;
    }
}



@media (max-width: 700px){

    .title h2{
        font-size: 40px;
        margin-bottom: 20px;
        margin-top: 5px;
    }

    form input, form textarea{
        width: 60%;
    }

    /* After you Sumbit */
    .insight h4{
        font-size: smaller;
        margin-top: 30px;
    }

    #myTable tbody td {
        font-size: 14px;
        padding: 5px;
    }

    .title h3 {
        font-size: 40px;
        margin: auto;
        padding-top: 40px;
        padding-bottom: -70px;
    }

}



@media (max-width: 600px){

    .title h2{
        font-size: 40px;
        margin-bottom: 20px;
        margin-top: -5px;
    }

    form input, form textarea{
        width: 60%;
    }

    /* After you Sumbit */
    .insight h4{
        font-size: smaller;
        margin-bottom: -10px;
        margin-top: -40px;
    }

    #myTable tbody td {
        font-size: 14px;
        padding: 5px;
    }

    .title h3{
        font-size: 40px;
        margin-bottom: -90px;
    }
}

@media (max-width: 500px){
    
    .title h3 {
        font-size: 40px;
        margin: auto;
        padding-top: 40px;
        margin-bottom: -50x;
    }

    form {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 500px;
    }

    /* Fill-in Report */
    .final-report {
        margin-top: -70px;
        margin-bottom: 40px;
        padding: 10px;
        border-radius: 10px;
        background-image: url(old_paper_stock_02_by_ftourini_d48ubt0-fullview.png);
        background-size: contain; /* Ensures full image is visible */
        background-position: center center;
        background-repeat: no-repeat;
        min-height: 80vh; /* Prevents cutting off */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Labels */
    label {
        font-family: "Nunito Sans", serif;
        text-transform: uppercase;
        font-size: 18px;
        color: rgb(50, 25, 0); /* Darker for better readability */
        margin-bottom: 5px;
    }

    /* Input and Textarea */
    form input, form textarea {
        width: 50%;
        padding: 5px;
        margin-bottom: 5px;
        background: rgba(255, 255, 255, 0.4); /* Semi-transparent for paper effect */
        border: 1px solid rgba(50, 25, 0, 0.5); /* Aged ink look */
        color: rgb(30, 15, 5);
        font-size: 14px;
        font-family: "Nunito Sans", serif;
    }

    /* Submit Button */
    button {
        background: rgb(118, 1, 1);
        color: white;
        padding: 10px 20px;
        border: none;
        cursor: pointer;
        font-family: "Nunito Sans", serif;
        font-size: 12px;
        transition: 0.3s ease-in-out;
    }

    .title h2{
        font-size: 40px;
        margin-bottom: 20px;
        margin-top: -5px;
        margin-left: 10px;
        margin-right: 10px;
    }

    #myTable tbody td {
        font-size: 12px;
    }

    .insight h3{
        font-size: 12px;
    }

    .title h4{
        font-size: 60px;
        margin: auto;
        padding: 30px;
    }

    .investigator-insights {
        padding: 20px;
        margin-top: -10px;
        background: rgba(28, 28, 28, 0.7);
        border-radius: 10px;
        text-align: center;
    }
    

}
