

a{
    text-decoration: none;
    color: black;
}

b{
    display: contents;
}

.app{
    display: flex;
    height: 100%;
}

.main-panel{
    width: 100%;
}

.topicContent{
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contentWrapper {
    height: 60%;
    margin: 50px 100px;
    font-size: 20px;
}


.topics-display{
    width: 80%;
    height: 75%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.topics-display img{
    background: white;
    margin: 20px auto;
    height: 80%;
    border: 2px solid black;
    border-radius: 12px;
    padding: 10px;
}

.theory-window {
    background: white;
    padding: 20px;
    padding-top: 0;
    border: 2px solid black;
    border-radius: 12px;
    max-height: 85%;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

.theory-window table {
    margin: 0 auto;
    border-collapse: collapse;
}
  
.theory-window table th,.theory-window table td {
    border: 1px solid black;
    padding: 8px;
}

.topics-display button {
    width: 100px;
}

#pdfContent {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;
}

#exit-pdf{
    position: relative;
    top: 15px;
    left: 15px;
    width: 20px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

#exit-pdf:hover, #exit-sim:hover {
    filter: invert(1);
    border: 2px solid white;
}

.viewPdf{
    position: absolute;
    bottom: 15px;
    font-size: 14px;
    padding: 8px 15px;
    background: #00988e;
    color: white;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    margin-left: inherit;
}

.viewSimulation{
    position: absolute;
    bottom: 15px;
    font-size: 14px;
    padding: 8px 15px;
    background: #00988e;
    color: white;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    left: 130px;
    margin-left: auto;
}

#pdf-viewer {
    width: 60%;
    height: 90%;
    display: flex;
    margin: 0px auto;
    border: 1px solid #ccc;
    overflow-y:auto;
    flex-direction: column;
}
  
#pdf-viewer canvas {
    display: block;
    border: 1px solid black;
}

#simulation-frame{
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;       
}

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

.actionContainer{
    width: 100%;
    display: flex;
    flex-direction: row;
    position: absolute;
    margin-left: 20px;
    bottom: 15px;
}

#exit-sim {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 20px;
    background: white;
    padding: 8px;
    border-radius: 50%;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}