@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
  --primary-color: rgb(15, 0, 15);
}

body{
  background-color: var(--primary-color);
  overflow-x: hidden;
  cursor: url('c_reg.cur'), auto;

  overflow-x: hidden;
}

  a{
    text-decoration: none;
    color: white;
    cursor: url('c_act.cur'), auto;
  }

.header{
  position: absolute;
  top: 0;
  display: flex;
  padding: 10px;
  width: 100%;
  background-color: rgb(29, 11, 0);
  opacity: 0.8;
}

.header h1{
  color: white;
  
  font-size: 25px;
  margin-left: 10px;
  margin-top: auto;
  margin-bottom: auto;
  opacity: 1;
}

.logo{
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 10px; */
  opacity: 1;
}

.logo img{
  width: 25px;
  height: auto;
  /* background-image: url("logo.png"); */
}

.background{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
   /* border: 1px solid green;  */

   /* background-image: url('images/background.jpg'); */
   /* background-size: cover; */
   /* background-position: center center; */
   /* background-repeat: no-repeat; */
   
}

#flipbook {
  width: 300px;
  height:400px;
  user-select: none;
  pointer-events: none;
  position: fixed;
  left: 50px;
  border: 2px solid yellow;
  filter: grayscale(20%) brightness(100%) hue-rotate(90deg);
  z-index: 10102030210003010;

}

.background img{
  height: 100%;
  width: auto;
 /* height: auto; */
  /* object-fit: cover; */

  z-index: -1;
}

/* this is the img fade-out */
.background::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40vw; /* Adjust the height of the fade effect */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--primary-color) 100%);
  pointer-events: none; /* Ensure it doesn't block any interaction with the image */
}



/* CSS */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.fade-in{
  animation: fadeIn 2s ease-in forwards; /* 2s duration, ease-in timing function */
  animation-delay: 4s;
  opacity: 0; 
  color: #3a1c00;
  font-size: 40px;
  text-align: center;
  position: absolute;
  top: 37%;
  left: 35%;
}

.body-paragpraph{
  color: rgb(148, 130, 153);
  /* align-items: center; */
  margin: auto;
  margin-top: 100px;
  width: 70vw;
  text-align: center;


  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3vw;
}

.bold{
  font-weight: 600;
}

.description{
  color: rgb(239, 219, 245);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;

  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5vw;
}

.separator{
  border: 1px solid rgb(106, 42, 165);
  margin: auto;
  width: 30vw;
}

.games{
  margin: 4vw;
}

.game{
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  /* align-items: center; */
  margin-top: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  overflow: hidden;
  padding: 20px;
  /* max-width: 80%; */
  /* width: min-content; */
  
}

.game-1{
  background-color: rgb(90, 5, 5);
}

.game-2{
  background-color: rgb(107, 107, 91);
  justify-content: flex-end;
}


.game-img{
  /* height: 450px; */
  /* width: 250px; */
  overflow: hidden;
  /* margin-top: 50px; */
}



.game-img:hover img{
  transition: transform 1.0s ease;
}

.game-img:hover img {
  transform: scale(1.1);
}


.overlay {
  position: relative;

  background: rgba(0, 0, 0, 0.7);
  font-weight: 600;

  color:black;
  top: -45px;

  width: 100%;
  text-align: center;
  padding: 10px;
  font-size: 1.5em;
  transition: background-color 0.3s ease;
}

.play {
  font-weight: bold;
  color: #b3b2b2;
  transition: color 0.3s ease;
  font-size: 1.5vw;
}

