* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Oswald", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    background-color: #1a1a1a;
}

body.no-scroll {
    overflow: hidden;
}

header {
    background: #0c0a08;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    justify-content: center;
}

.burger-container {
    position: absolute;
    left: 1rem;
    width: calc(0% + 4rem);
    display: flex;
    justify-content: center;
}

.burger-menu {
    font-size: 2.5rem;
    height: 2rem;
    line-height: 2rem;
    cursor: pointer;
}

header img {
    height: 6.5rem;
    max-height: 100%;
}

.logo-link {
    margin: auto;
    position: relative;
    top: 0.2rem;
}

nav {
    text-align: center;
    font-size: 1.25rem;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(43, 43, 43, 0.98);
    display: none;
    z-index: 1001;
    overflow: hidden;
    height: 0;
    transition: height 0.075s linear;
}

nav a {
    display: block;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

.nav-links {
    display: none;
}

.nav-links.active {
    display: block;
}

.nav-links.expanded {
    height: 325px;
}

.nav-links.collapsed {
    height: 0;
}

.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.banner-section img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
}

.banner-overlay h1 {
    margin: 0;
    font-size: 2.5rem;
}

.banner-overlay p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
}

main {
    padding: 2rem;
    background: #4b4b4b;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.content-card {
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
    border: 1.5px solid #474747;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.content-card img {
    width: 100%;
    height: auto;
}

.content-card h2 {
    margin: 0;
    padding: 1rem;
    background: #2b2b2b;
    color: #fff;
    text-align: center;
}

.contact-section {
    width: 100%;
    padding: 2rem;
    background: #858177;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.contact-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #141414;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #141414;
}

.contact-info p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #141313;
}

.contact-section img {
    width: 100%;
    height: auto;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 800px) {
    .header-container {
        margin-left: 3rem;
    }
}

@media (min-width: 1005px) {
    .nav-links {
        margin-left: 3rem;
        margin-right: 10rem;
    }

    body.experience-page {
        .nav-links {
            margin-left: 3rem;
            margin-right: 15rem;
        }
    }

    body.about-page {
        .nav-links {
            margin-left: 3rem;
            margin-right: 15rem;
        }
    }

    body.gallery-page {
        .nav-links {
            margin-left: 3rem;
            margin-right: 15rem;
        }
    }

    body.rig-page {
        .nav-links {
            margin-left: 3rem;
            margin-right: 15rem;
        }
    }
}

@media (min-width: 768px) {
    header {
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 0;
        max-width: 1300px;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
    }

    .burger-container {
        display: none;
    }

    .header-container {
        justify-content: flex-start;
        width: auto;
        margin-right: 0;
        display: flex;
        align-items: center;
    }

    .logo-link {
        margin: 0;
        top: 0;
        bottom: 0;
        height: 104px;
    }

    .nav-links {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: auto;
        transition: none;
        flex-grow: 1;
        background: transparent;
    }

    nav {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        background: transparent;
        justify-content: space-between;
    }

    nav a {
        display: inline-block;
        margin-left: 1.5rem;
    }

    .banner-overlay h1 {
        font-size: 3.5rem;
    }

    .banner-overlay p {
        font-size: 1.5rem;
    }

    main {
        padding: 3rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .content-card {
        max-width: 45%;
        margin: 1rem;
    }

    .contact-section img {
        max-width: 768px;
    }

    .contact-section h2 {
        font-size: 2.5rem;
    }

    .contact-info h3 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1.25rem;
    }
}

@media (min-width: 1300px) {
    body {
        background-color: #1a1a1a;
    }

    header,
    .banner-section,
    main,
    .contact-section,
    footer {
        max-width: 1300px;
        margin: 0 auto;
    }
}

@media (min-width: 1024px) {
    .header-container {
        max-width: 1400px;
    }

    .banner-overlay h1 {
        font-size: 4.5rem;
    }

    .banner-overlay p {
        font-size: 1.8rem;
    }

    main {
        padding: 4rem;
    }

    .content-card {
        max-width: 30%;
    }

    .contact-section h2 {
        font-size: 3rem;
    }

    .contact-info h3 {
        font-size: 2.5rem;
    }

    .contact-info p {
        font-size: 1.5rem;
    }
}

.overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: height 0.075s linear;
    z-index: 1000;
}

.overlay.active {
    display: block;
}

.overlay.expanded {
    height: 100vh;
}

.overlay.collapsed {
    height: 0;
}

body.gallery-page .nav-links a[href="Gallery.html"] {
    display: none;
}

body.gallery-page .nav-links.expanded {
    height: 265px;
}

body.experience-page .nav-links a[href="Experience.html"] {
    display: none;
}

body.experience-page .nav-links.expanded {
    height: 265px;
}

body.rig-page .nav-links a[href="Rig.html"] {
    display: none;
}

body.rig-page .nav-links.expanded {
    height: 265px;
}

body.about-page .nav-links a[href="About.html"] {
    display: none;
}

body.about-page .nav-links.expanded {
    height: 265px;
}

.experience-content h1 {
    font-size: 2.25rem;
    color: #181818;
    text-align: center;
    margin-bottom: 1.5rem;
}

.experience-content p {
    font-size: 1.5rem;
    color: #131313;
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.experience-content img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.experience-content {
    flex-direction: column;
}

button,
a,
input[type="button"],
input[type="submit"] {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button:focus,
a:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    outline: none;
    box-shadow: none;
}