@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);
}

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

.logo {
  text-align: center;
  position: absolute;
  left: 10rem;
  top: 1rem;
  width: 8rem;
  /* color: rgb(239, 136, 40);
    font-size: 3rem;
    
    letter-spacing: .7rem;
    font-weight: 100;
    font-family: matteo_karson_demoregular;
     */
  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-grow: 1;
  top: 50%;
  justify-content: space-around;
  margin-top: 1.5rem;
}

nav li {
  padding: 2rem 7rem;
}

nav a {
  color: rgb(230, 228, 226);
  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: -0.5em;
  left: 0;
  right: 0;
  opacity: 0.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: 3px 3px 10px rgb(39, 39, 39);
}

/* carousel styling rules here */

.carousel {
  position: absolute;
  width: 50%;
  height: 60%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  margin-top: 10rem;
}

.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease-in;
}

/* .carousel__image:nth-child(1):hover {
  transform: translateY(50%);
} */

.carousel__track-container {
  background: lightgreen;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__track {
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 250ms ease-in;
}

.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.carousel__button {
    position: absolute;
    top: 50%;
    /* The translateY moves the elemnt -50% of the height of the element */
    transform: translateY(-50%);
    background: transparent;
    filter: invert(100%);
    border: 0;
}

.carousel__button img {
    width: 25px;
    cursor: pointer;
    
}

.carousel__button--left {
    left: -3rem;
}

.carousel__button--right {
    right: -3rem;
}


.carousel__nav {
    background-color: red;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 1rem;
}

.carousel__indicator {
    border: 0;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: rgba(0, 0, 0, .3);
    cursor: pointer;
}

.carousel__indicator.current-slide {
    background: rgba(0, 0, 0, .75);

}

.is-hidden {
  display: none;
}


/* RandomImages */
.images__container {
  display: grid;
  grid-template-columns: repeat(2, 400px);
  gap: 2rem ;
}



.image-slider {
  width: 60%;
  height: 70%;
  overflow: hidden;

}

.swiper-slide {
  position: relative;
  overflow: hidden;
}
.swiper-slide-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}



.additionalinfo__div {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}


/* mapcrafter swiperJS  */
.swiper-project-cards {
  width: 500px;
  height: 200px;
  overflow: hidden;
}

.projectDesc__div span {
  color: #502144;
  font-weight: 600;
  /* text-shadow: 0 0 0; */
}





/* .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .25;
}


.swiper-slide-visible {
  opacity: 1;

} */


/* .temp__div{
  width: 100%;
  margin-top: 3rem;
} */

/* .swiper-container {
  height: calc(100vh - 290px);
  margin: 60px;
  width: 60%;
  border-radius: .2rem;

} */

/* .swiper-slide {
  overflow: hidden;
} */

/* .slide-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  
  background-position: center;
  

} */

/* .slide-inner::after{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    80%,
    rgba(59, 59, 59, 0.674) 100%);
} */



.swiper-button-next-main{
  margin-right: 10rem;
  transition: transform 200ms ease-in;
}

.swiper-button-next-main:hover{
  transform: translateX(50%);
}


.swiper-button-prev-main{
  margin-left: 10rem;
  transition: transform 200ms ease-in;

}
.swiper-button-prev-main:hover{
  transform: translateX(-50%);
}

/* Button inside sliders */
.swiper-slide button {
  position: absolute;
  width: 15rem;
  height: 4rem;
  border-radius: 2px;
  background-color: transparent;
  border: 2px solid black;
  text-align: center;
  font-size: 1rem;
  
  font-weight: 500;
  color: antiquewhite;
  bottom: 5rem;
  right: 12rem;
  transform: translateX(50%);
  padding: 0;
  opacity: 0;
  transition:
    opacity 2s ease-in-out .6s,
    transform 1s ease-in-out,
    box-shadow .3s ease-out .3s,
    border .6s ease-in-out,
    color .3s ease-out,
    scale .2s ease-in-out;

  /* This is for the hover effect */
  box-shadow: inset 0 0 0 0 #38182F;
  outline: none;
  cursor: pointer;
}

.swiper-slide button:hover {
  box-shadow: inset 15rem 0 0 0 #38182F;
  color: #F2FDFF;
  border-color: transparent;
  scale: 1.05;
}



.swiper-slide-active button{
  transform: translateX(0);
  opacity: 1;
}

#Hotline__btn:hover {
  box-shadow: inset 15rem 0 0 0 #FEB95F;
  color: black;
}

#Scrandemonium__btn:hover {
  box-shadow: inset 15rem 0 0 0 #52154E;
  
}


/* Projects Sections */
.mapcrafter__section,
.HotlineHavana__section,
.Scrandemonium__section,
.WebDev__section {
  width: 100%;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}


.Scrandemonium__section .project__cards {
  flex-wrap: wrap;
  
} 
.Scrandemonium__section .projectDesc__div {
  /* flex-basis: 75%; */
  
}

.Scrandemonium__section .mainContent__div {
  display: flex;
}



