@font-face {
  font-family: 'art_breweryregular';
  src: url('./CustomFonts/webfontkit-20220530-070920/art_brewery-webfont.woff2') format('woff2'),
       url('./CustomFonts/webfontkit-20220530-070920/art_brewery-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'matteo_karson_demoregular';
  src: url('./CustomFonts/matteo-karsonFont/matteokarsondemoregular-webfont.woff2') format('woff2'),
       url('./CustomFonts/matteo-karsonFont/matteokarsondemoregular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

:root {
  --background: rgba(165, 117, 72, 0.495);
  --fadeinCardColor: rgba(226, 72, 72, 0.603);
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* background: rgb(110, 109, 109); */
  font-family: 'Montserrat', sans-serif;
}



body {
  background-color: antiquewhite;
}

/* Navigation styles start here */

.homepage__header  {
  /* background-color: var(--background); */
  position: fixed;
  display: flex;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.homepage__header svg path {
  fill: currentColor;
}

.logo__div {
  position: absolute;
  margin: 1.2rem 7rem;
  width: 5rem;
  height: 5rem;
  color: rgb(251, 135, 52);
  z-index: 999;
  font-size: 5rem;
}

.logo__div::after {
  content: '';
  display: block;
  background: rgb(146, 146, 146);
  margin-top: .5em;
  width: 100%;
  height: 3px;
}

.logo__div a {
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
  cursor: pointer;
}

.logo {
  text-align: center;
  position: absolute;
  left: 10rem;
  top: 1rem;
  width: 8rem;
  background: url(./images/SVGs/game-controller.svg);
  background-size: cover;
  width:6rem;
  height: 6rem;
  color: red;
}


.navbar__section {
  position: relative;
  /* background: var(--background);; */
  align-items: center;
  width: 90%;
  transition: opacity 1s eas;
}

/* The following rules for the navbar are specific for when
the user scrolls away from the homepage intro pic */
.nav__scrolled {
  opacity: 0;
}



nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 1;
  top: 50%;
  justify-content: space-around;
  margin-top: 1.5rem;
}

nav li {
  padding: 2rem 7rem;
}

nav a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;

}

nav a:hover {
  color: grey;
}

nav a::before {
  content: '';
  display: block;
  height: 3px;
  width: 50%;
  background: rgb(255, 255, 255);
  position: absolute;
  bottom: -.5em;
  left: 0;
  right: 0;
  opacity: .75;
  transform-origin: left;
  transform: scale(0, 1);
  transition: transform ease-in-out 250ms;
}

nav a:hover::before {
  transform: scale(1, 1);
}


/* Swup style here ... only temporary */
.transition-fade {
  opacity: 1;
  transition: 500ms;
}

html.is-animating .transition-fade {
  opacity: 0;
}






.introSection__div {
  /* background-color: rgb(147, 147, 147); */
  background-image: /*linear-gradient(
    to bottom, transparent,
    rgba(245,244,240,255) 100%), */
    url(images/HomepageBackgorund.jpg);
  /* The background attachment sticks the image back */
  /* to the background of the page */
  background-attachment: fixed;
  /* As the name suggests the following variable */
  /* blends background color and image together */
  /* useful for when you have to darken the background image */
  /* for instance. */
  background-blend-mode: multiply;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:center;
  box-shadow: 7px 7px 7px rgb(176, 176, 176);

}


/* The following div helps fading out the background image  */
.bacgroundImageFadeOut__div {
  position: relative;
  top: 38%;

  width: 100%;
  height: 13%;
  background: linear-gradient(to bottom, transparent, 80%, rgba(245,244,240,1));

}

/* Adding name with typewriter anim */
.name__h1 {
  overflow: hidden;
  padding-right: .1em;
  border-right: .04em solid orange;
  white-space: nowrap;
  animation:
    blink-caret .75s step-end infinite;

  font-size: 8rem;
  font-family: 'Josefin Sans', sans-serif;
  /* font-family: 'Ubuntu Mono', monospace; */
  font-weight: 500;
  color: aliceblue;
  text-shadow: .2rem .5rem 5px black;
}

.welcome__title {
  text-align: center;
  margin-top: 1rem;
  color: aliceblue;
  opacity: 0;
  transition: 
    opacity 700ms ease-in-out 1s,
    transform 700ms ease-in-out 1s; 

  transform: translateY(-90%);
  font-weight: 300;
}

.welcome__title.easeIn {
  opacity: 1;
  transform: translateY(0);
}


.name__h1::after {
  content: '';
  display: block;
  width: 80%;
  margin: 0 auto;
  height: 3px;
  opacity: 0;
  transition: opacity 1s ease-in-out 1s;
  background-color: red;
}

.separator__div {
  display: block;
  width: 60%;
  margin: 0 auto;
  height: 1px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: rgb(251, 135, 52);
}

.separator__div.easeIn {
  opacity: 1;
}

@keyframes blink-caret {
  from, to {border-color: transparent}
  50% {border-color: orange;}
}

.projectCards__container {
  /* position: absolute; */
  width: 100%;
  /* height: 100%; */
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-around;
  /* top: 90%; */
  padding: 0 2rem;
  background-color: rgba(245,244,240,1);
}


.project__cards {
  border-radius: .5rem;
  height: 400px;
  width: 525px;
  overflow: hidden;
  flex-grow: 1;
  /* text-align: center; */
  position: relative;
  top: -2rem;
  box-shadow: .5rem 0.5rem 15px rgb(171, 171, 171);
}


.project__cards:hover div{
  transform: scale(1.1);

  /* Will need to remove orange filter on hover */
}


.project__cards:hover h3{
  opacity: 0;
}

/* Testing background card zoom in on hover transition */
#card1mapcrafterImage {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-image: url("images/Homepage/Cards/Mapcrafter.png");
  transition: .7s;
}
/* Trying out new appreach for linear gradient */
#card1mapcrafterImage::after {
  /* I'll have to apply the linear gradient separately */
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgb(203,124,108) 100%);
  
  opacity: 1;
  transition: opacity .5s ease;
}

