@font-face {
  font-family: "gowa";
  src: url(../fonts/gowa/Gowa-Regular.woff2);
}
header {
  font-family: "gowa";
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}
body > header {
  background: linear-gradient(217deg, rgb(233 255 233), rgb(232 229 255 / 29%) 71%),
              linear-gradient(127deg, rgb(209 255 196 / 49%), rgb(168 214 255 / 21%) 71%),
              linear-gradient(336deg, rgb(205 224 255 / 79%), rgb(255 236 240) 71%);
  box-shadow: 0px -2px 5px black;
  height: 68px;
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.logo-header {
  align-items: center;
  display: flex;
}
.logo-header img {
  width: 56px;
}
.logo-header > a {
  display: inline;
  margin: 0 20px;
}
.site-title {
  line-height: 0.85;
  align-self: center;
}
.site-title > a {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.site-title > a:hover {
  text-decoration: none;
}
.bottom-title {
  font-size: 30px;
}
.top-title {
  font-size: 20px;
  letter-spacing: 3.6px;
}
.menu-header > ul {
  list-style: none;
  position: relative;
  display: flex;
  right: 20px;
}
.menu-header > ul > li {
  font-size: 26px;
  margin-left: 34px;
}
.wrapper{
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(217deg, rgb(233 255 233 / 58%), rgb(232 229 255 / 44%) 71%),
              linear-gradient(127deg, rgb(209 255 196 / 66%), rgb(168 214 255) 71%),
              linear-gradient(336deg, rgb(205 224 255), rgb(255 236 240) 71%);
  transition: all 0.6s ease-in-out;
}
#active:checked ~ .wrapper{
  right:0;
}
.menu-btn{
  position: fixed;
  z-index: 2;
  right: 0;
  top: 0;
  height: 70px;
  width: 70px;
  cursor: pointer;
  /* transition: all 0.3s ease-in-out; */
  display: none;
}
.menu-btn span,
.menu-btn:before,
.menu-btn:after{
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 30%;
	width: 40%;
	border-bottom: 2px solid #000;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu-btn:before{
  transform: translateY(-8px);
}
.menu-btn:after{
  transform: translateY(8px);
}
.close {
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}
/* closing animation */
#active:checked + .menu-btn span {
	transform: scaleX(0);
}
#active:checked + .menu-btn:before {
	transform: rotate(45deg);
  border-color: #676767;
}
#active:checked + .menu-btn:after {
	transform: rotate(-45deg);
  border-color: #323232;
}
.wrapper ul{
  position: relative;
  top: 5%;
  left: 10%;
  height: 100%;
  list-style-type: none;
}
.wrapper ul li{
  height: 10%;
  margin: 15px 0;
}
.wrapper ul li a{
  text-decoration: none;
  font-size: 30px;
  padding: 20px 5px;
  color: #353535;
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.295);
  position: absolute;
  transition: all 0.3s ease;
  transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.wrapper ul li a:after{
  position: absolute;
  content: "";
  background: #ffffff;
  width: 100vw;
  height: 85%;
  left: 0;
  top: 5px;
  border-radius: 8px;
  transform: scaleY(0);
  z-index: -1;
  transition: transform 0.3s ease;
}
.wrapper ul li a:hover:after{
  transform: scaleY(1);
}
.wrapper ul li a:hover{
  color: #05295a;
}
header input[type="checkbox"]{
  display: none;
}
#active:checked ~ .wrapper ul li a{
  opacity: 1;
}
.wrapper ul li a{
  transition: opacity 1.2s, transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  transform: translateX(100px);
}
#active:checked ~ .wrapper ul li a{
	transform: none;
	transition-timing-function: ease, cubic-bezier(.1,1.3,.3,1);
  transition-delay: .6s;
}
.scroll-line{
  background: linear-gradient(217deg, rgb(0 255 0 / 58%), rgb(123 112 209 / 44%) 71%),
              linear-gradient(127deg, rgb(56 255 0 / 66%), rgb(34 135 225) 71%),
              linear-gradient(336deg, rgb(44 116 233), rgb(245 84 210) 71%);
  top: 0;
  left: 0;
  height: 5px;
  position: fixed;
  transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 2;
  z-index: 1001;
}
@media only screen and (max-width: 1100px) {
  .logo-header > .site-title > a{
    font-size: 10px;
  }
}
@media only screen and (max-width: 980px) {
  .menu-header > ul {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .site-title {
    align-self: center;
  }
}
@media only screen and (max-width: 430px) {
  .bottom-title {
    font-size: 26px;
  }
  .top-title {
    font-size: 16px;
  }
}
@media only screen and (max-width: 395px) {
  .bottom-title {
    font-size: 22px;
  }
  .top-title {
    font-size: 12px;
  }
}
