:root {
    --timing: 0.5s;
    --bezier: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #2d2d3a;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #2d2d3a;
}

@keyframes fade {
    0% {
        opacity: 0;
        transform: translate(0, 30px);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

.head-right {
    animation: fade var(--timing) var(--bezier) both;
    animation-delay: var(--timing);
}

a {
    text-decoration: none;
    cursor:pointer;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'BentonSans',sans-serif;
}

header {
    position: fixed;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2.5rem;
    z-index: 99999;
}

.head-center {
    text-align: center;
    top: 0;
    transition: top 1s;
}

.head-center svg {
    width: 250px;
    transition: 0.5s;
}

.headerup {
    transform: translateY(-150px);
    transition: 0.5s;
}

.head-right {
    display: flex;
    right: 0;
    position: fixed;
    padding: 3rem 5rem;
}

.toggle-menu svg {
    width: 30px;
}

.search-icon svg {
    width: 38px;
    margin-top: -2px;
    margin-right: 0.7rem;
}

.toggle-open {
    display: none;
    font-family: 'Baskervville',serif;
    width: 50%;
    height: 100vh;
    background-color: #2c2c39;
    position: fixed;
    padding: 3rem 5rem;
    color: #f3f0e8;
    text-transform: uppercase;
    z-index: 99999;
    transition: 1s;
}

.toggle-open a {
    color: #f3f0e8;
}

.toggle-open-header {
    text-align: right;
    font-family: 'BentonSans',sans-serif;
    font-size: 1.5rem;
    padding-bottom: 3rem;
}

.toggle-open-header svg {
    width: 21px;
}

.toggle-open-list {
    font-size: 1.3rem;
}

.toggle-open-list a {
    padding-bottom: 1rem;
}

.toggle-open-list a:hover {
    text-decoration: 1px underline #f3f0e8;
}

.wrapper-content {
    margin: 13rem;
}

.wrapper-main {
    display: flex;
    flex-direction: column;
}

footer {
    flex: 1;
    font-family: 'BentonSans',sans-serif;
    font-weight: 500;
    padding: 3rem 0;
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.5fr;
    grid-gap: 1.5rem;
    line-height: 1.7;
    border-top: 1.5px solid #2c2c39;
    margin: 3rem 30rem;
    color: #3f3f3f;
    font-size: 1rem;
}

footer a {
    color: #3f3f3f;
}

footer p {
    font-weight: 600;
}

@media (max-width:767px) {
    .head-center,
    .head-right {
        animation: none;
    }

    header {
        padding: 1rem;
    }

    .head-center svg {
        width: 170px;
    }

    .head-right {
        padding: 0.5rem 1rem;
        justify-content: space-around;
    }

    .search-icon {
        left: 0;
        position: fixed;
        padding-left: 1.2rem;
    }

    .search-icon svg {
        width: 32px;
    }

    .toggle-menu svg {
        width: 25px;
    }

    .toggle-open {
        width: 100%;
        padding: 3rem;
    }

    .terior-item {
        padding: 0;
        flex-direction: column;
        display: flex;
        grid-template-columns: none;
        font-size: 1rem;
    }

    .wrapper-content {
        margin: 10rem 1rem 5rem;
    }

    footer {
        padding: 1rem 0;
        grid-template-rows: 1fr 1fr 1fr;
        grid-template-columns: none;
        line-height: 1.5;
        letter-spacing: 1px;
        border-top: 1px solid #2c2c39;
        margin: 1rem;
        font-size: 0.9rem;
    }
}

@media (min-width:768px) and (max-width:999px) {
    .head-center svg {
        width: 200px;
    }

    .head-right {
        transform: scale(0.8);
    }

    .main-under-box {
        height: 45vh;
    }

    footer {
        padding: 1rem 0;
        display: grid;
        line-height: 1.7;
        margin: 3rem 1rem;
        font-size: 0.9rem;
    }
}

@media (min-width:1000px) and (max-width:1439px) {
    footer {
        padding: 1rem 0;
        display: grid;
        line-height: 1.7;
        margin: 3rem 10rem;
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

@media (min-width:1440px) and (max-width:1919px) {
    footer {
        margin: 3rem 15rem;
        font-size: 0.9rem;
    }
}

@media (min-width:1920px) and (max-width:2700px) {
    footer {
        margin: 3rem 25rem;
    }
}