#card1mapcrafterImage:hover::after {
  opacity: 0;
}



/* Testing background card zoom in on hover transition */
#card2HavanaImage {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-image: 
    url("images/Homepage/Cards/Hotline\ Havana.gif");
  transition: .7s;
  /* background-blend-mode: multiply; */
}


/* Trying out new appreach for linear gradient */
#card2HavanaImage::after {
  /* I'll have to apply the linear gradient separately */
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgb(203,124,108) 100%);
  
  opacity: 1;
  transition: opacity .5s ease;
}

#card2HavanaImage:hover::after {
  opacity: 0;
}

#card3ScrandemoniumImg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-image: url("images/Homepage/Cards/zyro-image.png");
  transition: .7s;
}

/* Trying out new appreach for linear gradient */
#card3ScrandemoniumImg::after {
  /* I'll have to apply the linear gradient separately */
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgb(203,124,108) 100%);
  
  opacity: 1;
  transition: opacity .5s ease;
}

#card3ScrandemoniumImg:hover::after {
  opacity: 0;
}



.project__cards:nth-child(2) {
  border-radius: .5rem;
  /* height: 400px;
  width: 525px; */
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgb(203,124,108) 100%),
    url("images/Homepage/Cards/Hotline\ Havana.gif");

}

.project__cards:nth-child(3) {
  border-radius: .5rem;
  /* height: 400px;
  width: 525px; */
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgb(203,124,108) 100%),
    url("images/Homepage/Cards/zyro-image.png");


}

.project__cards h1 {
  font-size: 1.5rem;
  text-align: center;
  position: absolute;
  top: 65%;
  width: 100%;
  /* margin: 0 auto; */
  color: rgb(208, 206, 206);
  opacity: 1;
  transition: 
    transform 300ms ease-in,
    opacity 200ms ease-in;
}

.project__cards:hover > h1 {
  transform: translateY(200%);
  /* color: rgb(110, 110, 110); */
  opacity: 0;
}


.project__cards h3 {
  font-size: 1.3rem;
  font-weight: 100;
  color: white;
  position: absolute;
  top: 76%;
  padding: auto 2rem;
  width: 100%;
  text-align: center;
  opacity: 1;
  transition: opacity 500ms;
}



.introduction__containter {
  text-align: center;
  /* width: 100%;
  height: 100%; */
  background: rgba(245,244,240,1);
  /* display: inline-block; */
  height: 50vh;
  padding-top: 4rem;
  box-shadow: 4px 4px 10px rgb(176, 176, 176);
}

.introduction__box {
  margin: 0 auto;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  transition: opacity 1s ease-in 100ms,
    transform 800ms ease-in;
  transform: translateY(20%);
  border-radius: .5rem;
  margin-top: 2rem;
  padding: 2rem;
  width: 40%;
  height: 60%;
}

/* Stylign SVG */
.introduction__box img {
  width: 5%;
  height: auto;
  margin: 1rem  auto;
  display: inline-block;
}


.introduction__box.box--appear {
  opacity: 1;
  transform: translateY(0);
}



.introduction__box h3 {
  color: rgb(178, 99, 43);
  /* margin-bottom: 2rem; */
  font-weight: 500;
}

