body {
    margin: 0;
}

canvas {
    width: 100%;
    height: 100%;
}

#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d0ced0;
    z-index: 1000;
    flex-direction: column;
}

#loading img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

#loadingText {
    margin-top: 20px;
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: #000000;
}

#content {
    display: none;
}

#animationToggle,
#modelToggle,
#infoToggle {
    position: absolute;
    height: 40px;
    width: 40px;
    padding: 0;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

#animationToggle {
    background-color: rgb(177, 60, 62);
    color: white;
    border: none;
    top: 13px;
    left: 20px;
    font-size: 21px;
}

#animationToggle.paused {
    background-color: white;
    color: black;
    border: solid 0px;
}

#modelToggle {
    background-color: rgb(177, 60, 62);
    color: white;
    border: none;
    top: 13px;
    left: 68px;
}

#modelToggle.model2 {
    background-color: white;
    color: black;
    border: none;
}

#infoToggle {
    background-color: white;
    color: rgb(0, 0, 0);
    border: solid;
    border-width: 0px;
    top: 109px;
    left: 20px;
    font-size: 22px;
}

#infoToggle.active {
    background-color: rgb(177, 60, 62);
    color: white;
    border: solid 0px white;
}

#restartView {
    position: absolute;
    top: 61px;
    left: 20px;
    height: 40px;
    width: 40px;
    padding: 0;
    border-radius: 8px;
    font-size: 22px;
    border-width: 0px;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    background-color: white;
    color: black;
}
#restartView:active,
#restartView:focus {
    background-color: rgb(177, 60, 62);
    color: white;
}

#infoPanel {
    position: absolute;
    width: 50%;
    max-width: 800px;
    max-height: 70%;
    background-color: rgba(255, 255, 255, 0.6);
    color: black;
    padding: 20px;
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: justify;
    display: none;
    z-index: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    overflow: auto;
}

#infoPanel strong {
    display: block;
    text-align: center;
}

#logo {
    position: absolute;
    bottom: 15px;
    left: 20px;
    opacity: 0.9;
    width: 20%;
    max-width: 220px;
    min-width: 150px;
    z-index: 1;
}
