@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap");
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  padding: 1rem;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

main {
  margin-top: 2rem;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 2fr;
      grid-template-columns: 1fr 2fr;
  grid-gap: 2rem;
}

.title {
  font-size: 1.5rem;
  font-weight: 900;
}

.title:first-child {
  color: #185ff8;
}

.title span:nth-child(2) {
  color: #acabc4;
}

#search-tab {
  width: 25vw;
  padding-left: 2rem;
}

#advance-search {
  padding: 0.5rem 1rem;
  border: 2px solid #185ff8;
  cursor: pointer;
}

#advance-search:hover {
  background-color: #185ff8;
  color: #ffff;
}

.display-dates {
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.date-range {
  padding: 0.2rem;
  text-align: center;
  margin: 0.5rem;
  margin-left: 1.5rem;
  margin-top: 3rem;
  width: 20rem;
  margin-bottom: -3rem;
}

.preview-container {
  padding-right: 1rem;
  border-right: 1px solid #000;
  margin-left: 2rem;
}

.news-box {
  margin-bottom: 1rem;
  border-bottom: 1px solid #acabc4;
}

.date,
.main-date,
.publication {
  color: #acabc4;
}

.link {
  text-decoration: none;
  color: #000000;
}

.publication-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 0.7rem;
}

.preview-container {
  cursor: pointer;
}

.sentiment-color {
  background-color: #185ff8;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.news-title {
  margin: 0.5rem 0;
}

.news-content {
  padding: 4rem;
}

.main-heading {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.main-side-heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #acabc4;
}

.main-publication {
  color: #185ff8;
}

.main-news {
  line-height: 1.6;
}

#modal-background {
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#modal {
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vh;
  padding: 10px 20px;
  border-radius: 5px;
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
          box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  -webkit-animation-name: animatemodal;
          animation-name: animatemodal;
  -webkit-animation-duration: 0.4s;
          animation-duration: 0.4s;
  position: relative;
}

.form {
  border-top: 1px solid #acabc4;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: repeat auto-fit, minmax(240px, 300px);
      grid-template-columns: repeat auto-fit, minmax(240px, 300px);
  padding-top: 2rem;
  margin-top: 1rem;
  font-family: "Open Sans", sans-serif;
}

.form-title {
  font-size: 1.5rem;
}

select {
  border-radius: 1rem;
  width: 20vw;
  padding: 0 1rem;
  margin-bottom: 2.5rem;
  margin-top: 0.2rem;
}

.btn-container {
  position: absolute;
  bottom: 10px;
  right: 20px;
}

.btn-container .result,
.btn-container .cancel {
  padding: 0.3rem 1rem;
  background-color: #185ff8;
  border: none;
  border: 1px solid #185ff8;
  color: #fff;
  cursor: pointer;
}

.btn-container .result:hover,
.btn-container .cancel:hover {
  background-color: #fff;
  color: #185ff8;
}

@-webkit-keyframes animatemodal {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 50%;
    opacity: 1;
  }
}

@keyframes animatemodal {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 50%;
    opacity: 1;
  }
}

#close-btn {
  position: absolute;
  right: 20px;
  top: 12px;
  color: #000;
  font-size: 1.5rem;
}

#close-btn:hover {
  cursor: pointer;
  color: #ff0000;
}
/*# sourceMappingURL=main.css.map */