@font-face {
  font-family: Kiona;
  src: url("/assets/fonts/kiona-regular-webfont.woff");
}

@font-face {
  font-family: Quicksand-Book;
  src: url("/assets/fonts/quicksand_book-webfont.woff");
}

@font-face {
  font-family: Quicksand-Bold;
  src: url("/assets/fonts/quicksand_bold-webfont.woff");
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0 auto;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
}

.nav_on_top {
  width: 100%;
  height: 12vh;
  margin: 0 auto;
  z-index: 1;
  background-color: #d4d3be;
  transition-duration: 300ms;
  transition-property: height, background, position;
  transition-timing-function: ease-in-out;
}

.fixed-header {
  background-color: #2f4858;
  position: fixed;
  width: 100%;
  height: 9vh;
  margin: 0 auto;
  z-index: 1;
  transition-duration: 500ms;
  transition-property: height, background, position;
  transition-timing-function: ease-in-out;
}

.nav_on_top #nav_bar_inner,
.fixed-header #nav_bar_inner {
  position: relative;
  width: auto;
  height: 6vh;
  margin: 0 6vw;
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
}

.nav_on_top #nav_bar_inner {
  top: 6vh;
}

.fixed-header #nav_bar_inner {
  top: 1.5vh;
}

.nav_on_top #nav_bar_inner svg {
  margin: 0 auto;
  width: auto;
  height: 6vh;
  margin-right: 10px;
  stroke:black;
  stroke-width: 1;
}

.fixed-header svg {
  margin: 0 auto;
  width: 20px;
  height: 50px;
  margin-right: 10px;
  stroke:white;
  stroke-width: 1;
}

.fixed-header svg path {
  fill: #ffffff;
}

.nav_on_top #nav_bar_inner p,
.fixed-header #nav_bar_inner p {
  margin: auto;
  font-family: Kiona;
  display: inline;
  flex: 1;
  transition: font-size 300ms ease-in-out;
  font-size: 18px;

}

.nav_on_top #nav_bar_inner p {
  color: #000000;
}

@supports (-webkit-text-stroke: 1px) {
  #nav_bar_inner p {
    -webkit-text-stroke: 1px;
  }
}

.fixed-header #nav_bar_inner p {
  color: #ffffff;
  font-size: 16px;
}

#nav_bar_inner ul {
  list-style-type: none;
  margin: auto;
  display: flex;
  flex-flow: row wrap;
}

#nav_bar_inner li {
  display: inline;
  font-family: Kiona;
  font-size: 18px;
}

.nav_on_top #nav_bar_inner li {
  color: #000000;
}

.fixed-header #nav_bar_inner li {
  color: #ffffff;
}

@supports (-webkit-text-stroke: 1px) {
  #nav_bar_inner a {
    -webkit-text-stroke: 1px;
  }
}

#nav_bar_inner a {
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
  margin: 10px;
  transition: background 350ms ease-in-out, font-size 350ms ease-in-out;
}

.nav_on_top #nav_bar_inner a,
.nav_on_top #nav_bar_inner a:link,
.nav_on_top #nav_bar_inner a:visited {
  color: #000000;
}

.nav_on_top #nav_bar_inner a:hover,
.nav_on_top #nav_bar_inner a.active {
  background-color: #ffffff;
}

.fixed-header #nav_bar_inner a,
.fixed-header #nav_bar_inner a:link,
.fixed-header #nav_bar_inner a:visited {
  color: #ffffff;
}

.fixed-header #nav_bar_inner a:hover,
.fixed-header #nav_bar_inner a.active,
.on {
  background-color: #9baebc;
  color: #000000 !important;
}


#welcome_page {
  width: 100%;
  height: 88vh;
  background-color: #d4d3be;
  margin: auto;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: flex-start;
}

#left, #right, #bottom {
  width: 100%;
  font-family: Kiona;
}

