/*
Theme Name: Alex's Portfolio Theme
Author: Alexander Harmon
Version: 1.0
*/
:root{
  --mainBackground: #2b2a2e;
  --mainColor: #dbe0e2;
  --mainAltColor: #21d4d4;
  --linkColorAlt: #369FBF;
  --tagColor: #93c9d6;

  --currentOpacity: 1;

  --svgColor: #23e6d9;

  /*
  --hrColor: #313035;
  */
  --hrColor: var(--borderColor);

  --borderColor: rgba( 255, 255, 255, 0.18 );
  --border-radius: 12px;
  --neuBackground: #2b2a2e;
  --neuBoxShadow: 6px 6px 13px #202023,
                  -6px -6px 13px #36353a;

  --dropShadow: drop-shadow( 2px 2px 4px #252427cc );

  --scrollBackground: #36343a;
  --scrollHover: #423e46;

  --g1: #21d4d4;
  --g2: #ff8615;
}

body{
  background-color: var(--mainBackground);
   
  background-image: url("assets/background-med.svg");
  background-repeat: repeat;
  background-size:auto;
  
  height: 100vh;
  color: var(--mainColor);
  margin: 0px;
  
  font-family:'Open Sans', sans-serif;
}
/* 
@keyframes rotateBlock {
  0%{
    transform: rotate(0deg);
    border-radius: 100% 0% 100% 0% / 0% 100% 0% 100%;
  }
  50%{
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
  }
  100%{
    transform: rotate(360deg);
    border-radius: 100% 0% 100% 0% / 0% 100% 0% 100%;
  } 
}

#mouseBackground{
  background-color: white;
  background: rgb(34,193,195);
  background: -moz-linear-gradient(0deg, rgba(34,193,195,1) 0%, rgba(253,187,45,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(34,193,195,1) 0%, rgba(253,187,45,1) 100%);
  background: linear-gradient(0deg, rgba(34,193,195,1) 0%, rgba(253,187,45,1) 100%);
  width: 400px;
  aspect-ratio: 1;
  position: fixed;
  translate:-50% -50%;
  top: 50%;
  left: 50%;
  border-radius: 100% 0% 100% 0% / 0% 100% 0% 100%;
  
  pointer-events: none;
  filter: blur(200px);
  opacity: 1;

  animation-duration: 20s;
  animation-timing-function: linear;
  animation-name: rotateBlock;
  animation-iteration-count: infinite;
} */

.tile:hover{
  filter: brightness(200%);
}
body.toggled .tile:hover{
  opacity: 0.3 !important;
}
body > .bodyWrapper{
  margin-left: 12.1rem;
}
body > div.remove-opacity{
  opacity: 0 !important;
}
@keyframes background-pan{
  from {
    background-position: 0% center;
  }
  to {
    background-position: -400% center;
  }
}

#tiles{
  animation: background-pan 60s linear infinite;
  
  background: linear-gradient(90deg, rgba(252,250,69,1) 0%, rgba(55,255,246,1) 25%, rgba(68,244,62,1) 50%, rgba(255,174,42,1) 75%, rgba(252,250,69,1) 100%);
  background-size: 400%;
  
  opacity: 1;

  z-index: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  margin: 0px;
  
  position: fixed;
  top: 0;
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  grid-template-rows: repeat(var(--rows), 1fr);
}

body #tiles-container{
  opacity: 1;
}

.tile{
  opacity: 1;
  cursor: pointer;
  position: relative;
}
.tile:before{
  background-color: var(--mainBackground);
  
  content: "";
  inset: .5px;
  position: absolute;
}

hr{
  border-color: var(--hrColor) !important;
  border-style: solid;
}
a{
  color:var(--linkColorAlt);
}

/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  z-index: -4;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background: var(--scrollBackground);
  border-radius: 2px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollHover);
}
 
.grouped{
  position: fixed;
  top: 0;
  right: -150vh;
  width: 3rem;
  height: 3rem;
  z-index: 6 !important;
}
.grouped img{
  width: 0;
  height: 0;
}


/*Header Styles*/
.header-content h1{
  display: none;
}
/*Navigation Menus */
/*Start of Navagation styles*/


.sticky{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 11;
}
.menu-view{
  display: block !important;
  position: fixed;
  top: 0;
  background-color: var(--mainBackground);
  width: 100%;
  height: 150%;
  z-index: 11;
}
.menu-view #main-menu{
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;
}

