@import url('https://fonts.googleapis.com/css2?family=Kulim+Park:ital,wght@0,200;0,300;0,400;0,600;0,700;1,200;1,300;1,400;1,600;1,700&family=Libre+Barcode+128+Text&family=Silkscreen:wght@400;700&family=Ubuntu+Sans+Mono:ital,wght@0,400..700;1,400..700&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

.back_cover {
    background-color: rgba(9, 0, 54, 0.5);
    top: 0;
    left: 0;
    inset: 0;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -1;
}

.body_grid_block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 60%;
    gap: 10px;
    margin: 1rem 0;
  }

.section_block {
    background-color: #00255c93;
    position: relative;
    border-radius: 10%;
    color: white;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 8px;
    width: 100%;
    border: #00d7f393 dashed 1px;
  }

.title_box {
  position: relative;
  width: 50%;
  min-height: 20px;
  min-width: 160px;
  height: clamp(10px, 2dvw, 50px);
  background-color: #d8ff00;
  border-radius: 10px;
  overflow: hidden;
  transform: rotate(-5deg) translateX(-1rem);
}

.title_box > p {
  font-family: "Silkscreen", "Rubik", sans-serif;
  font-size: clamp(0.75rem, 1.5dvw, 6rem);
  margin: 0;
  color: black;
}

.content_box {
  padding: 1rem;
  margin-bottom: clamp(3rem, 3dvw, 6rem);
}

.content_box > p {
  font-family: "Kulim Park", "Ubuntu", sans-serif;
  font-size: clamp(0.7rem, 1.2dvw, 1.1rem);
  text-align: justify;
  margin: 0.25rem;
}

.link_box {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 0.5rem;

  position: absolute;
  bottom: 5px;
  left: 5px;
}

.link_box > a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.5rem;
}

.link_box > a > span {
  font-size: clamp(0.85rem, 2dvw, 1.3rem);
}

.link_box > p {
  font-family: "Silkscreen", "Rubik", sans-serif;
  font-size: clamp(0.5rem, 1.5dvw, 1rem);
  margin-left: .5rem;
}


.body_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.github_redirect {
    display: flex;
    justify-content: center;
    padding: 1rem;
    align-items: center;
}

.github_redirect > a > img {
    width: clamp(25px, 8dvw, 70px);
    height: auto;
    border-radius: 50%;
    transition: transform .3s;
    background-color: rgb(255, 255, 255);
}

.github_redirect > p {
  font-family: "Silkscreen", "Rubik", sans-serif;
  font-size: clamp(0.75rem, 2dvw, 3rem);
  color: rgb(255, 255, 255);
}

.others_proj {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
}

.others_proj_content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #00255c93;
  border-radius: 10%;
  color: white;
  text-align: center;
  border-radius: 8px;
  width: 60%;
  border: #00d7f393 dashed 1px;
}

.others_content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;

  /* width: clamp(100px, 10dvw, 200px);
  height: clamp(100px, 10dvh, 200px); */

  color: black;
  border: #00255c93 solid 2px;
  border-radius: .5rem;

  background-color: #d8ff00;
  gap: 2rem;
  margin: 0.25rem;
  padding: 1rem;
}

.content_wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  
}

.others_content > span {
  margin: 2rem;
  font-size: clamp(1rem, 2dvw + 1rem, 7rem);
  color: black;
  margin: 0;
}

.subcontent_title {
  font-family: "Silkscreen", "Rubik", sans-serif;
  font-size: clamp(1rem, 2dvw + 2rem, 1.5rem);
  color: black;
  margin: 0;
}

.subcontent_subtitle {
  font-family: "Silkscreen", "Rubik", sans-serif;
  font-size: clamp(0.5rem, 1dvw + .2rem, .7rem);
  color: black;
  margin: 0.2rem;
  text-align: left;
}

@media screen and (max-width: 908px)  {
    .body_grid_block {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(4, auto);
    }
    .title_box {
      width: 30%;
    }

    .others_content {
      overflow-x: scroll;
    }

    .subcontent_title {
      text-align: left;
      font-size: clamp(.5rem, 1dvw + 0.7rem, 1rem);
    }
    .subcontent_subtitle {
      text-align: left;
      font-size: clamp(.35rem, 1dvw + 0.2rem, .4rem);
    }
  }