@import 'https://unpkg.com/@acab/reset.css';
@layer reset, page, overrides;
@import '@acab/reset.css' layer(reset);

*, *::before, *::after {
  box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size:18px;
    line-height: 1.7;
    background-color: white;
    color:#47343a;
  }

a{
  text-decoration: none;
}

img{
  display:inline-block;
}

.Wrapper{
  max-width:640px;
  margin:0 auto;
}

  .Header{
    background-color: rgba(255, 255, 255, 0.904);
    /*z-index: 20;*/
    top:0;
    display:flex;
    position:sticky;
    width:100%;
    padding:24px;
  }

  .Logo{

  }

  .Main{
    padding:24px;
  }

  .openbtn1{
    position: relative;
    margin-left:auto;
    z-index: 1000;
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
    span{
      display: inline-block;
      transition: all .4s;
      position: absolute;
      left: 14px;
      height: 3px;
      border-radius: 2px;
    background: #000;
      width: 22px;
      &:nth-of-type(1){
        top:15px; 
      }
      &:nth-of-type(2){
        top:23px; 
      }
      &:nth-of-type(3){
        top:31px; 
      }
    }
    &.active{
      span{
        &:nth-of-type(1){
          top: 18px;
          transform: translateY(6px) rotate(-45deg);
          width: 22px;
        }
        &:nth-of-type(2){
          opacity: 0;
        }
        &:nth-of-type(3){
        top: 30px;
        transform: translateY(-6px) rotate(45deg);
        width: 22px;
        }
      }
    }
  }

  .openbtn1::after{
    content: "menu";
    text-align: center;
    top:40px;
    left:1px;
    position:relative;
  }

  .GlobalMenu{
    display: none;
    position:fixed;
    z-index: -1;
    opacity: 0;
    top:0;
    left: 0;
    width:100%;
      height: 100vh;
    background:#fff;
    transition: all 0.3s;
    &.active{
      display: block;
      opacity: 1;
      z-index:999;
    }
  }
  
  .GlobalMenu_menu{

    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
  }

  .GlobalMenu_item{
    font-size: 24px;
    margin:12px auto;
    a{
      display:block;
    }
  }

  .PageTitle{
    width:180px;
    background-color: #ccc;
    text-align: center;
    margin:48px auto;
    padding:12px;
    text-transform: capitalize;
  }

  .SubTitle{
    font-size:24px;
    margin:24px 0;
  }

.ArticleList{
}

  .ArticleList_item{
    display: flex;
    align-items: center;
    margin:24px 0;
  }

.ArticleList_imageWrapper{
  display: inline-block;
  width: 30%;
}

.ArticleList_image{
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.ArticleList_text{
  display:inline-block;
  margin-left:24px;
  width:70%;
}

.ArticleList_title{
  font-size: 20px;
  a{
    padding:24px 0;
  }
}

.ArticleList_metaData{
    display: flex;
    justify-content: space-between;
}

.DoodleList,.PixelArtList{
  display:flex;
}

.DoodleList_item,.PixelArtList_item{
  display: inline-block;
  width:calc(100%/3 - 24px);
  margin:12px;
}

.PixelArtList_item{
  background-color: #ccc;
  display:flex;
  width:calc(100%/3 - 24px);
  padding:12px;
}

.DoodleList_itemImage{
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.PixelArtList_itemImage{
  margin:auto;
}

.Article_title{
  font-size: 28px;
}

.Article_metaData{
  display: flex;
}

.Article_category{
  margin-left:auto;
}

.Article_text{
  padding:12px;
  p{
    font-size:18px;
    margin:32px 0;
  }

  img{
    max-width:75%;
    margin:12px auto 24px;
    display: block;
  }

  h2{
    font-size: 28px;
    margin:24px 0;
  }

  h3{
    font-size: 24px;
  }

  ul{
    list-style:disc;
    margin:12px auto 24px;
    margin-left:24px;
  }
  blockquote{
    background-color: #ccc;
    padding:24px;
    p{
      margin:0;
    }
  }
  a{
    color:#da7e9c;;
  }
}

.Footer{
  text-align: center;
  margin-top:48px;
  padding:24px;
}

.form{
  text-align:center;
  margin:24px auto;
}

.form_body{
  background-color: #ffa9bc;
}

.form_title{
  font-size: 24px;
}

.form_textarea{
  display:block;
  margin:12px auto;
  border-style: none;
  border-radius: 6px;
  resize:none;
  padding:6px 12px;
  font-size:16px;
  width:280px;
  height:100px;
}

.form_button{
  display:block;
  margin:24px auto;
  padding:6px 12px 5px;
  border-style: none;
  border-radius: 6px;
  background-color: #47343a;
  color:#fff;
}

.turnstile{
  margin:12px auto;
  width:280px;
}

  @media (prefers-color-scheme: dark){
      body{
        background-color: rgb(64, 70, 82);
        color:#fff;
      }

      .Header{
        background-color: rgba(64, 70, 82, 0.904);
        z-index: 20;
      }

      .Logo{
        filter: brightness(0) invert(1);
      }

      .openbtn1{
        span{
        background: #fff;
        }
      }

      .PageTitle{
        background-color: #262429;
      }

      .GlobalMenu{
        background-color: rgb(64, 70, 82);
      }

      .Article_text{
        a{
          color: rgb(94, 217, 255);
        }
      }

  }