#hamburger-menu{
  display: none;
  height: 64px;
  width: 64px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 15;
}
#hamburger-menu button{
  height: 100%;
  width: 100%;
  background-color: transparent;
  border-style: none;
  color: var(--mainColor);
  padding: 0px;
}
#hamburger-menu button:hover{
  color: var(--mainAltColor);
  cursor: pointer;
}

.nav-containers{
  height: 100%;
  width: var(--pageWidth);
  margin: auto var(--pageMargin);

  display: flex;
  justify-content: space-between;
}

.header-content{
  position: relative;
  z-index: 2;
}
.header-menu-container{
  height: 100%;
}

.header-content .site-nav{
  position: fixed;
  left: 0;
  top: 0;
  padding: 1.5vh .75rem;
  height: 97vh;
  width: 12rem;
  border-radius: 0px;
  background: var(--neuBackground);
  box-shadow:  var(--neuBoxShadow);
  overflow-x: visible;
  overflow-y: scroll;
  z-index: 2;
}

nav .menu{
  padding: 1rem 0px;
}
nav ul,
nav li{
  list-style: none;
  font-family:'Courier New', Courier, monospace;
  padding: .5rem .5rem;
}
nav a {
  color: var(--mainAltColor);
}
nav .main-link{
  padding: .5rem 0px 0px 0px;
  border-width: 0px 0px 2px 0px;
  border-color: var(--hrColor) !important;
  border-style: solid;
}
nav .main-link li{
  padding: .5rem 0px;
  font-size: 1.4rem;
  font-family:'Open Sans', sans-serif;
}
nav .main-link li a{
  text-align: center;
 
  padding-bottom: .8rem;
  text-transform: none;
  
}
nav .skills{
  padding: .5rem .5rem 0px .5rem;
}
nav .skills li{
  list-style: none;
}
nav .skills li a{
  font-weight: normal;
  text-transform: none;
  text-align: left;
}
/*menu icons*/
nav .skills li a:before,
nav .skills li a:after{
  content: " ";
  background-size: cover;
  width: 24px;
  height: 24px;
  position: absolute;
  transform: translateX(-2.1em);
}
.web a:before{
  background-image: url("assets/screen.svg");
}
.act a:before{
  background-image: url("assets/readme.svg");
}
.lang a:before{
  background-image: url("assets/terminal.svg");
  transform: translateX(-2.1em) translateY(-.4em)!important;
}
.game a:before{
  background-image: url("assets/games.svg");
}
.syst a:before{
  background-image: url("assets/list-tree.svg");
  transform: translateX(-2.1em) translateY(-.4em)!important;
}

/*end of menu icons*/
.sub-menu li{
  padding: 5px 0px;
  margin: .5rem 1rem .5rem 2rem;
  font-size: .9rem;
  line-height: .8rem;
}
nav a{
  display: block;
  color:var(--mainColor);
  font-weight: 400;
  text-decoration:none;
  text-transform: uppercase;
}
nav li> a,
nav .skills li > a{
  transition: all .1s ease-out;
  transition-delay: .15s;
}
nav li:hover > a,
nav .skills li:hover > a{
  color: var(--mainAltColor);
  position: relative;
  transform: scale(1.1,1.1);
  transition: all .2s ease;
}
.left-widget-sidebar ul{
  gap: 30px;
  justify-content: space-evenly;
}
.left-widget-sidebar li{
  padding: 0px;
}
.wp-block-social-link-anchor svg{
  width: 32px!important;
  height: 32px!important;
}
.resume path{
  fill: var(--svgColor) !important;
}
/* Page Styles*/

/* menu open animation */
.toggler{
  display: none;
  visibility: hidden;
  
}


.above-fold{
  width: 100%;
  height: 100vh;
  margin: 0px;
  justify-content: space-evenly;
  align-content: space-evenly;
  align-items:center !important;
  padding-right: 15%;
  padding-bottom: 20vh;
}
 
.above-fold h1{
  
  font-size: 5rem;
  display: block;
  padding: 0px;
  margin: 0px;
  color: #eceff0;
  /*
    rgba(33,212,212,0.9)
  */

  text-shadow: 0 0 0.15em rgba(33,212,212,0.9);
}
.above-fold h4{
  margin: 3rem 0px 0px 2rem;
}
.above-fold p{
  display: block;
  max-width: 600px;
  margin: 1rem 0px 0px 2rem;
}
.above-icons{
  width: 100%;
  justify-content: space-evenly!important;
  align-content: space-evenly!important;
  align-items:space-evenly !important;
}

