/* [----NAVBAR----] */
:root {
    --spaceBetween: 30px;
    --contactButtonWidth: 225px;
    --navPosition: 20px;
    --navHeight: 70px;
}

nav {
    font-weight: 500;
    width: 100vw;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--accent);
    display: flex;
}



#logoConstant {
    position: fixed;
    z-index: 200;
}

#logoConstant svg,
#logoConstant img {
    height: 100%;
}

#logoConstant svg,
#logoConstant svg path,
#logoConstant svg rect {
    fill: var(--complement) !important;
    stroke: var(--complement) !important;
    color: var(--complement) !important;
    fill-opacity: 100% !important;
    opacity: 100%;
}

#logotypeConstant {
    position: absolute;
    z-index: 200;
    top: 0vw;
    left: 7%;
    height: 16vw;
    margin: 0;
    padding: 0;
}

#logotypeConstant svg,
#logotypeConstant img {
    height: 100%;
}

#logotypeConstant svg,
#logotypeConstant svg path,
#logotypeConstant svg rect {
    fill: var(--complement) !important;
    stroke: var(--complement) !important;
    color: var(--complement) !important;
    fill-opacity: 100% !important;
    opacity: 100%;
}

#logo,
#logotype {
    position: absolute;
    z-index: 200;
}

#logoAppear {
    opacity: 0;
    position: fixed;
    z-index: 250;
}

#logoAppear.show {
    opacity: 1;
}

#logo img,
#logo svg path,
#logo svg rect{
    width: 100%;
    fill: var(--accent) !important;
    stroke: var(--accent) !important;
    color: var(--accent) !important;
    fill-opacity: 100% !important;
    
    opacity: 100%;
}

#logoAppear img,
#logoAppear svg path,
#logoAppear svg rect{
    width: 100%;
    fill: var(--complement) !important;
    stroke: var(--complement) !important;
    color: var(--complement) !important;
    fill-opacity: 100% !important;
    opacity: 100%;
}

#logotype svg {
    fill: var(--complement);
}

#menutabs {
    margin-right: 10vw;
    cursor: pointer;
    display: flex;
    align-content: center;
    z-index: 300;
}

#menutabs svg {
    height: 100%;
    fill: var(--complement);
    transition: fill 200ms ease-out;
}

#menutabs:hover svg {
    fill: var(--complementHover);
}

.menubar {
    transition: transform 200ms ease-out;
}

#menutabs:hover #up {
    transform: translateY(-25px);
}

#menutabs:hover #down {
    transform: translateY(25px);
}

/*
nav.clicked .menubar {
    fill: var(--complementDarker);
}
*/

nav a {
    display: flex;
    text-decoration: none;
    color: var(--offWhite);
    align-items: center;
    border-radius: 10px;
    white-space: nowrap;
}

.menuOption {
    text-transform: uppercase;
}

nav a:hover {
    text-decoration: underline;
}

#contactButton {
    font-weight: normal;
    background-color: var(--complement);
    color: var(--accentDarkest);
    height: 100%;
    margin-right: 10vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 1vw;
    transition: all 200ms ease-out;
}

#contactButton:hover {
    background-color: var(--complementHover);
    text-decoration: none;
    color: var(--accentLighter);
}

@media screen and (max-width: 600px) {
    #logotype {
        top: -2vw !important;
        left: 3vw;
        transition: transform 0.3s ease !important;
    }

    #logotype.nav-hidden {
        transform: translateY(-120%);
    }

    #menutabs {
        position: absolute;
    }
}

