/* universal box sizing*/
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

/* universal image sizing and radius for images*/
img {
  max-width: 100%;
  border-radius: 5px;
}

/* font applying*/
h1,
h2,
h3,
body {
  font-family: "orbitron", sans-serif;
  text-rendering: optimizeLegibility;
}

/*

bodystyling


*/
body {
  grid-template-rows: auto;
  background-color: #110810;
  background-image: url(../images/dork\ metal.png);
}
/*


header styling and navigation


*/

header {
  /*background-color: rgba(163, 14, 43, 65%);*/
  background-color: #700c22;
  border-radius: 0.75rem;
  color: #cb90a9;
  border-color: #410713;
  border-style: solid;
  border-width: 7px;
}

.title /*h1*/ {
  font-size: 50px;
  padding-left: 1rem;
}

nav {
  grid-area: nav;
}

nav li {
  padding-inline: 0.75rem;
  padding-block: 0.75rem;
  font-size: 20px;
  background-color: #7e2a53;
  border-radius: 15px;
  border-color: #581d3a;
  border-style: solid;
  border-width: 3px;
}

nav li a:link,
nav li a:visited {
  color: #d03d56;
  text-decoration-line: none;
}

nav li:hover {
  background-color: #dfbbca;
  font-weight: bold;
}

nav li:active {
  background-color: #361223;
}

