@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Radley:ital@0;1&display=swap');

html {
  font-family: "Radley";
  background-color: rgba(21, 21, 21, 0.8);
}
.blue {
  color: #baf4ff;
}
.orange {
  color: #f9ceb2;
}
.green {
  color: #a7f7cf;
}
.grey {
  color: #ffffff;
}

body {
  color: #ffffff;
  border-radius: 70%;
}


pre {
  color: #d8c9a6;
  font-size: 5px;
}

.article img {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  max-width: 45%;
}

@media only screen and (min-width: 1001px) {
  .container {
    display: grid;
    grid-template-areas:
      "logo content"
      "menu content"
      "space content"
      "footer footer";
    grid-template-columns: 1fr 3fr;
    gap: 5px;
    padding: 5px;
    background-color: #383838;
    max-width: 950px;
    max-height: max-content;
    margin: auto;
    border-radius: 5px / 5px;



  }

  .currentPage {

    a:visited,
    link {
      color: #baada7;
    }

    box-shadow: -30px 0 0 0 rgb(237, 107, 0),
    10px 0 0 0 rgb(237, 107, 0);
    background-color: rgb(237, 107, 0);
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;

    a:hover {
      color: rgb(0, 0, 0);
    }
  }

  a {
    color: white;
  }

  .container>div {
    background-color: #383838;
    padding: 10px;
  }

  .container>div.logo {

    font-weight: 300;
    font-style: normal;
    grid-area: logo;
  }

  .container>div.menu {
    border-right: 5px solid rgb(237, 107, 0);
    font-family: "fira code";
    font-style: italic;
    grid-area: menu;
    font-size: large;

    line-height: 2lh;

    a {
      display: block;
      text-decoration: none;
    }

    a:hover {
      color: rgb(237, 107, 0)
    }

    a:visited {
      color: #ffffff;
    }

  }

  .container>div.content {

    font: "Playfair Display";
    font-weight: 600;
    font-style: normal;
    grid-area: content;

  }

  .container>div.footer {

    font-weight: 300;
    font-style: normal;
    font-size: small;
    grid-area: footer;
  }

  .gallery {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
  }

  .gallery img {
    margin: 10px;
    width: 30%;
  }

  .gallery a {
    display: contents;
  }
}


.project {
  padding: 5px;
  margin-bottom: 10px;
  border-radius: 2px 2px;

  a {
    color: #e4e4e4;
  }

  h3 {
    font-family: "Open Sans";
    font-weight: 500;
    font-style: Normal;
  }
}


.resume p {
  margin-left: 10px;
}

h2 {
  color: #d8c9a6;
  font-family: "Open Sans";
  font-weight: 300;
  font-size: 28;
}

h3 {
  font-weight: 200;
  font-size: 18;
  font-style: italic;
}

h4 {
  font-family: "Open Sans";
  font-size: 1.1em;
  font-style: Bold;
}

h5 {
  font-family: "Open Sans";
  font-weight: 600;
  font-size: 14;
  font-style: normal;
}

p {
  color: #e9e9e9;
  font-weight: 300;
  font-size: 1em;
  font-style: normal;
}

a {
  color: white;
}

@media (prefers-color-scheme: light) {
    html {
      background-color: #c4c4c4;
    }
    .container {
      background-color: #c4c4c4;
      padding: 1em;
    }
}


@media only screen and (max-width: 1000px) {

  
  html {
      background-color: #2a2a2a;
  }
  .blue {
    color: #3366ff;
  }
  .orange {
    padding-left: 5%;
    color: #ff6600;
  }
  .green {
    padding-left: 5%;
    color: #339966;
  }
  .grey {
    padding-left: 5%;
    color: #999999;
  }
  
  
  .logo {
    display: flex;
    justify-content: center;
    pre {
      font-size: 5pt;
    }
  }

  .logotext {
    display: none;
  }

  .gallery {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
  }

  .gallery img {
    margin: 8px;
    width: 9em;
  }

  .gallery a {
    display: contents;
  }

  .menu {
    display: flex;
    justify-content: center;
    margin: auto;
    font-family: "Fira Code", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 1.2rem;
    word-spacing: 0.1em;

    line-height: 2lh;

    a {
      display: contents;
      text-decoration: none;

    }

    a:hover {
      color: rgb(237, 107, 0)
    }

    a:visited {
      color: #ffffff;
    }
  }

  .footer {

    font-weight: 300;
    font-style: normal;
    font-size: 0.5;
    grid-area: footer;
  }

  .container {
    background-color: #2a2a2a;
    padding: 1em;
  }

}