html {
    height: 100%;
    margin: 0;
}

body {
    background-color: #878787;
    background-image: url(Images/Old-Paper-2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: Arial, sans-serif;
    z-index: 1;
}

.Logo-1 {
    width: 200px;
    height: auto;
    padding-top: 50px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.container {
    margin: 0 auto;
    width: 90%;
    max-width: 1024px;
}

header {
    height: 118px;
    text-align: center;
    position: relative;
    z-index: 2; /* Ensure the header (with logo) stays in front of the nav */
    background-color: rgba(255, 255, 255, 0); 
}

nav {
    background-color: rgba(79, 58, 0, 0.168);
    margin: 12px auto;
    height: 40px;
    width: 90%;
    max-width: 800px;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative; 
    z-index: 1;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 3; 
    margin-right: 10px;
}

.line {
    height: 4px;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.line.active:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.line.active:nth-child(2) {
    opacity: 0;
}

.line.active:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

ul.dropdown {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(31, 26, 15, 0.938);
    padding: 10px 0;
    margin: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 3; 
}

ul.dropdown li {
    text-align: center;
}

ul.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    z-index: 3;
}

ul.dropdown li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

ul.dropdown.active {
    display: block;
}

h1 {
    font-family: 'Times New Roman', Times, serif;
}
