@font-face { font-family: Gilroy-Bold; src: url(../font/gilroy-bold-4.otf); } @font-face { font-family:Gilroy-Medium; src: url(../font/Gilroy-Medium-2.otf); } @font-face { font-family:Gilroy-Regular; src: url(../font/gilroy-regular-3.otf); } input, button, input:hover, input:focus button:hover, button:focus{ background-color: unset; border: unset; outline: unset; cursor: pointer; } header{ margin: 0 0.66rem; height: 5rem; background-color: #def5f5; border-bottom-left-radius: 0.833rem; border-bottom-right-radius: 0.833rem; .nav{ display: flex; align-items: center; justify-content: space-between; padding: 2rem; gap: 1rem; img{ height: 1.917rem; } button{ border-radius: 0.6rem; padding: .2rem 1rem; background-color: #204f5e; font-size: 0.75rem; font-weight: normal; font-stretch: normal; color: #ffffff; white-space: nowrap; &:last-child{ margin-left: 1rem; } } .line-container { width: 32px; height: 24px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; .line { width: 100%; height: 2px; background-color: #204f5e; border-radius: 20px; transition: transform 1s ease, opacity 0.5s ease; transform-origin: left; } &.active .line-1 { transform: rotate(45deg); } &.active .line-2 { opacity: 0; } &.active .line-3 { transform: rotate(-45deg); } } } .search{ width: 30.208rem; height: 2rem; margin: 0 auto; border-radius: 1.3rem; padding: 0 1.3rem; background-color: #ffffff; display: flex; align-items: center; font-size: 1rem; input{ flex: 1; font-family: Gilroy-Medium; font-size: 0.75rem; color: #5a8695; } .iconfont:hover{ color: #23bcec; cursor: pointer; } } } #menu{ overflow-y: auto; position: fixed; height: 100vh; top: 0; left: -40%; z-index: 10; box-sizing: border-box; background-color: #f3fdfd; border-top-left-radius: 0.833rem; border-top-right-radius: 0.833rem; padding:3rem 2rem; color: #204f5e; transition: left ease-in .3s; scrollbar-color: transparent transparent; scrollbar-width: thin; &:hover{ scrollbar-color: #6c8d97 transparent; } &.show{ left: 0; } .button{ margin-bottom: .4rem; cursor: pointer; width: 100%; box-sizing: border-box; display: block; font-family: Gilroy-Bold; font-size: 1rem; height: 1.833rem; padding:0 0.9rem; ; line-height: 1.833rem; border-radius: .9rem; text-align: start; display: flex; align-items: center; &::before{ padding-right: .4rem; font-size: 0.9rem; } &.active{ background-color: #def5f5; &::before{ color: #23bcec; } } } .line{ height: 1px; margin: 1.3rem 0; width: 100%; background-color: #204f5e39; } .nav_content{ color: #204f5e; li{ a{ display: block; font-family: Gilroy-Medium; font-size: 0.75rem; font-weight: normal; font-stretch: normal; letter-spacing: 0rem; margin-bottom: .3rem; padding:0.5rem 0.9rem; ; line-height: 0.833rem; border-radius: .9rem; display: flex; align-items: center; &:hover{ color: #23bcec; } &::before{ padding-right: .2rem; font-size: 0.8rem; } &.active{ background-color: #def5f5; &::before{ color: #23bcec; } } } } } } footer{ margin: 0 0.66rem; margin-top: 4rem; background-color: #def5f5; border-top-left-radius: 0.833rem; border-top-right-radius: 0.833rem; position: relative; padding: 1rem; padding-bottom: 3.6rem; .logo{ position: absolute; top: -1.3rem; left: calc(50% - 2.5rem); height: 5rem; margin: 0 auto; } ul{ padding-top: 6rem; color: #204f5e; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap:1rem 2rem; a{ text-decoration: underline; font-size: 0.917rem; font-family: Gilroy-Bold; font-weight: normal; font-stretch: normal; line-height: 1.2rem; letter-spacing: 0rem; text-decoration: underline; &:hover{ color: #23bcec; } } } .copyright{ text-align: center; font-family: Gilroy-Medium; font-family: Gilroy-Medium; font-size: 0.75rem; font-weight: normal; font-stretch: normal; line-height: 1.25rem; letter-spacing: 0rem; color: #204f5e; padding-top: 2rem; } p{ text-align: center; padding-top: 1rem; font-family: Gilroy-Medium; font-size: 0.75rem; font-weight: normal; font-stretch: normal; line-height: 0.75rem; letter-spacing: 0rem;; color: #204f5e; white-space: pre-line; } } @media (max-width: 1024px) { :root{ font-size: 16px !important; } } @media (max-width: 640px){ header{ z-index: 1; height: unset; margin: 0; position: fixed; top: 0; left: 0; width: 100%; .nav{ flex-wrap: wrap; padding: 1rem; img{ // width: 10rem; display: block; margin: 0 auto; } .search{ width: 60%; } } } #menu{ overflow-y: auto; position: fixed; height: 100vh; width: 80%; top: 0; left: -85%; z-index: 10; } footer{ ul{ padding-top: 5rem; gap: 1rem; font-size: 0; } } }