@import url("https://fonts.googleapis.com/css2?family=Mochiy+Pop+P+One&display=swap");

h1 {
  margin: 0px;
  margin-top: 40px;
  margin-left: 50px;
  font-size: 45px;
}

:root {
  --primColor: rgb(231, 228, 228);
  --secoColor: black;
  --cornerRad: 4px;
}
body {
  background-color: rgb(255, 104, 129);
  font-family: "Mochiy Pop P One", sans-serif;
  font-size: 20px;
  color: white;
}
details {
  margin: 40px;
  margin-bottom: 15px;
}
summary {
  writing-mode: vertical-lr;
  text-align: center;
  padding: 12px 10px;
  width: 23px;
  height: 17px;
  background-color: var(--primColor);
  border-radius: var(--cornerRad);
  color: var(--secoColor);
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: transform 200ms ease-in-out 0s;
  font-family: Arial, Helvetica, sans-serif;
}
summary::before,
summary::after {
  position: static;
  top: 0;
  left: 0;
}
summary::before {
  content: "";
}
summary::after {
  content: "III";
  letter-spacing: -1px;
}
summary:hover {
  transform: scale(1.1);
}
summary::marker {
  font-size: 0;
}
summary::-webkit-details-marker {
  display: none;
}
details[open] .menu {
  animation-name: menuAnim;
}
details[open] summary::before {
  content: "X";
}
details[open] summary::after {
  content: "";
}
.menu {
  height: 0;
  width: fit-content;
  border-radius: var(--cornerRad);
  background-color: var(--primColor);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: closeMenu 300ms ease-in-out forwards;
  position: absolute;
}
.menu a {
  padding: 12px 15px;
  margin: 0 5px;
  color: var(--secoColor);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  text-align: center;
  transition: 0.3s;
  font-size: 15px;
}

.menu a:hover {
  transform: scale(1.1);
}

.menu a:nth-of-type(1) {
  padding-top: 24px;
}
.menu a:nth-last-of-type(1) {
  border-bottom: none;
}
.menu a:hover {
  filter: brightness(200%);
}

details[open]::before {
  animation: fadeMe 300ms linear forwards;
}
@keyframes menuAnim {
  0% {
    height: 0;
  }
  100% {
    height: 312px;
  }
}
@keyframes fadeMe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}

.sub_des {
  margin-left: 150px;
}

.sub_heads {
  margin-left: 100px;
}

ul {
  margin-left: 50px;
  font-size: 15px;
}

.all_arts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-left: 50px;
}

img {
  height: 150px;
  width: auto;
}

iframe {
  height: 200px;
  width: auto;
}

.arts {
  padding: 15px;
}

a {
  color: white;
  text-decoration: none;
}
