@media screen and (max-width: 768px) {


  .pdf-container.open {
    height: 50vh !important;
    width: 90%;
    /* adjust this value to your needs */
  }


  section {
    /* grid-column: 2 / 14; */
    width: 75vw;
    margin: 0 auto;
    overflow-x: hidden;

  }

  .skills {
    margin-top: -1em;
    flex-direction: column !important;
    width: 10%;
    align-items: end;
    gap: 2em;
  }

  .skillsItem > h3 {
    text-align: left;
  }

  .skillsItem > ul {
    padding-left: 1em !important;

  }

  header {
    width: 60vw;
    padding-right: 1em !important;
  }



  html,
  body {
    margin: 0;
    padding: 0;

  }

  .overlay {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .left {
    /* Add this rule inside the media query */
    grid-column: 1 / -1;
    width: 70vw;
    /* Add this line */
    margin-left: -39vw;
    /* Add this line */
  }

}



html,
body {
  overflow-x: hidden;
  background-color: black;
}

header h1 {
  font-size: clamp(3rem, 3rem + 1vw, 4rem);
}



body {
  font-family: 'Courier New', Courier, monospace;
  overflow-x: hidden;


}

canvas {
  position: fixed;
  top: 0;
  left: 0;
}


:root {
  --dark-bg: rgba(18, 21, 23, 0.95);
  --spacing: 350px;

  font-weight: 400;
  font-style: normal;
}


main {
  max-width: 100%;
  color: white;
  z-index: 99;
  position: relative;
  margin: 0px auto;
  padding: 120px 0px;

  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

h1,
h2,
h3,
blockquote {
  font-weight: 700;
  font-style: normal;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
}



header {
  background: var(--dark-bg);
  grid-column: 2 / span 5;
  font-size: 2.5rem;
  padding: 2rem;
  margin-bottom: var(--spacing);

}

section {
  grid-column: 2 / 8;
  padding: 1rem;
  background: var(--dark-bg);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: var(--spacing);
  overflow: auto;
}

section > h2 {
  text-align: center;
}

blockquote {
  margin: 0;
  padding: 0;
  grid-column: 2 / span 9;
  margin-bottom: var(--spacing);
  max-width: 99vw;
}

blockquote p {
  color: rgb(18, 21, 23);
  ;
  background-color: rgb(18, 21, 23);
  color: white;
  font-size: clamp(2.5rem, 2.5rem + 1vw, 4rem);
  display: inline;
  line-height: 1;
}

.left {
  grid-column: 6 / 13;
}

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

#git {
  font-size: 4rem;
  transition: 0.5s;
}

#git:hover {
  color: aquamarine;
  transition: 0.5s;
}

a {
  text-decoration: none;
  color: white;
}

.links {
  /* width: 100%; */
  display: flex;
  justify-content: center;
  gap: clamp(1em, 1em + 1vw, 3em);
  font-size: 3.5rem;
}

.links a:hover {
  color: aquamarine;
  transition: 0.5s;
}

.links a {
  transition: 0.5s;
}

#mailContainer {
  width: 100%;
  display: flex;
  justify-content: center;    
}

#mail {
  color: white;
  transition: 0.5s;
  font-size: clamp(1rem, 1rem + 1vw, 3rem);
}

#mail:hover {
  color: aquamarine;
  transition: 0.5s;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#loading-text {
  font-size: clamp(2rem, 2rem + 10vw, 3rem);
  color: white;
  animation: loading-text-animation 1.5s infinite;
}

@keyframes loading-text-animation {
  0% {
    content: "Loading.";
  }

  33% {
    content: "Loading..";
  }

  66% {
    content: "Loading...";
  }
}

.pdf-container {
  width: 90%;
  height: 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  /* margin: 1em auto; */
  overflow: hidden;
  transition: height 0.5s ease-in-out;
}

.pdf-container.open {
  height: 120vh;
  width: 90%;
  /* adjust this value to your needs */
}

.hide {
  display: none;
}

#toggleButton {
  background-color: inherit;
  border: none;
  color: white;
}


section {
  min-height: 1em;

}


.thumbnail {
  max-height: clamp(7em, 7em + 1vh, 10em);
  max-width: clamp(7em, 7em + 1vw, 10em);
  cursor: pointer;
  transition: 0.5s;
}

.resume-thumbnail {
  max-height: clamp(12em, 12em + 1vh, 14em);
  max-width: clamp(12em, 12em + 1vw, 14em);
  cursor: pointer;
  transition: 0.5s;
}

.thumbnail:hover, .resume-thumbnail:hover {
  box-shadow: 5px 5px aquamarine;
  transition: 0.5s;
}

.overlay {
  box-sizing: border-box;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}



.fullsize {
  max-width: 90%;
  max-height: 90%;
  cursor: pointer;
}

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

.gitLink {
  box-sizing: border-box;
  color: aquamarine;
  font-size: clamp(0.7rem, 0.7rem + 1vw, 1rem);
  transition: 0.5s;
}

.gitLink:hover {
  color: white;
  transition: 0.5s;
}

.skills {

  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.skillsItem {
  width: 33%;
  
  display: flex;
  flex-direction: column;
  text-align: center;

}

.skillsItem > ul {
  margin: 0 auto;
  padding: 0;
  text-align: left;
}


#resumeBtn {
  font-size: clamp(1.5em, 1.5rem + 1vw, 2rem);
  transition: 0.5s;
  /* margin-left: 2.5em; */
}

#resumeBtn:hover {
  box-shadow: 4px 4px aquamarine;
  transition: 0.5s;
  color: aquamarine;

}

.resumeContainer {
  margin-top: 1em;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 0.5em; */
}

.resumeContainer > p {
  font-size: 1rem;
  margin-top: 0.3em;
}