@supports (-webkit-text-stroke: 1.75px) {
  #left h2 {
    -webkit-text-stroke: 1.75px;
  }
}

@supports (-webkit-text-stroke: 3px) {
  #left h1 {
    -webkit-text-stroke: 3px;
  }
}

#left {
  margin: 0;
  padding: 0;
  height: fit-content;
}


#left {
  margin-left: 6vw;
  margin-top: 6vh;
  /* background-color: red; */
}

#left h1 {
  font-size: 125px;
}

#left h2 {
  font-family: Quicksand-Book;
}

#right {
  /* margin: 0; */
  /* background-color: green; */
  display: flex;
  flex-flow: row wrap;
  /* width: 50vw; */
  margin-left: 52vw;
  margin-top: 5vh;
  margin-right: 3vw;
  align-items: center;
}

@supports (-webkit-text-stroke: 0.5px) {
  #right #text {
    -webkit-text-stroke: 0.5px;
  }
}

#right #text { 
  width: 60%;
  font-family: Quicksand-Book;
  font-size: 18px;
}

#circle {
  /* margin: auto; */
  width: 17vw;
  height: 17vw;
  background-image: url("assets/welcome_mini_dave.jpg");
  background-size: cover;
  background-position: -9.7vw center;
  border-radius: 50%;
  /* margin-bottom: 20px; */
}

#bottom {
  margin: 0 auto;
  /* background-color: blue; */
  position: absolute;
  bottom: 0;
  /* align-items: center; */
}

#socials, #bottom p {
  width: fit-content;
  /* margin-bottom: 1vh; */
  font-size: 20px;
}

#bottom p {
  margin: 2vh auto;
}

#socials img {
  width: 2.5vw;
  /* height: 5vh; */
}

#socials ul {
  list-style-type: none;
}

#socials li {
  display: inline;
  margin: 1vw;
}













#code_works {
  /* width: 100%; */
  height: auto;
  background-color: hsl(104, 12%, 68%);
  margin: 0 auto;
  padding-bottom: 20px;
  display: flex;
  flex-flow: column; /* So put it into a column if possible else wrap it into a row*/
}

#projects-selector {
  box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.25);
  background-color: #000000;
  padding: 15px 0;
  border-radius: 5px;
  opacity: 0.65;
  margin-bottom: 5vh;
}

#projects-selector ul {
  list-style-type: none;
  margin: auto;
  display: flex;
  flex-flow: row wrap;
}

#projects-selector li{
  display: inline;
  font-family: Kiona;
  font-size: 18px;
}

#projects-selector li {
  color: #ffffff;
  width: fit-content;
}

@supports (-webkit-text-stroke: 1px) {
  #projects-selector a {
    -webkit-text-stroke: 1px;
  }
}

#projects-selector a {
  text-decoration: none;
  padding: 15px;
  border-radius: 5px;
  /* margin: 10px; */
  transition: background 350ms ease-in-out, font-size 350ms ease-in-out;
}

#projects-selector a,
#projects-selector a:link,
#projects-selector a:visited {
  color: #ffffff;
}

#projects-selector a:hover,
#projects-selector a.active {
  background-color: #d4d3be;
  color: black;
}





#code_works h1 {
  color: #000000;
  font-family: Kiona;
  font-size: 45px;
  margin: 0 auto;
  margin-bottom: 50px;
  padding-top: 5%;
  flex: 2;
}

/* #code_works #langs {
  font-family: Quicksand-Book;
  color: #000000;
  text-align: center;
  margin: 50px;
  font-size: 22px;
  flex: 1;
} */

#code_works .projects {
  /* width: 80%; */
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  background-color: #000000;
  opacity: 0.65;
  border-radius: 10px;
  padding: 4%;
  margin: 0 5vw;
}

#ai {
  display: grid;
}

#full_stack, #software, #game {
  display: none;
}

