@import url('https://fonts.googleapis.com/css2?family=Gravitas+One&display=swap');


main {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 15px 10px;
}


html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

header {
    width: 100%;
    height: 550px;
    background-color: #14342B;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
}

#headblock {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.sideblock {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lstb {
    border-radius: 0 80% 80% 0;
}

.rstb {
    border-radius: 80% 0 0 80%;
}

.sideblock video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#centerheader {
    box-sizing: content-box;
    align-self: center;
    height: 40%;
    width: 100%;

}
#queen {
    color: #D5A021;
    font-family: 'Gravitas One', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    width: 100%;
    font-size: 6em;
}

.headtxt {
    color: #D5A021;
    font-family: 'Gravitas One', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    width: 100%;
    height: 20%;
    padding: 0 50px 0 50px;
    text-align: center;
}


nav {
    display: flex;
    position: fixed;
    align-items: center;
    gap: 24px;
    border-radius: 9999px;
    padding: 1em 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Segoe UI', Verdana, sans-serif;
    background-color: rgb(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    font-size: 1em;
    border-style: solid;
    border-width: 2px;
    border-color: #14342B;
    z-index: 1000;
}

footer {
    width: 100%;
    height: 200px;
    background-color: black;
    display: flex;
    padding: 20px 20px;
    justify-content: start;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    flex-direction: row;
}

#logo {
    width: 15%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}

#logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

#ftnav {
    width: 15%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 2.0;
    color: rgb(255, 255, 255, 0.7);
    font-size: 1em;
}

#ftnav li:hover {
    color: #fff;
}


#ftnav ul {
    list-style-type: none;
    padding: 0;
}

#ftnav li {
    position: relative;
    padding-left: 30px;
    display: flex;
    align-items: center;
}

#ftnav li::before {
    content: '';
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#ftnav li:nth-child(1)::before {
    background-image: url(../img/nhome.svg);
}

#ftnav li:nth-child(2)::before {
    background-image: url(../img/nhistory.svg);
}

#ftnav li:nth-child(3)::before {
    background-image: url(../img/ndisc.svg);
}

#ftnav li:nth-child(4)::before {
    background-image: url(../img/nmembers.svg);
}

#ftxt {
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align:start;
    justify-content: center;
    font-size: 0.7em;
    filter: invert(0.5);
    padding-left: 20px;
    padding-right: 20px;
}

#socialblock {
    width: 20%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
}

#socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
    width: fit-content;
}

#socials a {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: auto;
}

#socials img {
    width: 100%;
    height: 100%;
    filter: invert(0.3);
    transition: filter 0.3s ease;
}

#socials img:hover {
    filter: invert(0);
}

#endblock {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction:column;
    height: 100%;
    width: 20%;
    padding-right: 20px;
    padding-left: 20px;
    filter: invert(0.3);
}

#emform {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70%;
    width: 100%;
}

#emtext {
    font-size: 0.5em;
    object-fit:fill;
}

#backbut {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    width: 100%;
    border: 1px solid #ffffff33;
    border-radius: 4px;
    margin-top: 10px;
}

#ebox {
    background: #ffffff1f;
    border: 1px solid #ffffff33;
    border-radius: 4px;
    margin-bottom: 12px;
    display: flex;
    width: 100%;
    align-items: center;
}

#emin {
    padding: 9px 0 9px 12px;
    font-size: 12px;
    color: #fff;
    width: 100%;
    position: relative;
    background-color: transparent;
    border: 0;
}

#embut {
    padding: 10px 12px;
    color: transparent;
    content: '';
    display: block;
    background: url(../img/arrow-right-mini.svg);
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

#embut:hover {
    filter: invert(0.5);
    scale: 1.2;
}

nav a {
    color: black;
    transition: all 0.2s ease;
}

nav a:hover {
    scale: 1.05;
}






@media (max-width: 1300px) {
    #headblock {
        width: 70%;
    }
    .sideblock {
        width: 15%
    }
    footer {
        height: 250px;
    }
    #logo {
        height: 60%;
        width: 20%;
    }
    #ftxt {
        width: 30%;
        font-size: 0.5em;
    }
    #socialblock {
        width: 15%;
    }
    #ftnav {
        font-size: 0.7em;
    }
    #socials {
        gap: 30px
    }
}

@media (max-width: 1000px) {
    #socials {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    #socials a {
        width: 30px;
        height: 30px;
    }
    #ftnav {
        width: 20%;
    }
    #ftext {
        width: 25%;
    }
}

@media (max-width: 768px) {
    header {
        height: 500px;
    }
    #queen {
        font-size: 3.5em;
    }
    .headtxt {
        font-size: 0.7em;
    }
    nav {
        font-size: 0.8em;
    }

    footer {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas: 
            "logo nav soc end"
            "text text text text";
        padding: 10px 10px;
        justify-content: center;
    }
    #logo {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        justify-content: center;
        grid-area: logo;
    }
    #logo img {
        height:90px;
        width: auto;
    }
    #ftnav {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: nav;
        font-size: 0.8em;
    }
    #ftxt {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: text;
        font-size: 0.6em;
    }
    #socialblock {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: soc;
    }
    #socials {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    #socials a {
        width: 30px;
        height: 30px;
    }
    #endblock {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: end;
    }
}

@media (max-width: 480px) {
    header {
        height: 200px;
    }
    #queen {
        font-size: 2em;
    }
    .headtxt {
        font-size: 0.5em;
        padding: 0 10px 0 10px;
    }
    .sideblock {
        display: none;
    }
    #headblock {
        width: 100%; 
        height: 70%;
        margin-top: 10%;
    }
    nav {
        font-size: 0.6em;
    }
    #centerheader {
        height: 60%;
    }
    footer {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "logo nav"
            "end soc"
            "text text";
        padding: 10px 10px;
        justify-content: center;
    }
    #logo {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        justify-content: center;
        grid-area: logo;
    }
    #logo img {
        height:90px;
        width: auto;
    }
    #ftnav {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: nav;
        font-size: 0.8em;
    }
    #ftxt {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: text;
        font-size: 0.6em;
    }
    #socialblock {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: soc;
    }
    #socials {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    #socials a {
        width: 30px;
        height: 30px;
    }
    #endblock {
        width: 100%;
        height: auto;
        padding: 10px 10px;
        grid-area: end;
    }
}