

/* High Contrast Mode */
.high-contrast {
    background-color: #000;
    color: #fff;
}

/* Light Background */
.light-bg {
    background-color: #ffffff;
    color: #333;
}

/* Grayscale Mode */
.grayscale {
    filter: grayscale(100%);
}

/* Negative Contrast Mode */
.negative-contrast {
    filter: invert(1) hue-rotate(180deg);
}

/* Readable Font */
.readable-font {
    font-family: 'Verdana', sans-serif;
    line-height: 1.6;
}

/* Underlined Links */
a {
    text-decoration: none;
    color: #1a73e8;
}

a.underline {
    text-decoration: underline;
}

/* Buttons */
.button-container {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn {
    padding: 5px 2px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: #e0e0e0;
    text-align: center;
}

.btn:hover {
    background-color: red;
}

/* Image link styling */
#openModalLink {
    position: fixed;
    /* right: 20px; */
    right: -10px;
    bottom: 500px;
    cursor: pointer;
    display: inline-block;
    /* transition: right 1s ease-in-out; Increased transition duration */
    z-index: 3; /* Set the image to be above the modal */
    
    
}

#openModalLink img {
    width: 60px;
    height: 60px;
    border-radius:100%;
    transition: transform 0.1s ease;
}

#openModalLink img:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2; /* Overlay appears below the image */
}

.modal {
    position: fixed;
    top: 55%;
    right: -320; /* Initially positioned outside the screen (off-screen on the right) */
    transform: translateY(-50%); /* Center vertically */
    background-color: grey;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 200px;
    z-index: 1; /* Set modal below the image */
    transition: right 1s ease-in-out; /* Increased transition duration */
}

/* Close button (letter X) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 90px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.close-btn:hover {
    color: #f44336;
}

/* Show modal and image animation */
.modal.show {
    right: 0; /* Slide the modal and image into view from the right */
    transition: right 1s ease-in-out;
}
#openModalLink.show{
    right: 200px;
    transition: right 1s ease-in-out;
}
