@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
    font-family: 'Poppins', sans-serif;
    padding:0px;
    margin:0px;
    max-width:100vw;
    overflow-x:hidden;
    scroll-behavior: smooth;
    min-width: 1024px;
}
#loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: white;
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#spinner {
    animation: rotate 0.56s infinite linear;
    width:50px;
    height:50px;
    border:12px solid rgb(255, 44, 90);
    border-bottom:12px solid #fff;
    border-radius:50%;
    margin:0;
}
@keyframes rotate {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
header {
    width:92vw;
    padding:6vh 4vw;
    position:fixed;
    font-weight:bold;
    background:transparent;
    color:#fff;
    transition:0.4s ease-in-out;
    z-index:2;
    min-width: 1024px;
}
header table {
    width:100%;
}
#logo {
    width:20%;
}
#navigation {
    width:80%;
}
#magnify {
    width:100vw;
    height:100vh;
    background:rgba(0, 0, 0, 0.92);
    position:fixed;
    z-index:4;
    display:none;
    flex-direction: column;
    justify-content:center;
}
#magnify h1 {
    position:absolute;
    top:0;
    right:0;
    margin:20px 40px;
    color:#fff;
    transition:0.4s ease-in-out;
}
body.hasHover #magnify h1:hover{
    color:rgb(255, 44, 90);
    cursor:pointer;
}
#img_here {
    width:90%;
    height:90%;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    margin:0px auto;
}
#logo {
    font-size:24px;
    color:rgb(255, 44, 90);
}
#navigation {
    text-align:right;
}
#navigation a {
    color:inherit;
    text-decoration:none;
    padding:5px 10px;
    border-bottom:2px solid transparent;
    margin-left:4vw;
    transition:0.4s ease-in-out;
    
}
body.hasHover #navigation a:hover{
    border-bottom:2px solid #fff;
}
#top_part {
    width:100%;
    border:2vh solid #fff;
}
#top_part tr td{
    width:50%;
}
#about {
    width:84% !important;
    height:95vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:left;
    padding:0px 8%;
    padding-top: 16vh !important;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: -10%;
}
#about h1 {
    font-size:45px;
    word-wrap:break-word;
}
#about table {
    width:70%;
    margin-top:4vh;
}
#about table tr td {
    width:20% !important;
    text-align:left;
}
.social {
    color:rgb(255, 44, 90);
    font-size:23px;
    padding:12px 17px;
    border-radius:50%;
    background:transparent;
    transition:0.4s ease-in-out;
    font-weight:bold;
    margin:0px 8px;
}
body.hasHover .social:hover { 
    cursor: pointer;
    color:#fff;
    background:rgb(255, 44, 90);
    box-shadow:0px 10px 30px rgba(255, 66, 107,0.8);
}
.btn_one {
    font-size:18px;
    font-family: 'Poppins', sans-serif;
    color:rgb(255, 44, 90);
    background:#fff;
    border:3px solid rgb(255, 44, 90);
    padding:8px 40px;
    width:35%;
    border-radius:80px;
    font-weight:bold;
    margin:2vh 0px;
    transition:0.4s ease-in-out;
}
body.hasHover .btn_one:hover {
    box-shadow:0px 10px 30px rgba(255, 44, 90, 0.8);
    cursor:pointer;
    color:#fff;
    background:rgb(255, 44, 90);
}
#rightImage {
    width:100%;
    height:95vh;
    background:linear-gradient(0deg,rgba(255, 44, 90, 0.4),rgba(255, 44, 90, 0.7)),url("https://www.chartjs.org/img/chartjs-logo.svg") center center;
    background-size:cover;
    background-repeat:no-repeat;
}
#tutorial {
    width:92vw;
    padding:6vh 4vw;
    font-weight:bold;
  padding-top: 24vh !important;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: -10%;
  
}
#tutorial h1 {
    padding:5px 0px;
    border-bottom:4px solid rgb(255, 44, 90);
    width:20%;
}

#start {
    padding-top: 12vh !important;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: -10%;
    width:92vw;
    font-weight:bold;
}
#start h1 {
    padding:5px 0px;
    border-bottom:4px solid rgb(255, 44, 90);
    width:6%;
}

#graph {
    width:100%;
    columns:3;
    column-gap:4%;
    z-index:1;
    transition:0.4s ease-in-out;
}

#instrument_panel {
  width: 100%;
  height: 100px;
  background-color: white;
  color: rgb(255, 44, 90);
  border-radius: 12px;
}

#instrument_panel #categories {
  width: 100%;
  height: 100%;
  display: flex;
  list-style-type: none;
  padding: 0;
  background-color: white;
  color: rgb(255, 44, 90);
}

#instrument_panel #categories .category {
  width: 33%;
  height: 100%;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
}

body.hasHover .category:hover {
    background-color: rgb(255, 44, 90);
    color: white;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    box-shadow:0px 0px 30px rgba(255, 66, 107,0.8);
}

