/* Text Formatting */
p {
    color: black;
    font-family: 'Concert One', cursive;
    text-align: center;
    
}
main h1 {
    margin-top: 1em;
    font-size: 300%;
    font-family: 'Concert One', cursive;
    color: black;
    text-align: center;
}
/* Image container tags */
.img-container {
    padding: 5vh 0;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center; /* pictures of different heights sit centred on each other */
    flex-wrap: wrap;
}

.item {
    flex-basis: calc(50% - 20px); /* Adjust the value as needed */
    font-family: 'Concert One', cursive;
    margin-right: -40px;
    margin-left: -40px;
    color: black;
    margin-bottom: 70px;
}
.larger-img {
    max-height: 100%;
    width: 100%; /* Scale the width to maintain aspect ratio */

}
.unstretched
{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.ill-design {
    border: 3px solid pink;
    border-radius: 10px;
}

/* Keep each picture's real proportions: up to 80% of its column wide, tall ones capped
   to the screen height. (A fixed width plus a row-based max-height used to squash them.) */
.img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 75vh;
    transition: 0.3s;
    border-radius: 10px;
}

.item h2 {
    padding-top: 15px;
}

img:hover {opacity: 0.7;}

/* Media queries */
@media only screen and (max-width: 1000px) {
    .img-container {
        flex-direction: column;
    }
    h2 {
        padding-top: 30px;
    }
    p, .item {
        padding-bottom: 30px;
    }
    /* one column: drop the negative margins that tighten the two-column grid */
    .item {
        margin-left: 0;
        margin-right: 0;
    }
    .larger-img {
        max-height: 90%;
        width: 90%; /* Scale the width to maintain aspect ratio */
    
    }
}
@media only screen and (max-width: 800px) {
    header {
        text-align: center;
    }
    #logoimage {
        float: none;
        display: block;
        margin: 0 auto;
    }
    #navlist {
        display: none;
    }
    
}
@media only screen and (max-width: 500px) {
    .larger-img {
        max-height: 80%;
        width: 80%; /* Scale the width to maintain aspect ratio */
    }
}
@media only screen and (max-width: 450px) {
    .img-container {
        max-width: 375px;
    }
}