body {
    background-color: mediumpurple;
    background-image: url(../images/cc024354.jpg);
    font-family: courier;
    font-weight: 600;
}

p {
    background-color: lavender;
    margin: 20px 50px;
    padding: 20px;
    border-radius: 5px;
}

.sidenav a {
    background-color: #1a1c5e;
    padding: 10px;
    position: fixed;
    right: 4px;
    bottom: 4px;
    color: white;
    text-decoration: none;
    z-index: 2;
    font-size: larger;
}

.main-heading {
    color: #2051e6;
    text-align: center;
    margin: 20px 0;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
   align-items: center;
  justify-content: center;
}

.gallery-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 5px ;
    border-radius: 5px;
}

.gallery-image:hover {
    transform: scale(1.1);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    position: relative;
    max-width:80%;
    max-height: 80%;
    border-radius: 5px;
    overflow: hidden;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.show {
    display: flex;
    opacity: 1;
}

.close {
    position: absolute;
    top: 10px;
    right: 40px;
    color: #fff;
    font-size: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close:hover {
    transform: rotate(180deg);
}

.message {
    position: absolute;
    bottom: 10px;
    text-align: center;
    background-color: lavender;
    margin: 20px;
    padding: 10px;
    border-radius: 5px;
}

