@font-face {
  font-family: freemono;
  src: url('/FreeMonoBold.ttf');
}
body {
  background-color: #3c443b;
  color: white;
  font-family: freemono, Verdana;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.mainContentBox {
  width: 40vw;
  height: 70vh;
  background-color: #4e6b47;
  margin: 0px;
  position: relative;
}
.nameHeader {
  position: relative;
  top: calc((10vw / -2) + 30px);
  left: calc((10vw / -2) + 30px);
  display: flex;
  align-items: flex-end;
}
.nameHeader img {
  border-radius: 100%;
  width: 10vw;
}
.nameHeader h1 {
  margin: 0;
  margin-left: 10px;
  font-size: 55px;
}
#border-right {
  position: absolute;
  width: 66%;
  rotate: 90deg;
  top: 0;
  right: -17%;
  pointer-events: none;
}
#border-left {
  position: absolute;
  width: 66%;
  rotate: 270deg;
  bottom: 0;
  left: -17%;
  pointer-events: none;
}
#links {
  position: absolute;
  width: 50%;
  height: 100%;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#links > * {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
#links a {
  color: white;
  display: flex;
  flex-direction: row;
  transition: transform 0.2s ease;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
}
#links a:hover {
  transform: scale(1.08) rotate(2deg);
}
#links a img {
  width: 100%;
  height: 100%;  
  object-fit: contain;
  display: block;
}

#musiclinks {
  position: absolute;
  width: 100%;
  height: 70%;
  bottom: 0;
  left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-star;
  align-items: center;
}
#musiclinks > * {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
#musiclinks a {
  color: white;
  display: flex;
  flex-direction: row;
  transition: transform 0.2s ease;
  filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.4));
  text-decoration: none;
}
#musiclinks p {
  width: 70%;
  margin-left: 40px;
}
#musiclinks a:hover {
  transform: scale(1.01);
}
#musiclinks a img {
  width: auto;
  height: 100%;  
  object-fit: contain;
  display: block;
}
.aboutme {
  overflow-y: auto;
  scrollbar-width: thick;
  scrollbar-color: #2d4a27 transparent;
  direction: rtl;
  padding-left: 10px;
  max-height: 50%;
}
.aboutme * {
  direction: ltr;
    font-size: 15px;
}
.aboutme::-webkit-scrollbar {
  width: 10px;
}
.aboutme::-webkit-scrollbar-track {
  background: transparent;
}
.aboutme::-webkit-scrollbar-thumb {
  background-color: #2d4a27;
  border-radius: 999px;
}

.leftmain {
  width: 50%;
  position: absolute;
  left: 30px;
  top: calc((10vw / 2) + 50px);
  height: calc(100% - ((10vw / 2) + 50px));
}

#cdcontainer {
  position: relative;
  height: 25%;
}

#cdcontainer img {
  position: absolute;
  height: 100%;
  width: auto;
}

#cdcase {
  z-index: 1;
}

#cd {
  z-index: 3;

  translate: 15%;
}

#albumcover {
  z-index: 2;

  translate: 15%;
  border-radius: 50%;
  mask: radial-gradient(circle,
    transparent 10%,
    black 11%
  );
}

#credits {
  position: absolute;
  right: 0;
  font-size: 10px;
  bottom: -30px;
}
@media (max-width: 768px) {
  .mainContentBox {
    width: 90vw;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .nameHeader {
    position: relative;
    top: auto;
    left: auto;
    padding: 16px;
  }
  .nameHeader img {
    width: 20vw;
  }
  .nameHeader h1 {
    font-size: 36px;
  }
  .aboutme {
    position: relative;
    width: auto;
    top: auto;
    left: auto;
    height: auto;
    max-height: 30vh;
    font-size: 18px;
    margin: 0 16px;
  }
  #links {
    position: relative;
    width: 100%;
    height: 90vw;
    flex-direction: column;
    padding: 16px 0;
  }
  #border-right, #border-left {
    display: none;
  }
  
  #musiclinks {
    position: relative;
    width: 80vw;
    height: 60vh;
    bottom: 0;
    left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-star;
    align-items: center;
  }
  #musiclinks a img {
    width: auto;
    height: 50%;  
    object-fit: contain;
    display: block;
  }
}