

.header__wrap {
    /*padding: 16px 56px;*/
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    gap: var(--offset-xs);
    margin: 0 auto;
    height: 86px;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.logo {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: var(--offset-3xs);
    height: 24px;
}

.logo__image {
    width: 132px;
    height: 12px;
    padding-right: var(--offset-3xs);
    border-right: 1px solid var(--accent-1000);
}

.logo__text {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: var(--accent-1000);
}

.buttons {
    display: grid;
    grid-auto-flow: column;
    gap: var(--offset-3xs);
    justify-content: center;
    align-items: center;
    width: max-content;
}

.enter-button {
    display: grid;
    border-radius: 8px;
    width: 94px;
    height: 44px;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    align-content: center;
    text-decoration: none;
}

.create-button {
    display: grid;
    border-radius: 8px;
    width: 174px;
    height: 44px;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    align-content: center;
    text-decoration: none;
}

/*Header Menu*/
.header__menu {
}

.header__menu__items {
    display: grid;
    grid-auto-flow: column;
    gap: var(--offset-xs);
}

.header__menu__item {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 125%;
    text-align: center;
    color: var(--base-1000);
    text-decoration: none;
    transition: 0.3s all;
}

.header__menu__item--active {
    color: var(--accent-1000);
}

.header__menu__item:hover {
    transition: 0.3s all;
    color: var(--accent-1000);
}

/*Adaptive Header Icons*/
.header__icons {
    display: none;
    grid-template-columns: repeat(2, max-content);
    gap: 16px;
    width: max-content;
    align-self: center;
    align-content: center;
}

.header__login {
    display: grid;
    width: 36px;
    height: 36px;
    background: url('/images/icons/login.svg') center no-repeat;
    background-size: 36px;
}

.header__signup {
    display: grid;
    width: 36px;
    height: 36px;
    background: url('/images/icons/signup.svg') center no-repeat;
    background-size: 36px;
}

/*User Dropdown Block*/
.user-controlls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size: 16px;
    position: relative;
    line-height: 125%;
    text-align: center;
    width: auto;
}

.user-controlls--button {
    text-decoration: none;
    color: #636A71;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
}

.user-controlls--button.active {
    color: #0052A0;
}

.user-controlls--icon {
    display: grid;
    width: 44px;
    height: 44px;
    background-color: #0052A0;
    border-radius: 100%;
    color: #fff;
    align-content: center;
    text-align: center;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    letter-spacing: 0.01em;
}

.user-controlls--block {
    width: 268px;
    position: absolute;
    border: 1px solid #E4E6E8;
    border-radius: 8px;
    padding: 8px 0;
    transition: 0.3s all ease-in;
    top: 75%;
    opacity: 0;
    visibility: hidden;
    right: 0;
    z-index: 1000;
    background-color: transparent;
}

.user-controlls--user-info {
    padding: 24px;
    text-align: center;
}

.user-controlls--user-info>.user-controlls--icon {
    margin: 0 auto;
}

.user-controlls--icon:hover ~ .user-controlls--block {
    display: block;
    transition: 0.3s all ease-in;
    opacity: 1;
    background-color: #fff;
    visibility: visible;
}

.user-controlls--block:hover {
    display: block;
    transition: 0.3s all ease-in;
    visibility: visible;
    background-color: #fff;
    opacity: 1;
}

.user-controlls--buttons {
    display: grid;
    grid-auto-flow: row;
    gap: 8px;
    width: 100%;
    justify-items: center;
    align-items: center;
    cursor: pointer;
}

.user-controlls--change, .user-controlls--logout {
    width: 100%;
    transition: 0.3s all;
}

.user-controlls--change a, .user-controlls--logout a {
    transition: 0.3s all;
}

.user-controlls--change:hover, .user-controlls--logout:hover {
    transition: 0.3s all;
    background-color: #F7F7F8;
    color: #353A40;
    border-radius: 8px;
}

.user-controlls--change:hover a, .user-controlls--logout:hover a {
    transition: 0.3s all;
    color: #0052A0;
}

.user-controlls--button {
    width: 100%;
    text-decoration: none;
    color: #636A71;
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 143%;
    border-radius: 8px;
}

/*Media*/

/*@media(max-width: 980px) {*/

/*    .header {*/
/*        padding: 16px 48px;*/
/*    }*/
/*}*/

/*@media(max-width: 720px) {*/

/*    .header {*/
/*        padding: 16px 40px;*/
/*    }*/
/*}*/

/*@media(max-width: 640px) {*/

/*    .header {*/
/*        padding: 16px 32px;*/
/*    }*/
/*}*/

/*@media(max-width: 560px) {*/

/*    .header__buttons {*/
/*        display: none;*/
/*    }*/

/*    .header__icons {*/
/*        display: grid;*/
/*    }*/
/*}*/

/*@media(max-width: 480px) {*/

/*    .header {*/
/*        padding: 16px 24px;*/
/*    }*/
/*}*/

/*@media(max-width: 420px) {*/

/*    .header {*/
/*        padding: 16px 20px;*/
/*    }*/
/*}*/

/*@media(max-width: 360px) {*/

/*    .header {*/
/*        padding: 16px;*/
/*    }*/

/*    .logo {*/
/*        width: 160px;*/
/*    }*/

/*    .header__icons {*/
/*        gap: 8px;*/
/*    }*/
/*}*/