.above-fold .test-block{
  padding: 3rem 3rem;
}

/*Front Page Styles*/
.front-page-content{
  display: block;
  margin: 0px 4% 0px 4%;
  padding: 0px 4% 0px 4%;
}

.front-page-content h2{
  position: relative;
  font-size: 1.8rem;
  text-align: center;
  z-index: 1;
}
.front-page-content .wp-block-column>p{
  
  margin: auto;
}
.front-page-content .wp-block-group{
  z-index: 1;
}

.neu-block{
  margin: 5rem 2rem;
  padding: 2rem;
  border-radius: 50px;
  background: var(--neuBackground);
  box-shadow:  var(--neuBoxShadow);
}
.test-block{
  background: rgba( 43, 43, 43, 0.25 );
  
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  border-radius: 50px;
  border: 1px solid var(--borderColor);
  padding: 5em 1em;
  box-shadow:  var(--neuBoxShadow);
}

.test-block .outer-container{
  align-items: stretch !important;
  gap: 0px !important;
}
.test-block .outer-container .smaller-side{
  margin: 0px .5rem;
}
.test-block .outer-container h3{
  margin: 0rem 1rem 2rem 1rem;
  font-size: 1.4rem;
}
.test-block .outer-container > div p{
  margin: 1rem;
  font-size: 1.1rem;
}
.tag-markup{
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem !important;
  color: var(--tagColor);
}
.test-block .left-bigger{
  border-style: solid;
  border-width: 0px 2px 0px 0px;
  border-color: var(--hrColor);
  padding-right: .5rem;
}
.test-block .right-bigger{
  border-style: solid;
  border-width: 0px 0px 0px 2px;
  border-color: var(--hrColor);
  padding-left: .5rem;
}
.test-block .icon-container{
  justify-content: space-evenly;

  gap: 96px;
}

.front-page-content img{
  width: 96px;
  height: 96px;
  padding: 0px;
  margin: 0px;
  filter: var(--dropShadow);
}
.front-page-content svg{
  width: 96px;
  height: 96px;
  padding: 0px;
  margin: 0px;
  filter: var(--dropShadow);
}
.front-page-content .github g,
.front-page-content .github path,
.lua path,
.resume path{
  fill:var(--svgColor);
}
.front-page-content .wordpress path,
.unity path,
.net{
  fill:var(--mainColor);
}

