*{
    margin: 0;
    padding: 0;
}

#body1{
    height: 100vh;
    width: 100vw;
    background: fixed url(../images/bg-with-black-board-09-09-09-09.jpg) no-repeat center;
    background-size: cover;
    overflow: hidden;
    /* background-image: url(../images/bg-01.jpg);
    background-repeat: no-repeat;
    background-position: center; */
}

/* Welcome Overlay Styles */
        #welcome-overlay {
            position: fixed;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            transition: opacity 0.5s ease;
        }

        .welcome-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            max-width: 600px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .welcome-content h1 {
            color: #2c3e50;
            margin-bottom: 20px;
            font-size: 24px;
        }

        .welcome-content p {
            color: #555;
            margin-bottom: 25px;
            line-height: 1.6;
            font-size: 16px;
        }

        .start-btn {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 18px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .start-btn:hover {
            background-color: #45a049;
        }
        .hidden {
            opacity: 0;
            pointer-events: none;
        }

/* button css */
.btn{
    margin: 5px;
    bottom: 0%;
    right: 0%;
    height: 50px;
    width: 100px;
}
.next{
    position: absolute;
    bottom: 0%;
    right: 0%;
}
.step-btn{
    position: absolute;
    bottom: 0%;
    left: 0%;
}
#instruction-panel{
    height: 70px;
    width: 100%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    box-shadow: 0 4px 10px rgba(49, 49, 49, 0.2);
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    color: #fff;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid #1c6ea4;
    animation: pulse 1.5s;
}

#instruction-panel:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

#instruction {
    position: relative;
    padding: 12px 20px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.15);
    max-width: 80%;
    margin: 0 auto;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeIn 0.5s ease-in-out;
    border-left: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    #instruction-panel {
        height: auto;
        min-height: 70px;
        padding: 10px;
    }

    #instruction {
        padding: 10px 15px;
        max-width: 95%;
        font-size: 14px;
    }

    #instruction:before {
        display: block;
        margin-bottom: 5px;
    }
}

#instruction:before {
    content: "Instructions:";
    font-weight: bold;
    display: inline-block;
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.9);
}

#instruction:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 4px 20px rgba(52, 152, 219, 0.6); }
    100% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
}

#microscope{
    background: url(../images/microscope.png) no-repeat;
    background-size: contain;
    width: 55%;
    height: 55%;
   /* height: 100%; */
    position: absolute;
    bottom: 1%;
    left: 23%;
}
#eyepiece{
    background: url(../images/eyepiece-06.png) no-repeat;
    background-size: contain;
   height: 10%;
   width: 11%;
    position: absolute;
  bottom:5%;
    left:10%;
}
#stageometer-scale{
    background: url(../images/stageometer-scale.png) no-repeat;
    background-size: contain;
   height: 10%;
   width: 10%;
    position: absolute;
  bottom:2.5%;
    right:20%;
}

#drop{
    background: url(../images/drop.png) no-repeat;
    background-size: contain;
   height: 2%;
   width: 2%;
    position: absolute;
  bottom:20%;
    left:46%;
     display: none;
}

#drop2{
    background: url(../images/drop2-06.png) no-repeat;
    background-size: contain;
    height: 2.2%;
    width: 2.2%;
    position: absolute;
    bottom:7%;
    left:45.8%;
    display: none;
}

#glass{
    background: url(../images/Glass-.png) no-repeat;
    background-size: contain;
    height: 10%;
    width: 10%;
    position: absolute;
    bottom:2.5%;
    left:45%;
}
#glass2{
    background: url(../images/glass2-06.png) no-repeat;
    background-size: contain;
   height: 10%;
   width: 10%;
    position: absolute;
  bottom:2.56%;
    left:45%;
    display: none;
    z-index: 2;
}

#single-piece{
    background: url(../images/single-ep-06.png) no-repeat;
    background-size: contain;
    height: 5%;
    width: 5%;
    position: absolute;
    bottom:7%;
    left:15%;
}


#beaker{
    background: url(../images/beaker-01.png) no-repeat;
    background-size: contain;
   height: 17%;
   width: 10%;
    position: absolute;
  bottom:5%;
   right: 35%;
   opacity: 0.7;
}

#pucki{
    background: url(../images/pucki.png) no-repeat;
    background-size: contain;
   height: 5%;
   width: 10%;
    position: absolute;
  bottom:5%;
   right: 10%;
}

/* Next page */

#ched{
    background: url(../images/ched-02.png) no-repeat center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 1;
}
#stageometer{
    background: url(../images/stageometer-0272pi-08.jpg) no-repeat center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
}
#sample-glass{
    background: url(../images/sample-glass-08.jpg) no-repeat center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: absolute;
}
