@charset "utf-8";
/* font-family: 'Paperlogy'; */
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css');

* { margin: 0; padding: 0; list-style: none; box-sizing: border-box; word-break: keep-all; transition: all .3s ease-in-out; } 
body { font-family: 'Paperlogy'; font-size: 15px; line-height: 1.5em; color: #333; } 
h1 { font-size: 48px; line-height: 1.5em; font-weight: 700; color: #333; } 
h2 { font-size: 32px; line-height: 1.5em; font-weight: 600; }
a:link { text-decoration: none; color: #333; } 
a:visited { color: #333; } 
ul li { list-style: none; } 
section { position: relative; padding: 130px 0; margin: 0 auto; }
.c1400 { width: 1400px; margin: 0 auto; }

header { position: fixed; left: 0; top: 0; width: 100%; padding: 20px 0; z-index: 9999; background: #fff; }
header> div { display:flex; justify-content: space-between; align-items: center; }
header div .logo { display: block; width: 130px; }
header div .logo img { width: 100%; object-fit: cover; }
header div .icons { display: none; }
header div .nav ul { display: flex; }
header div .nav ul li { position: relative; }
header div .nav ul li a { padding: 5px 30px; color: #333; font-size: 16px; font-weight: 500; text-transform: uppercase;}
header div .nav> ul> :last-child> a { padding-right: 0; }

@media screen and (max-width: 1440px) {
    .c1400 { width: 100%; padding: 0 20px; }
}

@media screen and (max-width: 1024px) {
    h1 { font-size: 40px;} 
    h2 { font-size: 24px; }
}

@media screen and (max-width: 840px) {
    header div .logo { width: 100px;  }

    header div .icons { display: flex; align-items: center; }
    header div .icons> a { display: block; padding: 0 15px; text-align: center; }
    header div .icons> a i { font-size: 24px; color: #666; }
    header div .icons> a span { display: block; font-size: 10px; color: #666; line-height: 1em; margin-top: 5px; }
    header div .icons .hambtn { position: relative; display: flex; justify-content: end; width: 36px; height: 28px; cursor: pointer; margin-left: 10px; } 
    header div .icons .hambtn span { position: absolute; display: block; height: 2px; width: 100%; background: #666; cursor: pointer; } 
    header div .icons .hambtn :first-child { top: 0; } 
    header div .icons .hambtn :nth-child(2) { top: 50%; transform: translateY(-50%); } 
    header div .icons .hambtn :last-child { bottom: 0; } 
    header div .icons .hambtn.on { z-index: 999; } 
    header div .icons .hambtn.on span { top: calc(50% - 1px); left: 0;  } 
    header div .icons .hambtn.on :first-child { transform: rotate(45deg); } 
    header div .icons .hambtn.on :nth-child(2) { top: 50%; transform: translateY(-50%); opacity: 0; } 
    header div .icons .hambtn.on :last-child { transform: rotate(-45deg); } 
    header div .nav { position: absolute; top: 76.69px; right: -10%; width: 100%; height: calc(100vh - 76.69px); background: rgba(0, 0, 0, 0.1); opacity: 0; overflow: hidden; pointer-events: none; }
    header div .nav.on { right: 0; width: 100%; opacity: 1; pointer-events: initial; }
    header div .nav> ul { width: 0%; height: 100%; background: #fefefe; flex-direction: column; position: absolute; right: 0; top: 0; padding-top: 40px; }
    header div .nav.on> ul { width: 55%; }
    header div .nav ul li a { display: block; padding: 12px 30px; width: 100%; }
    header div .nav ul li a i { display: inline-block;  }
    header div .nav ul li a.active i { transform: rotate(180deg); }
    header div .nav ul li .submenu { position: static; transform: none; visibility: visible; opacity: 1; box-shadow: none; width: 100%; background: none; text-align: left; padding-left: 30px; max-height: 0; overflow: hidden; }
    header div .nav ul li .submenu li a { padding: 12px; font-size: 14px; color: #888;}
}

@media screen and (max-width: 600px) {
    /* h1 { font-size: 32px; } */
    h1 { font-size: 28px; }
    h2 { font-size: 20px; }
    section { padding: 80px 0; }

    header div .icons> a { padding: 0 10px; }
}