#instrument_panel .dropdown {
  display: none;
  width: 30.4vw;
  position: absolute;
  list-style-type: none;
  background-color: rgb(255, 44, 90); 
  color: white;
  padding: 0;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  font-size: 14px;
  box-shadow: 0px 10px 30px rgba(255, 66, 107,0.8);
}

#instrument_panel .dropdown .sub_category {
  width: 100%;
  height: 60px;
  line-height: 60px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body.hasHover #instrument_panel .dropdown .sub_category:hover {
  background-color: white;
  color: rgb(255, 44, 90); 
  border: 6px solid rgb(255, 44, 90);
  border-radius: 12px;
  line-height: 48px;
}

#countriesSearch {
  box-sizing: border-box;
  background-image: url('https://cdn.glitch.com/4e5b3ef1-516e-434f-8f67-ccc9e2eba6ef%2Fsearch.png?v=1601147095791');
  background-size: 7%;
  background-position: 14px 15px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 14px 20px 12px 45px;
  border: none;
}

#countriesDropdown {
  position: absolute;
  background-color: #f6f6f6;
  min-width: 230px;
  overflow: auto;
  border: 1px solid #ddd;
  z-index: 1;
}

#countriesDropdown #countriesResults {
  max-height: 280px;
  overflow: scroll;
}

#countriesDropdown a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: none;
  font-size: 14px;
  font-weight: lighter;
}

#countriesDropdown a:hover {background-color: #ddd;}






.divider {
  border: 3px solid #eeeeee;
  margin-bottom: 30px;
  margin-top: 30px;

}

#divider2 {
  border: 1px solid #ddd;
  margin-bottom: 30px;
}

#selection {
  width: calc(100%-14px);
  min-height: 220px;
  background-color: #eee;
  border-radius: 7px;
  padding: 20px;
}

#selection .selected_list {
  padding: 0;
  margin: 0;
}

#selection .selected_list li {
  display:inline-block;
  list-style-type: none;
  padding: 10px 17px;
  margin-right: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  background-color: white;
  border-radius: 4px;
}

#selection2 {
  width: calc(100%-14px);
  min-height: 220px;
  background-color: #eee;
  border-radius: 7px;
  padding: 20px;
}

#selection2 .selected_list {
  padding: 0;
  margin: 0;
}

#selection2 .selected_list li {
  display:inline-block;
  list-style-type: none;
  padding: 10px 17px;
  margin-right: 14px;
  margin-bottom: 10px;
  font-size: 13px;
  background-color: white;
  border-radius: 4px;
}

@keyframes changeColor {
  0% {background-color: rgb(57, 220, 114);}
  30% {background-color: rgb(57, 220, 114);}
  100% {background-color: white;}
}

#selection .selected_list .new {
  animation-name: changeColor;
  animation-duration: 2.0s;
  animation-timing-function: ease;
}

#selection .selected_list .delete_selected {
  margin-left: 5px;
  background: none;
  border: none;
  color: #f33;
  font-size: 22px;
  font-weight: bold;
}

body.hasHover #selection .selected_list .delete_selected:hover {
  cursor: pointer;
}

#selection2 .selected_list .new {
  animation-name: changeColor;
  animation-duration: 2.0s;
  animation-timing-function: ease;
}

#selection2 .selected_list .delete_selected {
  margin-left: 5px;
  background: none;
  border: none;
  color: #f33;
  font-size: 22px;
  font-weight: bold;
}

body.hasHover #selection2 .selected_list .delete_selected:hover {
  cursor: pointer;
}

#graph img {
    width:100%;
    height:auto;
    margin:4.5% 0px;
    transition:0.4s ease-in-out;
}
body.hasHover #graph img:hover {
    transform: scale(1.1);
    cursor: pointer;
}
#bio {
    width:92vw;
    padding:6vh 4vw;
    font-weight:bold;
}
#bio h1 {
    padding:5px 0px;
    border-bottom:4px solid rgb(255, 44, 90);
    width:8%;
}

#examples {
    width:92vw;
    padding-top: 12vh;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: -10%;
    font-weight:bold;
}
#examples h1 {
    padding:5px 0px;
    border-bottom:4px solid rgb(255, 44, 90);
    width:12%;
}

#contact {
    width:92vw;
    padding:6vh 4vw;
}
#contact h1 {
    padding:5px 0px;
    border-bottom:4px solid rgb(255, 44, 90);
    width:10%;
}
#contact table {
    width:100%;
}
#contact table tr td {
    width:50%;
}
#inner_div table{
    width:100%;
}
#inner_div table tr td{
    font-weight:bold;
}
#inner_table tr td{
    padding:10px 20px !important;
}
#contact form {
    width:100%;
}
#contact form input {
    width:96%;
    margin:20px 1%;
    background:transparent;
    border:0px;
    border-bottom:3px solid rgba(255, 44, 90,0.5);
    padding:8px 10px;
    font-family: 'Poppins', sans-serif;
    font-size:18px;
    transition:0.4s ease-in-out;
    color:#000;
    font-weight:bold;
}
#contact form textarea {
    width:96%;
    margin:20px 1%;
    padding:8px 10px;
    border:0px;
    border-bottom:3px solid rgba(255, 44, 90,0.5);
    padding:8px 10px;
    font-family: 'Poppins', sans-serif;
    font-size:18px;
    background:transparent;
    resize:none;
    transition:0.4s ease-in-out;
    color:#000;
    font-weight:bold;
}
#contact form input:focus {
    outline:none;
    border-bottom:3px solid rgba(255, 44, 90,1);
}
#contact form textarea:focus {
    outline:none;
    border-bottom:3px solid rgba(255, 44, 90,1);
}
#address {
    position:relative;
    top:-25px;
    left:30px;
}
#footer {
    width:100%;
    padding:10vh 0px;
    text-align:center;
    font-weight:bold;
}
#footer a {
    color:rgb(255, 44, 90);
    text-decoration:none;
}
::placeholder {
    color:#000;
}
button:focus {
    outline:none;
}
::-webkit-scrollbar {
    width:5px;
    height:5px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: rgb(0, 0, 0); 
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0,0.8); 
}

