html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  background:
    repeating-linear-gradient(to right, rgb(38, 18, 88) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(to bottom, rgb(38, 18, 88) 0 1px, transparent 1px 30px);
  background-color: rgb(19, 6, 53);
}

a {
  text-decoration: none;
  color: rgb(105, 35, 5);
}

a:hover {
  color: rgb(228, 188, 139);
}

.syne-mono-regular {
  font-family: "Syne Mono", monospace;
  font-weight: 600;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

h3 {
  padding: 0;
  margin: 0.15em;
}

.container {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  gap: 1em;
  margin: 0 auto;
  max-width: 70%;
}

/* Mobile first */
.container > * {
  padding: 0.5em;
  grid-column: col-start / span 12;
  margin: 0.5em;
}

.header {
  text-align: center;
  display: inline;
  white-space: nowrap;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: justify;
  height: 3em;
  padding: 1em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 576px) {
  .content-side1 {
    grid-column: col-start / span 3;
    grid-row: 3;
  }
  .content-side2 {
    grid-column: col-start / span 3;
  }
  .content,
  .footer {
    grid-column: col-start 4 / span 9;
  }

  .content-fw {
    grid-column: col-start 4 / span 10;
  }

  nav ul {
    display: flex;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .nav {
    grid-column: col-start / span 2;
    grid-row: 2 / 5;
  }
  .content {
    grid-column: col-start 3 / span 8;
    grid-row: 2 / 5;
  }
  .content-fw {
    grid-column: col-start 3 / span 10;
    /* grid-row: 2 / 2; */
  }
  .content-sub {
    grid-column: col-start 3 / span 10;
    grid-row: 3 / 5;
  }
  .card1 {
    grid-column: col-start 3 / span 5;
    background-color: #8dae60;
  }
  .card2 {
    grid-column: col-start 8 / span 5;
    background-color: #7974d3;
  }
  .card3 {
    grid-column: col-start 3 / span 5;
    background-color: rgb(200, 109, 162);
  }
  .card4 {
    grid-column: col-start 8 / span 5;
    background-color: rgb(216, 121, 105);
  }
  .card1,
  .card2,
  .card3,
  .card4 {
    height: 100%;
    padding: 1em;
  }

  .card1 hr {
    border-color: rgb(141, 174, 96);
  }
  .card2 hr {
    border-color: rgb(121, 116, 211);
  }
  .card3 hr {
    border-color: rgb(200, 109, 162);
  }
  .card4 hr {
    border-color: rgb(216, 121, 105);
  }

  .content-side1 {
    grid-column: col-start 11 / span 2;
    grid-row: 3 / 5;
  }
  .content-side2 {
    grid-column: col-start 11 / span 2;
  }
  .footer {
    grid-column: col-start / span 12;
  }
  nav ul {
    flex-direction: column;
  }
}

.navbtn {
  margin: 0.5em;
  padding: 0.5em;
}

.navbtn:hover {
  background-color: rgb(68, 162, 234);
  clip-path: polygon(
    0px calc(100% - 6px),
    2px calc(100% - 6px),
    2px calc(100% - 4px),
    4px calc(100% - 2px),
    6px calc(100% - 2px),
    6px 100%,
    calc(100% - 6px) 100%,
    calc(100% - 6px) calc(100% - 2px),
    calc(100% - 4px) calc(100% - 2px),
    calc(100% - 2px) calc(100% - 4px),
    calc(100% - 2px) calc(100% - 6px),
    100% calc(100% - 6px),
    100% 6px,
    calc(100% - 2px) 6px,
    calc(100% - 2px) 4px,
    calc(100% - 4px) 2px,
    calc(100% - 6px) 2px,
    calc(100% - 6px) 0px,
    6px 0px,
    6px 2px,
    4px 2px,
    2px 4px,
    2px 6px,
    0px 6px
  );
}

.navbtn:hover a {
  color: rgb(255, 255, 255);
}

.cat {
  height: 2em;
}

.corners {
  clip-path: polygon(
    0px calc(100% - 15px),
    3px calc(100% - 15px),
    3px calc(100% - 9px),
    6px calc(100% - 9px),
    6px calc(100% - 6px),
    9px calc(100% - 6px),
    9px calc(100% - 3px),
    15px calc(100% - 3px),
    15px 100%,
    calc(100% - 15px) 100%,
    calc(100% - 15px) calc(100% - 3px),
    calc(100% - 9px) calc(100% - 3px),
    calc(100% - 9px) calc(100% - 6px),
    calc(100% - 6px) calc(100% - 6px),
    calc(100% - 6px) calc(100% - 9px),
    calc(100% - 3px) calc(100% - 9px),
    calc(100% - 3px) calc(100% - 15px),
    100% calc(100% - 15px),
    100% 15px,
    calc(100% - 3px) 15px,
    calc(100% - 3px) 9px,
    calc(100% - 6px) 9px,
    calc(100% - 6px) 6px,
    calc(100% - 9px) 6px,
    calc(100% - 9px) 3px,
    calc(100% - 15px) 3px,
    calc(100% - 15px) 0px,
    15px 0px,
    15px 3px,
    9px 3px,
    9px 6px,
    6px 6px,
    6px 9px,
    3px 9px,
    3px 15px,
    0px 15px
  );
}

.title {
  color:rgb(242, 213, 232);
  background-color: rgb(175, 78, 208);
  background-image: url(clouds/titleclouds.png);
  background-size: cover;
  background-repeat: repeat;
  background-position: center;
}

.navbar {
  background-color: rgb(124, 164, 233);
  background-image: url(clouds/navclouds.png);
  background-size: cover;
  background-position: left center;
}

.navbar a {
  color: rgb(0, 0, 0);
}

.navbar a:hover {
  color: rgb(255, 255, 255);
}

.main {
  background-color: rgb(229, 145, 100);
}

.about {
  /* background-color: rgb(218, 100, 131);
  background-image: url(aboutclouds.png); */
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2)), 
                url(clouds/aboutclouds.png);
  background-size: cover;
}

