.header {
    display: flex;
    flex-wrap: wrap;
}
.header .top {
    flex-basis: auto;
    height: 70px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}
.header .top1 {
    flex-basis: 14%;
    justify-content: flex-start;
    gap: 0;
}
.header .top2 {
    flex-basis: 58%;
    justify-content: center;
    gap: 10px;
}
.header .top3 {
    flex-basis: 28%;
    justify-content: flex-end;
    gap: 0;
}

.header .top1 a,
.header .top3 a{
    padding: 5px;
}

.header .top2 .info-box {
    display: flex;
    align-items: flex-start;
    font-size: 18px;
    margin-left: 8px;
    margin-right: 8px;
    gap: 7px;
}
.header .top2 .info-box i {
    align-items: center;
    color: var(--button-big-background-color);
}
.header .top2 .info-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.header .top2 .info-title {
    font-weight: bold;
    font-size: 15px;
}
.header .top2 .info-subtitle {
    font-size: 12px;
    color: var(--main-text-color);
}
.header .top2 .info-subtitle a {
    font-size: inherit;
    text-decoration: none;
    color: var(--main-text-color);
    transition: transform 0.3s ease;
}
.header .top2 .info-subtitle a:hover {
    text-decoration: none;
    color: var(--button-big-background-color);
}

.header .responsive-logo {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;
    display: block;
    border: none;
    transition: transform 0.3s ease;
}
.header a:hover .responsive-logo {
    transform: scale(1.15);
}

.header .menu {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: var(--primary-background-color);
}
.header .menu .hamburger {
    display: none; /* Hidden as default */
    font-size: 22px;
    color: var(--primary-text-color);
    cursor: pointer;
    padding: 10px;
    background: var(--primary-background-color);
    border: none;
}
.header .menu .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: var(--primary-background-color);
}
.header .menu .wrapper a {
    font-size: 1em;
    font-weight: bold;
    color: var(--primary-text-color);
    padding: 10px 15px;
    text-decoration: none;
    border: 3px solid transparent;
    transition: border-bottom 0.3s;
}
.header .menu .wrapper a:hover {
    border-bottom: 3px solid var(--secondary-background-color);
}

@media (max-width: 1024px) {
    .header .top {
        height: 80px;
    }
    .header .top1 {
        flex-basis: 72%;
    }
    .header .top2 {
        display: none;
        flex-basis: 0%;
    }
    .header .top3 {
        flex-basis: 28%;
    }

    .header .menu .hamburger {
        display: block;
    }
    .header .menu .wrapper {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        background-color: var(--primary-background-color);
        z-index: 999;
    }
    .header .menu .wrapper.active {
        display: flex;
        flex-direction: column;
    }
    .header .menu .wrapper a {
        font-size: 20px;
        font-weight: normal;
        transition: background-color 0.3s;
    }
    .header .menu .wrapper .login {
        color: var(--button-big-text-color);
        background: var(--button-big-background-color);
    }
    .header .menu .wrapper a:hover {
        color: var(--secondary-text-color);
        background-color: var(--secondary-background-color);
        border-bottom: 1px solid var(--primary-text-color);
    }
    .header .menu .wrapper .menu-item {
        border-bottom: 1px solid var(--primary-text-color);
    }
}

@media (max-width: 768px) {
    .header .top {
        height: 80px;
    }
    .header .top2 {
        display: none;
    }
    .header .top1,
    .header .top3 {
        flex-basis: 100%;
        justify-content: center;
    }
}