.home-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 90vh;
    width: 100%;
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.image-container figure {
    z-index: 200;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    height: 30em;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
}

.image-container figcaption {
    margin-top: 2%;
    font-size: 1.3em;
    font-family: "Din Medium";
}

.random-image {
    max-width: 100%;
    max-height: 90%;
}

@media all and (max-width: 600px) {
    .image-container figure {
        width: 90%;
    }
}

@media (max-height: 60rem) {
    .image-container figure {
        height: 20em;
    }
}

@media only screen and (hover: none) and (pointer: coarse) {
    .image-container figure {
        width: 90%;
        height: 20em;
    }
}

.particles {
    position: relative;
    grid-area: 1 / 1 / 2 / 2;
}

.particles-canvas {
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.particles-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    will-change: transform;
}

.particles-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    border-radius: 5px;
    border-radius: var(--radius-button);
    background: var(--color-button-bg);
    color: var(--color-button-text);
    border: 0;
    border: var(--border-button);
    margin: 0;
    padding: 1.5rem 3rem;
    padding: var(--button-padding);
    will-change: transform;
}

.particles-button:focus {
    outline: none;
}

.no-js .particles-button {
    grid-area: 1 / 1 / 2 / 2;
}

.next-button {
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    border: none;
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    font-size: 2em;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.next-button img {
    width: 1em;
    height: 1em;
}

.next-button:hover {
    background-color: rgba(0, 0, 0, 0.2);
}