@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
    margin: 0;
    padding: 0;
    background: rgb(62, 62, 62);
}

* {
    font-family: 'Lexend Deca', sans-serif;
    box-sizing: border-box;
}

main {
    width: 1440px;
    margin: auto;
    background: rgb(221, 221, 221);
    min-height: 100vh;
    border-left: 1px solid black;
    border-right: 1px solid black;
    position: relative;
}

button {
    cursor: pointer;
}

.mainLogo {
    width: 200px;
    height: 200px;
}

.mainTitle {
    font-weight: 900;
}
.primaryInput {
    font-size: 20px;
}

.searchSections section {
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    background: white;
    border: 1px solid black;
    border-radius: 10px;
    transition: transform 0.5s;
}

.sectionFilter {
    
}
.filterToggle h4 {
    margin: 0;
    display: inline-block;
}
.filterContent {
    border: 1px solid black;
    padding: 10px;
    border-radius: 10px;
    display: none;
}
.sectionFilter.show .filterContent {
    display: block;
}
.hr-dashed {
    border-bottom: 1px dashed black;
}

.loadingIcon {
    animation: loading-rot 0.5s linear infinite;
    width: 40px;
    height: 40px;
    vertical-align: middle;
}
.errMsg {
    color: red;
}

.sortOption, .searchOption {
    padding-top: 10px;
    padding-bottom: 10px;
}

.sortOption p {
    display: inline-block;
    margin: 0;
}

.searchOption p {
    display: inline-block;
    margin: 0;
}

.outputTable, .outputTable th, .outputTable td {
    border: 1px solid black;
}
.outputTable th, .outputTable td {
    transform: translateX(-50px);
    opacity: 0;
    padding: 10px;
}
.outputTable tr.trigger td, .outputTable tr.trigger th {
    animation: slide-row 0.2s;
    transform: translateX(0);
    opacity: 1;
}
.rawSQL {
    display: none;
    width: 500px;
    height: 300px;
    font-family: monospace;
}
.rawSQL.show {
    display: block;
}

td button {
    float: right;
    margin-left: 10px;
}

.sideColumn {
    width: 200px;
    height: 100vh;
    background: rgb(171, 171, 171);
    vertical-align: top;
    position: fixed;
    top: 0;
    overflow: hidden auto;
    border-right: 1px solid black;
    z-index: 1000;
}
.sideColumn button {
    display: block;
    width: 100%;
    padding: 5px;
    text-align: left;
    margin-bottom: 5px;
    border: 1px solid black;
    border-radius: 5px;
    transition: 0.1s;
}
.sideColumn button:hover {
    background:black;
    color: white;
}
.sideColumn button:before {
    content: '\00a0\00a0\00a0';
}
.sideColumn button.current:before {
    content: '\00a0\00BB\00a0';
}
.mainColumn {
    width: calc(100% - 200px);
    min-height: 100%;
    margin-left: 200px;
}
.column {
    display: inline-block;
    padding: 10px;
}

/* .searchSections section.focusIn {
    box-shadow: 5px 5px 10px gray;
}

.searchSections section.focusOut {
    transform: scale(0.9);
    opacity: 0.7;
} */

@keyframes loading-rot {
    from {
        transform: rotate(0deg);
    } to {
        transform: rotate(360deg);
    }
}
@keyframes slide-row {
    from {
        transform: translateX(-50px);
        opacity: 0;
    } to {
        transform: translate(0);
        opacity: 1;
    }
}
@media screen and (max-width: 1000px){
    .sideColumn {
        display: none;
    }
    .mainColumn {
        width: 100%;
        margin-left: 0;
    }
}