@media only screen and (min-width: 1500px) {

  html {
    font-size: 1.3vw;
  }

}

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

  html {
    font-size: 16px;
  }

}

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

  html {
    font-size: 18px;
  }

  .info {
    grid-template-columns: 1fr;
    gap: 1.3em;
  }

  .contact-details {
    grid-column-start: 2;
  }

  .about-text {
    grid-column: span 2;
  }

  .contact-details:before {
    white-space: normal;
  }

  .project-collection {
    grid-template-columns: 1fr;
  }

  .project .gallery {
    grid-template-columns: 1fr;
  }

  .default .text {
    grid-template-columns: 1fr;
    margin-top: 3.6rem;
  }

  footer {
    position: relative;
  }
  
  footer a {
    margin-right: 1.5em;
    margin-left: 0;
  }

}


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

  html {
    font-size: 15px;
  }

  .info {
    margin-bottom: 0em;
  }

  .contact-details:before {
    white-space: pre;
  }

  .contact-details {
    grid-column-start: 1;
  }

  .about-text {
    display: none;
  }

}


@media (prefers-color-scheme: dark) {
  :root {  
    --text-dark: var(--white);
    --background-light: var(--dark-grey);
  }
}