@font-face {
    font-family: 'ADayWithoutSun';
    src: url('src/fonts/A\ DAY\ WITHOUT\ SUN.otf');
}
@font-face {
    font-family: 'FreeSans';
    src: url('src/fonts/FreeSans.otf');
    font-weight: normal;
}
@font-face {
    font-family: 'FreeSans';
    src: url('src/fonts/FreeSansBold.otf');
    font-weight: bold;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
* {
    transition: .3s ease;
    line-height: 25px;
    user-select: none !important;
}
html {
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    overflow-x: hidden;
}
html.noScroll, html.noScroll body, html.noScroll .content {
    overflow: hidden;
}
a {
    text-decoration: none;
}
body {
    width: 100vw;
    margin: 0;
    overflow-x: hidden;
}
h1 {
    color: #18B692;
}
h1, h2 {
    font-family: 'ADayWithoutSun';
    letter-spacing: 0px !important;
    font-size: 20px;
    margin-bottom: 10px;
    transform-origin: center;
    transform: scaleX(1.5);
}
*:not(h1):not(h2) {
    font-family: 'FreeSans';
    font-size: 15px;
}
footer {
    width: 100%;
    text-align: center;
    padding: 60px 0;
    padding-bottom: 40px;
    line-height: 18px;
}
footer > span {
    color: #18B692;
    font-size: 12px;
}
footer.stick {
    position: fixed;
    bottom: 0;
    left: 0;
}
header {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0px;
    padding-top: 31px;
}
header img {
    width: 30%;
    max-width: 250px;
}
nav {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 70px;
}
nav a div {
    width: fit-content;
    transform: scaleX(1.5);
}
nav a h1 {
    transform: scaleY(.9) !important;
}
nav a.active h1 {
    color: #18B692;
}
nav a:not(:last-child) {
    padding-right: 85px;
}
nav a:not(.active) h1 {
    color: #BBBBBB !important;
}
nav a:not(.active):hover h1 {
    color: #444444 !important;
}
span, span b {
    font-size: 15px !important;
    font-family: 'Helvetica', sans-serif !important;
    line-height: 29px;
}
.backToTop {
    text-align: center;
    padding-bottom: 70px;
    padding-top: 31px;
}
.backToTop > a {
    color: #999999;
}
.backToTop > a:hover {
    color: #676767 ;
}
.content {
    max-width: 1400px;
    margin: 0 auto;
}
.close {
    position: absolute;
    top: 0;
    right: 5px;
    padding: 15px;
    padding-left: 20px;
    padding-bottom: 25px;    
    width: 25px;
    height: 25px;
    z-index: 9999;
}
.close:hover {
    cursor: pointer;
}
.close::before, .close::after {
    content: "";
    position: absolute;
    height: 30%;
    width: 2px;
    background-color: black;
    left: 60%;
    z-index: 9999;
}
.close::before {
    transform: rotate(-45deg) translate(-5px, 5px);
}
.close::after {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu {
    display: none;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    z-index: 99;
    opacity: 0;
}
.menu.active {
    display: grid !important;
    animation: fadeIn .3s forwards;
    opacity: 1;
}
.menu.active nav {
    display: block !important;
}
.menu nav {
    text-align: center;
}
.menu nav h1 {
    font-size: 30px !important;
    padding-bottom: 40px;
    letter-spacing: 3px;
    transform-origin: center;
}
.menu nav a {
    padding-right: 0 !important;
}
.menu nav a:last-child h1, .menu nav {
    padding-bottom: 0 !important;
}
.hamburger {
    width: 20px;
    aspect-ratio: 1;
    position: absolute;
    right: 15%;
    padding: 20px;
    margin: auto 0;
    transform: translateY(-10px);
}
.hamburger:hover {
    cursor: pointer;
}
.hamburger i {
    position: absolute;
    display: inline-block;
    width: 20px;
    background-color: black;
    height: 2px;
    left: 20px;
}
.hamburger i:nth-child(2) {
    top: 29px;
}
.hamburger i:nth-child(3) {
    top: 38px;
}
.detail {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, .95);
    justify-content: center;
    align-items: center;
}
.detail.active {
    display: flex;
    animation: fadeIn .5s forwards;
    opacity: 1;
}
.detailImg {
    max-width: calc(100% - 15px);
    max-height: calc(100% - 15px);
}
.w100 {
    width: 100%;
}
.title {
    margin: 0 auto;
    margin-bottom: 25px;
    font-size: 50px;
    line-height: 50px;
}
.prev, .next {
    position: absolute;
    height: 100%;
    width: 30%;
    z-index: 11;
}
.prev path, .next path {
    fill: #FFFFFF;
}
.prev circle, .next circle {
    fill: #696969;
    opacity: .3;
}
.prev svg {
    position: absolute;
    left: 15px;
    top: 50%;
    opacity: 0;
    transform: rotate(180deg) translateY(50%);
    transition: all .15s ease;
}
.next svg {
    position: absolute;
    right: 15px;
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    transition: all .15s ease;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}
.prev:hover, .next:hover {
    cursor: pointer;
}
.prev:hover svg, .next:hover svg {
    opacity: 1;
}
@media (min-width: 1300px) {
    nav h1, nav h2 {
        font-size: 40px;
    }
    .detailImg {
        max-width: calc(100% - 100px);
        max-height: calc(100% - 100px);
    }
}
@media (max-width: 1300px) {
    h1, h2 {
        font-size: 25px;
    }
    .title {
        font-size: 40px;
        margin-bottom: 20px;
    }
    nav h1, nav h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
}
@media (min-width: 930px) {
    .hamburger {
        display: none;
    }
    .detailImg {
        max-width: calc(100% - 50px);
        max-height: calc(100% - 50px);
    }
}
@media (max-width: 930px) {
    footer {
        padding: 28px 15px;
    }
    header, .backToTop {
        padding: 20px 5%;
    }
    nav {
        display: none;
    }
    nav a h1 {
        transform: scaleX(1.5) !important;
    }
    h1, h2 {
        font-size: 17px;
        margin-bottom: 8.5px;
        transform-origin: center;
    }
    .title {
        font-size: 34px;
        margin-bottom: 17px;
    }
    .prev svg, .next svg {
        display: none;
    }
    .content {
        padding: 0 10px;
    }
}
@media (max-width: 540px) {
    * {
        font-size: 14px;
        line-height: 20px;
    }
    footer {
        padding: 25px 0;
    }
    footer > span {
        font-size: 12px !important;
    }
    header, .backToTop {
        padding: 30px 0;
    }
    .hamburger {
        right: 10%;
    }
    .content {
        padding: 0 5px;
    }
}