/* #code_works a {
  margin: 0 auto;
  width: auto;
  color: #000000;
}

#code_works #box:hover h4 {
  color: black;
  background-color: #f8fff8;
}

#code_works #box:hover p {
  color: white;
}

#code_works #box:hover {
  background-color: #3f4a3c;
} */

.box-top {
  /* width: 80%; */
  display: flex;
  flex-flow: row;
  margin: 0;
  margin-top: 30px;
  justify-content: space-between;
}

.box-top h4 {
  /* margin: 0; */
  /* margin-right: 20px; */
  font-size: 1.1vw;
  text-align: center;
  font-family: Kiona;
  color: #ffffff;
  background-color: #1b3d2f;
  padding: 7px;
  border-radius: 5px;
  transition-duration: 350ms;
  transition-property: color, background;
  transition-timing-function: ease-in-out;
  /* justify-self: left; */
  margin-left: 30px;

}

.status-box {
  margin: auto 0;
  margin-right: 30px;

}

.box-top svg {
  /* margin: auto 2px; */
  width: 1.5vw;
  height: 1.5vw;
  padding: 5px;
  background-color: #1b3d2f;
  border-radius: 5px;
  align-self: right;
}

.done path {
  fill:lawngreen;
  opacity: 1 !important;
}

.wip path {
  fill: orange;
  opacity: 1 !important;
}

.paused path {
  fill: grey;
  opacity: 1 !important;
}

.updating path { 
  fill: yellow;
  opacity: 1 !important;
}





#code_works #box {
  background-color: white;
  border-radius: 15px;
  transition-duration: 350ms;
  transition-property: background;
  transition-timing-function: ease-in-out;
  display: flex;
  flex-direction: column;
}

.projects #box #projects_img {
  background-color: #1b3d2f;
  width: 100%;
  height: 40vh;
  border-radius: 10px 10px 0 0;
}

#code_works #tags {
  display: flex;
  flex-flow: row wrap;
  margin: 20px 25px 0 25px;
  
}

#code_works #tags p {
  background-color: #d4d3be;
  color: #000000;
  border-radius: 5px;
  margin: 5px;
  padding: 10px;
  font-size: 0.9vw;
}

#code_works .projects p {
  margin-bottom: 20px;
  padding: 20px;
  font-size: 15px;
  text-align: center;
  font-family: Quicksand-Book;
  transition-duration: 350ms;
  transition-property: color;
  transition-timing-function: ease-in-out;
}






@supports (-webkit-text-stroke: 0.5px) {
  #code_works {
    -webkit-text-stroke: 0.5px;
  }
}


#galleria {
  width: 100%;
  height: auto;
  background-color: #829c90;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#galleria h1 {
  color: #000000;
  font-family: Kiona;
  font-size: 45px;
  margin: 0 auto;
  flex: 2;
  padding-top: 5%;
}

#galleria #projects {
  margin: auto;
  margin-top: 4%;
  padding-bottom: 5%;
  margin-left: 8%;
  line-height: 0;
  column-count: 5;
  column-gap: 0px;
  width: auto;
}

#galleria #projects h4 {
  margin: 0 auto;
  font-size: 22px;
  text-align: center;
  font-family: Kiona;
}

#galleria #box,
.box1 {
  margin: 0 auto;
  margin: 0 10px 10px 0;
  position: relative;
}

#galleria #projects #box h2 {
  display: block;
  position: absolute;
  opacity: 0;
  height: 0;
  overflow: hidden;
  font-family: Kiona;
  font-size: 135%;
  color: #ffffff;
  text-align: center;
  bottom: 0px;
  border-radius: 5px;
  padding: 6%;
  width: auto;
  background-color: rgba(0, 0, 0, 0.7);
  transition-duration: 250ms;
  transition-property: opacity, height, background;
  transition-timing-function: ease-in-out;
}

#galleria #projects #box:hover h2 {
  opacity: 1;
  height: auto;
}

#galleria img {
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 5px;
  vertical-align: middle;
}

