/* reset the CSS styles to ensure a clean slate for styling. */
*{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* 
.container{
    height: 100vh;
    width: 100%;
    background-color: skyblue;
} */
.inst-container{
    height: 50px;
    width: 100%;
    background-color: rgb(92, 171, 171);
    position: fixed;
    z-index: 10;
}   
/* .appratus-selector .menu {
    height: 500px;
    width: 280px;
    position: relative;
    top: 30px;
    left: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}
.appratus-selector .menu h5 {
    font-size: 26px;
    color: #1a5f7a;
    margin-bottom: 25px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
.appratus-selector .menu input[type="button"] {
    height: 45px;
    width: 250px;
    background: linear-gradient(to right, #2193b0, #3498db);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.appratus-selector .menu input[type="button"]:hover {
    background: linear-gradient(to right, #1c7aaf, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.appratus-selector .menu input[type="range"] {
    width: 250px;
    margin: 15px 0;
}

.appratus-selector .menu #confirm-button {
    height: 45px;
    width: 140px;
    background: linear-gradient(to right, #00b09b, #96c93d);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 15px 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.appratus-selector .menu #confirm-button:hover {
    background: linear-gradient(to right, #00986c, #7ab80e);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
} */

/* Stylish range slider
.appratus-selector .menu input[type="range"] {-webkit-appearance: none;
    width: 250px;
    height: 10px;
    background: linear-gradient(to right, #2193b0, #6dd5ed);
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.appratus-selector .menu input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border: 2px solid #2193b0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
} */

/* .appratus-selector .menu input[type="range"]::-webkit-slider-thumb:hover {
    background: #2193b0;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
} */
 .pharmacy_class{
    height: 130%;
    width: 100%;
    background-image: url(finalpharmacylab.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: -10%;
}

.sample{
    height: 80px;
    width: 80px;
    background-image: url(./images/petri-dish.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    position: absolute;
    z-index: 300;
}

#sample7Img{
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}
#sample6Img {
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}
#sample5Img {
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}
#sample4Img {
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}
#sample3Img {
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}
#sample2Img {
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}
#sample1Img {
    width: 49px;
    position: absolute;
    top: 29%;
    left: 20%;
    object-fit: contain;
}

#sample1 {
    bottom: 19.5%;
    left: 34%;
    z-index: 350;
}
#sample2 {
    bottom: 19.5%;
    left: 41%;
}
#sample3 {
    bottom: 19.5%;
    left: 48%;
}
#sample4 {
    bottom: 14.5%;
    left: 51%;
    z-index: 303; 
}
#sample5 {
    bottom: 14.5%;
    left: 44%;
    z-index: 302;
}
#sample6 {
    bottom: 14.5%;
    left: 37%;
    z-index: 301;
}
#sample7 {
    bottom: 14.5%;
    left: 30%;
    z-index: 301;
}

.navigation-buttons button{
    padding: 10px 15px;
    font-size: 15px;
    font-weight: bold;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 12px;
    cursor:pointer;
    transition: background-color 0.3s transform0.2s;
}
.navigation-buttons button:hover{
    background-color: #388E3C;
    transform: scale(1.05);
}
.language-select {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1000;
}
.language-select select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.language-select select:hover {
    border-color: #888;
}

.language-select select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Moving mortar to left side */
.mortal {
    background-image: url(mortal-removebg-preview.png);
    height: 95px;
    width: 140px;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    top: 70%;
    left: 57%;
}


.pestle {
    height: 100px;     /* Decreased from 40px to 30px */
    width: 120px;     /* Decreased from 200px to 150px */
    position: absolute;
    background-image: url(pestle.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1000;   
    top: 75%;
    left: 59%;
    transform: rotate(-12deg); /* Keeping high z-index to stay in front */
}

#solutionm1 {
    height: 0px;
    width: 46px;
    position: absolute;
    bottom: 3%;
    left: 29%;
    opacity: 0;
    z-index: 9;
}
#solutionm2 {
    height: 0px;
    width: 46px;
    position: absolute;
    bottom: 3%;
    left: 29%;
    opacity: 0;
    z-index: 9;
}
#solutionm3 {
    height: 0px;
    width: 46px;
    position: absolute;
    bottom: 3%;
    left: 29%;
    opacity: 0;
    z-index: 9;
}
#solutionm4 {
    height: 0px;
    width: 46px;
    position: absolute;
    bottom: 3%;
    left: 29%;
    opacity: 0;
    z-index: 9;
}

