@import url("https://use.typekit.net/zkl4roy.css");
@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap');

:root {
--walnut: #8c7c6b;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style-type: none;
font-size: 100%;
font-weight: normal;
}

body {
animation: fadein 2s;
background-image: url('/image/kabegami-1.png');
background-position: center top;
background-size: 100% auto;
background-color: #fdf7e3;
font-family: 'Hina Mincho', serif;
color: var(--walnut);
letter-spacing: .3px;
line-height: 1.7;
}

body::-webkit-scrollbar {
display: none;
-ms-overflow-style: none; 
scrollbar-width: none;
}

@keyframes fadein {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}

.adream {
display: block;
text-align: right;
margin: 30px;
margin-right: 50px;
font-family: "emily-austin", cursive;
letter-spacing: 2px;
font-size: 27px;
font-weight: bold;
}

.nav {
text-transform: lowercase;
}

nav ul li {
margin-bottom: 8px;
}

a,
nav ul li a {
text-decoration: none;
color: #8c7c6b;
font-size: 14px;
transition: 1s;
}

a:hover {
color: #ffe261;
opacity: 0.5;
filter: blur(2px);
transition: 1s;
}

a[wait]{
cursor: wait;
}

a[open] {
cursor: crosshair;
}

h1, h2, h3, h4 {
font-weight: 700;
text-transform: lowercase;
}

h1 {
font-family: 'emily-austin', cursive;
font-size: 34px;
}

h2 {
font-size: 18px;
letter-spacing: 2px;
}

h3 {
font-size: 16px;
letter-spacing: 2px;
}

b,
strong {
font-weight: 700;
}

hr {
margin: 40px;
}

details > summary {
cursor: crosshair;
font-weight: normal;
transition: 1s;
opacity: 0.6;
text-transform: lowercase;
}

details > summary:hover {
color: #ffea8e;
opacity: 0.6;
filter: blur(2px);
transition: 1s;
}

details p {
margin-bottom: 20px;
}

/*details:last-of-type[open] > summary {
margin-top: 20px;
}*/

details[open] > summary {
font-weight: bold;
opacity: 1;
}

details[wait] > summary {
cursor: wait;
}

details > summary {
list-style: none;
}
details > summary::-webkit-details-marker {
display: none;
}

summary[wait] {
cursor: wait;
}

.content p {
margin-bottom: 20px;
}

.copyright {
font-size: 12px;
text-align: center;
text-transform: lowercase;
margin-bottom: 30px;
}

/*header {
position: relative;
margin: 15vh auto;
width: 70%;
}

header img,
section img {
width: 100%;
max-width: 300px; 
height: auto;
}*/

section {
margin: 3em auto 0;
padding: 3em;
position: relative;
text-align: center;
}

p,
footer {
margin: 1em auto 1.5em;
}

@media screen and (min-width:768px) {
  body {
  font-size: 14px;
  }
}

@media screen and (min-width:1024px) {
  #everything {
  margin: 1em auto 0;
  max-width: 900px
  }

 /* #everything::after {
  display: block;
  content: '';
  clear: both;
  }*/

 /* header {
  margin: 3em auto;
  width: 30%;
  float: left;
  }

  main {
  margin: 0 auto;
  overflow: hidden;
  width: 60%;
  }
}

@media screen and (max-width: 768px) {
  header img {
  max-width: 300px;
  width: 80%;
  height: auto;
  }
}

@media screen and (max-width: 480px) {
  header img {
  max-width: 250px;
  width: 70%;
  height: auto;
  }*/
}