html{
  height: 100%;
  overflow: hidden;
}

p, a {
 font-family: Kite One, Arial;
 color: white;
 font-weight: 550;
 font-size: 4vh;
 text-shadow: 1.5px 1px 2px black;
 text-decoration: none;
}

body {
  height: 100%;
  width: 100%;
  background-color: rgb(136, 191, 241);
  margin: 0%;
  opacity: 100%;
}
#box{
  height: 100%;
  width: 100%;
  display:grid;
  grid-template-columns: 5% 45% 25% 50% ;
  grid-template-rows: 100px 160px 3fr 1fr;
}

#pc-div {
  position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -2;
      overflow: hidden;
}

#background-pc {
  position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      transform: translate(-50%, -50%);
      object-fit: cover;
}

#background-mobile {
  opacity: 0;
  z-index: -3;
}

.nav-bar {
  grid-row: 1;
  grid-column: 1/4;
  width: 100vw;
  height: 100px;
  background-color: rgb(18, 71, 131);
  display:flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
  opacity: 95%;
  position: fixed;
}

.projects {
  margin-right: 5vw;
  cursor: pointer;
}

.contacts {
  margin-left:5vw;
  cursor: pointer;
}

.projects, .contacts {
padding-left: 20px;
padding-right: 20px;
transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
border-radius: 50px;
}


.projects:hover, .contacts:hover {
color:rgb(122, 122, 250);
background-color:rgb(255, 255, 255);
border-radius: 50px;
transform: scale(1.1);
}

#about-text {
  grid-row: 3;
  grid-column: 2/3;
  background-color: rgba(255, 195, 235, 0.616);
  border-radius: 50px;
  z-index: 1;
  padding-left: 20px;
  padding-right: 20px;
}

.desc-text {
  text-shadow: 1.5px 1px black;
  
}

#brainrot {
  grid-row: 2/4;
  grid-column: 4/5;
  overflow: hidden;
  transform: scale(0.3);
  cursor: pointer;
  display: grid;
  opacity: 0;
  margin-right: 200px;
}

#brainrot:hover {
  display: grid;
  grid-row: 2/4;
  grid-column: 4/5;
  opacity: 100%;
}

#cirno-vid {
  object-fit: cover;
}

.clickable-div {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  z-index: 2;
  display: grid;
  grid-row: 3;
  grid-column: 4/5;
}

@media (max-width: 600px) {
body {
  
  #background-pc {
    opacity: 0%;
  }
  
  #box{
  height: 100%;
  width: 100%;
  display:grid;
  grid-template-columns: 10% 80% 10%;
  grid-template-rows: 100px 150px 2fr 1fr;
}
 #background-mobile {
  grid-row: 1/3;
  grid-column: 1/4;
  opacity: 70%;
  margin: 0%;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
 }

 #about-text {
  background-color: white;
 }
 
 #brainrot {
  display: grid;
  grid-row: 2;
  grid-column: 2/3;
 }

 #brainrot:hover {
  opacity: 100%;
  display: grid;
  grid-row: 2;
  grid-column: 2/3;
  transform: scale(0.5);
 }
  }
}
