.jim-nightshade-regular {
  font-family: "Jim Nightshade", cursive;
  font-weight: 400;
  font-style: normal;
}


.grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(9, 1fr);
  height: 100%;
  margin-bottom: 20vw;
}
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 30vw;
  
}





.grid-3{
    display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(6, 1fr);
  margin-bottom: 10vw;
  
}
.grid-4{
     display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.background{

width: 100%;
height: 100%;
 z-index: -1;

}

body{
  margin: 0;
  height: 100%;
  font-family: "Jim Nightshade", cursive;


  color: rgb(69, 176, 247);
  text-shadow: 1px, 1px, 1px, aqua;
  
}
html{
  height: 100%;
  scroll-behavior: smooth;
}

nav a{
text-decoration: none;
color: inherit;
}

.backgrounddiv{
  grid-column: 1/5;
  grid-row: 1/9;
  position: fixed;
 width: 100%;
 height: 100%;
 z-index: -1;
}



.Namediv{
  font-family: "Jim Nightshade";
  font-size: clamp(100px, 16vw, 400px);
  display: flex;
  grid-column: 2/4;
  grid-row: 1;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 100%;
  
}
  
  






.middlecontainer{
  grid-row: 2/4;
  grid-column: 1/5;
  position: relative;

  
}
.start{
  font-family: "Jim Nightshade";
  font-size: 75px;
}
.startdiv{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  
}

.buttondiv{
  width: 100%;

  height: 320px;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  margin-bottom: 4vw;
}

.button{

  font-size: 25px;
  font-family: "Jim Nightshade";
  
}

.home{
  border: solid;
  border-radius: 15px;
  padding: 12px;
  transition: font-size 0.3s;
  font-size: 35px;
  transition: font-size 0.3s;
  margin: 1vw;
  
}

.home:hover{
  font-size: 50px;
  
}


.E:hover{
transform: scale(1.2);

}
.D:hover{
transform: scale(1.2);
}
.V:hover{ 
transform: scale(1.2);
}
.A:hover{
transform: scale(1.2);
}
.R:hover{
transform: scale(1.2);
}

.D2:hover{
transform: scale(1.2);
  
}



.E{
   transition: 0.3s;
   display: flex;
}

.D{
   transition: 0.3s;
   display: flex;
}

.V{
   transition: 0.3s;
}

.A{
   transition: 0.3s;
}

.R{
   transition: 0.3s;
}

.D2{
   transition: 0.3s;
}




.Projectsbox{
  position: relative;
  grid-row: 1/7;
  grid-column: 1/7;
  background-color: rgba(0, 0, 0, 0.4);
  min-height: 100px;
  margin: 0;
  padding: 2.5vw;
 margin: 2.5vw;
 border: solid;
border-radius: 20px;
backdrop-filter: blur(5px);
}


.Projectstitle{
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(50px, 10vw, 100px);
  margin-top: 0px;
  grid-column: 1/6;
  grid-row: 9/10;

}

.thing{
  border:solid;
  width: clamp(200px, 21vw, 600px);
  height: clamp(100px, 12vw, 200px);
  border-radius: 20px;
  padding: 2px;
  margin-left: 3vw; 
  margin-right: 3vw;
  text-decoration: none;
   color: rgb(81, 176, 240);
 
}
  

.thing .img{
  width: clamp(200px, 21vw, 600px);
  height: clamp(100px, 12vw, 200px);
  
}



.under-text{
  text-decoration: none;
  margin: 0;
  justify-content: center;
  align-content: center;
  display: flex;
  font-size: 20px;
 
}





.workdiv{
display: inline-block;
margin-bottom: 2vw;
transition: 0.4s;

}
.workdiv:hover{
  transform: scale(1.2);
}









.about-mediv{
  position: relative;
  display: flex;
  grid-column: 1/6;
  grid-row: 1/3;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.about-me{
  font-size: 100px;
  margin-bottom: 130px;
}

.about-tdiv{
  position: relative;
  display: flex;
  grid-column: 2/5;
  grid-row: 2/3;
  justify-content: center;
}

.about-t{
  font-size: 55px;
  border: solid;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
 
}

































.contactbox{
  background-color: rgba(0, 0, 0, 0.4);
  position: relative;
  grid-row: 4/5;
  grid-column: 1/5;
  bottom: 0;
  height: 140px;
}
.contact-name{
    position: relative;
  grid-row: 1/4;
  grid-column: 1/5;
  
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
   
  margin-top: 0px;

}

.name-con{
  font-size: 50px;
}







.contact{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.dc, .yt{
  height: 100px;
  transition: 0.5s;
}

.dc:hover, .yt:hover{
  transform: scale(1.3);
  margin-top: 5px;
}
.backdiv{
    display: flex;
  flex-direction: row;
  align-items: center;
}
.back{
 height: 90px;
}
.backimg{
  height: 90px;
  transition: 0.5s;  
}
.backimg:hover{
transform: scale(1.3);
}


















.fade-in{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible{
  opacity: 1;
  transform: translateY(0)
}





.head{
  position: fixed;
  top:10px;
  right: 5px;
  z-index: 10;
  height:100px ;
}



.back2{
 height: 70px;
}
.backimg2{
  height: 70px;
  transition: 0.5s;  
}
.backimg2:hover{
transform: scale(1.3);
}



@media (max-width: 1000px) {
    .background {
        content: url('true-shinji-mobile.gif'); /* Change to a different image for mobile */
    }
}