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

/* About Title */
header h1 {
    font-weight: bold;
    font-family: "Road Rage", serif;
    font-size: 80px;
    margin: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

/* About Container */
.about-container {
    width: 80%;
    margin: 10px auto;
    padding: 20px;
    background: rgba(28, 28, 28, 0.7);
    border-radius: 10px;
    text-align: left;
}

/* Unraveling the Case */
.about-container h2 {
    font-size: 80px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    font-family: "Road Rage", serif;
    margin-bottom: -10px;
}

/* Left-align Title */
.about-container h3 {
    font-size: 30px;
    margin-top: 30px;
    margin-bottom: 5px;
    color: #ffffff;
    margin-left: 40px;
    margin-right: 40px;
    font-family: "Nunito Sans", serif;
}

/* Sources and Insights */
.about-container h4{
    font-size: 60px;
    font-family: "Nunito Sans", serif;
    text-align: center;
    margin-top: -10px;
    color: white;
}

/* Paragraph */
.about-container p {
    font-size: 1.1em;
    line-height: 1.6;
    font-size: 18px;
    font-family: "Inter", serif;
    margin-left: 40px;
    margin-right: 40px;
}

/* Website Description */
.about-container h5 {
    font-size: 1.1em;
    line-height: 1.6;
    font-size: 18px;
    font-family: "Inter", serif;
    text-align: center;
    margin-top: -30px;
    padding-left: 40px;
    padding-right: 40px;
    font-weight: normal;
}

/* Links */
.about-container a {
    display: block;
    color:  rgb(255, 255, 255);;
    font-weight: bold;
    margin-top: 5px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-family: "Nunito Sans", serif;
    font-size: 20px;
    color: rgb(172, 17, 17) 
}

.about-container ul {
    list-style: none;
    padding: 0;
    font-family: "Inter", serif;
}

.about-container ul li {
    margin: 10px 0;
    line-height: 5px;
    margin-top: 10px;
    font-family: "Nunito Sans", serif;
    text-transform: uppercase;
    font-size: 20px;
    margin-top: 40px;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 30px;
    background:  rgb(118, 1, 1);
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
}

footer h2{
    font-family: "Road Rage", serif;
    font-size: 70px;
}

footer p {
    font-size: 1.2em;
    margin-top: -40px;
    text-align: center;
    font-family: "Nunito Sans", serif;
    font-size: 40px;
}

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

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


/* Page */
.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) {

    header h1{
        margin: auto;
        padding-top: 30px;
        margin-bottom: -20px;
    }
    
    .about-container h2{
        font-size: 50px;
        margin: auto;
        padding-top: 10px;
    }

    .about-container h4{
        font-size: 20px;
        margin-top: -20px;
        margin-bottom: 10px;
    }

    .about-container h5{
        font-size: 10px;
        margin: auto;
        padding: 10px;
        font-weight: normal;
    }

    .about-container h3{
        font-size: 20px;
        margin: auto;
        padding: 10px;
        padding-top: 30px;
    }

    .about-container a{
        font-size: 15px;
        margin: auto;
        padding: 10px;
        margin-top: -5px;
        color: rgb(172, 17, 17) ;
    }

    .about-container p{
        font-size: 10px;
        margin: auto;
        padding: 10px;
        margin-top: -10px;
    }

    footer {
        margin-top: 40px;
        padding: 20px;
        background:  rgb(118, 1, 1);
        color: white;
        text-transform: uppercase;
        font-weight: bold;
        text-align: center;
    }
    
    footer h2{
        font-family: "Road Rage", serif;
        font-size: 35px;
        padding-bottom: 20px;
    }
    
    footer p {
        margin-top: -40px;
        text-align: center;
        font-family: "Nunito Sans", serif;
        font-size: 20px;
    }

    .alert{
        font-size: 10px;
    }

}

