body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

p {
    font-weight: 500px;
    font-size: 2rem;
    line-height: 0.4in;
    font-family: sans-serif;
    color: #303030;
    opacity: 0.9;
}

#main {
    background-color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 10px 50px;
}

#main h1 {
    font-family: sans-serif;
    font-size: 40px;
    color: #1b1b1b;
}

#main button {
    padding: 10px 20px;
    display: flex;
    font-size: 32px;
    background-color: rgb(32, 155, 87);
    border-radius: 5px;
    border: none;
    color: white;
}

#aside {
    background-color: mediumslateblue;
}

#process {
    margin: 2px;
    font-size: 18px;
    letter-spacing: 3px;
}


/*simulator code */

#meta {
    display: none;
}

#process,
.processstepAndShowbtn {
    margin: 2px;
    font-size: 18px;
    letter-spacing: 3px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: #132743;
    color: white;
    font-weight: 700;
    padding: 0px 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.processstepAndShowbtn{
    color: white;
    display: grid;
    grid-template-columns: 6fr 1fr;
}
.processstepAndShowbtn button{
    font-size: 16px;
    background-color: rgb(32,155,87);
    border-radius: 5 px;
    border: none;
    color: white;
    box-shadow: 0px 2px 10px black;
    margin: 4px 0px;
}

#next,
#repeatAgain {
    background-color: white;
   
    font-weight: 600;
    color: rgb(32, 155, 87);
    height: 43px;
    margin: 5px;
    border: none;
    border-radius: 2px;
    box-shadow: 1px 1px 5px black;
    font-size: 18px;
}

.flex {
    display: flex;
}

.simulator {
    display: none;
}

#simulator_body {
    display: flex;
}

#appratus_area {
    display: grid;
}

#experimentname {
    padding: 0 10px;
    font-weight: 400;
}

nav button,
#add_appratus button {
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 20px;
    border: none;
    font-weight: 700;
    font-family: sans-serif;
}

#process span {
    color: #ffc93c;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: sans-serif;
}

span {
    font-size: large;
    font-weight: 600px;
}

button {
    border: none;
    outline: none;
}

#add_appratus {
    font-size: 16px;
    background-color: rgb(32, 155, 87);
    border-radius: 5px;
    border: none;
    color: white;
    box-shadow: 0px 2px 10px black;
}

#simulator_nav {
    display: flex;
    background-color: #3282b8;
    color: #fff;
    letter-spacing: 2px;
}

.p-mega-menu-container {
    /* Used to position the mega menu */
    position: relative;
    display: flex;
    margin: 0 auto;
    align-items: center;
}

.p-mega-menu-content {
    /* Border */
    border: 1px solid rgba(0, 0, 0, 0.3);
    margin-top: -1px;
    padding: 20px;
    /* Hidden by default */
    display: none;
    /* Absolute position */
    right: 0px;
    position: absolute;
    top: 100%;
    /* Take full width */
    width: auto;
    height: auto;
    /* Displayed on top of other elements */
    background: #1e56a0;
    border-radius: 20px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, .5);
    z-index: 9999;
}

#conical_flask_png {
    /* display: none; */
    position: absolute;
    bottom: 15px;
    width: 400px;
    background-size: cover;
}

#next_menu:hover .p-mega-menu-content {
    display: block;
}

#appratus_list label {
    font-size: 20px;
    font-weight: 800;
    color: #f6f6f6;
}

#appratus_list {
    display: grid;
    grid-gap: 50px;
}

#appratus_area {
    grid-gap: 10px;
}

#animate_div {
    position: relative;
    height: 100vh;
    background-color: #d6e4f0;
}

#pre_test {
    display: none;
}

#objects img {
    position: absolute;
    display: none;
}

#table {
    position: absolute;
    bottom: 0px;
    left: 10px;
    width: 90%;
    height: 100px;
    color: black;
}

#conical_flask_svg {
    display: none;
}

#ethyleacitate {
    bottom: 20px;
}

#reagentbottle {
    left: 50%;
    bottom: 12px;
    display: none;
}

#burette {
    width: 227px;
    bottom: 14.5%;
}

#hcl_bottle {
    display: none;
    bottom: 25px;
}

aside {
    background-color: rgba(202, 140, 48, 0.8);
}

#naoh {
    width: 250px;
    left: 50%;
    bottom: 100px !important;
}

#animation_burette {
    width: 225px;
    bottom: 14.5% !important;
}

.hcl_bottle_animation {
    left: 20%;
    fill: #1e56a0;
    animation: hclanimate 4s;
}

.reagentbottle_animation {
    background: url(../images/objects/reagentbottlefill/image_part_010.png);
    animation: 4s reagentfill forwards;
}

#peppet {
    left: 10%;
    bottom: 35%;
}

.animatepeppet {
    animation: peppet_animate 4s;
}

