
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
  margin: 0;

  /* --- Your background settings from #main-charts --- */
  width: 100%;
  min-height: 100vh;
  background: url("../img/background2.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.50); /* 0.05 = 5% darker */
  pointer-events: none;            /* ensures no clicking issues */
  z-index: -1;                     /* keeps it behind all content */
}
/*****************************************************/
#loading {
  position: absolute;
  bottom: 50%;
  right: 0;
  margin-right: 1vw;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  margin: auto;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/**Loading icon**/
/*****************************************************/
.clear {clear: both;}

.list {
  height: 95%;
  width: 100%;
  background: rgba(255,255,255,0.05);
}

.tablink {
    
  color: black;
  float: left;
  border: none;   
  cursor: pointer;
  padding: 8px;
  margin-right: 0.1vw;
  font-size: 17px;
  width: 15%;
}
  
.tablink:hover {
  background-color: #777;
}

/* Style the tab content */
.tabContent {    
  display: none;
  padding: 75px 20px 20px 20px;
  height: 100%;
  background: rgba(255,255,255,0.02);
}

.containerNew {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: calc(100vh - 80px);
  margin-bottom: 5px;
}

.left-column {
  width: 12%;
  height: 100%;
  border-right: 1px solid black;
}

.right-column {
  width: 85%;
  height: 100%;
}

.canvas-container {
  position: relative;
  height: 60vh;
  width: 60vw;
}

#lineChart, #barChart, #full_barChart, #vennChart {
  width: 75%;
  height: 100%;
  padding: 25px 0;
  position: absolute;
}

.saveButton {
  margin-left: 29.5vw;
  margin-top: 5vh;
}

span {
  padding-right: 15px;
  padding-left: 10px;
}

.textArea {
  height: 15vh;
  margin-top: 2%;
  position: relative;
}

#stdBox, #missData, #unionBox, #intersectBox, #docSelection {
  float: left;
  width: 33%;
}

.devData, #noTopX, #union, #intersect, #docSelect {
  resize: none;
  width: 65%;
  
}

.text-container {
  width: 100%;
}

.copyData {
  vertical-align: top;
  margin: 40px 0px 0px 6px;
  position: relative;
}

#resultDrop {
  margin: auto;
  width: 70vw;
  margin-top: 10vh;
}

#topOnly {
  margin: auto;
  width: 30vw;
  margin-bottom: 10vh;
}

#footer {
  padding: 10px 0;
  position: relative;
  bottom: 0;
}
 
@media only screen and (orienttion:portrait) {
  body{
    height: 100vw;
    transform: rotate(90deg);
  }
}

/* Define styles for tablet screens */
@media screen and (max-width: 768px) {
    .containerNew {
        flex-direction: column;
    }

    .left-column {
        width: 100%;
    }

    .right-column {
        width: 100%;
    }
}

/* Define styles for mobile screens */
@media screen and (max-width: 480px) {
    .left-column {
        font-size: 12px;
    }

    .right-column {
        font-size: 12px;
    }
}
