/* CUSTOM COLOURS */
/* colour - color, background, border, hover */
/* I may need 2 or 3 of these */
/* This is handy for inline css, css only for that page
*  l-colour or brand-colour
* Work out how I'll do this, I don't want many css variables
* maybe just --color-brand, --color-primary, --color-secondary
*/
/* put global CSS variables here */
:root {
  /* l-colour or brand-colour */
  /* .<l-colour> { color: var(--<l-colour>); }
  .bg-<l-colour> { background-color: var(--<l-colour>); }
  .b-<l-colour> { border-color: var(--<l-colour>); }
  .hover-<l-colour>:hover { color: var(--<l-colour>); }
  .hover-bg-<l-colour>:hover { background-color: var(--<l-colour>); }
  .hover-b-<l-colour>:hover { border-color: var(--<l-colour>); } */
}

/* CUSTOM COLOURS */
/* colour - color, background, border, hover */
/* I may need 2 or 3 of these */
/* This is handy for inline css, css only for that page
*  l-colour or brand-colour
* Work out how I'll do this, I don't want many css variables
* maybe just --color-brand, --color-primary, --color-secondary
*/
/* ==========================================================================
   #MIXINS
   ========================================================================== */
@font-face {
  font-family: "Raleway";
  src: url("../fonts/Raleway-Light.woff2") format("woff2"), url("../fonts/Raleway-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@media (min-width: 1000px) {
  .banner {
    display: flex;
    height: 350px;
  }
}
@media (max-width: 999px) {
  .banner {
    /* flex-direction: column; */
    /* height: 500px; */
    display: block;
  }
}
:root {
  --viewport-y: 180;
  --skills-text-width: 100%;
}

#code__left path,
#code path,
#tabs path {
  stroke-width: 4;
  stroke: #ffffff;
  stroke-linecap: round;
}

#webpage__features path {
  stroke-width: 5;
  stroke: #ffffff;
  stroke-linecap: round;
}

#webpage__pictext path {
  stroke-width: 3;
  stroke: #000000;
  stroke-linecap: round;
}

#webpage__footer path {
  stroke-width: 3;
  stroke: #ffffff;
  stroke-linecap: round;
}

.tile-wide__svg svg line {
  stroke: #000000;
  stroke-width: 1px;
}

.tile-wide__svg[data-scroll=out] svg {
  opacity: 0;
}

.tile-wide__svg[data-scroll=out] svg line {
  opacity: 0;
  stroke: none;
}

.tile-wide__svg svg {
  transition: transform 0.35s linear 1.75s;
}

.tile-wide__svg[data-scroll=out] svg {
  transform: rotate(0deg);
  transition: transform 0s linear;
}

.tile-wide__svg[data-scroll=in] svg {
  transform: rotate(360deg);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(1) {
  opacity: 1;
  transition: all 0.35s ease-in 0.075s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(1) {
  opacity: 0;
  transform: translate(100px, 100px);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(2) {
  opacity: 1;
  transition: all 0.35s ease-in 0.15s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(2) {
  opacity: 0;
  transform: translate(-100px, 100px);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(3) {
  opacity: 1;
  transition: all 0.35s ease-in 0.45s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(3) {
  opacity: 0;
  transform: translate(-100px, -50px);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(4) {
  opacity: 1;
  transition: all 0.35s ease-in 0.6s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(4) {
  opacity: 0;
  transform: translate(-75px, 100px);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(5) {
  opacity: 1;
  transition: all 0.35s ease-in 0.75s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(5) {
  opacity: 0;
  transform: translate(-75px, 0px);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(6) {
  opacity: 1;
  transition: all 0.35s ease-in 0.9s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(6) {
  opacity: 0;
  transform: translate(-100px, 100px);
}

.tile-wide__svg[data-scroll=in] svg line:nth-of-type(7) {
  opacity: 1;
  transition: all 0.35s ease-in 1.05s;
}

.tile-wide__svg[data-scroll=out] svg line:nth-of-type(7) {
  opacity: 0;
  transform: translate(-70px, 100px);
}

.tile-wide__svg #arrow2all {
  opacity: 0;
  fill: none;
  transition: all 0.35s ease-in 1.575s;
}

.tile-wide__svg[data-scroll=out] #arrow2all {
  opacity: 0;
  fill: none;
  stroke: none;
  transition: all 0s ease-in;
}

.tile-wide__svg[data-scroll=in] #arrow2all {
  opacity: 1;
  fill: #ffffff;
}

.tile-wide__svg #circleorange {
  opacity: 0;
  fill: none;
  stroke: none;
  stroke-width: 8px;
  transition: all 0.35s ease-in 0.075s;
}

.tile-wide__svg[data-scroll=out] #circleorange {
  opacity: 0;
  fill: none;
  stroke: none;
  transition: all 0s ease-in;
}

.tile-wide__svg[data-scroll=in] #circleorange {
  opacity: 1;
  fill: #ffa000;
}

.tile-wide__svg #circleouter22 {
  opacity: 0;
  stroke-width: 8px;
  fill: none;
  stroke: none;
  transition: all 0.35s ease-in 1.4s;
}

.tile-wide__svg[data-scroll=out] #circleouter22 {
  opacity: 0;
  fill: none;
  stroke: none;
  transition: all 0s ease-in;
}

.tile-wide__svg[data-scroll=in] #circleouter22 {
  opacity: 1;
  fill: #ffffff;
  stroke: #ffa000;
}

.tile-wide__svg #circleouter21 {
  opacity: 0;
  fill: none;
  stroke: none;
  transition: all 0.35s ease-in 1.4s;
}

.tile-wide__svg[data-scroll=out] #circleouter21 {
  opacity: 0;
  fill: none;
  transition: all 0s ease-in;
}

.tile-wide__svg[data-scroll=in] #circleouter21 {
  opacity: 1;
  fill: #ffa000;
}

