body{
    margin: 0;
}


.top-bar{
    display: block;
    width: 100%;
    height: 48px;

    /* background: rgb(57,95,202);
    background: linear-gradient(180deg, rgba(57,95,202,1) 0%, rgba(127,205,250,1) 100%); */

    background: rgb(255,177,23);
    background: linear-gradient(0deg, rgba(255,177,23,1) 0%, rgba(255,209,23,1) 100%);
    text-decoration: none;

    position: relative;

}

.top-bar>img{
    height: 60px;
}

.top-bar>p{
    display: inline-block;
    height: 60px;
    font-family: 'Nunito';
    margin: 0;
    padding: 0;
    vertical-align: top;
    line-height: 50px;
    white-space: nowrap;
    max-width: 80%;
    font-size: 2rem;

    color: #ffffff;
    text-shadow: 0 2px 4px #000;
    margin-left: 20px;
}

@media screen and (max-width: 600px) {
    .top-bar>p {
        font-size:6vmin;
    margin-left: 10px;
    }
}




.container{
    /* width: 90%; */
    max-width: 1000px;
    margin: auto;
    padding: 20px;

    box-shadow: 0 0 50px #ccc;

}

*{
    font-family: 'Nunito', sans-serif;
    font-display: optional;
}

h1{
    /* color: #61c1cf; */
    color: #088ec7;
    font-size: 1.7em;
}

h2{
    /* color:#ff8432; */
    color:#ffb117;
    font-size: 1.35em;
}

.images-div{
    display: flex;
    flex-flow: wrap;

}

.image-holder{
    width:180px;
    margin: 10px;
}


.image-holder p{
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-item{
    /* display: inline-block; */
    width: 100%;
    height:180px;

    box-shadow: 0 1px 5px #555;
    border-radius: 10px;
    overflow: hidden;

    transition: all 0.5s;
}

.image-item:hover{
    box-shadow: 0 1px 10px #333;
}

.image-item a{
    display: block;
    width: 100%;
    height: 100%;
}

.image-item img{
    display: block;
    max-width: 100%;
    max-height: 100%;

     width: 300px;
    /*height: 300px; */
}


@media screen and (max-width: 450px) {
    .image-holder{
        width:140px;
        margin: 10px;
    }

    
    .image-item{
        height:140px;
    }

    .images-div{
        justify-content: center;
    }
}


#modal-bg{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0, 0.4);
    top:0;
    left:0;
    visibility: visible;
    opacity: 1;
}

#modal-bg.close{
    visibility: hidden;
    opacity: 0;
}

#modal{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90vw;
    max-width: 1000px;
    height: 90vh;
    background: #ffffff;
    transition: all 0.5s;
    opacity: 1;

    display: flex;
}

#modal.close{
    opacity:0;
    top: -100%;
    bottom: unset;
}

.modal-img-holder{
    width: 80%;
    height: 100%;

    /* background: #5ff; */
    position: relative;
}


.modal-side-holder{
    background: #f8f8f8;
    width: 20%;
    display: flex;
    flex-flow: column;

    justify-content: center;
    align-items: center;
}


.modal-side-holder >a{
    display: block;
    position: relative;
    height: 100px;
    width: 120px;

    max-width: 100%;
    max-height: 100%;
    transition: all 0.5s;

    margin: 5px auto;

    cursor: pointer;
}

.modal-side-holder >a:hover{
    transform: scale(1.1);
}

.modal-side-holder >a>img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    max-width: 80%;
    max-height: 80%;
}

#modal-img{
    max-width: 90%;
    max-height: 90%;
    /* width: 2000px; */
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}


@media screen and (max-width: 800px) {
    
    #modal{
        flex-flow: wrap;
    }

    .modal-img-holder{
        width: 100%;
        height: 80%;
    }

    .modal-side-holder{
        width: 100%;
        height: 20%;
        
        flex-flow:row
    }
    .modal-side-holder>a{
        margin: auto 5px;
    }

}