.header-top__text {
    color: var(--white);
    margin: 0 auto;
    width: max-content;
    width: -moz-max-content;
    font-size: 14px;
    line-height: 18px;
    padding: 6px 15px;
    transition: .3s;
}

.header-top__text a {
    color: var(--white);
    font-weight: 400;
    font-size: 14px;
}

.header-top__text a:hover {
    text-decoration: none;
}

.header-top__close {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 15px;
    transform: translateY(-50%);
    cursor: pointer;
}

.header-top__close span {
    width: 10px;
    height: 1px;
    background-color: var(--white);
    display: block;
}

.header-top__close span:first-child {
    transform: translate(-50%) rotate(-45deg);
    position: absolute;
    bottom: 50%;
    left: 50%;
}

.header-top__close span:last-child {
    transform: translate(-50%) rotate(45deg);
    bottom: 50%;
    left: 50%;
    position: absolute;
}

.hidden {
    height: 0;
    overflow: hidden;
    opacity: 0;
}

@media (max-width: 767px) {
    .header-top__text, .header-top__text a {
        font-size: 10px;
    }
}
