@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    color: rgb(26, 26, 26);
}

.menu-trigger {
    display: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
    cursor: pointer;
}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: 0.4s;
}

.headerbar {
    height: 70px;
    background-color: rgb(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.headerbar img {
    width: 70%;
    margin: 5% auto 3% 65%;
}

.headerbar nav {
    width: 60%;
}

.headerbar ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-right: 15%;
}

.header li {
    margin: 0 5%;
}

.headerbar li a {
    text-decoration: none;
    font-size: 18px;
    transition: 0.2s;
}

.headerbar li a:hover {
    border-bottom: solid 2px #a87f7e;
}

@media screen and (max-width: 1100px) and (min-width: 769px) {
    .headerbar li a {
        font-size: 16px;
    }

    .headerbar img {
        width: 60%;
        margin: 3% auto 3% 40%;
    }
}


@media (max-width:768px) {

.headerbar {
    height: 70px;
}

.headerbar p img {
    width: 60%;
    margin: 3% auto 3% 20%;
}

.menu-trigger {
    width: 50px;
    height: 50px;
    outline: none;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 2;
    background-color: rgb(255, 255, 255, 0.1);
}

.menu-trigger span {
    position: absolute;
    left: 13px;
    height: 2px;
    width: 50%;
    background-color: rgb(104, 103, 103);
}

.menu-trigger span:nth-of-type(1) {
    top: 22px;
    width: 50%;
}

.menu-trigger span:nth-of-type(2) {
    top: 29px;
    width: 30%;
}

.menu-trigger.active span:nth-of-type(1) {
    top: 20px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}

.menu-trigger.active span:nth-of-type(2) {
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}

#global-nav {
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgb(255, 255, 255, 0.9);
    margin: 0;
    padding: 90px 5% 0;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

#global-nav.active {
    display: block;
    z-index: 1;
}

#global-nav ul {
    display: block;
}

#global-nav li {
    margin: 0 auto;
}

#global-nav li,
#global-nav li:last-child {
    text-align: center;
    margin-bottom: 6%;
}

#global-nav li a {
    font-size: 24px;
    text-align: center;
    background: none;
    padding-top: 12px;
}

}