body{
    margin: 0;
    font-family: "Montserrat";
    display: none;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}

nav{
    position: fixed;
    top: 0;
    z-index: 300;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    color: white;
    background-color: rgb(51, 51, 51);
}

nav > div{
    display: flex;
    justify-content: center;
    align-items: center;
}

nav h1, 
nav #tutorial,
nav #tutorial-mobile{
    padding: 15px 30px;
}

nav h1{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin: 0;
}

nav h1 i{
    padding: 2px 7px;
    font-size: 15px;
}

.logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.data-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 60px;
    width: 50%;
    box-sizing: border-box;
}

.toolbox-container{
    margin-top: 100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#toolbox{
    min-width: 300px;
    width: fit-content;
    z-index: 20;
    background-color: white;
}

#tutorial,
#tutorial-mobile{
    border-right: 1px solid lightgray;
    box-sizing: border-box;
}

.toolbox-container button,
.welcome-prompt button{
    display: inline;
    background-color: rgb(51, 51, 51);
    transition: 100ms ease-out;
    padding: 7px 15px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    margin: 5px;
    border: 1px solid black;
}

.toolbox-container button:hover,
.welcome-prompt button:hover,
#dropdown:hover,
#dropdown-mobile:hover,
#tutorial:hover,
#tutorial-mobile:hover{
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    color: black;
}

.toolbox-container button:focus,
.welcome-prompt button:focus{
    outline: none;
}

.toolbox-container .disabled-btn{
    background-color: rgb(221, 221, 221);
    border: 1px solid white;
}

.toolbox-container .disabled-btn:hover{
    cursor: initial;
    background-color: rgb(221, 221, 221);
    color: white;
}

.bar:nth-of-type(1){
    fill: rgb(210, 223, 223);
}

.bar:nth-of-type(2){
    fill: rgb(197, 209, 209);
}

.bar:nth-of-type(3){
    fill: rgb(164, 182, 180);
}

.bar:nth-of-type(4){
    fill: rgb(145, 160, 158);
}

.highlight{
    fill: rgb(143, 235, 238);
}

#base-toggle{
    width: 400px;
    position: absolute;
    z-index: 10;
    left: 0;
    bottom: 0;
    transition: 300ms ease-in-out;
}

#tools .show-filters{
    left: 330px;
}

#base-toggle > .AAA:hover,
#base-toggle > .disabled-btn:nth-of-type(1),
#base-toggle > .disabled-btn:nth-of-type(1):hover{
    background-color: #FF6358;
    border: 1px solid #FF6358;
    color: white;
}

#base-toggle > .TTT:hover,
#base-toggle > .disabled-btn:nth-of-type(2),
#base-toggle > .disabled-btn:nth-of-type(2):hover{
    background-color: #FFD246;
    border: 1px solid #FFD246;
    color: white;
}

#base-toggle > .CCC:hover,
#base-toggle > .disabled-btn:nth-of-type(3),
#base-toggle > .disabled-btn:nth-of-type(3):hover{
    background-color: #78D237;
    border: 1px solid #78D237;
    color: white;
}

#base-toggle > .GGG:hover,
#base-toggle > .disabled-btn:nth-of-type(4),
#base-toggle > .disabled-btn:nth-of-type(4):hover{
    background-color: #28B4C8;
    border: 1px solid #28B4C8;
    color: white;
}

#immersion{
    width: 50%;
    z-index: 5;
}

#main-seq{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 800px;
    height: 100px;
}

#main-seq canvas{
    max-width: 800px;
    max-height: 100px;
    height: 80px;
}

#main-seq canvas:last-child{
    height: 100px;
}

#canvas{
    border: 2px solid black;
    box-sizing: border-box;
    position: absolute;
    z-index: 1;
    width: 100%;
}

#tooltip{
    position: absolute;
    z-index: 2;
    width: 100%;
}

#overlay{
    position: absolute;
    z-index: 2;
    width: 100%;
}

.dropdown-container{
    position: relative;
}

.dropdown-container i{
    pointer-events: none;
}

.seq-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.chart-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
}

.current-seq-box,
.total-seq-box{
    height: 300px;
    width: 300px;
    margin: 10px;
}

#dropdown,
#dropdown-mobile{
    position: relative;
    padding: 15px;
    min-width: 350px;
    height: 100%;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    box-sizing: border-box;
}

#seq-selection,
#seq-selection-mobile{
    position: absolute;
    min-width: 350px;
    margin: 0;
    padding: 0;
    right: 50%;
    transform: translateX(50%);
    background-color: white;
    border: 1px solid lightgray;
}

#seq-selection-mobile{
    left: 0;
}

#seq-selection li,
#seq-selection-mobile li{
    list-style: none;
    padding: 10px;
    color: black;
}

#seq-selection li:hover,
#seq-selection-mobile li:hover{
    cursor: pointer;
    background-color: rgb(223, 223, 223);
}

.dropdown-list{
    display: none;
    z-index: 10;
}

#cite-details{
    max-width: 700px;
    font-size: 12px;
}

