@charset "UTF-8";

html {
    font-size: 100%;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

img {
    max-width: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    
}

a:hover {
  opacity: 0.7;
}

#wrapper {
    max-width: 1080px;
    text-align: center;
    margin: auto;
}

.section-title {
    text-align: center;
    background-color: #13007d;
    color: #fff;
    padding: 10px 0 10px 0;
    margin-bottom: 60px;
}

#header {
    background-color: #13007d;
    margin-bottom: 120px;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.header .btn {
  position: absolute;
  right: 50px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 999;
  display: none;
}

.btn span {
  display: inline-block;
  width: 50%;
  height: 2px;
  border-radius: 2px;
  background-color:#fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute; 
  transition: all .6s;
  display: none;
}

.btn span:nth-of-type(1) {
  top:15px;
  display: none;
}
.btn span:nth-of-type(2) {
  top: 23px;
  display: none;
}
.btn span:nth-of-type(3) {
  top: 31px;
  display: none;
}

#header  h1 {
    display: flex;
   
    text-align: center;
    margin: 0;
}

#header  h1 img {
    width: 300px;
    text-align: center;
}

#header .header-title {
    height: 100px;
    
}


#header nav {
    height: 50px;
}

#header .nav-menu {
    display: flex;
    justify-content: center;
}

#header .nav-menu li {
    margin: 0 20px 0 20px;
}

#header .nav-menu li a {
    color: #fff;
}

#header .nav-menu li a:hover {
    opacity: 0.7;
}

.nav-menu .author:hover .submenu {
  display: block;
}

.submenu {
  position: absolute;
  background-color: #13007d;
  padding: 10px 0;
  z-index: 100;
  display: none;
}

.submenu ul {
  display: block;
  padding-left: 0;
}

.tutorial {
  text-align: left;
}

.tutorial div {
  
  margin-bottom: 60px;
}


  .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*grid-template-rows: repeat(5, 1fr); */
    gap: 20px;
    align-items: flex-end;
}



.grid img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

.no-6 {
  margin-bottom: 120px;
  text-align: left;
}



  footer p {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
  }


  @media screen and (max-width: 780px) {

  /* { 
    border: 1px  solid;
} */

    #header {
      position: sticky;
      top: 0;
      height: 80px;
      z-index: 999;
      margin-bottom: 80px;
    }

    #header .header-title {
      height: 80px;
      
  }

  
    #header .header-title img {
      width: 200px;
      
    }

    #header .header .btn {
      display: block;
      position: absolute;
      right: 10px;
    }

    .btn span {
      display: inline-block;
      width: 50%;
      height: 2px;
      border-radius: 2px;
      background-color:#fff;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      position: absolute; 
      transition: all .3s;
      display: block;
    }
    
    .btn span:nth-of-type(1) {
      display: block;
    }
    .btn span:nth-of-type(2) {
      display: block;
    }
    .btn span:nth-of-type(3) {
      display: block;
    }

    .btn.open span:nth-of-type(1) {
        transform: translate(-11px, 8px) rotate(-45deg);
        background-color: #111;
    }
    .btn.open span:nth-of-type(2) {
        display: none;
    }
    .btn.open span:nth-of-type(3) {
        transform: translate(-11px, -8px) rotate(45deg);
        background-color: #111;
    }

    #header nav {
        height: 100vh;
        background-color: floralwhite;
        width: 70%;
        font-weight: bold;
        font-size: 1rem;
        transition: .5s ease;
        position: fixed;
        transition: all .6s;
        top: 0;
        right: -100%;
        z-index: 10;
    }


    #header nav .submenu {
      font-size: 0.9rem;
      background-color: lightgray;
    }
    
    #nav.sp-open {
      right: 0;
      transition: .6s ease;
    }

    #nav .nav-menu {
        position: absolute;
        top: 30%;
        left: 50%;
        padding-left: 0;
        transform: translate(-50%, -50%);
        text-align: center;
        flex-direction: column;
       
    }

     #nav .nav-menu {
      width: 300px;
    }

  
    #nav  .nav-menu li a {
        display: block;
        color: #111;
        padding: 10px;
        
    }

    .section-title {
      font-size: 0.7rem;
      align-items: center;
      height: 50px;
    }

       .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /*grid-template-rows: repeat(5, 1fr); */
    gap: 30px;
    align-items: flex-end;
   }

   .grid img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

  footer {
    font-size: 0.4rem;
  }

  footer p {
    padding: 10px 0;
  }
}