/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

:root{
  --textColour: #efecf1;
  --gridSpacing: 2rem;
  --bgColour1:  #030303;
  --borderRadius: 4px;
  --midColour: #cccccc;
  --middarkColour: #6b6b6b;
  --maxContentWidth: 1000px;
  --borderWidth: 3px;
  --pageTopPadding: 85px;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

.hidden,
[hidden] {
  display: none !important;
}

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}


.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}


.invisible {
  visibility: hidden;
}


.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }


  a,
  a:visited {
    text-decoration: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


html {
  /* color: #222; */
  font-family: "Inter Semi Bold", sans-serif;
  font-size: 1em;
  line-height: 1.4;
  background-color: #000;
  scroll-behavior: smooth;
  scroll-padding-top: var(--pageTopPadding);
}
* {
    font-family: "Inter Semi Bold", sans-serif;
    /* z-index: 1;  */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Arial', sans-serif; */
    background: transparent;
}


@font-face {
  font-family: ruigslay;
  src: url(../fonts/ruigslay.regular.ttf);
}



header{
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    height: 75px;
    background-color: var(--bgColour1);
    color: #fff;
    z-index: 1;

    h1{
      margin-left: var(--gridSpacing);
    }


}

.navbar{

  z-index: 1;
  width: auto;
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: var(--gridSpacing);
  list-style: none;
  text-decoration: none;
  /* font-family: ruigslay; */
  font-weight: bold;

  li{
    margin-left: var(--gridSpacing);
    pointer-events: auto;
    a{
      border: white solid 2px;
      border-radius: 25px;
      padding: 10px;

      text-decoration: none;
      color: #dadada;
      transition: .3s ease-out;
    }

  }
  li:hover{
    pointer-events: auto;

    transform: scale(1.05);

    a{
      /*background-color: white;*/
      text-decoration: none;
      /*color: black;*/
      background-color: #2b06ad;

    }
  }
}

h1{
  color: var(--textColour);
  font-family: ruigslay;
  font-size: xxx-large;
}

.work{
  /* background-color: #000; */
}

.subheading{
  display: block;
  /* width: 100%; */
  margin-bottom: 1rem;
  /*border-bottom: #c1c1c1 solid 2px;*/
  /* border: #fff solid 4px;
  background-color: var(--bgColour1); */
  color: var(--textColour);
  /* font-family: ruigslay; */
}

body{
  /* padding-top: 100px; */
  /* background-color: #030303; */
  /* overflow: hidden; */

  h2 {
    font-size: xx-large;
    font-family: ruigslay;
    /* padding-top: 120px; */
    /*text-align: left;*/
    /*margin-left: var(--gridSpacing);*/
    }
}

.background-iframe {
    position: fixed; /* Fixes the iframe to the viewport */
    top: 0;
    left: 0;
    width: 100vw; /* 100% of viewport width */
    height: 100vh; /* 100% of viewport height */
    border: none; /* Removes default iframe border */
    z-index: -1; /* Places the iframe behind other content */
}

.tilesContainer{

  margin-bottom: var(--gridSpacing);
  /* padding-top: 10px; */
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--gridSpacing);
}

.gridTile{
  max-height: 300px;
  /* max-width: 200px; */
  border-radius: var(--borderRadius);
  border: solid var(--midColour) var(--borderWidth);
  /* padding: 10px; */
  transition: .15s ease-in-out;
  /*filter: grayscale(1);*/

}

.gridTile:hover{
  transform: scale(1.05);
  /*filter: grayscale(0);*/
}

.gridTileImage{
  width: 100%;
  height: 100%;
  padding: 0px;

  background-color:#03030300;
  object-fit: cover;
  /* max-inline-size: 25%; */
  /* height: 300px; */
  display: block;

}
.headerPadding{
  padding-top: var(--pageTopPadding);
}

.paragraph{
  color: aliceblue;
  padding: 1rem;
  /*background-color: var(--bgColour1);*/
  /*border: solid var(--midColour) var(--borderWidth);*/
  /*border-radius: var(--borderRadius);*/
  position: relative;
}

pre {
  color: var(--textColour);
  font-family: "Inter Semi Bold", sans-serif;
}
p {
  font-family: "Inter Semi Bold", sans-serif;
  font-size: large;
}

/* .nameHeading{
  font-family: ruigslay;
} */

.mainContent{
  padding-left: var(--gridSpacing);
  padding-right: var(--gridSpacing);
  overflow: hidden;
  min-height: 100vh;
  /*min-height: auto;*/
  max-width: var(--maxContentWidth);
  margin-left: auto;
  margin-right: auto;
}

.inlineTile{
  max-height: 300px;
   max-width: 200px;
  border-radius: var(--borderRadius);
  border: solid rgba(255, 255, 255, 0.97) 3px;
  /* padding: 10px; */
  /*display: inline-block;*/
}

