* {
    box-sizing: border-box;
}

:root {
    /* colours */
    --dialogue-box-grey: #98999a8e;
    --grey: #eeeeeecc;
    --dark-grey-transparent: #1c1c1c84;
    --dark-grey: #1C1C1C;
    --purple: #7e479b;
    --blue: #09accb;
    --light-pink: #FFF0F0;
    --pink: #ef3977;
    --light-orange: #e38338;
    --orange: #e46f2b;
    --navy-blue: #21193c;
    --blueprint: #2B418C;
    --off-blue: #5473C8;

    /* font */
    --heading-size: clamp(1rem, 10vw, 5rem);
    --sub-heading-size: clamp(1.5rem, 4.5vw, 2rem);
    --btn-font-size: clamp(1rem, 5vw, 2rem);

    --heading-font: "Brygada 1918", serif;
    --body-font: "Noto Sans", sans-serif;
}

/* nav styling */

header {
    width: 100%;
    position: fixed;
    z-index: 999;
    background-color: var(--grey);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    margin: 0 auto;

    width: 100%;
    max-width: 800px;
    height: 50px;
    transition: height 0.5s ease;
    overflow: hidden;
    z-index: 1;

}

#hamburger-menu {
    width: 30px;
    height: 22px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

#hamburger-menu span {
    display: block;
    height: 4px;
    background: black;
    transition: 0.3s ease;
}

#nav-head {
    display: flex;
    justify-content: space-between;
    padding: 6px 10px;

    img {
        height: 35px;
    }
}

/* turn hamburger into an X */

#hamburger-menu.btn-open span:nth-child(1) {
    transform: rotate(45deg) translate(7.5px, 5px);
}

#hamburger-menu.btn-open span:nth-child(2) {
    transform: rotate(-45deg) translate(7.5px, -5px);
}

.menu-open {
    height: 100vh;
    transition: height 0.5s ease;
}

/* hamburger list items */

#hamburger-links {
    padding: 0;
    list-style: none;
    text-align: center;
    margin-top: 5vh;

    li {
        margin: 2rem 0;
    }

    a {
        text-decoration: none;
        color: black;
        font-size: 2.5rem;
    }

    a:hover {
        color: var(--off-blue);
    }
}

#oses-logo {
    font-family: var(--heading-font);
    font-style: italic;
    font-size: 1.8rem;
    margin: 0;
    color: black; 
}

body {
    margin: 0;
    font-family: var(--body-font);
    color: white;
    
}

.content-about {
    background-color: var(--blueprint);
    background-image: url(../img/grid.svg);
    background-size: contain;
}

.content-contact {
    background-color: var(--blueprint);
    background-image: url(../img/grid.svg);
    background-size: contain;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#centering {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px 45px;
    background-color: var(--blueprint);

    img {
    width: 100%;
}
}

#header-ghost {
    width: 100%;
    height: 50px;
    background-color: var(--blueprint);
}

h1 {
    margin: 0;
    padding: 50px 0 30px;
    font-family: var(--heading-font);
    font-size: var(--heading-size);
    span {
        font-style: italic;
    }
}

h2 {
    font-family: var(--heading-font);
    font-size: var(--sub-heading-size);
    margin-bottom: 1%;
}

.button {
    width: 100%;
    padding: 10px 5px;
    border-radius: 5px;
    color: white;
    font-family: var(--heading-font);
    font-size: var(--btn-font-size);
    font-weight: bold;
    letter-spacing: 1.1px;
    background-color: var(--off-blue);
    width: 100%;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.button:hover {
    transform: scale(105%);
    transition: 0.3s ease;
}

.button:active {
    transform: scale(100%);
    transition: 0.1s ease;
}

footer {
    height: 90vh;
    background-color: var(--dark-grey);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

    p {
        color: white;
        position: absolute;
        bottom: 0;
    }

    li {
        list-style: none;
        color: white;
        font-size: 2.5rem;
        margin: 10% 0;
    }

    ul {
        margin: 0;
        padding: 0;
    }

    a {
        color: white;
        text-decoration: none;
    }

    a:hover {
        color: var(--off-blue);
    }
}

/* contact form page */

.contact-form {
    background-color: var(--blueprint);
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid white;
    max-width: 800px;
    width: 100%;
    margin: 0 20px;
}

.contact-form h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #00bfff;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    background: var(--off-blue);
    border: 1px solid white;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
  
}

.submit-btn:hover {
    background: #009acd;
}