/* .introduction__box h3::after {
  content: '';
  display: block;
  width: 30%;
  margin: 0 auto;
  margin-top: 1.5rem;
  height: 2px;
  background: rgb(168, 168, 168);
} */

.introduction__box p
{
  /* font-family: 'Rubik', sans-serif; */
  /* font-weight: 600; */
  font-weight: 400;
  /* font-size: 1.4rem; */
  /* text-shadow: .5px .5px  rgb(171, 171, 171); */
  /* display: inline-block; */
  display: block;
  position: relative;
  margin: auto;
  width: 70%;
  letter-spacing: .4px;
}

.introduction__box span {
  color: rgb(251, 135, 52);
  font-weight: 500;
}

.skills__container {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 700px;
  background: antiquewhite;
  margin-top: 1rem;
}

.first__group,
.second__group {
  width: 40%;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;

}

.first__group {
  flex-direction: row;
}


.first__group .first__group-logos {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 30%;
  align-items: center;
  justify-content: space-around;

}

.first__group-logos img {
  width: 30%;
  object-fit: cover;
  filter: drop-shadow(4px 4px 8px rgb(104, 103, 103));

}


.first__group-progressbars,
.second__group-progressbars {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.meter {
  height: 7px;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  filter: drop-shadow(2px 2px 4px rgb(104, 103, 103));
  opacity: 0;
  transition: opacity .5s ease-in-out;
  transition-delay: calc(var(--animation-order) * 500ms);
}


.meter span{
  display: block;
  height: 100%;

}


.meter:nth-child(1) {
  margin-top: 2rem;
}

#ue4logo {
  margin-bottom: 1.5rem;
}



.progress {
  background-color: #8a4e7b;
  border-radius: 20px;
}


.appear {
  animation: progressBar-lefted 3s ease-in-out;
  animation-fill-mode: both;
  animation-delay: calc(var(--animation-order) * 300ms);

  
  -webkit-animation: progressBar-left 3s ease-in-out;
  -webkit-animation-fill-mode: both;
  -webkit-animation-delay: calc(var(--animation-order) * 300ms);
  -moz-animation: progressBar-left 3s ease-in-out;
  -moz-animation-fill-mode: both;
  -moz-animation-delay: calc(var(--animation-order) * 300ms);
}

@keyframes progressBar-left{
  0% { width: 0; }
  100% { width: 100%; }

}

@keyframes progressBar-left {
  0% { width: 0; }
  100% { width: 100%; }


}

@-webkit-keyframes progressBar-left{
  0% { width: 0; }
  100% { width: 100%; }

}

@-moz-keyframes progressBar-left {
  0% { width: 0; }
  100% { width: 100%; }


}




.second__group {
  flex-direction: row;
  align-items: flex-end;
}


.second__group-logos {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 30%;
  align-items: center;
  justify-content: space-around;
}

.second__group-logos img {
  width: 40%;
  object-fit: cover;
  margin-top: 2rem;
  filter: drop-shadow(4px 4px 8px rgb(104, 103, 103));


}



.second__group-progressbars .meter {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
}


.skills__logos {
  opacity: 0;
  transition: opacity .5s ease-in-out;
  transition-delay: calc(var(--animation-order) * 500ms);
  
}



.meter-fadein,
.logos-fadein {
  opacity: 1;
}


.footer {
  width: 100%;
  bottom: 0;
  height: 10rem;
  background-color: #502144;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 3rem;

}


.footer__link--items {
  /* display: flex; */
  font-size: .7rem;
  position: relative;
  right: 25vh;
}
.links__div {
  display: flex;
  gap: 3rem;
  text-shadow: 1px 1px 2px pink;
  font-size: 1.2em;
  margin-top: 1.5rem;
}

.footer__link--items a {
  display: flex;
  flex-direction: column;
  margin: auto 4rem;
  text-decoration: none;
  font-size: 1.2em;
  margin: .8em auto;
  color: antiquewhite;
}

.socialLinks__div {
  display: flex;
  justify-content: space-evenly;
  position: relative;
  left: 25vh;
  /* margin-top: 2rem; */
  align-items: center;
  /* width: 100%; */
  /* position: relative; */
  font-size: 35px;
  margin-top: 1.5rem;
  gap: 4rem;
}

.socialLinks__div a {
  color: antiquewhite;
  position: relative;
  text-shadow: 1px 1px 2px pink;
}

.social__icon--link::after {
  content: '';
  display: block;
  position: absolute;
  left: 170%;
  background: rgb(146, 146, 146);
  top: 15%;
  width: 2px;
  height: 60%;
}