.game-1 .play {
  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.game-2 .play {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: normal;
}

.game-2 .game-img:hover .play {
  color: #b4aa79;
}

.game-1 .game-img:hover .play {
  color: #e74c3c;
}

.game-img:hover .overlay {
  background-color: rgba(0, 0, 0, 0.9);
}

.game-1 .game-img{
  height: 25vw;
  width: 15vw;
  overflow: hidden;
  border: 2px solid rgba(255, 0, 0, 0.5);
  margin-top: 50px;
}

.game-1 .game-img:hover{
  border: 2px solid rgba(255, 0, 0, 1.0);
}

.game-2 .game-img:hover{
  border: 2px solid rgb(219, 208, 141);
}

.game-2 .game-img{
  height: 25vw;
  width: 15vw;
  overflow: hidden;
  border: 2px solid rgba(199, 197, 193, 0.5);
  margin-top: 50px; 
}

.game-1 .game-description{
  color: rgb(163, 0, 0);
  text-shadow: 1px 2px #000000;

  font-family: "Alegreya", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.bold-g1{
  color: rgb(255, 0, 0);  
}

.bold-2{
  color: rgb(187, 185, 52);  
}

.game-1 ::selection {
  background-color: #f31212; /* Custom background color */
  color: #000000; /* Custom text color */
}

.game-2 ::selection {
  background-color: #c4bfa8; /* Custom background color */
  color: #000000; /* Custom text color */
}

.game-2 .game-description{
  text-align: right;
  color: rgb(219, 217, 202);

  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: normal;
}

.game-img img{
  height: 100%;
  width: auto;
}



.game-description{
  width: 75%;
  /* margin-left: 50px; */
  font-size: 1.8vw;
  /* border: 1px solid red ; */

}

.game-description p{
  margin-top: 10px;
}

.game-title{
  width: 25vw;

}

.game-title img{
  width: 100%;
  height: auto;
}

.game-subtitle{
  font-size: 2.5vw;
}

.indevelopment{
  width: 22vw;
  /* height: 20vh; */
  position: absolute;
  right: 0;
  transform: translate(-3.9vw, -2.4vh);
  /* right: 75px; */
  /* top: 50; */
  /* border: 1px solid red; */
  /* overflow: hidden; */
  pointer-events: none;
}

/* .game-2 .indevelopment{
  left: 80px;
  transform: rotate(180deg);
} */

.indevelopment img{
  width: 100%;
}

.team{
  margin: auto;
  /* width: 80vw; */
  display: flex;
  justify-content: center;
  /* align-content: space-between; */
  /* border:1px solid red; */
  color: rgb(226, 190, 230);
  margin-top: 5vw;

  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5vw;
}

.team-member{
  /* min-width: min-content; */
  /* max-width: 33vw; */
  width: 25vw;
  /* border:1px solid green; */
  /* align-items: center; */
  text-align: center;

}

.team-photo{
  /* height: 100px; */
  width: 20vh;
  height: 24vh;
  /* background-color: rosybrown; */
  margin: auto;
  text-align: center;
  overflow:hidden;
  border: 1px solid rgb(179, 68, 194);
  

}

.team-photo img{
  width: 100%;
  height: auto;
  border-radius: 2px;
  /* border: 1px solid rgb(111, 72, 116); */
  filter: grayscale(80%) brightness(100%) hue-rotate(45deg);
  
}

.member-name{
  font-size: 6vh;
  /* margin-top: 200px; */
  width: min-content;
  margin: auto;
  margin-top:10px;
}

.member-position{
  font-size: 2.2vh;
  color: rgb(111, 72, 116);
  font-weight: 700;
  /* margin-top: -5px; */
}

.team-desc{
  width: max-content;
  max-width: 55%;
  margin: auto;
  /* border: 1px solid green; */
  margin-top: 20px;
  font-size: 2.2vh;
  text-align: center;
}

.team-desc::selection, .member-name::selection, .member-position::selection{
  background-color: #fcf0ff; /* Custom background color */
  color: #9e36a1; /* Custom text color */
}

.body-paragpraph::selection, .body-paragpraph ::selection, .description ::selection{
  background-color: #fcf0ff; /* Custom background color */
  color: #9e36a1; /* Custom text color */
}





.footer {
  font-family: "Rajdhani", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.2vh;

  
  background-color: black;
  padding: 1vw;
  height: 200px;
  background: linear-gradient(to bottom, var(--primary-color), #000000);
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Aligns items vertically at the bottom */
  align-items: flex-end;   /* Aligns items horizontally at the left */
}

.footer a{
  color: rgb(248, 228, 255);
}

.body-paragpraph-phone{
  display: none;
}




@media screen and (max-width: 600px) {
  html, body {
    overflow-x: hidden;
  }

  *, *::before, *::after {
    box-sizing: border-box;
  }

  body{
    overflow-x: hidden;
  }

  .body-paragpraph{
    margin-top: 10vw;
    font-size: 3.5vh;
    width: 93%;
    /* display: none; */
  }

  .body-paragpraph-phone{
    color: rgb(255, 255, 255);
    /* align-items: center; */
    margin: auto;
    /* margin-top: 10vw; */
    width: 80%;
    margin-top: 20vh;
    text-align: center;
    text-shadow: 1px 1px 5px rgb(0, 0, 0);
  
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 8vw;

    /* z-index: 20; */
  }

  .phone-bold{
    color: rgb(179, 37, 204);
  }

  .background::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 25vh; /* Adjust the height of the fade effect */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--primary-color) 100%);
    pointer-events: none; /* Ensure it doesn't block any interaction with the image */
  }

  .description{
    font-size: 6vh;
    margin-top: 15vw;
  }

  .fade-in{
    display: none;
  }

  .games{
    margin: 0;
    margin-top: 5vh;
  }

  .game{
    /* height: 100vh; */
    width: 90%;
    /* border: 1px solid red; */
    margin: auto;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
  }

  .game-1{
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0) 100%, var(--primary-color) 100%);
  }

  .game-2{
    justify-content: start;
    background-image: url('images/Ivans_Story_noir_comic.jpeg');
    background-size: cover; /* Adjusts how the image covers the element */
    background-repeat: no-repeat;
    background-position: 80%;
    background-blend-mode: multiply;

  }

  #flipbook {
    display: none;
  }

  .game2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Ivans_Story_noir_comic.jpeg');
    background-size: cover; /* Adjusts how the image covers the element */
    background-repeat: no-repeat;
    opacity: 0.5; /* Sets the desired opacity */
    z-index: -1; /* Places the pseudo-element behind the content */
  }

  .indevelopment{
    width: 90%;
    left: 0vw;
    transform: translate(5vw, -3.2vh);
    
    opacity: 0.3;
    /* transform: rotate(3deg); */
    /* position: absolute; */
  }

  .game-description{
    width: 100%;
    font-size: 3vh;
  }

  .game-2 .game-description{
    text-align: left;
  }

  .game-img{
    display: none;
  }

  .game-title{
    width: 80%;
  }

  .game-subtitle{
    font-size: 6vh;
  }

  .play{
    font-size: 1vw;
  }

  .team{
    flex-direction: column;
    margin-top: 3vh;
  }

  .team-member{
    width: 90%;
    margin: auto;
    margin-top: 5vh;
  }

  .footer{

    height: 100px;
    align-items: center;   /* Aligns items horizontally at the left */
  }
}