body {
    text-align: center;
    font-family: "Comic Sans MS";
    background-image: url("Images/dots.webp");
    }

.home {
    background-color: #a2cdf2;
    color: black;
    border: none;
    margin: 20px;
    height:50px;
    width:100px;
    text-align: center;
    text-decoration:none;
    display: inline-block;
    position:fixed;
    top:0;
    left:0;
    transition-duration: 0.3s;
    overflow:hidden;
    }

.home:hover{
    background-color: #94c2eb;
    cursor: pointer;
    overflow:hidden;
    }

.imageGallery {
   display: inline-block;
    }

.textBox {
    display:inline-block;
    border: 2px dotted black;
    padding: 15px 20px;
    width: 350px;
    position: absolute;
    top: 50%;
    right: 2%;
    trandform: translate(-50%, -2%);
    }

.BOOM {
    display:inline-block;
    height: 350px;
    }

.container { /* The parent of the div you want to center */
  position: relative;
  height: 400px; /* Or a defined height */
}

.BOOM {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Your div styles here */
}