ul {
  list-style-type: none;
}
@media screen and (min-width: 5px) {
  .nav-icon {
    float: right;
    padding: 1rem;
  }

  .toggle {
    display: none;
    width: 100%; /* full width menu */
  }

  body {
    display: grid;
    grid-template-areas:
      "header"
      "main"
      "aside"
      "footer";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin: 0 1rem 0;
  }

  header {
    display: grid;
    grid-template-areas:
      "title navbutt"
      "nav nav";
  }

  .title h1 {
    grid-area: title;
  }

  nav {
    grid-area: nav;
    margin: auto;
    max-height: 100%;
  }
  .nav-icon {
    grid-area: navbutt;
    color: #110810;
  }

  nav li {
    margin-top: 0.25rem;
  }

  nav ul {
    padding-left: 0;
  }

  h1.title::after {
    background: #d03d56;
    bottom: 0;
    content: " ";
    display: block;
    height: 3px;
    left: 50%;
    position: relative;
    transform: translate(-50%, 0);
    width: 20rem;
  }
  main.homepage {
    display: grid;
    grid-template-areas:
      "spotlight"
      "smallspot";
    width: 100%;
    grid-template-columns: auto;
  }
  main article.spotlight {
    grid-area: spotlight;
  }

  main article.spotlight h2::after {
    left: 50%;
  }
  article.spotlight img {
    width: 100%;
    height: auto;
  }
  article.spotlight figure::after {
    width: 10rem;
  }

  main article.smallspot {
    grid-area: smallspot;
  }
  article.smallspot figure {
    margin: auto;
  }

  aside,
  aside.asidecont {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  aside p {
    padding: 2rem;
  }

  article.spotlight {
    border-style: none;
  }

  article.spotlight,
  article.smallspot {
    max-width: 100%;
    max-width: 30rem;
  }
  main.homepage {
    column-gap: 0;
  }
  article.smallspot figure::after {
    width: 10rem;
  }

  article.spotlight p {
    overflow-wrap: break-word;
  }
  article.smallspot p {
    overflow-wrap: break-word;
    inline-size: fit-content;
  }
  article.spotlight figure {
    width: 95%;
    height: auto;
  }

  h1.title {
    font-size: 22px;
  }

  article.smallspot h2::after {
    width: 10rem;
  }

  article.smallspot h3::after {
    left: 32%;
  }

  footer ul {
    padding: 0;
  }

  main.contact {
    width: 100%;
  }
  section.form-box h3::after {
    left: 25%;
  }

  .wplk-leren h1,
  .wplk-leren p,
  .wplk-leren img {
    padding: 0;
    margin: auto;
  }

  main.aboutme h2 {
    font-size: 21px;
  }
  main.aboutme h2::after {
    width: 5rem;
    left: 11%;
  }

  figure.photome {
    width: 38%;
    height: auto;
  }
  h1.current {
    font-size: 25px;
  }

  h1.current::after {
    width: 10rem;
    left: 35%;
  }
  .brdrpic {
    margin: 0;
  }

  figure.brdrpic img {
    width: 90%;
  }

  .brdrpic::after {
    width: 10rem;
    left: 45%;
  }

  article.current::after {
    width: 10rem;
  }

  main.projects {
    grid-template-columns: 1fr;
  }

  article.current::after {
    left: 49%;
  }
  .current,
  .brdrpic {
    width: fit-content;
  }
  h1.previous::after {
    width: 10rem;
    left: 23%;
  }

  .mainislandfig,
  .tilesheet {
    width: 95%;
  }

  main.islandof figure.tilesheet section.imagewrap::after {
    width: 5rem;
  }

  main.islandof figure.mainislandfig::after {
    width: 20rem;
  }

  main.islandof h2::after {
    width: 15rem;
    left: 31%;
  }

  main.islandof a.download {
    margin: 0;
    padding: 0rem;
  }

  main.portfolioproject h2,
  main.portfolioproject h3,
  main.portfolioproject p {
    max-width: fit-content;
  }
  section.carouselwrapper::after {
    width: 20rem;
  }

  section.carouselwrapper {
    max-width: 100%;
  }

  section.site-evolution ul {
    padding: 0;
    max-width: 100%;
    height: fit-content;
    gap: 0.1rem;
  }

  section.site-evolution li {
    padding: 0.1rem;
    flex: 0 0 100%;
  }

  main.portfolioproject a.download {
    margin: 0;
    padding: 0rem;
  }

  .portfolioproject h2::after,
  .portfolioproject h3::after {
    width: 12rem;
    left: 26%;
  }
  /*infobutton and linkbuttonsm are two different styles, one is for actual in page links and the others are more mute*/
}

@media screen and (min-width: 767px) {
  body {
    display: grid;
    grid-template-areas:
      "header header"
      "main aside"
      "footer footer";
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto;
  }

  .toggle {
    display: contents;
  }
  h1.title::after {
    content: none;
    left: 70%;
  }
  header {
    grid-area: header;
    display: initial;
    grid-template-areas: none;
  }

  h1.title {
    grid-area: none;
    font-size: 32px;
  }

  h1::after {
    content: none;
    left: 70%;
  }
  /*to be finished, this is to contain the code that is overridden by the mobile section*/

  .nav-icon {
    display: none;
  }

  h1 {
    font-size: 32px;
  }
  nav li {
    display: inline-block;
    margin-top: 0;
  }

  nav {
    padding-left: 1rem;
    padding-bottom: 1rem;
  }
  h1.title::after {
    content: none;
    left: 70%;
  }

  main.homepage {
    grid-template-columns: 45rem 25rem;
    display: grid;
    column-gap: 1rem;
    grid-template-areas: "spotlight smallspot";
  }

  article.smallspot figure {
    margin-left: -0.01rem;
  }

  aside.asidecont {
    justify-self: end;
    margin: 0;
    display: initial;
    text-align: initial;
    max-width: fit-content;
  }

  aside p {
    padding: 2rem 1rem 2rem 1rem;
    margin: auto;
    text-align: center;
  }

  article.spotlight {
    max-width: 45rem;
    border-right: #d03d56;
    border-right-style: solid;
  }

  article.smallspot figure::after {
    width: 43rem;
    left: 48%;
  }

  article.spotlight figure {
    width: 100%;
    height: auto;
  }

  article.smallspot h2::after {
    width: 21.5rem;
  }
  article.smallspot h3::after {
    left: 28%;
  }

  footer ul {
    padding: 0.05rem;
  }

  main.contact {
    width: 50%;
  }
  main.aboutme h2 {
    font-size: 30px;
  }
  main.aboutme h2::after {
    width: 30rem;
    left: 20%;
  }

  figure.photome {
    width: 30%;
  }
  h1.current::after {
    width: 20rem;
    left: 20%;
  }

  .brdrpic::after {
    width: 29rem;
    left: 30%;
  }

  article.current::after {
    width: 30rem;
    left: 32%;
  }
  main.projects {
    grid-template-columns: 2fr 1fr;
  }
  .current,
  .brdrpic {
    width: auto;
  }
  h1.previous::after {
    width: 30rem;
    left: 32%;
  }

  .portfolioproject h2::after,
  .portfolioproject h3::after {
    width: 12rem;
    left: 29%;
  }
  main.portfolioproject a.download {
    padding: 0.62rem 1rem;
    margin-top: 1rem;
    margin-left: 20rem;
  }
  .mainislandfig,
  .tilesheet {
    width: 100%;
  }
  main.islandof figure.tilesheet section.imagewrap::after {
    width: 20rem;
  }

  main.islandof figure.mainislandfig::after {
    width: 50rem;
  }

  main.islandof h2::after {
    width: 19rem;
    left: 14%;
  }

  main.islandof a.download {
    padding: 10px 16px;
    margin-top: 1rem;
    margin-left: 14rem;
  }
  section.carouselwrapper::after {
    width: 50rem;
  }

  section.site-evolution li {
    padding: 1.25rem;
    flex: 0 0 50%;
  }
}

/*


general styling, main, aside, footer, etc, anything that is page specific isn't here


*/

main {
  grid-area: main;
  margin-top: 1rem;
  background-color: #700c22;
  border-radius: 15px;
  padding: 1rem;
  color: #cb90a9;
  border-color: #410713;
  border-style: solid;
  border-width: 7px;
}

article a:link,
article a:visited {
  color: #ffc8cd;
  text-decoration-line: none;
}

article a:hover,
article a:active {
  font-weight: bolder;
}

section a:link,
section a:visited {
  color: #ffc8cd;
  text-decoration-line: none;
}

section a:hover,
section a:active {
  font-weight: bolder;
}

aside {
  grid-area: aside;
  background-color: #700c22;
  color: #cb90a9;
  margin-top: 1rem;
  border-radius: 15px;
  padding: 2rem;
  height: fit-content;
  margin-left: 1rem;

  border-color: #410713;
  border-style: solid;
  border-width: 7px;
  max-width: fit-content;
  justify-self: end;
}

aside p {
  border-style: outset;
  margin: auto;
  border-width: 5px;
  border-color: #581d3a;
  font-size: 1.25rem;
}

aside p:hover {
  font-weight: bolder;
}

aside p:active {
  border-style: inset;
}

aside a:link,
aside a:visited {
  color: #ffc8cd;
  text-decoration-line: none;
}

footer {
  grid-area: footer;
  text-align: center;

  background-color: #700c22;
  color: #cb90a9;
  border-radius: 15px;
  padding: 1rem;
  margin-top: 1rem;
  border-color: #410713;
  border-style: solid;
  border-width: 7px;
}

footer ul {
  list-style-type: none;
}

footer li {
  display: inline-block;
  padding-inline: 0.75rem;
  padding-block: 0.75rem;
  font-size: 20px;
  background-color: #7e2a53;
  border-radius: 15px;
  border-color: #581d3a;
  border-style: solid;
  border-width: 3px;
}

footer li:hover {
  background-color: #dfbbca;
  font-weight: bold;
}

footer li a:link,
footer li a:visited {
  color: #d03d56;
  text-decoration-line: none;
}

footer li:active {
  background-color: #361223;
}
/*


more page specific entries


*/

/*


homepage specific


*/
figure.spotlightfig img {
  max-width: 100%;
  max-height: 17.75rem;
}
figure.spotlightfig {
  margin: 0;
}

article.spotlight h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

article.spotlight h2::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  position: absolute;
  transform: translate(-50%, 0);
}