#galleria .box1 img {
  height: auto;
  width: 80%;
}
/* 
.hidden {
  display: none !important;
  background-color: red;
}
 */










#contact_me {
  height: 100%;
  margin: 0 auto;
  display: flex;
  text-align: center;
}

#contact_me h2 {
  margin: 25px auto;
  font-family: Kiona;
  padding: 7px;
  background-color: #ffffff;
  width: fit-content;
  border-radius: 5px;
  font-size: 135%;
}

#contact_me p {
  margin: 0 auto;
  width: 70%;
  text-align: center;
  font-family: Quicksand-Book;
  font-size: 100%;
  padding-bottom: 20px;
}

#contact_me #about_me {
  width: 50%;
  height: 200px;
  margin: 0 auto;
  flex: 1;
  background-color: #b3d9d9;
}


a {
  text-decoration: none;
}

footer {
  background-color: #1b3d2f;
  width: 100%;
  height: fit-content;

}

footer p {
  font-family: 'Quicksand-Book';
  text-align: center;
  color: white;
  padding-top: 7px;
}

#icon_attr {
  margin: 0 auto;
  width: fit-content;
}

footer a,
footer a:link,
footer a:visited {
  color: #B3D9D9;
}

footer a:hover,
footer a.active {
  color: #7AB5B5;
}

footer img {
  height: 3vh;
  width: auto;
  margin: 5px;

}

footer svg {
  height: 3vh;
  width: auto;
  margin: 5px;

}

footer svg path {
  fill: black;
}
/* @media screen and (max-width: 1400px) {
  #welcome_page h1 {
    font-size: 40px;
  }
  #welcome_page h3 {
    font-size: 15px;
    margin-top: 10px;
    padding: 5px;
  }

  #code_works {
    padding-top: 20px;
  }

  #code_works h1 {
    font-size: 30px;
  }

  #code_works #langs {
    font-size: 15px;
  }

  #code_works #projects {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-left: 12%;
  }

  #code_works #box {
    width: 100%;
    padding: 20px;
  }

  #code_works #box h4 {
    margin: auto;
    font-size: 14px;
  }

  #code_works #box p {
    font-size: 12px;
    padding: 0;
    padding-top: 20px;
  }

  #galleria h1 {
    font-size: 30px;
    text-align: center;
  }

  #galleria #projects {
    display: flex;
    flex-direction: column;
    width: 70%;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
  }

  #galleria .box1 {
    width: 50%;
    height: auto;
  }

  #galleria #projects #box h2 {
    padding: 4%;
    font-size: 120%;
  }

  #galleria #projects .box1 h2 {
    padding: 7% !important;
  }

  #contact_me {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
  }

  #about_me{
    width: 100vw !important;
    padding-bottom: 2vh;
  }

  #contact_me h2 {
    font-size: 100%;
  }

  #contact_me p {
    font-size: 90%;
  }
}

@media screen and (max-width: 800px) {
  #nav_bar_inner li a {
    font-size: 12px;
  }

  .nav_on_top #nav_bar_inner p,
  .fixed-header #nav_bar_inner p {
    font-size: 15px;
  }

  .fixed-header #nav_bar_inner a,
  .nav_on_top #nav_bar_inner a {
    padding: 7px;
  }

  #welcome_page {
    margin-top: -4px;
  }
}

@media screen and (max-width: 400px) {
  nav {
    height: auto;
    padding-bottom: 15px;
  }

  .fixed-header {
    padding-bottom: 5px;
    padding-top: 15px;
  }

  .nav_on_top #nav_bar_inner ul,
  .fixed-header #nav_bar_inner ul {
    margin-top: 0 !important;
    padding-top: 0 !;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .fixed-header #nav_bar_inner a,
  .nav_on_top #nav_bar_inner a {
    padding: 5px !important;
  }

  .fixed-header #nav_bar_inner li,
  .nav_on_top #nav_bar_inner li {
    margin: 1px !important;
  }
} */
