﻿body {
    padding-top: 20px;
    padding-bottom: 20px;
}
root {
    --primary-color: #4971b7;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.dandi {
    border-bottom: 2px solid gray; 
    width: 200px;
/*    display: inline-block;*/
}

    .dandi:hover {
        background-color: #ffffff;
        color: #4971b7;
        cursor: pointer;
        font-weight:500;
        border-radius:20px;
    }
/*        .dandi:hover p {
            color: #4971b7;
        }*/
/* The Modal (background) */
.gallery {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.gallery-image {
   /* max-width: 30%;*/
    cursor: pointer;
    transition: transform 0.2s;
}

    .gallery-image:hover {
        transform: scale(1.05);
    }

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.popup-content {
    display: block;
    margin: 15% auto;
    max-width: 80%;
}

.close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }