@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap");
@font-face {
  font-family: "Agrandir Variable";
  src: url("fonts/Agrandir-Variable.ttf") format("truetype");
  font-style: normal;
}
* {
  margin: 0px;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
}

body {
  background-color: #f9f4f0;
  font-weight: 300;
  color: #2c2721;
}

/* Hide scrollbars globally */
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.page-title {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  gap: 30px;
  padding-right: 30px;
}
@media (min-width: 600px) {
  .page-title {
    gap: 50px;
  }
}
.page-title img {
  width: 20px;
  transition: all 150ms ease-in-out;
}
.page-title img:hover {
  filter: brightness(2);
}
.page-title h1 {
  font-family: "Agrandir Variable";
  font-size: 30px;
  font-weight: 400;
  line-height: 120%;
}
@media (max-width: 767px) {
  .page-title h1 {
    font-size: 22px;
  }
}
.page-title h2 {
  line-height: 70%;
  margin-top: 5px;
  transform: translateY(-5px);
}
.page-title h2 a,
.page-title h2 a:visited {
  color: #2c2721;
  text-decoration: underline;
  color: #685e52;
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  transition: all 150ms ease-in-out;
}
.page-title h2 a:hover,
.page-title h2 a:visited:hover {
  filter: brightness(1.6);
}

img.shaping {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 40px;
}

.cta-button {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  z-index: 10;
  background: #2c2721;
  color: #f9f4f0;
  border: none;
  padding: 12px 20px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  margin-top: 20px;
  text-decoration: none;
}
.cta-button:hover {
  background: #685e52;
}

h3#panel-title {
  margin-top: 0px;
  margin-bottom: 10px;
  padding-right: 20px;
  opacity: 0.5;
}

h3 {
  color: #685e52;
  margin-top: 20px;
  margin-bottom: 10px;
  transform: translateY(-5px);
}

#chart-container {
  padding: 0.5vh;
  box-sizing: border-box;
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-left: 0vw;
}
@media (min-width: 600px) {
  #chart-container {
    padding: 2vh;
    margin-left: 0vw;
  }
}
@media (min-width: 1100px) {
  #chart-container {
    width: 85vw;
    margin-left: 15vw;
  }
}

.side-panel {
  position: fixed;
  right: -420px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: #fefcfa;
  box-shadow: -2px 0 10px rgba(44, 39, 33, 0.1);
  transition: right 0.3s ease;
  padding: 30px 30px 0 30px;
  overflow-y: auto;
  z-index: 1000;
  box-sizing: border-box;
  overflow-y: scroll;
}

.side-panel.open {
  right: 0;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #2c2721;
}

.close-btn:hover {
  color: #685e52;
}

ul {
  margin-bottom: 30px;
}
ul li {
  margin-bottom: 10px;
  margin-left: 20px;
}

#panel-title {
  color: #685e52;
  margin-bottom: 10px;
  font-size: 14px;
  color: #2c2721;
  font-weight: 500;
  text-transform: uppercase;
}

#panel-score {
  font-size: 28px;
  font-weight: bold;
  color: #176659;
  margin-bottom: 20px;
  font-family: "Agrandir Variable";
}

#panel-explanation {
  color: #685e52;
  line-height: 1.3;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 100px;
}

p.explanation {
  margin-bottom: 30px;
}

.download-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  background: #f9f4f0;
  color: #2c2721;
  border: solid 1px #2c2721;
  padding: 12px 20px;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.download-btn:hover {
  background: #efe7dc;
}

.info {
  padding: 20px;
  background-color: #f9f4f0;
  border: solid 1px #2c2721;
  width: 400px;
  overflow: hidden;
  height: auto;
  transition: height 300ms ease-in-out;
}
@media (max-width: 767px) {
  .info {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 80vw;
    z-index: 10;
  }
}
.info h3 {
  color: #2c2721;
  font-weight: 600;
  margin-top: 40px;
}
.info .info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.info .info-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #2c2721;
  display: none;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
@media (max-width: 767px) {
  .info .info-toggle {
    display: flex;
  }
}
.info .chevron-icon {
  width: 20px;
  height: 20px;
  transition: transform 300ms ease;
  transform: rotate(180deg);
}
.info .info-body {
  overflow: hidden;
  transition: max-height 400ms ease-in-out;
  max-height: 1000px;
}
.info.collapsed .chevron-icon {
  transform: rotate(0deg);
}
.info.collapsed .info-body {
  max-height: 0;
}

.description {
  transition: all 150ms ease-in-out;
}
.description p.description-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.description .read-more-btn {
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  color: #685e52;
  font-family: "Work Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding-top: 20px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 150ms ease-in-out;
}
.description .read-more-btn:hover {
  color: #2c2721;
}/*# sourceMappingURL=styles.css.map */