@charset "UTF-8";

nav {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 96px;
    background-color: rgb(250 250 250 / 0.4);
    color: rgb(15 35 50);
}

nav::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    background-image: url(../img/bg-pattern010_4.png);
    background-size: 85px;
    opacity: 0.5;
}

nav::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    background-image: linear-gradient(to right, rgb(250 250 250 / 0%), rgb(250 250 250 / 100%), rgb(250 250 250 / 0%));
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 8px 0 16px;
    position: relative;
    z-index: 10;
}

nav a {
    color: rgb(15 35 50);
    text-decoration: none;
}
nav a:hover {
    text-shadow: 0 0 8px;
}

#siteTitle {
    font-family: 'Lora';
    font-size: 2.4rem;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

/***/
.item {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 999;
    width: 50px;
    height: 50px;
    /* padding-top: 80px; */
    text-align: center;
    box-sizing: border-box;
    counter-increment: item;
    transform-origin: right top;
    transform: scale(0.6);
    display: none;
}

.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}

.menu-trigger {
    position: relative;
    width: 50px;
    height: 44px;
    background: none;
    border: none;
    appearance: none;
    cursor: pointer;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #d1cabb;
    border-radius: 4px;
}

.menu-trigger span:nth-of-type(1) {
    top: 0;
}

.menu-trigger span:nth-of-type(2) {
    top: 20px;
}

.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}

#menu12::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: '';
    width: 84px;
    height: 84px;
    margin: -45px 0 0 -45px;
    border-radius: 50%;
    border: 4px solid transparent;
    transition: all .75s;
}

#menu12.active span:nth-of-type(1) {
    transform: translateY(20px) rotate(-45deg);
}

#menu12.active span:nth-of-type(2) {
    left: 60%;
    opacity: 0;
    animation: active-menu12-bar02 .8s forwards;
}

@keyframes active-menu12-bar02 {
    100% {
        height: 0;
    }
}

#menu12.active span:nth-of-type(3) {
    transform: translateY(-20px) rotate(45deg);
}

#menu12.active::after {
    animation: active-menu12 .4s .25s forwards;
}

@keyframes active-menu12 {
    0% {
        border-color: rgb(0 0 0 / 0%);
        transform: rotate(0);
    }

    25% {
        border-color: rgb(0 0 0 / 0%) #d1cabb rgb(0 0 0 / 0%) rgb(0 0 0 / 0%);
    }

    50% {
        border-color: rgb(0 0 0 / 0%) #d1cabb #d1cabb rgb(0 0 0 / 0%);
    }

    75% {
        border-color: rgb(0 0 0 / 0%) #d1cabb #d1cabb #d1cabb;
    }

    100% {
        border-color: #d1cabb;
        transform: rotate(-680deg);
    }
}


@media screen and (max-width: 480px) {
    .item {
        display: block;
    }
    nav {
        height: 100%;
        transform: translate(100%);
        transition: all 0.5s;
    }
    nav.active {
        transform: translate(0%);
    }
    nav ul {
        padding: 24px 24px 16px;
    }
    #siteTitle {
        margin: 0 0 24px;
    }
    .link_btn {
        width: 100%;
        height: 48px;
        line-height: 48px;
        border: 1px solid #95a1af;
        margin: 0 0 16px;
    }
    nav a {
        color: #95a1af;
        background-color: rgb(250 250 250 / 0%);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    nav a:hover {
        text-shadow: none;
        color: rgb(250 250 250);
        background-color: #95a1af;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}