.inlineImage{
  width: 100%;
  height: 100%;
  padding: 0px;

  background-color:#03030300;
  /*object-fit: cover;*/
  /* max-inline-size: 25%; */
  /* height: 300px; */
  display: block;


}
footer {
  /*margin-top: auto;*/
  /*padding: var(--gridSpacing);*/
  background-color: var(--bgColour1);
  color: var(--textColour);
  /*display: flex;*/
  /*text-align: center;*/
  /*min-height: 75px;*/
  clear: both;
  /*position: absolute;*/
  /*bottom: 0;*/

  /*margin-top: auto;*/
  /*width: 100%;*/
  /*height: 2.5rem;*/
}

.border-box{
  max-width: var(--maxContentWidth);
  background-color: var(--bgColour1);
  border-radius: var(--borderRadius);
  border: var(--midColour) solid var(--borderWidth);
  padding: 1.5rem;
  color: #dadada;

}

.contact-form{
  padding-bottom: var(--gridSpacing);
  padding-left: var(--gridSpacing);
  padding-right: var(--gridSpacing);
  color: var(--textColour);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

br{
  padding-top: var(--gridSpacing);
}

.contact-form input,textarea{
  box-sizing: border-box;
  padding-top:  var(--gridSpacing);
  border: none;
  background-color: transparent;
  outline: none;
  color: var(--textColour);
  border-bottom: 2px solid var(--middarkColour);
  overflow: hidden;
  padding-left: 1rem;
  padding-bottom: 5px;
  width: 100%;
  display: flex;

}
/*.contact-form input{*/
/*  padding-bottom: 5px;*/
/*}*/
.contact-form textarea{
  /*display: flex;*/
  /*flex-direction: column;*/
  field-sizing: content;
  margin-top: 1rem;

  /*justify-content: flex-end;*/

  /*justify-content: flex-end;*/
  /*flex: 1;*/
  /*padding-top: 150px;*/
  /*padding-bottom: 0;*/

}

.form-button{
  font-weight: bold;
  font-size: medium;
  margin-top: var(--gridSpacing);
  border: white solid 2px;
  border-radius: 25px;
  padding: 10px;
  color: #dadada;
  align-self: end;
  margin-left: 1rem;
  transition: .15s ease-in-out;

}
.form-button:hover{

  text-decoration: none;
  /*background: linear-gradient(270deg, #2b06ad, #6413b4);*/
  /*background-size: 400% 400%;*/
  /*animation: gradient 5s ease;*/
  /*animation-iteration-count: infinite;*/
  /*border: black solid 2px;*/
  background-color: #2b06ad;
  transform: scale(1.05);
  /*color: var(--bgColour1);*/


}

.blank-background{
  /*position: fixed; !* Fixes the iframe to the viewport *!*/
  /*top: 0;*/
  /*left: 0;*/
  width: 100vw; /* 100% of viewport width */
  height: 100vh; /* 100% of viewport height */
  border: none; /* Removes default iframe border */
  z-index: -1; /* Places the iframe behind other content */
  background-color: var(--bgColour1);



}

.center-box{
  display: flex;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: var(--bgColour1);

  h2 {
    font-size: xx-large;
    font-family: ruigslay;
    /* padding-top: 120px; */
    color: var(--textColour);
    padding-bottom: var(--gridSpacing);
    /*margin-left: var(--gridSpacing);*/
    /*margin: 0;*/
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
  }
  a{
    text-decoration: none;
    color: var(--textColour);
    border: white solid 2px;
    border-radius: 25px;
    padding: 5px;
    display: inline-block;
    transition: .1s ease-in-out;
  }
  a:hover{
    background-color: #2b06ad;
    transform: scale(1.05);
  }
}

.social-icons{
  display: flex;
  list-style: none;
  justify-content: center;
  font-size: xx-large;
  text-align: center;
  justify-items: center;
}

.fa {
  margin: 1.5rem;
  padding-top: 7px;
  height: 3rem;
  width: 3rem;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  background-color: #262626;
  color: var(--bgColour1);
  transition: .15s ease-in-out;
}

.fa-facebook:hover {
  background: #3B5998;
  color: white;
}

.fa-youtube:hover {
  background: #bb0000;
  color: white;
}

.fa-linkedin:hover {
  background: #007bb5;
  color: white;
}

.fa-twitter:hover {
  background: #55ACEE;
  color: white;
}

.fa-instagram:hover {
  background: #bb18cc;
  color: white;
}

.fa-github:hover {
  background: #7008a8;
  color: white;
}


/*@keyframes gradient {*/
/*  0% {*/
/*    background-position: 0% 50%;*/
/*  }*/
/*  50% {*/
/*    background-position: 100% 50%;*/
/*  }*/
/*  100% {*/
/*    background-position: 0% 50%;*/
/*  }*/
/*}*/
/*.contact-form textarea::placeholder{*/
/*  !*justify-self: flex-end;*!*/
/*  !*text-align:left;*!*/

/*}*/