article.spotlight h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

article.spotlight h3::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  left: 52%;
  position: absolute;
  transform: translate(-50%, 0);
  width: 13.5rem;
}

article.spotlight figure {
  position: relative;
  padding-bottom: 1rem;
}

article.spotlight figure::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  left: 48%;
  position: absolute;
  transform: translate(-50%, 0);
}

/*


minor spotlight of main page


*/

article.smallspot {
  border-style: none;
  text-align: left;
  display: inline-block;
  vertical-align: top;
  max-width: 30rem;
}

article.smallspot h2 {
  position: relative;
  padding-bottom: 1rem;
}

article.smallspot h2::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  left: 43%;
  position: absolute;
  transform: translate(-50%, 0);
}

article.smallspot h3 {
  position: relative;
  padding-bottom: 1rem;
  margin-top: -0.5rem;
}
article.smallspot h3::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  position: absolute;
  transform: translate(-50%, 0);
  width: 14rem;
}
article.smallspot figure {
  width: 60%;
  position: relative;
  padding-bottom: 1rem;
}
article.smallspot figure::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  left: 53%;
  position: absolute;
  transform: translate(-50%, 0);
}

article.smallspot img {
  border-style: groove;
  border-width: 1px;
  border-color: #d03d56;
}

/*


this is for the projects tab


*/