@keyframes peppet_animate {
    0% {
        bottom: 0%;
        background: url(../images/objects/peppet/image_part_001.png);
    }
    10% {
        bottom: 10%;
        background: url(../images/objects/peppet/image_part_002.png);
    }
    20% {
        bottom: 20%;
        background: url(../images/objects/peppet/image_part_003.png);
    }
    30% {
        bottom: 35%;
        background: url(../images/objects/peppet/image_part_004.png);
    }
    40% {
        left: 50%;
        background: url(../images/objects/peppet/image_part_005.png);
    }
    50% {
        left: 50%;
        background: url(../images/objects/peppet/image_part_006.png);
    }
    60% {
        left: 50%;
        background: url(../images/objects/peppet/image_part_007.png);
    }
    70% {
        left: 50%;
        background: url(../images/objects/peppet/image_part_008.png);
    }
    80% {
        left: 50%;
        background: url(../images/objects/peppet/image_part_009.png);
    }
    90% {
        left: 50%;
        background: url(../images/objects/peppet/image_part_010.png);
    }
}

.dropnaoh {
    animation: drop 4s;
}

@keyframes drop {
    0% {
        bottom: 0%;
        background: url(../images/objects/peppet/image_part_001.png);
    }
    10% {
        bottom: 10%;
        left: 40%;
        background: url(../images/objects/peppet/image_part_002.png);
    }
    20% {
        bottom: 30%;
        left: 30%;
        background: url(../images/objects/peppet/image_part_003.png);
    }
    30% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_004.png);
    }
    40% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_005.png);
    }
    50% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_006.png);
    }
    60% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_007.png);
    }
    70% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_008.png);
    }
    80% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_009.png);
    }
    90% {
        left: -2.0%;
        bottom: 45%;
        background: url(../images/objects/peppet/image_part_010.png);
    }
}

.animation_burette {
    width: 200px;
    animation: changecolor 6s forwards;
    background: url(../images/objects/burette/image_part_017.png);
}

@keyframes changecolor {
    0% {
        background: url(../images/objects/burette/image_part_001.png);
    }
    10% {
        background: url(../images/objects/burette/image_part_002.png);
    }
    20% {
        background: url(../images/objects/burette/image_part_003.png);
    }
    25% {
        background: url(../images/objects/burette/image_part_004.png);
    }
    30% {
        background: url(../images/objects/burette/image_part_005.png);
    }
    35% {
        background: url(../images/objects/burette/image_part_006.png);
    }
    40% {
        background: url(../images/objects/burette/image_part_007.png);
    }
    45% {
        background: url(../images/objects/burette/image_part_008.png);
    }
    50% {
        background: url(../images/objects/burette/image_part_010.png);
    }
    55% {
        background: url(../images/objects/burette/image_part_011.png);
    }
    60% {
        background: url(../images/objects/burette/image_part_012.png);
    }
    65% {
        background: url(../images/objects/burette/image_part_013.png);
    }
    75% {
        background: url(../images/objects/burette/image_part_013.png);
    }
    85% {
        background: url(../images/objects/burette/image_part_014.png);
    }
    90% {
        background: url(../images/objects/burette/image_part_015.png);
    }
    95% {
        background: url(../images/objects/burette/image_part_016.png);
    }
    100% {
        background: url(../images/objects/burette/image_part_017.png);
    }
}

@keyframes reagentfill {
    0% {
        background: url(../images/objects/reagentbottlefill/image_part_001.png);
    }
    10% {
        background: url(../images/objects/reagentbottlefill/image_part_002.png);
    }
    20% {
        background: url(../images/objects/reagentbottlefill/image_part_003.png);
    }
    30% {
        background: url(../images/objects/reagentbottlefill/image_part_004.png);
    }
    40% {
        background: url(../images/objects/reagentbottlefill/image_part_005.png);
    }
    50% {
        background: url(../images/objects/reagentbottlefill/image_part_006.png);
    }
    60% {
        background: url(../images/objects/reagentbottlefill/image_part_007.png);
    }
    70% {
        background: url(../images/objects/reagentbottlefill/image_part_008.png);
    }
    80% {
        background: url(../images/objects/reagentbottlefill/image_part_009.png);
    }
    90% {
        background: url(../images/objects/reagentbottlefill/image_part_010.png);
    }
}

.stlr {
    left: 30%;
    animation: stlr 2s;
}

@keyframes stlr {
    0% {
        left: 30%;
    }
    30% {
        left: 40%;
    }
    60% {
        left: 30%;
    }
    90% {
        left: 40%;
    }
    100% {
        left: 30%;
    }
}

@keyframes fillbottle {
    0% {
        y: 117;
    }
    100% {
        /* to fill liquid more decrease value of y */
        y: 20;
    }
}