.swiper-mapcrafter-Images {
  width: 400px;
  height: 400px;
}

.swiper-mapcrafter-Images .swiper-slide {
  box-shadow: 0 0 18px rgb(98, 98, 98);
  border-radius: 7px;
  object-fit:cover;

}

.mapcrafter__section {
  padding-top: 5rem;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  text-shadow: 3px 2px 3px grey;
}




.project__cards {
  position: relative;
  width: 95%;
  /* height: 90%; */
  min-height: 90%;
  top: 0;
  bottom: 0;
  margin: auto;
  /* background: red; */
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 5rem 2rem;
  background-color: #a88380;
  box-shadow: 4px 4px 6px rgb(140, 139, 139);
  color: white;
  border-radius: 5px;
}

.project__cards p {
  padding: 2rem;
  /* padding-top: 0; */
  /* font-size: clamp(.5rem, 1 rem, 2rem); */

}

.swiper-slide p {
  padding: 0;
  margin: 0;
}

.project__cards::after {
  content: "";
  position: absolute;
  display: block;
  background: rgb(146, 146, 146);
  top: 0;
  width: 20%;
  height: 1px;

}

.projectDesc__div {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly ;
  height: 400px;
  position: relative;
}
.logos__div {
  font-size: 10rem;
  display: flex;
  height: 50px;
  width: 250px;
  justify-content: space-between;
  gap: 2rem ;
  /* padding-right: 2rem; */
}
.logos__div img {
  max-width: 100%;
  max-height: 100%;

  filter: drop-shadow(0 0 8px rgb(104, 103, 103));
}


.webdevLogosImg {
  height: 60px;
}


#mapcrafter__div::after {
  top: 2.4rem;
}


#WebDev{
  margin-bottom: 2rem;
}

.demoimage { 
  /* margin: 2rem; */
  box-shadow: 0 0 18px rgb(98, 98, 98);
  width: 400px;
  border-radius: 7px;
  height: 400px;
  object-fit:cover;
  
}

#scrandemoniumcoverImg {
  object-fit: contain;
  background-color: #f0c2bd ;
  /* flex-basis: 10%; */
}



.mapcrafter__desc {
  position: relative;
}


.mapcrafterList {
  display: flex;
  /* position: absolute; */
  /* width: 40%;
  height: 40%; */
  /* bottom: 0; */
  list-style: none;
  font-size: 0.8rem;
}


/* Ribbon button for the Scrandemonium trailer in the Scrandemonium project card */
.ribbon-container {
  position: absolute;
  bottom: 55px;
  right: -52px;
  overflow: visible;
  font-size: 18px;
  /* font-size and line-height must be equal so we can account for the height of the banner */
  
  line-height: 18px;
  -webkit-transform: scale(.7);
}

#mapcrafter__div .ribbon-container {
  right: -66px;
}


.ribbon-container::before {
  content: "";
  height: 0;
  width: 0;
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  border-top: 29px solid rgba(0, 0, 0, .3);
  /* These 4 border properties create the first part of our drop-shadow */
  
  border-bottom: 29px solid rgba(0, 0, 0, .3);
  border-right: 29px solid rgba(0, 0, 0, .3);
  border-left: 29px solid transparent;
}

.ribbon-container::after {
  /* This adds the second part of our dropshadow */
  
  content: "";
  height: 3px;
  background: rgba(0, 0, 0, .3);
  display: block;
  position: absolute;
  bottom: -3px;
  left: 58px;
  right: 3px;
}


.ribbon-container a {
  display: block;
  padding: 20px;
  position: relative;
  /* allows us to position our pseudo-elements properly */
  
  background: #502144;
  overflow: visible;
  height: 58px;
  margin-left: 29px;
  color: #fff;
  text-decoration: none;
}

.ribbon-container a::after {
  /* this creates the "folded" part of our ribbon */
  
  content: "";
  height: 0;
  width: 0;
  display: block;
  position: absolute;
  bottom: -15px;
  right: 0;
  border-top: 15px solid #401a37;
  border-right: 15px solid transparent;
}

.ribbon-container a::before {
  /* this creates the "forked" part of our ribbon */
  
  content: "";
  height: 0;
  width: 0;
  display: block;
  position: absolute;
  top: 0;
  left: -29px;
  border-top: 29px solid #502144;
  border-bottom: 29px solid #502144;
  border-right: 29px solid transparent;
  border-left: 29px solid transparent;
}

.ribbon-container a:hover {
  background: #6d2d5d;
}

.ribbon-container a:hover:before {
  /* this makes sure that the "forked" part of the ribbon changes color with the anchor on :hover */
  
  border-top: 29px solid #6d2d5d;
  border-bottom: 29px solid #6d2d5d;
}


.demotrailer__div {
  padding: 0 68px;
  max-height: 0;
  height: 600px;
  overflow: visible;
  transition: max-height 0.8s ease-out;
  background-color: #f1f1f1;
}

.temporary__div {

  margin-top: 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s linear;
}

.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: 0.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: 0.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%;
}
