/* FONTS */
@font-face {
  font-family: "kosugi";
  src: url(/assets/fonts/Kosugi-Regular.ttf);
}

@font-face {
  font-family: "junction-light";
  src: url(assets/fonts/junction-light.ttf);
}

@font-face {
  font-family: "junction-regular";
  src: url(/assets/fonts/junction-regular.ttf);
}

@font-face {
  font-family: "junction-bold";
  src: url(/assets/fonts/junction-bold.ttf);
}

/* LAY OUT FOR ALL THE PAGES */
/* TYPOGRAPHY */

.tit__header {
  position: absolute;
  font-size: 2rem;
  width: 30vw;
  color: black;
  text-decoration: none;
  display: block;
  z-index: 9999;
}

.tit__header:hover {
  color: rgb(170, 170, 170);
}

h1,
h2,
a {
  font-family: "kosugi";
}

h2 {
  font-size: 2rem;
  font-weight: 100;
  text-decoration: underline;
}

p,
h3 {
  font-family: "junction-regular";
  font-size: 1rem;
  line-height: 1.4rem;
  font-weight: 300;
}

/* MARGINS */
body {
  padding: 0;
  margin: 0.7rem;
  overflow: auto;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  margin: 6rem 0 0 0;
}

/* hide scrollbars */
body::-webkit-scrollbar {
  display: none;
}

.popup-content {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/*** HEADER ***/
/* full header */
header {
  position: fixed;
  top: 0;
  padding: 0.7rem 0 0.7rem 0;
  width: 100%;
  background-color: white;
  height: 60px;
  z-index: 1002;
}

/* hamburger */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

label img {
  width: 100px;
  display: block;
  margin: 0.7rem auto;
}

.checkbtn img {
  cursor: pointer;
  pointer-events: auto;
  box-shadow:
    6px 2px 16px 0px rgba(136, 165, 191, 0.48),
    -6px -2px 16px 0px rgba(255, 255, 255, 0.8);
}

.nav-menu {
  display: none;
  padding-bottom: 2rem;
  z-index: 1002;
  position: relative;
}

.nav-menu a {
  font-size: 2rem;
  line-height: 2rem;
  display: inline;
  text-align: center;
  color: black;
  background: rgba(255, 255, 255, 0.9);
}

.nav-menu,
a:hover {
  color: rgb(170, 170, 170);
}

#check:checked ~ .nav-menu {
  display: block;
  display: flex;
  flex-direction: column;
}

#check {
  display: none;
}

/* about page */
.about {
  display: flex;
  flex-direction: column;
  max-width: 600px;
}