.about hr{
  border-color: rgb(200, 109, 162);
}

.socials {
  background-color: rgb(131, 149, 87);
  background-image: url(clouds/cloud.png);
  background-size: cover;
}

.socials hr{
  border-color: rgb(95, 108, 64);
}

.socials a {
  color: rgb(0, 0, 0);
}

.socials a:hover {
  color: rgb(18, 67, 20);
}

.bottom {
  background-color: rgb(159, 92, 164);
}

.content-text {
  padding: 1em;
}

.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1em;
}

.textbox-item {
  background-color: rgb(229, 145, 100);
  padding: 1em;
}

.item {
  background-color: black;
  width: 8em;
  height: 8em;
}

.item-pt{
  width: 100%;
}

.item-ls{
  height: 100%;
}

.item-music {
  width: 8em;
  height: 12em;
}

.item-text {
  padding: .5em;
  text-align: center;
  background-color: rgb(216, 121, 105);
  color: white;
}

.kpop{
  background-color: rgb(121, 116, 211);
}

.pop{
  background-color: rgb(131, 149, 87);
}

.dadrock {
  background-color: rgb(225, 158, 32);
}

.cover {
  width: 100%;
}

.sub-item {
  padding: 0.5em;
  clip-path: polygon(
    0px calc(100% - 6px),
    2px calc(100% - 6px),
    2px calc(100% - 4px),
    4px calc(100% - 2px),
    6px calc(100% - 2px),
    6px 100%,
    calc(100% - 6px) 100%,
    calc(100% - 6px) calc(100% - 2px),
    calc(100% - 4px) calc(100% - 2px),
    calc(100% - 2px) calc(100% - 4px),
    calc(100% - 2px) calc(100% - 6px),
    100% calc(100% - 6px),
    100% 6px,
    calc(100% - 2px) 6px,
    calc(100% - 2px) 4px,
    calc(100% - 4px) 2px,
    calc(100% - 6px) 2px,
    calc(100% - 6px) 0px,
    6px 0px,
    6px 2px,
    4px 2px,
    2px 4px,
    2px 6px,
    0px 6px
  );
}

.sub-card1 {
  background-color: rgb(194, 209, 155);
}
.sub-card2 {
  background-color: rgb(166, 156, 231);
}
.sub-card3 {
  background-color: rgb(221, 143, 185);
}
.sub-card4 {
  background-color: rgb(240, 168, 168);
}

.bingo {
  display: grid;
  grid-template-columns: repeat(5, [col-start] 1fr);
  gap: 1em;
  justify-items: center;
  width: 46em;
  padding: 1em;
}

.bingo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(clouds/orig_big.png);
  background-size: cover;
  background-position: center center;
}

.bingo-item{
  background-color: rgb(199, 232, 241);
  width: 8em;
  height: 8em;
  text-align: center;
  justify-content: center;
  padding: 1em;
}

.done {
  background-color: rgb(194, 209, 155);
}

.gb{
  padding: none;
  grid-column: col-start 3 / span 10;
  grid-row: 3 / 5;
}

.created{
  position: absolute;
  width: 50vw;
  margin-left: 25%;
  margin-right: 25%;
  z-index: 99;
  padding: 1em;
  background-color: rgba(216, 193, 233, 0.6);
}

.created img {
  width: 100%;
  display: inline-block;
}

.float-div{
  width: 100%;
}

.titleText{
  font-size: 24pt;
  display: inline-block;
  width: 80%;
}

.close-btn {
  display: inline-block;
  text-align: right;
  width: 20%;
  font-size: 24pt;
  cursor: pointer;
}