body,
h1,
h2,
h3,
h4,
h5 {
    font-family: "Poppins", sans-serif
}

.w3-half img {
    margin-bottom: -6px;
    margin-top: 16px;
    opacity: 0.8;
    cursor: pointer
}

.w3-half img:hover {
    opacity: 1
}

.sub-bar-item {
    padding: 3px 16px;
    font-size: smaller;
}

p {
    padding-bottom: 1em;
}

ol {
    margin-left: 2em;
    padding-bottom: 1em;
}

a {
    text-decoration: none;
    color: darkblue;
}

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 130%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

h1,
h2,
h3,
h4,
h5::before {
    content: "";
    clear: both;
    display: table;
}

.full-width {
    width: 100%;
}


/* ======================================
Responsive Image gallery Style rules
======================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    padding: 40px 5%;
}

.heading-text {
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.heading-text span {
    font-weight: 100;
}

ul {
    list-style: square;
    margin-left: 2em;
    padding-bottom: 1em;
}

pre {
    margin-bottom: 1em;
}

table {
    margin-bottom: 1em;
}

/* Responsive image gallery rules begin*/

.image-gallery {
    text-align: center;
}

.image-gallery>li {
    /* fallback */
    display: inline-block;
    width: 350px;
    margin: 0 5px 10px 5px;
    /* end fallback */
    position: relative;
    cursor: pointer;
}

@supports (display: flex) {
    .image-gallery {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .image-gallery>li {
        flex-basis: 350px;
        /*width: 350px;*/
        margin: 0;
    }

    .image-gallery::after {
        content: "";
        flex-basis: 350px;
    }
}

.image-gallery li img {
    object-fit: cover;
    max-width: 100%;
    max-height: 250px;
    height: auto;
    vertical-align: middle;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(145, 145, 145);
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* center overlay text */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* hover */
.image-gallery li:hover .overlay {
    transform: scale(1);
}