#cite-details a{
    color: rgb(58, 129, 129);
    text-decoration: none;
}

#cite-details a:visited{
    color: rgb(58, 129, 129);
}

#strand-details h5{
    margin: 12px 0px 0px 0px;
}

#strand-details h3{
    margin: 0px
}

.base-info{
    width: auto;
    height: 20px;
    padding: 5px 10px;
    background-color: rgb(250, 250, 250);
    box-shadow: 0px 5px 10px 0px rgba(141, 140, 140, 0.75);
    font-family: inherit;
    font-size: 14px;
    display: none;
    z-index: 5;
    position: absolute;
    width: max-content;
}

.show-list,
.show-tip{
    display: block;
}

.tool-top-container,
#tool-btm-container{
    padding-top: 10px;
    height: 32px;
    position: relative;
    z-index: 10;
}

.contact-icons{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 20px;
}

.contact-icons > a{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px 10px;
    width: 30px;
    height: 30px;
    text-decoration: none;
    font-size: 25px;
    color: rgb(255, 255, 255);
    transition: color 100ms ease-in-out;
    transition: font-size 100ms ease-out;
}

.mobile-icons #dropdown:hover,
.mobile-icons #dropdown-mobile:hover,
.mobile-icons #tutorial:hover,
.mobile-icons #tutorial-mobile:hover,
.contact-icons > a:hover{
    cursor: pointer;
}

.contact-icons > a:hover{
    color: rgb(114, 229, 233);
    font-size: 30px;
}

.mobile-icons{
    display: none;
}

.modal-back{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.modal-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.welcome-prompt{
    max-height: 700px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.welcome-prompt p{
    width: 100%;
    text-align: left;
}

.welcome-prompt img{
    max-width: 700px;
    border-top: 2px solid rgb(51, 51, 51);
    border-bottom: 2px solid rgb(51, 51, 51);
}

/* resize welcome modal */
@media (max-width: 1850px){
    .last-modal-images{
        justify-content: center;
        text-align: center;
        overflow: scroll;
    }
}

/* resize canvas  */
@media (max-width: 1740px){
    #main-seq,
    #main-seq canvas{
        width: 600px;
        height: 80px;
    }

    #main-seq canvas:last-child{
        height: 100px;
    }
}

/* move filters, resize canvas  */
@media (max-width: 1340px){
    #main-seq,
    #main-seq canvas{
        width: 400px;
    }

    #tools .show-filters{
        left: 0;
        bottom: 40px;
    }

    .chart-container{
        flex-direction: column;
    }

}

/* scroll to see all 3 */
@media (max-width: 1100px){
    #main-seq,
    #main-seq canvas{
        width: 800px;
    }

    #tools .show-filters{
        left: 330px;
        bottom: 0px;
    }

    body{
        flex-direction: column;
    }

    .chart-container{
        flex-direction: row;
    }

    .data-container{
        width: 100%;
    }
}

/* minimize canvas, navbar, toggle bar charts and immersion */
@media (max-width: 930px){
    .mobile-icons{
        display: flex;
    }

    .desktop-icons{
        display: none;
    }

    .mobile-icons #dropdown-mobile{
        padding: 15px 30px;
        min-width: 0;
    }

    #seq-selection-mobile{
        left: -177px;
    }

    #main-seq,
    #main-seq canvas{
        width: 600px;
    }
}

/* mobile landscape  */
@media (max-width: 820px){
    .data-container{
        padding: 0px 35px;
    }
}

/* move filters  */
@media (max-width: 750px){
    #tools .show-filters{
        left: 0;
        bottom: 40px;
    }
}

/* toggle between three views */
@media screen and (max-width: 730px){
    #main-seq,
    #main-seq canvas{
        width: 300px;
    }

    .mobile-icons h1,
    .mobile-icons #dropdown-mobile,
    .mobile-icons #tutorial-mobile{
        padding: 15px;
    }

    .contact-icons{
        margin-right: 15px;
    }

    .contact-icons a{
        margin: 0px 7px;
    }

    #immersion canvas{
        width: 100%;
    }

    .chart-container{
        flex-direction: column;
    }

}

/* move filters  */
@media screen and (max-width: 450px){
    .toolbox-container{
        margin-top: 112px;
    }

    #seq-selection-mobile{
        left: -233px;
    }
}

/* more mobile adjustments  */

@media only screen and (orientation: portrait){
    .welcome-prompt img{
        max-width: 300px;
    }

    .toolbox-container button{
        font-size: 10px;
    }
}

@media only screen and (orientation: landscape) and (max-width: 850px){
    .welcome-prompt{
        width: 470px;
        max-height: 250px;
        font-size: 10px;
        margin-top: 20px;
        padding: 20px;
    }

    .welcome-prompt p{
        margin: 2px;
    }

    .welcome-prompt h1{
        margin: 0px;
    }

    .welcome-prompt img{
        max-width: 350px;
    }

    .last-modal-images{
        flex-direction: row;
    }

    .last-modal-images img{
        max-height: 100px;
    }
}