:root {
    --header-color: #575f6d;
    --nav-bar-color: #424b5a;
    --background-color: #2d3748;
    --font: "Nunito", sans-serif;
    --border-setting: solid 1px black;
    --border-radius: 10px;
}

* {
    font-family: var(--font);
}

button {
    margin: 1%;
}

.struc-btn {
    width: 47%;
    height: 100%;
}

header {
    height: 5%;
    display: flex;
    align-items: center;
    background: #201B37;
    color: #DAD6EB;
}

.title {
    margin: 1%;
    font-weight: 800;
}

body {
    height: 100vh;
    margin: 0;
    background-color: #DAD6EB;
}

.left-section {
    width: 60%;
    height: 100%;
}

.right-section {
    overflow-y: scroll;
    border-radius: 7px;
    margin: 0.5%;
    width: 40%;
    height: 89%;
    border: solid 1px;

    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.right-section::-webkit-scrollbar {
  display: none;
}

.main-section {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.metadata-section, .spec-section {
    border-radius: 7px;
    margin: 1%;
    height: 43.5%;
    border: solid 1px;
}

.metadata-section {
    position: relative;
}

.metadata {
    margin: 1%;
    display: flex;
    flex-direction: row;
}

#atom-assign-section {
    position: absolute;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #DAD6EB;
    z-index: 10;
}

#dragging-area {
    position: relative;
    text-align: center;
    width: 100%;
    height: 23px;
    background-color: white;
}

#exit-peak-id {
    position: absolute;
    font-size: 30px;
    top: 10px;
    right: 10px;
}

.file-reader {
    width: 100%;
}
.metadata-input {
    width: 70% !important;
}

#spec-canvas-inspection {
    display: flex;
    flex-direction: row;
    height: 80%;
}

#assigned-peaks {
    width: 40%;
    border-top: solid 1px;
    border-bottom: solid 1px;
    background-color: white;
}

#struc-canvas-inspection {
    display: flex;
    flex-direction: row;
    height: 40%;
    
}

#assigned-atoms {
    width: 50%;
    border-top: solid 1px;
    border-bottom: solid 1px;
    background-color: white;
}

#spec_spectrum, #struc_molecule {
    border: 1px solid #000;
    background-color: white;
}

#spec_spectrum {
    border-left: 0px;
    width: 60%;
}

#struc_molecule{
    border-left: 0px;
    width: 50%;
}

#user-input-section {
    display: grid;
    grid-template-columns: 50% 50%; /*repeat(minmax(100px, 1fr), auto-fill);*/
    padding: 3%;
}

.label {
    width: 30%;
    margin: 0;
}

.right-section-btn, #add-assign-btn {
    width: 98% ;
}
.assignments {
    width: 15%;
}

.atom-assignment {
    width: 50% !important;
}

.assign-input {
    width: 60%;
}

#atom-assign-input {
    width: 70%;
}

.assignments-wrapper {
    width: 100%;
    margin: 1%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.delete-assign {
    width: 4%;
    margin: 0px !important;
    padding: 0px !important;
}

.overlay {
    display: none;
    background-color:rgba(128, 128, 128, 0.7);;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#downloadable-content {
    border: 1px solid #000;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 7px;
    background-color: white;
    min-width: 530px; 
    width: 33%;
    height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3); 
    padding: 20px;
    overflow: hidden;
}

.preview-area {
    width: 100%;
    height: 95%;
}

#download-options {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.download-btn {
    width: 30%;
}

.file-name-input {
    width: 70%;
}

.file-name {
    width: 70%;
    margin: 1%;
}

#prominence-input {
    width: 10%;
}