* {
  margin: 0;
  padding: 0;    
  font-family: 'Times New Roman', Times, serif;
}

header {
  padding: 10px;
}

h1 {
  font-size: 3em;
  margin-bottom: .5em;
}

p {
  margin-top: 10px;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
}

.main-content-col {
  display: flex;  
  flex-wrap: wrap;
  flex-direction: column;
  margin: 10px;
  padding: 0 20px;
}

.flx-row {
  display: flex;  
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
}

aside {
  margin: 10px;
  padding: 0 20px;
  border-right: 1px solid #dbdbdb;
}

footer {
  margin-top: 2em;  
}

h2 {
  font-size: 1.5rem;
}

.search {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  margin: 10px;
}

.date-search {
  margin-top: 1rem;
}

.date-search-input {  
  border-radius: 4px;    
  border-color: #dbdbdb;
}

#search-box {
  margin-top: 1em;
  width: 350px;
}

#submit-btn {
  margin-top: 1rem;
  width: 100px;
}

.symbol_result {
  padding-left: 3em;
}

.search-result {
  padding: 1rem 2rem;
  border: 1px solid white;
  border-radius: 30px;
  margin: 1rem;
  width: 40%;
}

ul li {
  list-style-type: none;    
}

/* Dark-Light Mode Toggle */  
.toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Dark Mode */
.dark {
  background-color:#414B5B;
  height: 110vh;
  color: #bebebe   
}

.dark footer {
  background-color:#414B5B;
}
  
.dark .search-result {
  border: 1px solid white;
  background-color: #111;
}

.dark a {
  color: #bebebe;
}

.dark a:hover {
  opacity: 75%;
  text-decoration: underline;
  cursor: pointer;
}

.dark input {
  background-color: #111;
  color: #f5f5f5;
}

.dark input::placeholder {
  color: #bbbbc4;
}

.dark .button {
  background-color: #67707E;
  border-color: black;
  color: white;
}

.dark .button:hover {
  opacity: 60%;
}
  
/* Light Mode */
.light {
  background-color: white;
  color: black;  
}

.light footer {
  background-color: white;
}

.light .search-result {
  border: 1px solid black;
  background-color: #dad6d6;
}
  
.light a {
  color: black;
}
  
.light a:hover {  
  text-decoration: underline;
  cursor: pointer;
}

.light input {
  background-color: #dad6d6;
  color: black;
  border-color: black;
}

.light input::placeholder {
  color: #837c7c;
}

.light .button {
  background-color: lightgray;
  border-color: black;
  color: black;
}

.light .button:hover {
  opacity: 60%;
}

.light aside {
  border-right: 1px solid black;
}
  
/* Styling the Switch button */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
  
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
  
/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #111;
  -webkit-transition: .4s;
  transition: .4s;
}
  
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
  
input:checked + .slider {
  background-color: rgb(130, 140, 148);
}
 
input:focus + .slider {
  box-shadow: 0 0 1px rgb(69, 71, 73);
}
  
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
  
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}
  
.slider.round:before {
  border-radius: 50%;
}

.hide {
  display: none;
}

@media screen and (max-width: 700px) {
  .flx-row {
    flex-direction: column;
  }

  .search-result {    
    width: 100%;    
  }  
}

@media screen and (max-width: 625px) {
  .main-content {
    flex-direction: column;
  }

  aside {
    border-right: none;
    border-bottom: 1px solid #dbdbdb;    
  }
}