* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: abc;
    src: url(fonts/ABCWhyteInktrap-Medium-Trial.woff2);
}

html,body {
    height: 100%;
    overflow: hidden;
}

span, button {
    font-family: abc;
}

#contents {
    /* display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-gap: var(--margin); */
    align-items: start;
    justify-items: start;
    padding: 0;
  }

  img {
    width: 70%;
    height: 70%;
    object-fit: cover;
  }

  .block {
    background-color: none;
  }

#backgroundimg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(images/city1.jpeg);
    z-index: -1;
}

.randombtn {
    position: fixed;
    left: 85%;
    top: 2%;
    font-size: 33px;
}

.dropdown_insect {
    position: fixed;
    left: 95.8%;
    top: 3.5%;
    font-size: 19px;
}

.stickbug {
    position: fixed;
    left: 92.9%;
    top: 12%;
}

.spider {
    position: fixed;
    left: 94.2%;
    top: 20%;
}

.moth {
    position: fixed;
    left: 94.9%;
    top: 28%;
}

.randombeetle {
    position: fixed;
    left: 94.3%;
    top: 36%;
}

.caterpillar {
    position: fixed;
    left: 92.5%;
    top: 44%;
}

.butterfly {
    position: fixed;
    left: 93.3%;
    top: 52%;
}

.grasshopper {
    position: fixed;
    left: 91.4%;
    top: 60%;
}

.worm {
    position: fixed;
    left: 94.4%;
    top: 68%;
}

.dragonfly {
    position: fixed;
    left: 92.8%;
    top: 76%;
}

.snail {
    position: fixed;
    left: 94.8%;
    top: 84%;
}

.btn {
    position: fixed;
    left: 1%;
    top: 2%;
    font-size: 35px;
}

  
  .modal {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(77, 77, 77, .7);
    transition: all .4s;
  }
  
  .modal:target {
    visibility: visible;
    opacity: 1;
  }
  
  .modal__content {
    font-family: abc;
    border-radius: 50px;
    border: 4px solid;
    position: relative;
    width: 500px;
    max-width: 90%;
    background: #fff;
    padding: 1.7em 2em;
    color: rgb(40, 118, 40);
  }
  
  .modal__close {
    position: absolute;
    font-size: 40px;
    top: 15px;
    right: 30px;
    color: rgb(40, 118, 40);
    text-decoration: none;
  }

.button_top2 {
    display: block;
    box-sizing: border-box;
    border: 3px solid var(--button_outline_color);
    border-radius: var(--button_radius);
    padding: 0.10em 0.5em;
    background: var(--button_color);
    color: rgb(40, 118, 40);
    transform: translateY(-0.2em);
    transition: transform 0.1s ease;
    text-decoration: none;
   }

   button:hover .button_top2 {
    /* Pull the button upwards when hovered */
   transform: translateY(-0.33em);
   --button_color: rgb(197, 255, 197);
  }
  
  button:active .button_top2 {
    /* Push the button downwards when pressed */
   transform: translateY(0);
  }

button {
   --button_radius: 5em;
   --button_color: white;
   --button_outline_color: rgb(40, 118, 40);
   font-size: 13px;
   font-weight: bold;
   border: none;
   border-radius: var(--button_radius);
   background: rgb(40, 118, 40);
  }
  
  .button_top {
   display: block;
   box-sizing: border-box;
   border: 3px solid var(--button_outline_color);
   border-radius: var(--button_radius);
   padding: 0.75em 1em;
   background: var(--button_color);
   color: rgb(40, 118, 40);
   transform: translateY(-0.2em);
   transition: transform 0.1s ease;
  }
  
  button:hover .button_top {
    /* Pull the button upwards when hovered */
   transform: translateY(-0.33em);
   --button_color: rgb(197, 255, 197);
  }
  
  button:active .button_top {
    /* Push the button downwards when pressed */
   transform: translateY(0);
  }