* {
    margin: 0;
    padding: 0;
}

header {
    background: rgba(6, 53, 10, 0.24);
    min-height: 140px;
    font-family: Arial, Helvetica, sans-serif;

}

body {
    background: rgb(217, 238, 212);
    /* background: radial-gradient(circle, rgb(189, 218, 173) 0%, rgb(27, 113, 50) 100%); */
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    
}

#container {
    display: grid;
    /* grid-template-columns: repeat(5, 1fr); */
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 5vw;
    grid-row-gap: 5vh;
    padding: 50px;
    max-width: 1080px;

    /* positioning to center */
    position: relative;
    margin: 0 auto;
}

.boxes {
    background-color: hsla(104, 100%, 66%, 0.797);
    width: 100%;
    min-height: 200px;
    border: 3px solid rgb(33, 83, 13);
    box-shadow: 14px 9px 15px 0px rgba(37, 53, 29, 0.59);
    height:fit-content;
}

.boxes img {
    width: 100%;
    transform-origin: center;
    transition: all 0.1s ease-in;
}
.boxes img:hover {
    transform: scale(1.1);
}
figcaption{
    padding-bottom: 15px;
}

@media only screen and (max-width: 1024px) {
    #container {
        grid-template-columns: 1fr 1fr;
    }
    .boxes img:active {
        transform: scale(1.5);
    }
}

@media only screen and (max-width: 640px) {
    #container {
        grid-template-columns: 1fr;
    }
}
a.a {
    color: black;
    text-decoration:none;
}
a.a:hover {
    color: black;
}
h3 {
    text-decoration: underline;
}