/* nav */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}
.header-nav {
    flex: 4;
}
.header-search {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}
.header-search .search-box {
    width: 100%;
    max-width: 200px;
    height: 30px;
    background-color: #DDE4EE;
    background-color: var(--paleBlue);
    border-radius: 13px;
    margin-bottom: 1rem;
}
.search-box form {
    display: flex;
    justify-content: space-between;
    height: 100%;
}
.search-box input {
    height: 100%;
    background: none;
    border: none;
    outline: none;
    padding-left: 10px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    min-width: 0;
    flex: 1;
}
.search-box .search-btn {
    height: 100%;
    padding: 0 8px;
}
.search-box button i {
    font-size: 1.3rem;
}
.lang-btns {
    position: absolute;
    bottom: -70%;
    right: 3px;
}
.lang-btns .wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
}
.lang-btn {
    width: 30px;
    height: 20px;
}
.lang-btn img {
    display: block;
    width: 100%;
    height: 100%;
}
.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-start;
	margin-left: 9rem;
    gap: 0.5rem;
    position: relative;
}
.nav-menu.lang {
	margin-left: 7rem;
}
.nav-item {
    cursor: pointer;
    position: relative;
}
.nav-item > a {
    font-size: 1.7rem;
    padding: 8px;
    color: #fff;
}
.nav-item.lang > a {
	font-size: 1.5rem;
}
.nav-item::after {
    content: "";
    position: absolute;
    width: 80%;
    background-color: #fff;
    height: 2px;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all;
}
.nav-item.active::after {
    opacity: 1;
    visibility: visible;
    bottom: -6px;
}
.nav-item:hover > a {
    color: rgba(255, 255, 255, 0.8);
}
.nav-item:hover::after {
    bottom: -6px;
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.5);
}
.nav-item.nav-drop:hover::after {
    opacity: 0;
    visibility: hidden;
}
.nav-drop a i {
    font-size: 1.2rem;
}
.nav-drop .drop-btn {
    display: none;
    padding: 0 10px;
    color: var(--darkBlue);
}
.nav-drop .drop-btn i {
    font-size: 1.5rem;
    color: #fff;
}
.nav-drop .drop-menu {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s all;
    background-color: #6483b4;
    background-color: var(--lightBlue);
    z-index: 9;
    min-width: 175px;
	border-radius: 6px;
}
.nav-item:hover > .drop-menu {
    opacity: 1;
    visibility: visible;
}
.drop-menu .drop-item {
    cursor: pointer;
    padding: 4px;
}
.drop-item > a {
    display: block;
    font-size: 1.4rem;
    color: #fff;
    padding: 4px;
	border-radius: 6px;
	text-transform: uppercase;
}
.drop-item:hover > a {
    background-color: #fff;
    color: #5072A7;
    color: var(--mainBlue);
}
.hidden-check {
    display: none;
}
.nav-btn {
    cursor: pointer;
    padding: 6px;
	width: auto !important;
}
.nav-btn i {
    font-size: 2rem;
    color: #fff;
}
.nav-btn.close-nav {
    display: none;
    width: 30px;
    height: 30px;
    padding: 4px;
    margin-left: 8px;
    margin-top: 5px;
}
.nav-btn.open-nav i {
    font-size: 2.5rem;
}
.header-btns {
    display: none;
}

/* end nav */

/* nav responsive */
@media only screen and (max-width: 1400px) {
	.nav-menu.lang {
		margin-left: 2rem;
	}
}
@media only screen and (max-width: 1250px) {
    .header-search .search-box {
        max-width: 160px !important;
    }
    .nav-item > a {
        font-size: 1.55rem !important;
    }
	.nav-item.lang > a {
		font-size: 1.4rem !important;
	}
	.nav-menu {
		justify-content: center;
		margin-left: 0;
	}
}
@media only screen and (max-width: 1000px) {
	.header-search .search-box {
        max-width: 140px !important;
    }
}
@media only screen and (max-width: 900px) {
    .header-content {
        z-index: 9;
        position: fixed;
        max-width: 300px;
        width: 100%;
        top: 0;
        right: 0;
        min-height: 100vh;
        transform: translateX(100%);
        background-color: #5072A7;
        background-color: var(--mainBlue);
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-start;
        transition: 0.3s all;
        background-color: #6483b4;
        background-color: var(--lightBlue);
    }
    .header-search {
        min-height: 12vh;
        flex: 0;
        flex-direction: column-reverse;
        justify-content: space-between;
        width: 100%;
        gap: 1rem;
    }
    .lang-btns {
        position: static;
        display: flex;
        justify-content: space-between;
    }
    .lang-btns .wrapper {
        gap: 10px;
        margin-top: 14px;
        margin-right: 14px;
    }
    .header-search .search-box {
        margin: 0 auto;
        max-width: none !important;
        width: 80%;
    }
    .search-box .search-btn {
        padding: 0 10px;
    }
    .header-nav {
        width: 100%;
    }
    .header-nav nav {
        margin-top: 5vh;
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-menu {
        flex-direction: column;
        gap: 2rem;
        background: none;
    }
    .nav-menu .nav-item {
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav-item > a,
	.nav-item.lang > a {
        display: block;
        padding: 4px;
        font-size: 1.6rem !important;
    }
    .nav-item::after {
        content: none;
    }
    .nav-item > .drop-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        width: 90%;
        margin: 0 auto;
        background-color: #5072A7;
        background-color: var(--mainBlue);
    }
    .nav-drop a {
        display: flex;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
    }
    .nav-drop .fa-chevron-down {
        display: none;
    }
    .nav-drop .drop-btn {
        display: inline-block;
    }
    #dropBtn:checked ~ .drop-menu {
        display: block;
    }
    #navOpen:checked ~ .header-content {
        transform: translateX(0);
    }
    .nav-btn.close-nav {
        display: inline-block;
    }
    .header-btns {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
    .header-btns .open-search i {
        transform: translateY(-1px);
    }
}

