.board-modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.board-modal-container {
    position: relative;
    left: 50%;
    top: 50%;
    width: 800px;
    height: 700px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 2px 3px 5px rgba(128, 128, 128, 0.326);
    transform: translate(-50%, -50%);
}

.board-modal-side-bar {
    width: 18px;
    background-color: var(--foam-latte);
    height: inherit;
    position: absolute;
}

.board-modal-background img {
    pointer-events: none;
}

.board-modal-background img:first-child {
    width: 33%;
    position: absolute;
    top: -10%;
    left: -3%;
    opacity: 5%;
}

.board-modal-background img:last-child {
    width: 55%;
    position: absolute;
    bottom: -20%;
    right: -15%;
    opacity: 5%;
}

.board-modal-content {
    text-align: center;
    margin: 40px;
}

h1.board-modal-title {
    color: var(--deep-latte);
    line-height: 1.4;
    font-size: 24px;
}

h4.board-modal-display-date {
    color: var(--silver);
}

.board-modal-content hr {
    border: none;
    background-color: var(--whitey-gray);
    height: 1px;
}

.board-modal-body {
    margin: 30px auto;
    max-height: 450px;
    overflow-y: auto;
}

.modal-jubilee-logo {
    width: 12%;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.board-modal-close {
    color: var(--black);
    float: right;
    margin: 15px;
    font-size: 25px;
}
.board-modal-close:hover,
.board-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.board-modal-image {
    width: 100%;
    height: auto;
    margin-top: 10px;
    cursor: pointer;
}

/* Mobile responsive */

@media(max-width:768px) {
    
    .board-modal-container {
        width: 100%;
        height: 550px;
    }
    
    .board-modal-body {
        margin-top: 10px;
        max-height: 300px;
    }
    
    h1.board-modal-title {
        line-height: 1.3;
        font-size: 24px;
    }
    
    h4.board-modal-display-date {
        font-size: 16px;
    }

    .board-modal-image img {
        width: 100%;
        height: auto;
        margin-top: 10px;
    }
}

