/* navbar styling */
#navbar_div {
  display: flex;
  justify-content: space-around;
  font-family: Helvetica, Arial, sans-serif;
  background: rgb(53, 51, 51);
  font-size: 15px;
  padding: 5px;
  line-height: 50px;
}

#logo {
  width: 16%;
}

#logo:hover {
  animation-duration: 3s;
  animation-name: zoomout;
}

@keyframes zoomout {
  0% {
      transform: scale(1.0);
  }
  50% {
      transform: scale(0.9);
  }
  100% {
      transform: scale(1.0);
  }
}

.items {
  color: white;
  padding: 5px;
}

img {
  width: 300px;
}

#current:hover {
  background-color: green;
}

.items:hover {
  background-color: gray;
  opacity: 0.5;
}

a {
  width: 20%;
  text-align: center;
  text-decoration: none;
}

/* background styling */
#granim-canvas {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

/* Home page styling */
#Home {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#Home h1 {
  color: white;
  font-size: 100px;
}

#Home p {
  color: white;
  font-size: 30px;
}

#photo_1 {
  width: 600px;
  height: 400px;
  margin-left: auto;
  margin-right: auto;
}

#photo_2 {
  width: 700px;
  height: 400px;
}

#photo_3 {
  width: 450px;
  height: 300px;
}

/* Responsive styling */
@media only screen and (max-width: 600px) {
  #photo_1, #photo_2, #photo_3 {
      width: 300px;
      height: 200px;
  }

  #Home p {
      font-size: 25px;
  }

  #Home h1 {
      font-size: 30px;
  }

  #logo {
      width: 96px;
      height: 40px;
  }

  .items {
      font-size: 10px;
  }
}

/* Fade-in effect */
.fade-in {
  animation: fadeIn ease 10s;
  -webkit-animation: fadeIn ease 10s;
  -moz-animation: fadeIn ease 10s;
  -o-animation: fadeIn ease 10s;
  -ms-animation: fadeIn ease 10s;
}

@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