.tile-wide__svg text {
  font-size: 35px;
  font-family: Franklin Gothic, sans-serif;
  font-weight: 400;
  fill: #ffa000;
  text-transform: uppercase;
  letter-spacing: 24px;
  color: #ff0000;
  opacity: 0;
  transition: all 0.35s ease-in 1.9s;
}

.tile-wide__svg[data-scroll=out] text {
  opacity: 0;
  transition: all 0s ease-in;
}

.tile-wide__svg[data-scroll=in] text {
  opacity: 1;
}

.intro {
  margin-top: 140px;
}

.intro__container {
  width: 85%;
  max-width: 700px;
  margin: 0 auto;
}

.intro h2 {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
}

.intro p {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 22px;
  line-height: 1.25;
  text-align: center;
}

.intro p span {
  font-weight: 800;
  font-size: 30px;
  margin-bottom: -2px;
}

.intro p span:nth-of-type(1) {
  color: #61dafb;
}

.intro p span:nth-of-type(2) {
  color: #f0db4f;
}

.intro p span:nth-of-type(3) {
  color: #3178c6;
}

.intro p span:nth-of-type(4) {
  color: #68a063;
}

.intro p span:nth-of-type(5) {
  color: #2196f3;
}

.intro p span:nth-of-type(6) {
  color: #ef652a;
}

video {
  width: 100%;
  max-width: 100%;
  height: auto;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

.zatask-logo-img {
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 450 450' width='40px' height='40px' version='1.1' id='svg36'%3E%3Ccircle cx='225' cy='225' r='200' stroke-width='12px' fill='%23ffffff' stroke='%239b57e8'%3E%3C/circle%3E%3Crect x='135' y='90' width='180' height='270' rx='16' stroke-width='12px' fill='%239b57e8' stroke='%239b57e8'%3E%3C/rect%3E%3Crect x='164' y='114' width='122' height='20' rx='14' stroke-width='12px' fill='%23ffffff' stroke='%23ffffff'%3E%3C/rect%3E%3Crect x='164' y='122' width='122' height='30' stroke-width='12px' fill='%23ffffff' stroke='%23ffffff'%3E%3C/rect%3E%3Crect x='170' y='210' width='110' height='4' stroke-width='12px' fill='%239b57e8' stroke='%23ffffff'%3E%3C/rect%3E%3Crect x='170' y='285' width='110' height='4' stroke-width='12px' fill='%239b57e8' stroke='%23ffffff'%3E%3C/rect%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#about,
#tools,
#games,
#projects,
.components {
  margin: 80px auto;
}

#projects .section {
  /* background-color: #2ea44f; */
  height: auto;
  padding-bottom: 70px;
  /* background-color: rgba(46, 164, 79, 0.2); */
}

.project {
  padding: 45px;
  margin-top: 120px;
  margin-bottom: 150px;
  border: 1px solid #fee000;
  border-radius: 30px;
  background-color: #f0f0f0;
}

@media screen and (max-width: 700px) {
  .project {
    padding: 40px 20px;
  }
}
@media screen and (max-width: 450px) {
  .project {
    padding: 40px 15px;
  }
}
#projects video {
  margin: 5px auto;
  min-width: 400px;
  max-width: 900px;
}

