:root {
  --aero: #62b7d7ff;
  --white: #fefefeff;
  --cinereous: #9b8c83ff;
  --tea-rose-red: #efc3bfff;
  --light-sky-blue: #9accf2ff;
  --pastel-green: #3efd97;
}

@font-face {
  font-family: "zpix";
  src: url("./fonts/zpix.ttf") format("truetype");
}

@font-face {
  font-family: "P12B";
  src: url("./fonts/PixelMplus12-Bold.ttf") format("truetype");
}

* {
  font-family: "zpix";
  font-size: 100%;
  cursor: url("./images/tetocursor.png"), auto;
}

body {
  margin: 0;
  padding: 0;
  max-width: 1100px;
  min-height: 100vh;
  margin: auto;
  /* background-color: var(--tea-rose-red);
  background-image: url(/images/wallpaper.png); */
  background: linear-gradient(to bottom, #b49fb9 0%, #d49339 50%, #f64524 100%);
}

main {
  height: fit-content;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  align-content: stretch;
}

.left,
.right {
  width: 25%;
  padding: 20px;
}

.middle {
  width: 35%;
  padding-bottom: 20px;
}

/* Media query for small devices */
@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
  }

  .left,
  .right,
  .middle {
    width: 100%;
    padding: 20px;
  }
}

.center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

header {
  margin-top: 32px;
  margin-bottom: 16px;
  display: flex;
  background-color: var(--pastel-green);
  align-items: center;
  justify-content: center;
}

.header-section {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  margin: 5px;
  font-family: "P12B";
}

.right-align {
  justify-content: flex-end;
}
.left-align {
  justify-content: flex-start;
}

.header-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.sampleimg {
  width: 100%;
  height: auto;
}

.spacer {
  margin-top: 35px;
}

/* Left Column Content */
.bio-image {
  width: clamp(60%, 60%, 100px);
  height: clamp(60%, 60%, 100px);
}

.what-the-heck {
  width: 100%;
  height: auto;
  margin: auto;
}

/* Middle Column Content */
/* Painful Spinning Image */

.downloadflex {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  overflow: hidden;
}

.downloading {
  width: 20%;
  height: auto;
  margin: auto;
}

.spinY {
  animation: spiny 4s linear infinite;
}

.spinX {
  animation: spinx 4s linear infinite;
}

@keyframes spiny {
  0% {
    transform: rotateY(-90deg);
  }
  100% {
    transform: rotateY(90deg);
  }
}

@keyframes spinx {
  0% {
    transform: rotateX(-90deg);
  }
  100% {
    transform: rotateX(90deg);
  }
}

.ping {
  width: 10px;
  height: 10px;
  background-color: red;
  animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
  0% {
    margin-left: calc(-15%);
  }
  50% {
    margin-left: calc(40%);
  }
  100% {
    margin-left: calc(-15%);
  }
}

.download_bar {
  animation: download_bar 20s linear infinite;
}

@keyframes download_bar {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Right Column Content */

.image {
  width: 100%;
  height: auto;
  margin: auto;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 32px;
  background-color: var(--pastel-green);

  padding: 4px;
  border-top: 2px solid;
  border-color: rgb(0, 0, 0);
  display: inline;
}

.taskbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  font-size: 1.5em;
}

.task {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  color: var(--white);
  font-family: "P12B";
}

/* Some mobile stuff */
@media screen and (max-width: 768px) {
  main {
    flex-direction: column;
    align-items: center; /* centers flex items horizontally */
  }

  .left,
  .middle,
  .right {
    width: 100%;
    padding: 20px;
  }

  .task {
    width: auto;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    color: var(--white);
    font-family: "P12B";
  }

  .spacer {
    margin-top: 0px;
  }
}

.pdf-container {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pdf-container object,
.pdf-container embed {
  width: 100%;
  height: 800px;
  display: block;
  border: none;
}

/* Some mobile adjustments for the PDF container */
@media (max-width: 768px) {
  .pdf-container {
    max-width: 90%;
    margin: 1rem;
  }
  .pdf-container object,
  .pdf-container embed {
    height: 600px;
  }
}

.videoWrapper {
  display: grid;
  width: 100%;
}

.videoWrapper::before {
  content: "";
  padding-top: 56.25%; /* 9/16 * 100 = 56.25% */
  grid-area: 1 / 1 / 2 / 2;
}

.videoWrapper iframe {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  height: 100%;
  border: 0;
}
