body {
    background-color: rgb(191, 177, 237);
    font-family: "Antic Slab", serif;
}
.antic-slab-regular {
  font-family: "Antic Slab", serif;
  font-weight: 400;
  font-style: normal;
}


img {
    width: 150px;
    height: auto;
}

button {
    background: transparent;
    border: transparent;
  color:#38543c;

}

.image:hover{
    width: 200px;
    height: 200px;
}




#submit {
    background-color: rgb(232, 241, 225);
    border-radius: 10px;
    color: rgb(109, 129, 94);
}

body {
    font-family: "Antic Slab", serif;
}

h1 {
    background-color: rgb(232, 241, 225);
    color: rgb(109, 129, 94);
    text-align: center;
    padding: 10px;
    font-size: 30px;
    border-radius: 20px;
}

#Welcome {
    position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
    margin: 0;
    text-align: center;
    font-size: 20px;
    color: rgb(109, 129, 94);
}

.top-bar .collapsible {
  position: absolute;
  top: 8px;
  left: 12px;
  width: auto;
  padding: 6px 10px;
  font-size: 20px;
}

.top-bar .collapsible:hover,
.top-bar .collapsible.active {
  font-size: 20px;
}


.collapsible {
  background-color: rgb(242, 253, 247);
  border-radius: 40px;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
}

.settings {
  width: 40px;
  height: 40px;
}


.active, .collapsible:hover {
  font-size: 20px;
}

.content {
  position: fixed;
  top: 50px;
  left: 12px;
  z-index: 10;
  width: min(280px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: #f1f1f1;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
   }


#button1 {
  grid-area: 1 / 1;
}

#button2 {
  grid-area: 1 / 2;
}

#button3 {
  grid-area: 1 / 3;
}

#button4 {
  grid-area: 1 / 4;
}

#button5 {
  grid-area: 2 / 1;
}

#button7 {
  grid-area: 2 / 2;
}

#button8 {
  grid-area: 2 / 3;
}

#button9 {
  grid-area: 2 / 4;
}


.bg2 {
  background-image: url(IMAGES/3rdanni.jpg)
}

.bg1 {
  background-image: url(IMAGES/loadingscreen.jpg)
}

.play {
  width: 200px;
  height: 200px;
}

.pause {
  animation-name: anim1;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}


@keyframes anim1 {
   0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}


@media screen and (max-width: 480px ) {
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
   }


  #button1 {
  grid-area: 1 / 1;
  }

  #button2 {
    grid-area: 2 / 1;
  } 

  #button3 {
    grid-area: 3 / 1;
  }

  #button4 {
    grid-area: 4 / 1;
  }

  #button5 {
    grid-area: 1 / 2;
  }

  #button7 {
    grid-area: 2 / 2;
  }

  #button8 {
    grid-area: 3 / 2;
  }

  #button9 {
    grid-area: 4 / 2;
  }


  img {
    width: 100px;
    height: auto;
}

button {
    background: transparent;
    border: transparent;
  color:#38543c;

}

.image:hover{
    width: 150px;
    height: 150px;
}

}


@media screen and (max-width: 760px) {
    .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
   }


#button1 {
  grid-area: 1 / 1;
}

#button2 {
  grid-area: 2 / 1;
}

#button3 {
  grid-area: 3 / 1;
}

#button4 {
  grid-area: 4 / 1;
}

#button5 {
  grid-area: 1 / 2;
}

#button7 {
  grid-area: 2 / 2;
}

#button8 {
  grid-area: 3 / 2;
}

#button9 {
  grid-area: 4 / 2;
} 
}