/* Set default styles for body and heading elements */
body {
    font-family: Arial, sans-serif;
    background-color: antiquewhite;
    margin: 0;
    padding: 0;
    
}

h1, h2, h3 {
    margin: 0;
}

/* Style the header section */
header {
    background-color: #d17b14;
    color: #fff;
    padding: 20px;
}

    header h1 {
        font-size: 36px;
        margin: 0;
    }

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    nav ul li {
        display: inline-block;
        margin-right: 20px;
    }

        nav ul li a {
            color: #fff;
            text-decoration: none;
        }


/* Style the main section */
main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

    section h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    section p {
        font-size: 16px;
        line-height: 1.5;
    }

/*number of elements in a row*/
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    text-align:center;
}

    .gallery img {
        max-width: 100%;
    }

.gallery-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

    .gallery-list li {
        border: 1px solid #ccc;
        padding: 10px;
    }

        .gallery-list li:hover {
            background-color: #eee;
        }

    .gallery-list img {
        max-width: 100%;
    }

    .gallery-list h3 {
        margin-top: 0;
        font-size: 18px;
        font-weight: bold;
    }

    .gallery-list p {
        margin: 10px 0 0;
        font-size: 14px;
    }

footer {
    flex-shrink: 0;
}

.image-frame {
    border: 2px solid #ccc;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 4px #999;
    background-color: white;
    width: 300px;
    height: 300px;
}


.grid-container {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    grid-gap: 10px;
    padding: 10px;
    text-align: center;
    background-color: antiquewhite;
}

.grid-item {
    /*background-color: #B2B2B2;*/
    background-color: antiquewhite;
    /*border: 1px solid #ccc;*/
    padding: 10px;
    text-align: center;
}

    .grid-item img {
        max-width: 100%;
        height: auto;
        text-align: center;
        height: 300px;
    }

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    background-color: white;
    text-align: center;
}

.image-frame1 {
    border: 2px solid #ccc;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 4px #999;
    background-color: white;
    width: 300px;
    height: 310px;
}

