/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-image: linear-gradient(rgba(128, 128, 128, 0.5), rgba(77, 46, 0, 0.5)), url("japan.jpg");
  background-size: cover;
  background-attachment: fixed;
  color: #FFF8DC;
  font-family: Verdana;
}
  .body_hide {
    opacity: 0.1;
    transition: .9s opacity ease-in-out;
  }
  .body_visible {
    opacity: 1;
  }
#hat{
  background-repeat: repeat-x;
  position: absolute;
  width: 100%; 
}
.underline-one::selection {
    background: #72939e;
	}
.underline-one {
  position: absolute;
  left: 27%;
  background-color: #412A0E;
  color: #FFE59A;
  border: 5px #412A0E solid;
   padding: 50px 15px 10px 15px; 
   white-space: nowrap; 
   text-shadow: 5px 2px #000000, 2px 4px #000000, 3px 5px #000000;
}
	 .underline-one {
	 position: relative;
     text-decoration: none;
	 }
.underline-one:after { /*изчезновение*/
	content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 8px;
    background-color: #FFE59A;
    transition: width 0.5s;
}
.underline-one:hover:after { /*появление*/
	content: "";
	width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 8px;
    background-color: #FFE59A;
    transition: width 0.5s;
}
		.one{
    position: fixed;
	z-index: 3;
	display: inline-block;
	bottom: -10px;
  }
  @keyframes japanese {
  from 
  {opacity: 0.05;}
  to 
  {opacity: 0.4;}
}
.japanese {
animation-name: japanese;
animation-iteration-count: infinite;
animation-duration: 20s;
animation-timing-function: ease-in-out;
animation-direction: alternate;
}
 input, article {
    display: none;
}
input:checked + label {
    background: #412A0E;
    padding: 0px 10px 10px 10px;
      transition: all 0.1s ease;
}
input:nth-of-type(1):checked ~ article:nth-of-type(1) {
    display: block;
}
input:nth-of-type(2):checked ~ article:nth-of-type(2) {
  display: block;
}
#tab1 + label {
  user-select: none;
  position: absolute;
  left: 40.7%;
  top: 85px;
  font: 700 normal 1em 'tahoma';
  text-align: center;
}
#tab2 + label {
  user-select: none;
  position: absolute;
  left: 56%;
  top: 85px;
}
#cursor {
  --size: 15px;
  position: fixed;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  background-image: url("popa.png");
  transform: translate3d(
    calc(100vw * var(--cursor-x) - var(--size) / 2), 
    calc(100vh * var(--cursor-y) - var(--size) / 2), 
    0);
  pointer-events: none;
  z-index: 10;
}
#popa {
    filter: drop-shadow(0 0 0.75rem #4542FF);
    transition: 0.5s;
    position: relative;
    left: 100px;
    top: 120px;
    z-index: 3;
  }
#popa:hover {
  filter: drop-shadow(0 0 1.5rem #6161FD);
}