@media (max-width: 1000px){
    
    #graph {
    columns:1;
    column-gap:0%;
    }
    #graph img {
        margin:2% 0px;
    }
    body.hasHover #graph img:hover {
        transform: scale(1);
        cursor: pointer;
    }
    #rightImage {
        display:none;
    }
    #top_part {
        border:0px;
    }
    #top_part tr td{
        width:100%;
        text-align:center;
    }
    #about {
    padding-top: 16vh !important;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-top: -10%;
        width:92% !important;
        height:75vh;
        text-align:center;
    }
    #about table {
        width:100%;
        margin-top:6vh;
    }
    #about table tr td {
        text-align:center;
    }
    .btn_one {
    padding:6px 30px;
    width:60%;
    margin:4vh auto;
    box-shadow:0px 10px 20px rgba(255, 44, 90, 0.8);
    background:rgb(255, 44, 90);
    color:#fff;
    }
    body.hasHover .btn_one:hover {
        box-shadow:0px 10px 40px rgba(255, 44, 90, 0.8);
        cursor:pointer;
    }
    #contact table tr td {
        width:100%;
        display:block;
    }
    #inner_table tr td{
        padding:10px 0px !important;
    }
    #contact form input {
        width:90%;
    }
    #contact form textarea {
        width:90%;
    }
    #tutorial h1 {
        width:30%;
    }
  
      #examples h1 {
        width:19%;
    }
    #bio h1 {
        width:20%;
    }
    #contact h1 {
        width:33%;
    }
    header {
        width:96vw;
        background:#fff;
        padding:4vh 2vw;
        position:absolute;
    }
    #header table tr td {
        width:100%;
        display:block;
        text-align:center;
        padding:15px 0px;
    }
    #navigation a {
        color:#000;
    }

  #start h1 {
    margin: 0 auto;
    text-align: center;
    width: 100px;
  }
  
  #instrument_panel {
    height: auto;
  }
  
  #instrument_panel #categories {
    flex-direction: column;
  }
  
  #instrument_panel #categories .category {
    width: 100%;
  }
  
  #instrument_panel #categories .category_clicked {
    background-color: rgb(255, 44, 90);
    color: black;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 100px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
  }
  
  @keyframes darken {
    from {background-color: white;}
    to {background-color: #eee;}
  }
  
  body.hasHover #instrument_panel #categories .category:hover {
    background-color: #eee;
    color: rgb(255, 44, 90);
    box-shadow: none;
    animation-name: darken;
    animation-duration: 0.5s;
    border-radius: 0;
  }
  
  #instrument_panel #categories .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}

#start #time_range #timeLeft {
  font-family: 'poppins';
  font-weight: bold;
  border-style: solid;
  border-radius: 4px;
  border-width: 4px;
  border-color: #eeeeee;
  color: rgb(255, 44, 90);
  margin-right: 10%;
  width: 40%;
}

#start #time_range #timeRight {
  font-family: 'poppins';
  font-weight: bold;
  border-style: solid;
  border-radius: 4px;
  border-width: 4px;
  border-color: #eeeeee;
  color: rgb(255, 44, 90);
  width: 40%; 
}buttonState

#start #time_range #generate_stage #possible_graphs {
  font-family: 'poppins';
  font-weight: bold;
  border-style: solid;
  border-radius: 3px;
  border-width: 3px;
  border-color: #ddd;
  color: rgb(255, 44, 90);
  width: 40%; 
}

select {
  font-family:'Poppins', sans-serif;
  border-width: 4px;
  border-color: #eee;
  border-radius: 5px;
  font-weight: bold;
}

#countries0.land select:-internal-list-box option:checked {
    background-color: -internal-light-dark(rgb(255,45,90), rgb(255, 45, 90)) !important;
    color: -internal-light-dark(white, white) !important;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 44, 90,1);
}


#myChart {
  padding: 5px;
  border-width: 6px;
  border-color: #eeeeee;
  border-style: solid;
  border-radius: 7px;
}

img {
    padding: 3px;
  border-width: 4px;
  border-color: #eeeeee;
  border-style: solid;
  border-radius: 4px;
}