body {
    background-color: #d6d6d6;
}

.popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.popup.open {
    display: block;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.popup-overlay.open {
    display: block;
}

.close-btn {
    background: #ff5c5c;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    float: right;
}

.eventdone {
    margin: 30px;
}

.upcomingevent {
    margin: 30px;
    background-color: antiquewhite;
    border-radius: 12px;
    padding: 30px;
}

.eventcontent h6,
h3,
h5 {
    text-align: center;
}

.contentimg {
    text-align: center;
}

.contentimg img {
    height: 70px;
    border-radius: 12px;
}

/* download button */
.download-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: brown;
    border: none;
    border-radius: 15px;

    margin-top: 20px;
    align-items: center;
}

.download-button:hover {
    background-color: #b73737;
}

.download-button:active {
    background-color: #b73737;
    transform: translateY(4px);
}

/* download button end */

/* Basic styles for the modal */
/* .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
} */

.open-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 20px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: brown;
    border: none;
    border-radius: 15px;
    text-align: center;
    justify-content: space-around;
}

.open-button:hover {
    background-color: brown
}

.open-button:active {
    background-color: brown;

    transform: translateY(4px);
}

/* Add spacing between form fields */
.modal-content form input[type="text"],
.modal-content form input[type="tel"],
.modal-content form input[type="email"],
.modal-content form input[type="file"],
.modal-content form input[type="submit"] {
    display: block;
    width: calc(100% - 22px);
    margin-bottom: 15px;
    padding: 10px;
}

.eventdone {
    align-items: center;
}

@media screen and (max-width:768px) {

    .eventcontent h3 {
        font-weight: 600;
    }

    .eventcontent h5 {
        font-size: 16px;
    }

    .eventcontent h6 {
        font-size: 12px;
    }

    .contentimg img {
        padding: 10px;
    }

    .popup {
        width: 80%;
    }
}