

/* 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:right;
}

.btn {
    padding: 5px 2px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 2px;
    background-color: rgba(157, 236, 161, 0.2);
    color: #000;
    text-align: left;
    gap: 8px;
}

.btn:hover {
    background-color: rgba(255, 0, 0, 0.5);
}

/* Image link styling */
#openModalLink {
    position: fixed;
    /* right: 20px; */
    right: -0px;
    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: 100%;
    height: 100%;
    background-color: green;
    border-radius: 80%;
    transition: transform 0.1s ease;
}

#openModalLink img:hover {
    transform: scale(1.1);
    transform:translate(0, -1px);
    box-shadow: 5px 5px 45px 5px rgba(237, 5, 5, 0.886);

}

/* 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: 51%;
    right: -320; /* Initially positioned outside the screen (off-screen on the right) */
    transform: translateY(-50%); /* Center vertically */
    background-color: rgba(157, 236, 161, 0.5);
    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-btncard {
    position: absolute;
    top: 1px;
    right: 90px;
    background: transparent;
    border-radius: 25%;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.close-btncard:hover {
    background-color: red;
    color: #fff;
}

/* 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;
}

.button-container i{
    color: #000;
    flex-shrink: 0; /* Prevent icon from resizing */
}