#projects .project__textpic {
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-right: 50px;
}

#projects .project__textpic--text {
  flex: 0 1 600px;
}

#projects .project__textpic--pic {
  flex: 0 0 200px;
}

#projects .project__textpic--pic .smaller {
  width: 125px;
  height: 125px;
}

@media screen and (max-width: 950px) {
  .project__textpic {
    flex-direction: column-reverse !important;
    align-items: center !important;
    margin-right: 0 !important;
  }

  #projects .project__textpic--pic {
    flex: 0 0 0 !important;
  }

  #projects .project__textpic--text {
    flex: 0 1 auto;
  }
}
@media screen and (max-width: 1050px) {
  .project__buttons {
    gap: 20px !important;
  }
}
@media screen and (max-width: 800px) {
  #projects video {
    min-width: unset;
  }
}
@media screen and (max-width: 900px) {
  .project__buttons {
    flex-direction: column-reverse !important;
    align-items: center !important;
  }
}
@media screen and (max-width: 750px) {
  .section h2.projects--title,
h2.projects--title {
    text-align: center;
  }

  .project {
    margin-top: 75px;
    margin-bottom: 75px;
  }
}
@media screen and (max-width: 500px) {
  .section h2.projects--title,
h2.projects--title {
    word-wrap: break-word;
  }
}
.project__buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 60px;
}

.project__buttons.zatask p {
  position: absolute;
  width: 160px;
  height: auto;
  top: 50px;
  left: 30px;
  padding: 8px;
  background-color: #77ee88;
  font-size: 14px;
  opacity: 1;
  transform: scale(100%);
  visibility: visible;
  border-radius: 7px;
  text-align: center;
  line-height: 1.1;
}

.project__buttons.zatask p::after {
  position: absolute;
  content: "";
  width: 0px;
  height: 0px;
  border: 20px solid transparent;
  border-bottom-color: #77ee88;
  top: -29px;
  left: 80px;
  transform: translateX(-50%);
  z-index: -1;
}

#about .section {
  height: 100%;
  margin-bottom: 50px;
  background-color: #ffffff;
}

.about__title {
  display: inline-block;
  height: 90px;
  width: auto;
  margin-right: -50px;
}

.about__left {
  flex: 1 1 40%;
}

.about__left p {
  font-size: 22px;
  font-weight: 500;
  text-align: right;
}

.about__right {
  flex: 1 1 60%;
}

.about__buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

@media screen and (max-width: 800px) {
  #about .section .wrapper > div {
    gap: 45px !important;
  }
}
@media screen and (max-width: 700px) {
  #about .section .wrapper {
    padding-left: 60px;
    padding-right: 60px;
  }

  #about .section .wrapper > div {
    flex-direction: column;
  }

  .about__left p {
    text-align: center;
  }

  .tile-wide__svg {
    margin: 0 auto;
  }

  .about__buttons {
    align-items: center;
  }
}
@media screen and (max-width: 500px) {
  #about .section .wrapper {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media screen and (max-width: 500px) {
  .about__buttons {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
}
#skills {
  margin: 280px 0;
}

#skills > div.section {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  height: 160px;
  padding: 0;
  background-color: #f9a11b;
}

.skills__text {
  display: flex;
  flex-direction: row;
  gap: 60px;
  height: 160px;
}

.skills__text h1.non-mobile {
  width: auto;
  height: 160px;
  margin: 0;
  font-size: 120px;
  line-height: 1.25;
  color: #000000;
  font-weight: 200;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#skills[data-scroll=in] .skills__text h1 {
  animation: slide 42s linear infinite;
}

@keyframes slide {
  to {
    transform: translateX(calc(var(--skills-text-width) * -1px));
  }
}
.skills__text h1.mobile {
  display: none;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  width: 0;
}

@media screen and (max-width: 675px) {
  #skills .section {
    height: auto !important;
  }

  .skills__text {
    height: 100%;
    flex-wrap: wrap;
    padding: 20px;
    gap: 30px;
    justify-content: center;
  }

  #skills .skills__text h1 {
    animation: none !important;
  }

  #skills .skills__text h1.non-mobile {
    display: none;
  }

  #skills .skills__text h1.mobile {
    display: inline;
    width: auto;
    margin: 0;
  }
}
.codepen {
  background-color: black;
  color: white;
  background-size: 100% 100%;
}

