/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

.wrapper {
    max-inline-size: 1000px;
    margin-inline: auto;
}

footer {
    border-top:#000000 2px dotted;
    margin-block:50px
}

body {
  background-color: white;
  color: #000000;
  text-align:center;
  /* color: red; */
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 1.5rem;
}

.two-column-layout {
    text-align:justify;
    display: grid;
    gap: 30 px;
    /* grid-template-columns: 1fr 1fr; */
    margin-block: 60px;
    /* margin: 50px; */
    @media (width > 800px) {
        grid-template-columns: 1fr 1fr;
    }

}




.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    grid-template-rows: auto;
    /* grid-gap: 1.5 rem; */
    /* grid-template-areas: ; */

}

.gallery img {
    width: 100%;
    height: 100%;
    /* Forces the image to behave like a 1:1 perfect square */
    aspect-ratio: 1 / 1;
    /* Cuts out overflow and centers the image without stretching it */
    object-fit: cover;
    display: block;
    /* Optional: Smooth hover effect */
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(0.9);
}


.gallery a {
    width: 100%;
    /* height: 25rem; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



.buttons {
  background-color: #000000;
  border: none;
  border-radius: 12px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.5rem;
  cursor: pointer;
}


.img-center {
    display: block; /*prevent images from having unnecessary margins top and bottom*/
    max-inline-size: 100%;
    margin: 50px;
}

.img-pad {
    display: block; 
    max-inline-size: 100%;
    margin: 30px;
    padding: 30px;
    text-align: center;
    /* border:#000000 2px dotted; */
}

.padding {
    padding: 50px;

}


.img-div:hover {
  border: 2px solid yellowgreen;
}