/*
 * main.css
 * Copyright; 2024 Easyworks Pte. Ltd. Ver 0.2
*/

section h2
{
    text-decoration: underline;
}

figure
{
    display: inline-block;
    text-align: center;
}

    figure img
    {
        border: double;
        border-color: gray;
        height: 180px;
    }

figcaption
{
    font-style: italic;
    color: darkslategray;
}

footer
{
    border-top: groove;
    font-style: italic;
    font-size: .9em;
    text-align: center;
    padding: 15px;
}

/* Class selector for styling the popup images */
.img-popup
{
    z-index: 1; /* Make it appear on top */
    height: 450px;
    left: 20%;
    top: 30%;
    padding: 5px;
    background: #e1e1e1;
    box-shadow: 0 0 15px #a9a9a9;
    position: fixed;
}
    .img-popup img
    {
        height: 100%;
    }

/*-- created for scrool up button, includes css and js */
#myBtn {
        display: none; /* Hidden by default */
        position: fixed; /* Fixed/sticky position */
        bottom: 20px; /* Place the button at the bottom of the page */
        right: 30px; /* Place the button 30px from the right */
        z-index: 99; /* Make sure it does not overlap */
        border: none; /* Remove borders */
        outline: none; /* Remove outline */
        background-color: blue; /* Set a background color */
        color: white; /* Text color */
        cursor: pointer; /* Add a mouse pointer on hover */
        padding: 15px; /* Some padding */
        border-radius: 10px; /* Rounded corners */
        font-size: 18px; /* Increase font size */
}
      
#myBtn:hover {
        background-color: #555; /* Add a dark-grey background on hover */
}
      