.codepen .section {
  /* height: auto; */
  padding-bottom: 50px;
}

.codepen__container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap !important;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
  justify-content: center;
}

.codepen__container > a {
  width: 200px;
  height: 275px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.codepen__bottom p {
  font-size: 13px;
}

.codepen h1,
.codepen h2 {
  color: #ffffff;
}

.codepen hr {
  width: 60%;
  margin: 50px auto 0;
  height: 3px;
  background-color: #47cf73;
}

.codepen__bottom {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
  max-width: 100%;
  margin: 75px auto;
}

.codepen__bottom h2 {
  font-weight: 800;
  font-size: 21px;
  width: 325px;
}

.codepen__bottom--logo {
  flex: 0 0 250px;
}

@media screen and (max-width: 700px) {
  .codepen .section {
    padding-top: 0;
  }
}
@media screen and (max-width: 900px) {
  .codepen__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .codepen__bottom div {
    flex: 0 1 auto !important;
    align-items: center;
    margin-bottom: 0;
  }

  .codepen__bottom > div > div > div {
    margin-right: 0 !important;
    align-items: center !important;
  }

  .codepen__bottom > div > div > div p,
.codepen__bottom > div > div > div h2 {
    text-align: center !important;
  }

  .codepen__bottom > div > div > div div {
    margin-left: 0 !important;
  }

  .codepen__bottom--logo {
    width: 250px;
    zoom: 0.6;
  }
}
@media screen and (max-width: 475px) {
  .codepen__bottom > div > div > div {
    width: auto !important;
  }
}
#tools .section {
  /* background-color: $color-brand; */
  height: auto;
  padding-bottom: 70px;
  background-repeat: repeat;
  background-size: 400px;
}

a.tools__list,
a.games__list {
  background-color: #4444ff;
  color: #ffffff;
  font-size: 16px;
  border-radius: 8px;
}

a.tools__list:hover,
a.games__list:hover {
  background-color: #7777ff;
}

.tools__images {
  gap: 25px;
}

@media screen and (max-width: 350px) {
  .tools__images div:nth-of-type(2) {
    flex-direction: column !important;
  }
}
.tools__images img {
  border-radius: 10px;
  border: 2px solid #4444ff;
}

@media screen and (max-width: 675px) {
  .tools__images {
    zoom: 0.7;
  }
}
@media screen and (max-width: 525px) {
  .tools__images {
    zoom: 0.5;
  }
}
#games .section {
  padding-top: 0;
  /* background-color: #4466cc; */
  background-color: #fee000;
}

#games .title-container svg {
  width: 575px;
  margin: 0 auto;
}

#games img {
  border-radius: 10px;
}

.game2048 {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.game2048--left {
  flex: 1;
  padding-left: 2rem;
}

.game2048--right {
  flex: 1;
}

@media screen and (max-width: 1050px) {
  .games__mill img {
    width: 425px;
    height: 275px;
  }
}
@media screen and (max-width: 875px) {
  .games__mill {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media screen and (max-width: 700px) {
  .game2048 {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    margin-top: 48px !important;
  }

  .game2048 > div {
    padding: 2rem 4rem;
  }
}
@media screen and (max-width: 399px) {
  #games .title-container svg {
    width: 100% !important;
  }
}
@media screen and (min-width: 400px) {
  #games .title-container svg {
    width: 375px !important;
  }
}
@media screen and (max-width: 399px) {
  .games__mill img {
    width: 100% !important;
  }
}
@media screen and (min-width: 400px) {
  .games__mill img {
    width: 375px;
    height: 242px;
  }
}
@media screen and (max-width: 350px) {
  .game2048--right {
    padding: 1rem;
  }

  .game2048--right img {
    width: 220px;
    height: 220px;
  }
}
.games__footer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 640 512'%3E%3Cpath fill='%23fee000' stroke='%23ffef77' stroke-width='4px' d='M480 96H160C71.6 96 0 167.6 0 256s71.6 160 160 160c44.8 0 85.2-18.4 114.2-48h91.5c29 29.6 69.5 48 114.2 48 88.4 0 160-71.6 160-160S568.4 96 480 96zM256 276c0 6.6-5.4 12-12 12h-52v52c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-52H76c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h52v-52c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h52c6.6 0 12 5.4 12 12v40zm184 68c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-80c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  height: 300px;
}

.games__footer svg {
  width: 300px;
  height: 300px;
}

.donow {
  text-align: center;
  /* margin-bottom: 50px; */
  padding: 0 20% 80px 20%;
}