@keyframes hclanimate {
    0% {
        transform: rotate(60deg);
        bottom: 50%;
        left: 40%;
        background: url(../images/objects/hcl/image_part_001.png);
    }
    10% {
        transform: rotate(60deg);
        bottom: 50%;
        left: 40%;
        background: url(../images/objects/hcl/image_part_002.png);
    }
    20% {
        transform: rotate(60deg);
        bottom: 50%;
        left: 40%;
        background: url(../images/objects/hcl/image_part_003.png);
    }
    40% {
        bottom: 50%;
        left: 40%;
        transform: rotate(60deg);
        background: url(../images/objects/hcl/image_part_005.png);
    }
    50% {
        bottom: 50%;
        left: 40%;
        transform: rotate(70deg);
        background: url(../images/objects/hcl/image_part_006.png);
    }
    60% {
        bottom: 50%;
        left: 40%;
        transform: rotate(80deg);
        background: url(../images/objects/hcl/image_part_007.png);
    }
    70% {
        transform: rotate(90deg);
        background: url(../images/objects/hcl/image_part_008.png);
    }
    80% {
        bottom: 50%;
        left: 40%;
        transform: rotate(20deg);
        background: url(../images/objects/hcl/image_part_009.png);
    }
    90% {
        bottom: 50%;
        left: 40%;
        transform: rotate(20deg);
        background: url(../images/objects/hcl/image_part_010.png);
    }
}

.ethyleacitate_bottle_animation {
    left: 20%;
    animation: ethyleacitate 4s;
}

@keyframes ethyleacitate {
    0% {
        background: url(../images/objects/ethyleacitate/image_part_001.png);
    }
    10% {
        background: url(../images/objects/ethyleacitate/image_part_002.png);
    }
    20% {
        background: url(../images/objects/ethyleacitate/image_part_003.png);
    }
    35% {
        bottom: 50%;
        left: 35%;
        transform: rotate(60deg);
        background: url(../images/objects/ethyleacitate/image_part_005.png);
    }
    50% {
        bottom: 50%;
        left: 35%;
        transform: rotate(70deg);
        background: url(../images/objects/ethyleacitate/image_part_006.png);
    }
    60% {
        bottom: 50%;
        left: 35%;
        transform: rotate(80deg);
        background: url(../images/objects/ethyleacitate/image_part_007.png);
    }
    70% {
        transform: rotate(90deg);
        background: url(../images/objects/ethyleacitate/image_part_008.png);
    }
    80% {
        bottom: 50%;
        left: 35%;
        transform: rotate(20deg);
        background: url(../images/objects/ethyleacitate/image_part_009.png);
    }
    90% {
        bottom: 50%;
        left: 35%;
        transform: rotate(20deg);
        background: url(../images/objects/ethyleacitate/image_part_010.png);
    }
}

.conical_flask_animate {
    width: 100%;
    bottom: 50%;
    position: relative;
    animation: conicalflaskanimate 4s forwards;
}

@keyframes conicalflaskanimate {
    0% {
        background: url(../images/objects/conical_flask/image_part_001.png);
    }
    10% {
        background: url(../images/objects/conical_flask);
    }
    20% {
        background: url(../images/objects/conical_flask/image_part_003.png);
    }
    35% {
        background: url(../images/objects/conical_flask/image_part_004.png);
    }
    50% {
        background: url(../images/objects/conical_flask/image_part_005.png);
    }
    90% {
        background: url(../images/objects/conical_flask/image_part_006.png);
    }
}

.reagent_animate {
    animation: reagentanimate 4s;
}

@keyframes reagentanimate {
    from {
        bottom: 20%;
        transform: rotate(-2.00deg);
    }
    to {
        bottom: 60%;
        transform: rotate(-90deg);
        left: 40%;
    }
}

table,
th,
td {
    border: 1px solid black;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    text-align: left;
    padding: 3px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

#graph_div {
    display: none;
}

#appratus_area>img:hover {
    transform: scale(1.3);
    border-radius: 10px;
}

button:active {
    border: none !important;
}

.alert-div {
    position: absolute;
    z-index: 999;
    height: 220px;
    width: 300px;
    text-align: center;
    background-color: #08854bfd;
    box-shadow: 0px 2px 15px black;
    border-radius: 10px;
    top: 10px;
    display: none;
    justify-content: center;
    left: 30%;
}

.alert-div button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40%;
    margin-top: 20px;
    font-size: 32px;
    background-color: rgb(32, 155, 87);
    border-radius: 5px;
    border: none;
    color: white;
}

.alert-div input {
    height: 25%;
    border: none;
    border-radius: 10px;
    margin-top: 30px;
    font-size: 22px;
    outline: none;
    padding: 0px 10px;
}

#t {
    display: none;
}

table:hover #t {
    display: block;
}

#experiment_table_hover {
    position: absolute;
    z-index: 999;
    height: auto;
    width: 300px;
    text-align: center;
    background-color: #5ccae6fd;
    box-shadow: 0px 2px 15px black;
    border-radius: 10px;
    top: 10px;
    justify-content: center;
    left: 30%;
    display: none;
}

#displaySteps {
    position: absolute;
    z-index: 999;
    height: auto;
    width: 800px;
    text-align: center;
    background-color: #08854bfd;
    box-shadow: 0px 2px 15px black;
    border-radius: 10px;
    top: 10px;
    justify-content: center;
    display: none;
    left: 10%;
    color: white;
    grid-gap: 10px;
}

#displaySteps p {
    color: white;
    font-size: 18px;
    margin: 0px;
}