.solutionpink {
    height: 175px;
    width: 6px;
    position: absolute;
    top: 58%;
    left: 13.55%;
    opacity: 0;
    z-index: 9;
}

.solutionyellowb5{
    height: 175px;
    width: 6px;
    position: absolute;
    top: 58%;
    left: 25%;
    opacity: 0;
    z-index: 9;
}

#solutionyellow {
    height: 220px;
    width: 6px;
    position: absolute;
    top: 48%;
    left: 27.5%;
    opacity: 0;
    z-index: 1;
}

.solutionyellowb2 {
    height: 220px;
    width: 6px;
    position: absolute;
    top: 48%;
    left: 20%;
    opacity: 0;
    z-index: 1;
}

#drop-sol-1{
    height: 0px;
    width: 6px;
    position: absolute;
    top: 36%;
    left: 84%;
    opacity: 0;
}
#drop-sol-2{
    height: 0px;
    width: 6px;
    position: absolute;
    top: 36%;
    left: 84%;
    opacity: 0;
}
#drop-sol-3{
    height: 0px;
    width: 6px;
    position: absolute;
    top: 36%;
    left: 84%;
    opacity: 0;
}
#drop-sol-4{
    height: 0px;
    width: 6px;
    position: absolute;
    top: 36%;
    left: 84%;
    opacity: 0;
}

.water{
    height: 95px;
    width: 86px;
    position: absolute;
    bottom: 2%;
    left: 10%;
    opacity: .4;
    border-top-left-radius: 300px 0px;
    border-top-right-radius: 300px 0px;
    border-bottom-left-radius: 100px 80px;
    border-bottom-right-radius: 100px 80px;
}

.beaker_solution{
    height: 30px;
    width: 86px;
    position: absolute;
    bottom: 2%;
    left: 10%;
    opacity: .4;
    border-top-left-radius: 300px 0px;
    border-top-right-radius: 300px 0px;
    border-bottom-left-radius: 100px 80px;
    border-bottom-right-radius: 100px 80px;
}
#beaker2Img{
    opacity: 0;
    height: 0px;
}
#beaker3Img{
    opacity: 0;
    height: 0px;
}
#beaker4Img{
    opacity: 0;
    height: 0px;
}
#beaker5Img{
    opacity: 0;
    height: 0px;
}

.waterfall{
    height: 180px;
    width: 6px;
    position: absolute;
    bottom: 27%;
    left: 61%;
    opacity: 0;
    border-top-left-radius: 300px 0px;
    border-top-right-radius: 300px 0px;
    border-bottom-left-radius: 100px 80px;
    border-bottom-right-radius: 100px 80px;
    z-index: 5;
}

.measuring-cylinder {
    height: 220px;
    width: 110px;
    position: absolute;
    background-image: url(./images/solution/measuring\ cylinder.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor:pointer;
}
#measuringCylinder1 {
    bottom: 20%;
    left: 80%;
    z-index: 10;
}

#measuringCylinder2 {
    bottom: 18%;
    left: 100%;
}

#measuringCylinder3 {
    bottom: 18%;
    left: 100%;
}

#measuringCylinder4 {
    bottom: 18%;
    left: 100%
}

.beaker{
    height: 120px;
    width: 120px;
    background-image: url(beaker.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    cursor: pointer;
}
#beaker1{
    bottom: 20%;
    left: 70%;
    z-index: 1111;
}
#beaker2{
    bottom: 22%;
    left: 15%;
    z-index: 0;
}
#beaker3{
    bottom: 17%;
    left: 10%;
}
#beaker4{
    bottom: 22%;
    left: 23%;
}
#beaker5{
    bottom: 17%;
    left: 20%;
}