@media screen and (max-width: 766.98px) {
    main {
        top: 16vw;
    }

    nav {
        height: 16vw;
        padding: 3vw 0;
    }

    nav {
        position: fixed;
    }

    #logo {
        z-index: 0;
        height: 35vw;
        width: 70vw;
        margin-left: 5vw;
        top: 0;
    }

    #logo img,
    #logo svg {
        height: 100%;
        width: 100%;
    }

    #logo img,
    #logo svg path,
    #logo svg rect{
        width: 100%;
        fill: var(--accent) !important;
        stroke: var(--accent) !important;
        color: var(--accent) !important;
        fill-opacity: 100% !important;
        
        opacity: 100%;
    }

    #logotype {
        top: -2vw;
        width: 20vw;
        height: 20vw;
        position: fixed;
        transition: transform 0.3s ease !important;
    }

    #logotype.nav-hidden {
        transform: translateY(-120%);
    }

    #logotype img,
    #logotype svg {
        height: 100%;
        width: 100%;
    }

    #contactButton {
        margin: 0 auto;
        min-width: 40vw;
        height: 10vw;
        font-size: 3vw;
        padding: 0 3vw !important;
        border-radius: 7vw;
        border: 1vw solid var(--complement);
    }

    #menutabs {
        height: 7vw;
        margin-top: 1.5vw;
        transition: right 200ms ease-out;
        right: 0;
    }

    nav.clicked #menutabs {
        right: 29vw;
    }

    #menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .menuOption {
        height: 16vw;
        margin: 0;
        font-size: 4vw;
    }

    #menutabs {
        position: absolute;
    }
}

@media screen and (min-width: 766.99px) and (max-width: 991.98px),
       screen and (min-width: 991.98px) and (max-width: 1024.98px) and (orientation: portrait) {

    main {
        top: 10vw;
    }

    nav {
        height: 8vw;
        margin-top: 4vw;
        padding: 1vw 0;
    }

    #navBar {
        background-color: transparent;
        transition: background-color 300ms ease-out;
    }

    #navBar.show {
        background-color: var(--accent);
    }
    
    #logo {
        height: 15vw;
        width: 30vw;
        margin-left: 10vw;
        top: -20.75vw;
    }

    #logo img,
    #logo svg {
        height: 100%;
        width: 100%;
    }

    #logotype {
        display: none;
    }

    #logoAppear {
        height: 18vw;
        width: 24vw;
        top: -1vw;
        left: 7.5%;
    }

    #contactButton {
        min-width: 20vw;
        height: 6vw;
        font-size: 1.6vw;
        border-radius: 3vw;
        border: 0.5vw solid var(--complement);
    }

    #menutabs {
        height: 3vw;
        margin-top: 1.5vw;
    }

    #menu {
        top: 7.5vw;
        right: 7.3%;
    }

    .menuOption {
        font-size: 1.75vw;
    }

    #logoConstant {
        top: -1.5vw;
        left: 10%;
        height: 9vw;
        margin: 0;
        padding: 0;
    }
}

@media screen and (min-width: 992px) and (max-width: 1024.98px) and (orientation: landscape),
       screen and (min-width: 1025px) {

    main {
        top: var(--mainPosition);
    }
    
    nav {
        height: var(--navHeight);
        margin-top: var(--navPosition);
        padding: 10px 0;
        font-size: 14px;
    }

    #navBar {
        background-color: transparent;
        transition: background-color 300ms ease-out;
    }

    #navBar.show {
        background-color: var(--accent);
    }

    #logo {
        height: 150px;
        width: 300px;
        margin-left: 7.5%;
        top: -142.5px;
    }

    #logoAppear {
        height: 125px;
        width: 200px;
        top: -6px;
        left: 7.5%;
    }

    #logo img,
    #logo svg {
        height: 100%;
        width: 100%;
    }

    #logotype {
        height: 200px;
        width: 200px;
        margin-left: 7.5%;
        top: -150px;
    }

    #logotype img,
    #logotype svg {
        height: 100%;
        width: 100%;
    }

    #contactButton {
        min-width: var(--contactButtonWidth);
        height: 50px;
        font-size: 14px;
        font-weight: 500;
        padding: 0 15px !important;
        border-radius: 25px;
        border: 3px solid var(--complement);
        transition: all 200ms ease-out;
    }

    #contactButton:hover {
        background-color: var(--complementHover);
        color: var(--accentLighter);
    }

    #menutabs {
        height: 30px;
        margin-top: 10px;
    }

    #menu {
        top: 75px;
        right: 7.1%;
    }

    #logoConstant {
        top: -9px;
        left: 10%;
        height: 70px;
        margin: 0;
        padding: 0;
    }
}



