body {
    /* background: rgb(112,113,115); */
    background: linear-gradient(135deg, rgba(112,113,115,1) 0%, rgba(165,165,166,1) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

/* Container needed to position the overlay. Adjust the width as needed */
.image-overlay {
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    color: #f1f1f1;
    width: 100%;
    height: 100%;
    transition: .8s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

/* When you mouse over the container, fade in the overlay title */
.image-overlay:hover  .overlay {
    opacity: 1;
}

/* When you mouse over the container, fade out the brightnes of the image container */
.image-overlay:hover .fadein {
    filter: brightness(50%);
    -webkit-filter: brightness(50%);
    -mox-filter: brightness(50%);
    transition: 0.8s ease;
    -webkit-transition: 0.8s ease;
    -moz-transition: 0.8s ease;
}

/* used for CSS grid layout */
figure img {
    max-width: 100%;
    display: block;
}

figure {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 10px;
    break-inside: avoid;
}

figure > img {
    grid-row: 1 / -1;
    grid-column: 1;
}

@media (min-width: 1px) and (max-width: 575px) {
    .container-grid {
        column-count: 1;
        column-gap: 10px;
    }
}

@media (min-width: 576px) and (max-width: 640px) {
    .container-grid {
        column-count: 2;
        column-gap: 10px;
    }
}

@media (min-width: 641px) and (max-width: 991px) {
    .container-grid {
        column-count: 3;
        column-gap: 10px;
    }
}

@media (min-width: 992px) {
    .container-grid {
        column-count: 4;
        column-gap: 10px;
    }
}

/* The hero image */
.hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
    background-image: linear-gradient(rgba(165, 165, 166, 0.5), rgba(112, 113, 115, 1)), url("assets/images/hero-1000.jpg");

    /* background-image: linear-gradient(135deg, rgba(112,113,115,0.5) 0%, rgba(165,165,166,0.5) 100%), url("assets/images/hero-1000.jpg"); */
    /* Set a specific height */
    height: 100vh;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;

    /* position: relative; */
}

/* Place text in the middle of the image */
.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    position: relative;
}

.svg-icon {
    width: 50px;
    color: white;
}

#loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #444444;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}