/*projects*/
.projects-card-container{
	justify-content: space-evenly;
  align-content: space-evenly;
  align-items: flex-start !important;
  gap: 32px !important;
}
.projects-card{
  
  width: 600px;
  margin: 4rem auto !important;
}
.projects-card h3{
  font-size: 1.4rem;
}
.projects-card p{
  font-size: 1.1rem;
}
.projects-fig{
	border-style: solid;
	border-width: 1px;
	border-color: var(#313035);
}
.projects-fig img{
	width: 100% !important;
	height: 100% !important;
	padding: 0px;
	margin: 0px;
}
.projects-card svg{
 width: 24px;
 height: 24px;
 transform: translateY(.4rem);
}
.projects-card svg path{
  fill: var(--svgColor) !important;
}
.projects-card .fancy-button{
  border: none;
  margin: 1rem;
  padding: 0.7rem 1.4rem;
  font-size: 18px;
  font-family: 'Courier New', Courier, monospace;
  color: var(--mainColor);
  border-radius: 9px;
  background: linear-gradient(145deg, #2e2d31, #272629);
  box-shadow:  6px 6px 9px #252427,
                -6px -6px 9px #313035;
 }
 
 .projects-card .fancy-button:hover {
  border-radius: 9px;
  background: linear-gradient(225deg, #2e2d31, #272629);
  transition: background 1s ease;
  box-shadow:  6px 6px 9px #252427,
                -6px -6px 9px #313035;
 }
 
 .projects-card .fancy-button:active {
  transition: box-shadow .1s ease;
  border-radius: 9px;
  background: var(--mainBackground);
  box-shadow: inset 6px 6px 9px #252427,
              inset -6px -6px 9px #313035;
 }
 .projects-card .not-av{
  text-decoration:line-through;
 }
.awards{
  z-index: 1;
}
.awards h3{
  font-size: 1.4rem;
}
.awards section{
  padding: 0px 1rem;
}
.awards p{
  font-size: 1.1rem;
  margin: 1rem;
}
.awards ul,
.awards li{
  list-style: none;
}

/*Contact form*/
.form-tag{
  font-family: 'Courier New', Courier, monospace !important;
  margin: 6rem auto !important;
  padding: 2rem 4rem !important;
  border-radius: 50px !important;
  background: var(--neuBackground) !important;
  box-shadow:  var(--neuBoxShadow) !important;
  max-width: 700px !important;
}

.form-name input,
.form-email input,
.form-message textarea{
 
  border-style: none !important;
  border-radius: 5px !important;
  background: var(--mainBackground) !important;
  box-shadow: inset 6px 6px 9px #252427,
              inset -6px -6px 9px #313035 !important;
  color: var(--mainColor) !important;
  transition: .4s !important;
}

.form-name input:hover,
.form-email input:hover,
.form-message textarea:hover {
  box-shadow: 0 0 0 2px #21d4d42f !important;
}

.form-name input:focus,
.form-email input:focus,
.form-message textarea:focus {
  box-shadow: 0 0 0 3px var(--mainAltColor) !important;
}

.form-tag button {
  border: none !important;
  padding: 0.7em 2em !important;
  font-size: 18px !important;
  font-family: inherit !important;
  background-blend-mode: multiply !important;
  color: var(--mainColor) !important;
  border-radius: 9px !important;
  background: linear-gradient(145deg, #272629, #2e2d31) !important;
  box-shadow:  6px 6px 9px #252427,
                -6px -6px 9px #313035 !important;
 }
 
 .form-tag button:hover {
  border-radius: 9px !important;
  background: linear-gradient(225deg, #272629, #2e2d31) !important;
  transition: background 1s ease !important;
  box-shadow:  6px 6px 9px #252427,
                -6px -6px 9px #313035 !important;
 }
 
 .form-tag button:active {
  transition: box-shadow .1s ease !important;
  border-radius: 9px !important;
  background: var(--mainBackground) !important;
  box-shadow: inset 6px 6px 9px #252427,
              inset -6px -6px 9px #313035 !important;
 }

  /* Widget Styles */


  /*Middle Widget Area*/

  .middle-widget-area .wp-block-column{
    padding: .5rem 1rem 2rem 1rem;
    margin: 2rem;
  }
  .middle-widget-area ul{
    padding: 0px;
    margin: 0px;
  }
  .middle-widget-area li{
    list-style: none;
  }
  .middle-widget-area h3{
    text-align: center;
    font-weight: normal;
    font-style: italic;
    font-size: 1.5rem;
  }

  .middle-widget-area cite{
    display: block;
    text-align: right;
  }
  .middle-widget-area a,
  .middle-widget-area a:visited{
    font-family: sans-serif;
    font-size: 0.8rem;
    text-decoration:none;
    letter-spacing: .07rem;
    margin: 0.5rem auto 0px auto;
    width: 60%;
    padding: 0.7rem .5rem;
    text-align: center;
    display: block;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;

  }

  /* Footer Styles*/
.footer-content{
  border-width: 2px 0px 0px 0px;
  border-color: var(--hrColor) !important;
  border-style: solid;
  margin-top: 4rem;
  padding: 2rem;
  z-index: 1;
  position: relative;
}
.footer-content ul,
.footer-content li{
  list-style: none;
}

.footer-content p{
  font-size: 0.8rem;
}
.wpforms-confirmation-container-full{
	background-color: var(--neuBackground);
	color: var(--mainColor);
	border-width: 0px;
}
div.wpforms-container-full{
  z-index: 1;
  position: relative;
}

/*
Mobile Design
*/
@media screen and (max-width: 1280px) {
  .projects-card{
    max-width: 600px;
    width: auto;
  }
  .above-fold{
    padding-right: 0;
  }
 
  .test-block .outer-container{
    flex-wrap: wrap-reverse!important;
    
  }
  .test-block .outer-container > div{
    flex-basis: 100%!important;
    width: 100%;
    align-self: center;
    border-width: 0px 0px 2px 0px !important;
    margin-top: 2rem;
    padding-top: 2rem;
  }
  .test-block .reverse-wrap{
    flex-wrap: wrap!important;
  }
  .test-block .education-container > div{
    border-width: 2px 0px 0px 0px !important;
  }
  .test-block .smaller-side{
    margin: 0px !important;
  }
}
@media screen and (max-width: 1080px) {
  .above-fold h1{
    font-size: 4rem;
  }
}
@media screen and (max-width: 880px) {
body{
  margin: 0px;
}
body > .bodyWrapper{
  margin-left: 0px;
}
.above-fold h1{
  font-size: 3rem;
}
.menu-opener{
  z-index: 5;
  transition: all 0.6s ease;
}
.grouped{
  position: fixed;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  z-index: 6 !important;
}
.grouped img{
  width: 100%;
  height: 100%;
}
/* 

*/

#hamburger-menu{
  display: block;
}

/*

*/
.menu-opener .fancy-button{
  z-index: 7;
  border: none;
  margin: 1rem 2rem;
  padding: 0.7rem 1.4rem;
  font-size: 18px;
  font-family: 'Courier New', Courier, monospace;
  color: var(--mainColor);
  border-radius: 9px;
  background: linear-gradient(145deg, #2e2d31, #272629);
  box-shadow:  6px 6px 9px #252427,
                -6px -6px 9px #313035;
 }
 .menu-opener .fancy-button:hover {
  z-index: 7;
  border-radius: 9px;
  background: linear-gradient(225deg, #2e2d31, #272629);
  transition: background 1s ease;
  box-shadow:  6px 6px 9px #252427,
                -6px -6px 9px #313035;
 }
 .menu-opener .fancy-button:active {
  z-index: 7;
  transition: box-shadow .1s ease;
  border-radius: 9px;
  background: var(--mainBackground);
  box-shadow: inset 6px 6px 9px #252427,
              inset -6px -6px 9px #313035;
 }

.open-content{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  transition: all 0.6s ease;
}
/*animation*/
.toggler:checked{
 
  transition: all 0.6s ease;
}
.toggler:not(:checked) ~ .hamburger .open-content {
  left: -150vw;
  transition: all 0.6s ease;
}
/*Navigation Menus */
/*Start of Navagation styles*/
.header-content .site-nav{
  display: none;
  
}
.site-nav{
  position: fixed;
  left: 0;
  top: 0;
  padding: 1.5vh 5%;
  width: 90%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 2;
}

nav a {
  text-align: center;
  font-size: 1.2rem;
  padding: .5rem 0px;
  margin: .2rem 0px;
}
nav .main-link{
  margin-top: 2rem;
  padding: 1.5rem 0px 0px 0px;
  border-width: 0px 0px 2px 0px;
  border-color: var(--hrColor) !important;
  border-style: solid;
}
nav .main-link li{
  padding: .5rem 0px;
  font-size: 1.4rem;
  font-family:'Open Sans', sans-serif;
}
nav .main-link li a{
  text-align: center;
 
  padding-bottom: .8rem;
  text-transform: none;
  
}
nav .skills{
  padding: .5rem .5rem 0px .5rem;
}
nav .skills li{
  list-style: none;
}
nav .skills li a{
  font-weight: normal;
  text-transform: none;
  text-align: center;
}
/*menu icons*/

/*end of menu icons*/
.sub-menu li{
  padding: 5px 0px;
  margin: .5rem 1rem .5rem 2rem;
  font-size: .9rem;
  line-height: .8rem;
}
.form-tag{
  font-family: 'Courier New', Courier, monospace !important;
  margin: 6rem auto !important;
  padding: 2rem 2rem !important;
  border-radius: 50px !important;
  background: var(--neuBackground) !important;
  box-shadow:  var(--neuBoxShadow) !important;
  max-width: 700px !important;
}
}
@media screen and (max-width: 781px) {
  nav .main-link{
    margin-top: 3rem;
    padding: 1.5rem 0px 0px 0px;
  }
  .above-fold{
    width: 100%;
    height: 100vh;
    margin: 0px;
    padding: 0;
  }
  .above-fold h1{
    font-size: 3rem;
    margin-top: 5vh;
  }
  .above-fold h4{
    margin: 1rem .5rem 0px 1rem;
  }
  .above-fold p{
    display: block;
    max-width: 600px;
    margin: 1rem .5rem 0px 1rem;
  }
  .front-page-content img,
  .front-page-content svg{
    width: 64px;
    height: 64px;
  }
  .test-block .icon-container{
    justify-content: space-evenly;
  
    gap: 64px;
  }
  .projects-card{
  
    width: auto;
  }
  .projects-card .fancy-button{
    padding: 0.7rem 1rem;
  }
  .projects-card svg {
    width: 24px;
    height: 24px;
    transform: translateY(0.4rem);
}
}