@charset "UTF-8";

header {
    position: fixed;
    display: flex;
    z-index: 999;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
}

.header_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.header_logo img {
    width: 45px;
    height: 45px;
    border: 1px solid #dadada;
    border-radius: 50px;
    margin: 0 20px 0 15px;
}

.header_logo h1 {
    font-weight: 700;
    font-size: 30px;
}

.lang-change {
    margin-right: 20px;
    padding: 10px 0px;
}

.lang-change a {
    gap: 5px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.lang-change a svg {
    width: 16px;
    height: 16px;
}

.header_list {
    display: flex;
}

.header_list-item {
    list-style: none;
}

.header_list-link {
    text-decoration: none;
    color: #262628;
    display: block;
    margin-right: 20px;
    padding: 10px 0px;
}

.hamburger-checkbox {
    display: none;
}

#hamburger:checked ~ .hamburger-menu_bg {
    display: block;
}

.hamburger-button {
    display: none;
}

.hamburger-mark {
    background-color: #262628;
    display: block;
    height: 1px;
    transition: 0.3s;
    width: 20px;
}

@media screen and (max-width: 768px) {
    .header_logo img {
        width: 38px;
        height: 38px;
    }

    .header_logo h1 {
        font-size: 20px;
    }

    .hamburger-menu_list {
        background-color: #ffffff;
        align-items: flex-start;
        flex-direction: column;
        left: 0;
        padding: 30px;
        position: absolute;
        transform: translateX(-100%);
        transition: 0.3s;
        top: 100%;
        width: 100vh;
        height: 100vh;;
    }

    #hamburger:checked ~ .hamburger-menu_list {
        transform: translateX(0%);
    }

    .hamburger-button {
        align-items: center;
        appearance: none;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 32px;
        justify-content: center;
        width: 32px;
        margin-right: 20px;
    }

    #hamburger:checked
        ~ .hamburger-button
        .hamburger-mark:nth-of-type(1) {
        transform: translate(2px, 1px) rotate(45deg);
        transform-origin: 0%;
    }
    #hamburger:checked
        ~ .hamburger-button
        .hamburger-mark:nth-of-type(2) {
        opacity: 0;
    }
    #hamburger:checked
        ~ .hamburger-button
        .hamburger-mark:nth-of-type(3) {
        transform: translate(2px, 3px) rotate(-45deg);
        transform-origin: 0%;
    }
}

