
html{ 
  scroll-behavior: smooth;
}
/* Regions background */
/* #region */
    .Mondstadt{
    background-image: linear-gradient(#444444a8,#444444a8), url("https://webstatic.hoyoverse.com/upload/uploadstatic/contentweb/20200320/2020032014410864090.jpg");
    background-repeat: no-repeat;  
    background-attachment: fixed;
    }

    .Liyue {
    background-image: linear-gradient(#444444a8,#444444a8), url("https://webstatic.hoyoverse.com/upload/uploadstatic/contentweb/20200320/2020032014541768485.jpg");
    background-repeat: no-repeat;  
    background-attachment: fixed;
    }

    .Inazuma {
    background-image: linear-gradient(#444444a8,#444444a8), url("https://webstatic.hoyoverse.com/upload/uploadstatic/contentweb/20210719/2021071920203256336.jpg");
    background-repeat: no-repeat;  
    background-attachment: fixed;
    }
   .Sumeru{
    background-image: linear-gradient(#444444a8,#444444a8), url("https://webstatic.hoyoverse.com/upload/contentweb/2022/08/16/8969f683b92839ac427c875d0d742be2_4596868760376591695.jpg");
    background-repeat: no-repeat;  
    background-attachment: fixed;
   }

/* #endregion */

  *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
  
    h1 {
      font-family: Oswald;
      font-size: 60px; 
      font-style: normal;
      text-transform: uppercase;
      color: #fff;
  
    }
    h2{ 
      padding-top: 2%;
      font-family: Oswald;
      font-size: 35px;
      font-style: normal;
      font-variant: normal;
      color: #fff;
    }
    h3{
      font-family: Oswald;
      font-size: 25px;
      font-style: normal;
      font-variant: normal;
      color: #fff;
      padding-left: 2%;
    }
    p{
      text-align: justify;
      line-height: 140%;
      font-family: Roboto;
      font-size: 20px;
      color: #E1E5F2;
    }
    li{
      text-align: justify;
      list-style-position: inside;
      text-indent: -1em;
      padding-left: 1em;
      line-height: 140%;
      font-family: Roboto;
      font-size: 20px;
      color: #E1E5F2;
    }
    

    .proctonefunguje{
      width: 505px;
      text-align: center;
    margin: 20px;
    }
    q{ 
      font-family: Oswald;
      line-height: 130%;
      font-size: 25px;
      text-align: center;
      color: #fff;
      font-style: italic;
    }
  
    a{
      text-decoration: none;
      color: #fff;
      font-size: 35px;
    }
    #pageFooter p{
      font-size: 12px;
    }
      
    .imageleft {
      float: left;
      margin: 5px;
      text-align: justify;
    }
    .imageright {
      float: right;
      margin: 5px;
      text-align: justify;
    }
  /* menu */
  /* #region */
  .wrapper{
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: rgb(30, 31, 30);
    flex: 2;
    justify-content: center;
    transition: all 0.6s ease-in-out;
    z-index: 999;
    }
        #active:checked ~ .wrapper{
        left:0;
      }
    .menu-btn{
      position: absolute;
      z-index: 1000;
      left: 20px;
      top: 20px;
      height: 50px;
      width: 50px;
      text-align: center;
      line-height: 50px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      transition: all 0.3s ease-in-out;
      }
      .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: 999;
        width: 100%;
        height: 100%;
        pointer-events: none;
        transition: .6s;
    }
    #active:checked + .menu-btn span {
        transform: scaleX(0);
    }
    #active:checked + .menu-btn:before {
        transform: rotate(45deg);
      border-color: #fff;
    }
    #active:checked + .menu-btn:after {
        transform: rotate(-45deg);
      border-color: #fff;
    }
  .wrapper ul{
    position: absolute;
    top: 60%;
    left: 50%;
    height: 90%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
  }
  .wrapper ul li{
    height: 10%;
    margin: 15px 0;
  }

  .wrapper ul li a{
    text-decoration: none;
    font-size: 30px;
    font-family: oswald;
    font-weight: 500;
    padding: 5px 30px;
    color: #fff;
    border-radius: 50px;
    line-height: 50px;
    margin: 5px 30px;
    opacity: 0;

  }
  .wrapper ul li a:after{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: -999;
  }
  .wrapper ul li a:hover{
    color: #bfdbf7;
    transition: all 0.5s ease;
  }
  input[type="checkbox"]{
    display: none;
    }
    .content{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: -999;
      text-align: center;
      width: 100%;
      color: #202020;
    }
    .content .title{
      font-size: 40px;
      font-weight: 700;
    }
    .content p{
      font-size: 35px;
      font-weight: 600;
    }

    #active:checked ~ .wrapper ul li a{
      opacity: 1;
    }
/* #endregion */


/* layout */
/* #region */
  body { 
    display: grid;
    grid-template-areas: 
      "header header header"
      "a article b"
      "a footer b";
    grid-template-rows: 10% 1fr 5%;  
    grid-template-columns: 19% 60% 19%;
    grid-row-gap: 10px;
    grid-column-gap: 10px;
    height: 100vh;
    margin: 0;
    }  
  header, footer, article, nav, div {
    padding: 15px;
  
    }
  #pageHeader {
    position: fixed;
    left:0;
    right:0;
    top:0;
    grid-area: header;
    text-align: center;
     background:  #444444;
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
     display: grid;
     grid-template-columns: repeat(7, 1fr);
    }
  #pageHeader h1{
    font-size: 45px;
  }
  #pageHeader a{
    font-size: 30px;
  }

  #pageFooter {
    grid-area: footer;
    background:  #444444;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
  #mainArticle { 
    padding: 3%;
    grid-area: article; 
    background:  #444444;     
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
  #leftNav { 
    grid-area: a; 
    }
  #rightNav { 
    grid-area: b; 
    } 
    /* #endregion */


/* kartičkas */

.box1{
    background-color: #1F7A8C;
}
.box2{
    background-color: #a77926;
}
.box3{
    background-color: #69518f;
}
.box4{
    background-color: #68973c;
}

.box1, .box2, .box3, .box4  {
  margin: 3%;
  width: 45%;
  float: right;
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.box1, .box2, .box3, .box4   p{
  color: #fff;
}
.inline{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.box1, .box2, .box3  img{
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.gallery img {
  width: 100%;
}

iframe {
    margin:auto;
    display:block;
    width: 1040px;
    height: 585px;
}

@media (max-width: 768px) {

  p, li{
   font-size: 15px 
  }
  h1{
    font-size: 30px;
  }
  h2{
    font-size: 25px;
  }
  h3, q{
    font-size: 20px
  }
  #mainArticle iframe{
    max-width: 100%;
    max-height: 350px;
  }
  #mainArticle img{
    flex: 50%;
    max-width: 100%;
  }
  .gallery img{
    min-width: 100%;
  }
  .box1, .box2, .box3, .box4{
   float: none;
   width: 100%;
   margin: 0%;
  }
  .proctonefunguje{
    width: 100%;
    margin: 0%;
  }
  .gallery{
    grid-template-columns: repeat(1, 1fr);
  }
  #pageFooter p{
    font-size: 9px;
  }
  body { 
    grid-template-columns: 5% 89% 5%;
    }  
  #pageHeader h1{
    font-size: 20px;
  }
  #pageHeader a{
    font-size: 15px;
  }
  .menu-btn{
    top: 5px;
  }
}