@font-face {
font-family: DigiBop;
src: url(https://dl.dropbox.com/s/8maabpvuycdrlai/DigiBop-Regular.ttf);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.title {
  font-family: DigiBop;
background-image: url("https://64.media.tumblr.com/53c150a227ddcde4594fe65c54c009d7/fd75870c69147eae-67/s540x810/27604414e7ec6f144196ae64cc196b75aec6cc8f.gif");
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 10em;
font-weight:bold;
width:fit-content;
margin:0 auto; /* this is to center, if needed */
/* add below if you want an outline, if not remove */
filter: drop-shadow(10px 1px black) drop-shadow(0 -1px black) drop-shadow(1px 0 black) drop-shadow(-1px 0 black);
}

.train {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

body {
  background-image: url('./backgrounds/flowerladybug.jpg');
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  padding: 10px;
}
.gallery-item {
  overflow: hidden;
  /* border-radius: 8px; */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

.container1 {
  display: grid;
  justify-content: center;
  grid-template-columns: 750px;
  padding: 5px;
  gap: 5px;
  height: 175px;
    background-color: #C3E2F6;
}

.container2 {
  display: grid;
  justify-content: center;
  grid-template-columns: 750px;
  padding: 5px;
  gap: 5px;
    background-color: antiquewhite;
}

.container3 {
    display: grid;
  justify-content: center;
  grid-template-columns: 750px;
  padding: 5px;
  gap: 5px;
  height: 100px;
    background-color: #FEDFE0;
}


.modal-container {
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  color: #fff;
  z-index: 1000;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in;
}

.modal-container .caption {
  color: #fff;
  font-size: 1.3rem;
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translate(-50%, -7%);
}

.modal-container.show {
  pointer-events: all;
  opacity: 1;
}

.full-img {
  position: absolute;
  width: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  transition: transform 0.3s ease-out;
}

.full-img.open {
  transform: translate(-50%, -50%) scale(1);
}