main.projects {
  display: grid;
  grid-template-areas:
    "current"
    "previous";
}

article.current {
  position: relative;
}
h1.current {
  position: relative;
  padding-bottom: 1rem;
}

h1.current::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  position: absolute;
  transform: translate(-50%, 0);
}
article.current h2,
article.current p {
  padding-left: 1rem;
}

article.current::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  position: absolute;
  transform: translate(-50%, 0);
}

article.current figure {
  margin-left: 0.9rem;
}

article.previous {
  grid-area: previous;
}

h1.previous {
  position: relative;
  padding-bottom: 1rem;
}
h1.previous::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  position: absolute;
  transform: translate(-50%, 0);
}
article.previous h2,
article.previous p {
  padding-left: 1rem;
}
article.previous figure {
  margin-left: 0.9rem;
}

article.previous img,
article.current img {
  width: auto;
  max-height: 12rem;
  display: inline;
}

.brdrpic {
  position: relative;
  padding-bottom: 1rem;
}

.brdrpic::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  position: absolute;
  transform: translate(-50%, 0);
}

/*


islandof i'rn'yeh demo page



*/

main.islandof h2 {
  position: relative;
  padding-bottom: 1rem;
}

main.islandof h2::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  position: absolute;
  transform: translate(-50%, 0);
}

main.islandof figure.mainislandfig {
  margin-left: 0;
  position: relative;
  padding-bottom: 1rem;
}

main.islandof figure.mainislandfig::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  left: 53%;
  position: absolute;
  transform: translate(-50%, 0);
}

main.islandof img {
  display: inline-block;
  width: 100%;
}

main.islandof figure.mainislandfig {
  margin-left: 0;
}

main.islandof p {
  margin-bottom: 1rem;
}
main.islandof a.download {
  display: inline-block;

  border-style: outset;
  border-color: #581d3a;
  border-width: 5px;
  text-align: center;
}

main.islandof a.download:hover {
  font-weight: normal;
}

main.islandof a.download:active {
  border-style: inset;
}

main.islandof figure.tilesheet {
  float: right;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 1rem;
  margin-left: 1rem;
  max-width: 30%;
}

main.islandof figure.tilesheet img {
  max-width: 100%;
  height: auto;
  border: 3px groove #d03d56;
  border-radius: 5px;
  display: block;
  width: auto;
}

main.islandof figure.tilesheet figcaption {
  text-align: center;
  font-size: 0.9rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 5px;
  margin-top: 0.25rem;
}

.imagewrap {
  position: relative;
  padding-bottom: 0.5rem;
}

main.islandof figure.tilesheet section.imagewrap::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
}

/*




site project page




*/

.portfolioproject h2,
.portfolioproject h3 {
  position: relative;
  padding-bottom: 1rem;
}
.portfolioproject h2::after,
.portfolioproject h3::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  position: absolute;
  transform: translate(-50%, 0);
}

