* {
    margin: 0;
    font-family: "Itim", cursive;
}

.container {
    width: 100%;
    height: 100%;
    background: url(../assets/back.png);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-top: 100px;
}

.polaroid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 540px;
    height: 600px;
    cursor: pointer;
}

.polaroid:hover {
    filter: brightness(80%);
}

.polaroid p {
    word-wrap: normal;
    white-space: normal;
    text-align: center;
    width: 400px;
    margin-bottom: 60px;
}

/* .reveal{
    width: 200px;
    margin: 30px 0;
}
.private{
    filter: blur(20px);
} */

.item-1 {
    background: url(../assets/1.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-2 {
    background: url(../assets/2.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-3 {
    background: url(../assets/3.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-4 {
    background: url(../assets/4.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-5 {
    background: url(../assets/5.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-6 {
    background: url(../assets/6.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-7 {
    background: url(../assets/7.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-8 {
    background: url(../assets/8.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-9 {
    background: url(../assets/9.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-10 {
    background: url(../assets/10.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-11 {
    background: url(../assets/11.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-12 {
    background: url(../assets/12.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-13 {
    background: url(../assets/13.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-14 {
    background: url(../assets/14.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-15 {
    background: url(../assets/15.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-16 {
    background: url(../assets/16.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-IDFK {
    background: url(../assets/IDFK.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.item-17 {
    background: url(../assets/17.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    flex-direction: column;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;

    height: 100%;

    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* width: 540px;
    height: 600px; */
    width: 100%;
    height: 70%;
}
.caption{
    justify-content: center;
    color: white;
    font-size: 24px;
    width: 540px;
    height: 70px;
}

.close {
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal p {
    font-size: 18px;
    word-wrap: normal;
    white-space: normal;
    text-align: center;
    margin-bottom: 60px;
}

@media screen and (max-width: 650px) {

    * {
        color: white;
    }

    .modal{
        justify-content: flex-start;
        flex-direction: column;
    }
    .photos {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .polaroid {
        width: 390px;
        height: 600px;
        background-size: contain;
    }

    .caption{
        width: 200px;
    }

    .modal-center {
        transform: scale(70%);
    }

    #modal_image {
        transform: scale(70%);
    }

}