* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: none;
}
nav {
  display: flex;
  width: 100vw;
  justify-content: space-evenly;
  height: 12vh;
  align-items: center;
  background-color: #edf6f9;
}
.copyright{
  height: auto;
  width: 100vw;
  text-align: center;
  background-color: #00d6eb;
  font-size: 20px;

}
nav a {
  color: #006d77;
  display: inline-block;
  width: 15vw;
  text-align: center;
  height: 13vh;
  line-height: 13vh;
  text-decoration: none;

  font-size: 2vw;
  /* border: 3px solid red; */
}
nav a:hover {
  background-color: rgb(182, 148, 105);
  transform: scaleX(1.1);
}
#main-nav {
  width: 100vw;
  height: 13vh;
}
.extra {
  height: 20vh;
}
body {
  height: 100vh;
  background-image: linear-gradient(rgba(137, 43, 226, 0.7), rgba(0, 0, 0, 0.1)),
    url("../images/logo.png");
  background-size: cover, 50% 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  overflow-y: auto;
  overflow-x: hidden;
}

section {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  grid-template-rows: repeat(5, 1fr);
  grid-gap: 15px;
  margin: 20px;
  /* border: 3px solid red; */
  height: 90vh;
}

.block {
  /* border: 3px solid blue; */
  box-shadow: 10px 10px 8px #353535;
  transition: all 0.5s ease;
}

.block:hover {
  transform: scale(1.2, 1.2);
}
#div-1 {
  grid-row: 1/4;
  grid-column: 1/2;
  background-image: url("../images/gallery (42).jpeg");
  background-size: 100% 100%;
  animation-name: fromright;
  animation-duration: 8s;
  animation-timing-function: ease;
}

#div-5 {
  grid-row: 1/4;
  grid-column: 5/6;
  background-image: url("../images/gallery\ \(45\).jpeg");
  background-size: 100% 100%;
  animation-name: fromleft;
  animation-duration: 8s;
  animation-timing-function: ease;
}

#div-2 {
  grid-row: 2/5;
  grid-column: 2/3;
  background-image: url("../images/gallery\ \(13\).jpeg");
  background-size: 100% 100%;
  animation-name: fromright;
  animation-duration: 8s;
  animation-timing-function: ease;
}

#div-4 {
  grid-row: 2/5;
  grid-column: 4/5;
  background-image: url("../images/gallery\ \(16\).jpeg");
  background-size: 100% 100%;
  animation-name: fromleft;
  animation-duration: 8s;
  animation-timing-function: ease;
}

#div-3 {
  grid-row: 3/6;
  grid-column: 3/4;
  background-image: url("../images/gallery\ \(14\).jpeg");
  background-size: 100% 100%;
  animation-name: frombottom;
  animation-duration: 10s;
  animation-timing-function: ease;
}

@keyframes fromleft {
  0% {
    transform: translateX(-500px);
    opacity: 0;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes fromright {
  0% {
    transform: translateX(500px);
    opacity: 0;
  }

  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes frombottom {
  0% {
    transform: translateY(500px);
    opacity: 0;
  }

  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@media only screen and (max-width: 705px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    width: 100vw;
    background-color: #00d6eb;
  }
  .block:hover {
    transform: scale(1, 1);
  }
  .logo {
    width: 18vw;
    height: 15vh;
    font-size: 5vw;
    color: white;
    font-family: "Abril Fatface", cursive;
    background-image: url(../images/logo.png);
    background-size: 100% 100%;
    /* border: 2px solid blue;   */
    filter: contrast(200%);
  }
  .topnav {
    height: 100%;
    display: flex;
    /* width: 0%; */
    justify-content: space-evenly;
    align-items: center;
  }
  .topnav a {
    text-decoration: none;
  }
  #mob-nav {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0);
  }
  #mob-nav .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    height: 70vh;
    width: 100vw;
    top: 10vh;
    left: 0;
  }

  #mob-menu {
    background-color: rgba(0, 0, 0, 0);
  }
  .ham-img {
    display: inline-block;
    height: 6vh;
    width: 10vw;
    background-image: url(../images/ham.png);
    filter: contrast(200);

    background-size: 100% 100%;
  }
  .ham {
    background-image: url(../images/ham.png);
  }
  .cross {
    background-image: url(../images/cross.png);
  }
  #main-nav {
    display: none;
  }

  nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background-color: rgba(182, 149, 105, 0.281);
  }

  #mob-nav nav a {
    color: #006d77;
    /* border: 3px solid red; */
    border-bottom: 3px solid #006d77;
    height: 15%;
    width: 100%;
    font-size: 5vw;
    line-height: 8vh;
    text-align: center;
    font-weight: 600;
    background-color: rgba(245, 229, 208, 0.581);
  }

  .hidden {
    display: none;
  }

  /* header portion ends */
  nav {
    display: flex;
    flex-direction: column;
    width: 100vw;
    /* border: 2px solid blue; */
    justify-content: space-evenly;
  }

  body {
    width: 100vw;
  }

  #menu {
    /* border: 2px solid blue; */
    width: 100%;
  }

  section {
    display: flex;
    height: 430vh;
    flex-direction: column;
    width: 80vw;

    /* border: 3px solid red; */
  }

  #div-1 {
    background-image: url("../images/gallery (42).jpeg");
    background-size: 100% 100%;
    animation-name: fromright;
    animation-duration: 8s;
    animation-timing-function: ease;
    height: 100%;
    width: 80vw;
  }

  #div-5 {
    background-image: url("../images/gallery\ \(45\).jpeg");
    background-size: 100% 100%;
    animation-name: fromleft;
    animation-duration: 8s;
    animation-timing-function: ease;
    height: 100%;
    width: 80vw;
  }

  #div-2 {
    background-image: url("../images/gallery\ \(13\).jpeg");
    background-size: 100% 100%;
    animation-name: fromright;
    animation-duration: 8s;
    animation-timing-function: ease;
    height: 100%;
    width: 80vw;
  }

  #div-4 {
    background-image: url("../images/gallery\ \(16\).jpeg");
    background-size: 100% 100%;
    animation-name: fromleft;
    animation-duration: 8s;
    animation-timing-function: ease;
    height: 100%;
    width: 80vw;
  }

  #div-3 {
    background-image: url("../images/gallery\ \(14\).jpeg");
    background-size: 100% 100%;
    animation-name: frombottom;
    animation-duration: 10s;
    animation-timing-function: ease;
    height: 100%;
    width: 80vw;
  }
  #homeshort {
    display: block;
    height: 50px;
    width: 50px;
    background-image: url(../images/homeshort.png);
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    bottom: 10vh;
    right: 10px;
    opacity: 0.4;
    border-radius: 100%;
  }

  #homeshort:hover {
    opacity: 1;
  }
}
