h1 {
    color: blue;
    text-align: center;
}
h5 {
    text-align: left;
}
h4 {
    color: rgb(104, 96, 96);
    text-align: center;

}

body {
    background-image: url('photos/sky.jpg');
    background-size: cover; /* Adjusts the size of the background image */
    background-repeat: no-repeat; /* Prevents the background image from repeating */
}

nav {
    text-align: right;
}

nav a {
    background-color: white;
}

table {
    width: 70%; /* Set the desired fixed width */
    height: 100px; /* Set the desired fixed height */
    text-align: center;
    margin: 0 auto;
    border: 0px solid black; /* Shorthand for setting margin-left and margin-right to auto */
}



.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr)); /* Initially display 5 columns with a minimum width of 20% */
    gap: 10px;
    justify-content: center;
}

.photo-gallery div {
    margin: 10px;
}

.photo-gallery img {
    width: 200px; /* Set a fixed width for the images */
    margin: 10px; /* Add some space around the images */
    border: 1px solid #ddd; /* Add a border for better visibility */
}

#more {
    text-align: left;
    color: blue;
}

#headname {
    text-align: center;
    font-size: 35px;
}

h3 {
    text-align: left;
}

.balloon table{
    text-align: center;
}

.balloon img{
    max-width: 1900px; /* Set the maximum width for the images */
    max-height: 190px;
}

@media only screen and (max-width: 800px) {
    .balloon img{
        max-width: 100px; /* Set the maximum width for the images */
        max-height: 100px;
    }

    .photo-gallery img {
        width: 100%; /* Show 1 photo per row on phones */
    }

    h5{
        display: none;
    }

}

@media only screen and (max-width: 500px) {
    .balloon img{
        max-width: 60px; /* Set the maximum width for the images */
        max-height: 60px;
    }
    
    table {
        width: 90%; /* Set the desired fixed width */
        height: 100px; /* Set the desired fixed height */
        text-align: center;
        margin: 0 auto;
        border: 0px solid black; /* Shorthand for setting margin-left and margin-right to auto */
    }
}