body {
    background-color: #f2f2f2;

    box-sizing: border-box;

    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: 400;
}

#gallery {
    margin: 20px;

    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: minmax(200px, auto);
}

.image-container {
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.image-container p {
    opacity: 0;
    transition: all 0.3s ease-in-out;

    /* center text */
    text-align: center;
    margin: 0;
    padding: 0;
    padding-top: 20%;

    color: white;
}

.image-container:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.image-container:hover p {
    opacity: 1;
}

.floating-buttons {
    /* float at center of screen */
    position: fixed;
    bottom: 40px;
    right: 40px;
}

.floating-buttons a {
    margin: 0 10px;
    text-decoration: none;
}

.floating-buttons div {
    width: 46px;
    height: 46px;

    /* center content with grid*/
    display: grid;
    place-items: center;

    font-size: 20px;

    border-radius: 50%;

    background-color: white;
    color: #111111;

    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);

    transition: all 0.2s ease-in-out;
}

.floating-buttons div:hover {
    box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.4);
}
