@font-face {
    font-family: 'open-sans';
    src: url("./OpenSansVariableFont.ttf") format('truetype');
}

* {
    box-sizing: border-box;
  }

body,
html {
    margin: 0;
    padding: 0;
}


.titleHeader{
    font-size:1.6rem;
    font-family:  'open-sans', Arial, Helvetica, sans-serif;
    font-weight:500;
    display: inline-block;
    padding: 0.4rem;
    padding-left: 1rem;
    color:white;
}
.topBar{
    min-height:2.2rem;
    background-color: #006470;
    height:fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.buttonsBar {
    display: flex; /* Display buttons in a row */
    gap: 1rem; /* Adds space between buttons */
    margin-right:1em;
}

.topButton{
    order: 2;
    margin:0.1em;
    font-size: 2em;
    width:2.5rem;
    height:2.5rem;
    border-radius: 50%;
    margin-bottom: auto;
    background-color: #ffffff;
    color:#164c5a;
    font-weight:bolder;
    padding:0;

    font-family:'Courier New', Courier, monospace;
    transition-duration: 500ms;
    border-style: solid;
    outline:black;
    right:15px;
}

.topButton:hover{
    background-color: #b7e6ec;
    color:rgb(58, 58, 58);
}
.topButton:active{
    transition-duration: 250ms;
    background-color: #90e6f1;
    color:rgb(0, 0, 0);
    scale:0.9;
}
.topButton:focus-visible{
    background-color: #b7e6ec;
    color:black;
}


.main-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow-x: hidden;

    min-height:80%;
    margin-top:1rem;
    margin-left:0.5rem;
    margin-right:0.5rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

#viewer-container {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    border: 1px solid #ccc;
    background: white;
    padding: 20px;
    text-align: center;
}

#svg-viewer {
    width: 100%;
    min-height: 400px;
    background: white;
}

.navButton {
    position: absolute;
    margin: 10px 5px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    opacity: 50%;
    transition-duration: 300ms;
}

.navButton:hover {
    opacity:100%;
}

#prevBtn{
    left: 0;
    top:40%;
}

#nextBtn{
    right: 0;
    top:40%;
}

#downloadBtn{
    top: 85%;
    left: 50%;
    transform:translateX(-50%);
}