.site-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 15px;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
background-color: #fff;
}
@media screen and (min-width: 768px) {
.site-header {
padding: 3rem 4%;
}
}
.site-header .logo img {
width: 149px;
height: auto;
transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 768px) {
.site-header .logo img {
width: 197px;
}
}
.site-header .menu-btn {
width: 40px;
height: 32px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
z-index: 2;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.site-header .menu-btn .bar {
height: 4px;
width: 100%;
background-color: var(--primary-color);
transition: all 0.3s ease-in-out;
}
.site-header .menu-btn.active .bar:nth-child(1) {
transform: rotate(45deg);
transform-origin: left;
}
.site-header .menu-btn.active .bar:nth-child(2) {
opacity: 0;
}
.site-header .menu-btn.active .bar:nth-child(3) {
transform: rotate(-45deg);
transform-origin: left;
}
.site-header a {
text-decoration: none;
color: var(--primary-color);
}
.site-header .menu-container {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
background-color: #ffffff;
color: var(--primary-color);
padding: 3rem 10% 0% 10%;
overflow-y: scroll;
transform: translateY(100%);
transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 768px) {
.site-header .menu-container {
padding: 3rem 4%;
}
}
.site-header .menu-container.active {
display: block;
transform: translateY(0);
}
.site-header .menu-container .logo img {
width: 197px;
height: auto;
margin-bottom: 30px;
}
.site-header .menu-container .list {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list {
gap: 1rem;
}
}
.site-header .menu-container .list .c1 {
padding-bottom: 1rem;
border-bottom: 1px solid #0081FF;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list .c1 {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 3rem;
border: none;
}
}
.site-header .menu-container .list .c2 {
padding-bottom: 1rem;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list .c2 {
display: grid;
grid-template-columns: repeat(2, 1fr) 2fr;
gap: 3rem;
border: none;
}
}
.site-header .menu-container .list .head {
font-size: 2.5rem;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
margin-bottom: 1rem;
font-weight: 500;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list .head {
font-size: 3rem;
}
}
.site-header .menu-container .list .head.singleHead {
padding: 3px 0;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list .head.singleHead {
display: flex;
gap: 2.3rem;
justify-content: start;
}
}
.site-header .menu-container .list .head.singleHead img {
display: none;
width: 3rem;
transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list .head.singleHead img {
display: block;
}
}
.site-header .menu-container .list.bigHead {
font-size: 3rem;
padding: 0.3rem 0;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .list.bigHead {
font-size: 3rem;
}
}
.site-header .menu-container .list a {
padding-bottom: 3px;
}
.site-header .menu-container .list div {
padding-bottom: 3px;
}
.site-header .menu-container .dropDownBtn {
width: 24px;
height: 24px;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
.site-header .menu-container .dropDownBtn.active {
transform: rotate(180deg);
}
@media screen and (min-width: 768px) {
.site-header .menu-container .dropDownBtn {
display: none;
}
}
.site-header .menu-container .subList {
padding-left: 1.5rem;
border-left: 1px solid #0081FF;
overflow: hidden;
height: auto;
max-height: 0px;
transition: all 0.3s ease-in-out;
}
.site-header .menu-container .subList.active {
max-height: 45rem;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .subList {
max-height: 45rem;
}
}
.site-header .menu-container .subList ul li {
list-style: none;
}
.site-header .menu-container .subList ul li a {
text-decoration: none;
color: var(--primary-color);
font-weight: normal;
padding-bottom: 3px;
line-height: 1.82;
gap: 2.3rem;
font-size: 1.5rem;
padding: 0.3rem 0;
display: flex;
align-items: center;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .subList ul li a {
font-size: 2rem;
}
}
.site-header .menu-container .subList ul li a img {
width: 1.6rem;
transition: all 0.3s ease-in-out;
}
@media screen and (min-width: 768px) {
.site-header .menu-container .subList ul li a img {
width: 3rem;
}
} .site-header .logo:hover,
.site-header .menu-btn:hover {
opacity: 0.7;
}
.site-header .menu-container .subList ul li a:hover img,
.site-header .menu-container .list .head.singleHead:hover img {
transform: translateX(10%);
}