section.carouselwrapper {
  position: relative;
  padding-bottom: 1rem;
  overflow-x: hidden;
}

section.site-evolution {
  border: 3px groove #581d3a;
  border-radius: 5px;
  margin: 0 auto;
}

section.site-evolution ul {
  width: 100%;
  height: 18.75rem;
  gap: 1vw;
  display: flex;
  margin: 0 auto;
}

section.carouselwrapper::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translate(-50%, 0);
  width: 50rem;
}

section.site-evolution ul {
  max-height: 18.75rem;
  overflow-x: scroll;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
}

section.site-evolution li {
  list-style-type: none;
  background-color: #7e2a53;
  border-color: #581d3a;
  border-width: 3px;
  border-style: inset;

  box-sizing: border-box;
}

section.site-evolution li {
  scroll-snap-align: start;
}

section.site-evolution figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  max-height: 16.5rem;
}

section.site-evolution img {
  margin-top: -0.5rem;
  max-width: 100%;
  height: auto;
  display: block;
  overflow-y: hidden;
  max-height: 15.5rem;
}

section.site-evolution figcaption {
  margin-top: 0.5rem;
  font-size: 15px;
  background-color: #410713;
  border-radius: 5px;
  padding: 0.1rem;
}

main.portfolioproject a.download {
  display: inline-block;

  border-style: outset;
  border-color: #581d3a;
  border-width: 5px;
  text-align: center;
}

main.portfolioproject a.download:hover {
  font-weight: normal;
}

main.portfolioproject a.download:active {
  border-style: inset;
}

/*



contact page



*/

main.contact {
  padding: 2rem;
  justify-self: center;
  box-sizing: border-box;
  /* max-width: 25rem; */
  margin-top: 1rem;

  /*toprightbottomleft*/
}

aside.asidecont {
  width: 100%;
  margin-top: 1rem;
}

main.contact h2 {
  margin: auto;
  width: 20rem;
  top: 1rem;
}

section.form-box {
  position: relative;
  border-style: groove;
  border-width: 2px;
  border-color: #581d3a;
  width: 100%;
  height: auto;
  padding-bottom: 1rem;
}

section.form-box h2 {
  position: absolute;
  top: -0.9rem;
  margin-left: 0.9rem;
  background-color: #700c22;
  width: 14.5rem;
}

section.form-box h3 {
  margin-left: 1rem;
  margin-bottom: -0.5rem;
  position: relative;
  padding-bottom: 0.3rem;
}
section.form-box h3::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  position: absolute;
  transform: translate(-50%, 0);
}

form.contact input[type="text"],
form.contact input[type="email"],
form.contact select,
form.contact textarea,
form.contact label,
form.contact input[type="submit"] {
  position: relative;
  margin-left: 1em;
  /*width: 15rem;*/
  width: 90%;
}
form.contact label {
  display: inline-block;
  margin-top: 1rem;
  margin-left: 1vw;
}

/*werkplekleren styles




*/

img.wip {
  display: block;
  margin: auto;
  width: 50%;
  height: auto;
}

/*about me styles



*/

main.aboutme h2 {
  position: relative;
  padding-bottom: 1rem;
}

main.aboutme h2::after {
  background: #d03d56;
  bottom: 0;
  content: " ";
  display: block;
  height: 3px;

  position: absolute;
  transform: translate(-50%, 0);
}

section.aboutme::after {
  content: "";
  clear: both;
}

figure.photome {
  float: right;

  height: auto;
}

figure.photome img {
  border-style: groove;
  border-width: 1px;
  border-color: #d03d56;
  border-radius: 5px;
}

main.aboutme ul {
  list-style: circle;
  padding: 1rem;
}

/*mobile and smaller screen sizes, to undo anything change it in the tablet stuff cuz i'm not making 10k mediaqueries*/

/* mainly tablet sized screens, needs the least layout changes, mostly just to make sure that the lines and some stuff stay consistent tbh */
