html {
    font-size: 62.5%; /* 10 pixels / 16 pixels = 0.625 * 100  */
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Figtree', 'Montserrat', sans-serif;
}

div {
    margin: 0;
    padding: 0;
}

p {
  font-family: 'Nunito Sans', 'Montserrat', sans-serif;
}

/* --- END OF COMMON STYLES */

/* NAVBAR */

.navbar {
    height: 9rem;
    background-color: #f2fff2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
  padding-left: 10rem;
}

.logo img {
  width: 220px;
}

.main-menu {
  margin-right: 7rem;
}

.main-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.main-nav-item {
    margin: 0 3rem;
    position: relative;
    text-align: center;
}

.main-nav-link {
    color: #004900;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .5s;
}

.main-nav-link::before {
    content: "";
    width: 0rem;
    height: .1rem;
    background-color: #009200;
    position: absolute;
    top: -1rem;
    transition: width .5s cubic-bezier(1,0,0,1);
}

.main-nav-link::after {
    content: "";
    width: 0rem;
    height: .1rem;
    background-color: #009200;
    position: absolute;
    bottom: -1rem;
    right: 0rem;
    transition: width .5s cubic-bezier(1,0,0,1);
}


.main-nav-link:hover {
    color: #009200;
}

.main-nav-link:hover::before, .main-nav-link:hover::after {
    width: 100%;
}

.header {
    height: 90vh; /* 100% of view port */
    background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.65)), url(images/green-brick-road-hero-01.jpg) center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.tagline {
    flex: 0 1 70%;
    display: flex;
    flex-direction: column;
    padding: 10rem 5rem 10rem 10rem;
    box-sizing: border-box;
    /* background-color: orange; */
}

.tagline h1 {
    color: #fff;
    font-size: 5.5rem;
    animation: appear1 2s;
}

.tagline p {
    color: #fff;
    font-size: 2.5rem;
    color: rgb(183, 216, 177); /* rgb(131, 192, 119); */
    animation: appear1 1.5s 0.5s backwards;
}

.green-samples {
    flex: 1 1 30%;
    margin: auto 0;
    padding: 0rem 10rem 0rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    animation: blinkinglight2 2s 1s backwards;
    /* background-color: red; */
}

.green-samples h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0;
}

.green-samples-btn {
    position: relative;
    border-radius: 4rem;
    background: linear-gradient(to top, #fff, rgb(234, 253, 230)); /*   rgb(183, 216, 177) rgb(160, 206, 151) rgb(224, 243, 220)); */
    border: none;
    cursor: pointer;
    width: 22rem;
    height: 8rem;
    box-sizing: border-box;
}

.green-samples-btn img {
    position: absolute;
}

.green-samples-btn .iota-logo {
    top: 0.8rem;
    left: 1.7rem;
}

.green-samples-btn .chia-logo {
    top: 0.7rem;
    left: 2.8rem;
}

.green-samples-btn:hover {
    background: rgb(183, 216, 177); /* rgba(206, 238, 200, 0); */
}

@keyframes appear1 {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

@keyframes blinkinglight {
    0% {
        opacity: 0;
      }
    25% {
        opacity: 0.4;
    }
    30% {
        opacity: 0.1;
    }
    40% {
        opacity: 0.5;
    }
    45% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blinkinglight2 {
    0% {
        opacity: 0;
        padding-bottom: 8rem;
    }
    25% {
        opacity: 0.4;
        padding-bottom: 4rem;
    }
    30% {
        opacity: 0.1;
        padding-bottom: 4rem;
    }
    33% {
        opacity: 0.4;
        padding-bottom: 4rem;
    }
    35% {
        opacity: 0.1;
        padding-bottom: 4rem;
    }
    37% {
        opacity: 0.5;
        padding-bottom: 4rem;
    }
    40% {
        opacity: 0.1;
        padding-bottom: 4rem;
    }
    100% {
        opacity: 1;
        padding-bottom: 0;
    }
}

/* --- END OF NAVBAR */

.why-header {
    padding: 5rem;
    text-align: center;
    color: #333;
}

.why-header h2 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-bottom: 4rem;
}

.why-header h3 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: .1rem;
}

.why-red {
    color: red;
    font-weight: 600;
}

.why-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12rem;
}

.why-card {
    width: 35rem;
    margin: 4rem;
    background-color: #fff;
    position: relative;
}

.why-card-heading {
    font-size: 2.4rem;
    font-weight: 400rem;
    text-align: center;
}

.why-card-paragraph {
    font-size: 2rem;
    margin: 2.5rem;
    text-align: left;
    line-height: 2.8rem;
}

.why-card-credit {
    font-size: 1.3rem;
    margin: 3rem;
    text-align: center;
}

.why-side-line {
    width: 0.1rem;
    height: 10rem;
    background-color: red;
    position: absolute;
    top: 2rem;
    left: -1rem;
}

.why-top-line {
    width: 10rem;
    height: 0.1rem;
    background-color: red;
    position: absolute;
    top: 0rem;
    left: 1rem;
    border-radius: 1rem;
}



/* PAGE HEADER */

section.page-header {
  height: 30rem;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.7)), url(images/le-borgne-green-brick.jpg) center no-repeat;
  display: flex;
  gap: 20rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.page-header > div {
  flex: 50%;
  text-align: center;
}

.header-box {
  display: inline-block;
  text-align: left;
}

.page-header h1 {
  margin-left: 10rem;
  color: #fff;
  font-size: 4.5rem;
  text-transform: uppercase;
}

.page-header h2 {
  margin-right: 10rem;
  color: rgb(183, 216, 177);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 3rem;
}

/* End Page Header */

section.page-warning {
  height: 5rem;
  background-color: #ff4d04;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 5rem 0 5rem;
}

.page-warning img {
  width: 80px;
}

.page-warning p {
  color: #fff;
  font-size: 1.5rem;
}

section.dashboard-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: top;
  flex-flow: wrap;
  gap: 5rem;
  background-color: #f5f5f5;
  padding-top: 2rem;
  padding-bottom: 6rem;
  padding-left: 5rem;
  padding-right: 5rem;
}

.dashboard-charts {
  flex: 1;
}

.dashboard-chart-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-flow: wrap;
  background-color: #f5f5f5;
}

.dashboard-chart-wrapper > div {
  width: 32vw;
  /* width: 60vw; */
}

/* width: 60vw;
height: 45vh; */

.dashboard-panel h3 {
  margin: 0;
  padding: 4rem 0 1rem 0;
  font-size: 2rem;
}

.stock_selector {
  width: 40rem;
  height: 4rem;
  font-size: 1.7rem;
  font-weight: 500;
  /*
  color: #fff;
  padding-left: 1rem;
  background-color: #004900; */
}

.stock_selector > .Select-control {
  background-color: #004900;
}

.parameter_selector {
  /* margin-bottom: 0.7rem; */
  position: relative;
  width: 100%;
  font-size: 1.4rem;
}

.parameter_selector > .Select-control {
  background-color: #0F52BA;
}

.Select-value > span {
  color: #fff !important;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 1.3rem 0 1.3rem 0.7rem;
  font-size: 1.5rem;
  font-weight: 500;
  border-bottom: 0.1rem solid #D3D3D3; /* #E0E0E0; */
}

td.td_selector {
  padding: 0.4rem 0 0.4rem 0;
}

td > span {
  font-style: italic;
}

.equation-panel {
  font-size: 1.9rem;
  font-weight: 300;
  /* text-align: center; */
}

.equation-panel > .frac > .bottom {
  text-align: center;
}

.valuation-result {
  background-color: #d9ffd9; /* #f2fff2;  #E0E0E0; */
  border-radius: 0.3rem;
  border: 0.1rem solid #C9C9C9;
}

.valuation-result p {
  font-size: 2rem;
  font-weight: 500;
  padding-left: 1.5rem;
}

.valuation-result-value {
  padding-left: 1rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: #004900;
}

.closing-price {
  font-size: 1.4rem;
  font-style: italic;
  padding-left: 0.3rem;
}

.closing-price > span {
  font-weight: 600;
  color: #333;
}

.dashboard-description p {
  font-size: 1.5rem;
  color: #444444;
  line-height: 2.3rem;
}

.equation {
  font-size: 2rem;
  text-align: center;
}

.frac {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    letter-spacing: 0.001em;
}
.frac > span {
    display: block;
    padding: 0.1em;
}
.frac span.bottom {
    border-top: thin solid black;
}
.frac span.symbol {
    display: none;
}

div.charts {
  padding: 3rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.year-selection {
  width: 47rem;
  padding: 0 0 2rem 0;
  font-size: 1.6rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  border-top: 0rem solid #D3D3D3;
  border-bottom: 0.1rem solid #D3D3D3;
}

.year-selection-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.year-selector {
  width: 10rem;
  font-size: 1.6rem;
}

.year-selector > .Select-control {
  background-color: #0F52BA;
}

.chart-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
  margin-top: 3rem;
  /* background-color: lightgreen; */
}

/* .chart-card {
  width: 45vw;
  margin: 2rem;
  text-align: center;
  background-color: lightblue;
} */

section.overview {
  padding: 10rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10rem;
  flex-flow: wrap;
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(images/akbar-nemati-marble.jpg) center no-repeat;
  /* background-color: #f5f5f5; */
}

section.overview > div {
  flex: calc(50% - 10rem);
}

section.overview p {
  font-size: 1.5rem;
  color: #1C1C1C;
  line-height: 2.3rem;
}

section.overview h3 {
  margin: 0;
  padding-bottom: 1rem;
  font-size: 2rem;
}

.s1-ref {
  font-style: italic;
}

.s1-ref-nav-link {
  text-decoration: none;
  font-weight: 800;
  color: #004900;
}

.s1-ref-nav-link:hover {
  color: #009200;
}


footer.green {
  min-height: 20rem;
  background: linear-gradient(to top, rgba(3,27,9,0.9), rgba(3,27,9,0.9)), url(images/karsten-winegeart-p2hNyi566a8-unsplash.jpg) center no-repeat; /* 4,36,12, */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

footer.green p {
  font-size: 1.4rem;
  margin: 0;
}

footer.green p.quote {
  padding-bottom: 2rem;
  font-size: 1.3rem;
}

footer.green img {
  width: 200px;
  margin: 0 auto;
  padding-bottom: 2rem;
}






@media all and (max-width: 1527px) {

  .page-header h2 br {
    display: none;
  }

  .dashboard-chart-wrapper > div {
    width: 50vw;
    /* width: 60vw; */
  }

}

@media all and (max-width: 1128px) {

  .main-nav-link {
      color: #004900;
      font-size: 1.5rem;
      font-weight: 700;
      letter-spacing: .1rem;
      text-transform: uppercase;
      text-decoration: none;
      transition: color .5s;
  }

}

@media all and (max-width: 1099px) {

  section.dashboard-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    padding-top: 2rem;
    padding-bottom: 6rem;
    padding-left: 0;
    padding-right: 0;
  }

  .dashboard-charts {
    flex: 1;
  }

  .dashboard-chart-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #f5f5f5;
    flex-flow: wrap;
    padding-left: 0;
    padding-right: 0;
    gap: 0;
  }

  .dashboard-chart-wrapper > div {
    width: 95vw;
    /* width: 60vw; */
  }

  .equation {
    font-size: 1.25rem;
  }

}

@media all and (max-width: 1000px) {

  .logo {
    padding-left: 5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .main-menu {
    margin-right: 3rem;
  }

  .main-nav-item {
      margin: 0 2rem;
  }

  .main-nav-link {
      font-size: 1.4rem;
  }

  section.overview {
    padding: 7rem 5rem 5rem 5rem;
    display: flex;
    flex-direction: row;
    gap: 5rem;
    justify-content: space-between;
    flex-flow: wrap;
    background-color: #f5f5f5;
  }

  section.overview > div {
    flex: calc(100%);
  }

  .equation {
    font-size: 2rem;
  }

}


@media all and (max-width: 835px) {

  section.page-header {
    height: auto;
    min-height: 30rem;
    background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.7)), url(images/le-borgne-green-brick.jpg) center no-repeat;
    display: flex;
    gap: 0rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .page-header > div {
    flex: 100%;
    text-align: center;
  }

  .header-box {
    display: inline-block;
    text-align: center;
  }

  .page-header h1 {
    margin-left: 5rem;
    margin-right: 5rem;
    margin-top: 5rem;
  }

  .page-header h2 {
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 5rem;
  }

  .navbar {
      height: auto;
      background-color: #f2fff2;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding-bottom: 0.8rem;
  }

  .logo {
    padding-left: 0rem;
  }

  .logo-cont h2 {
    color: green;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: .2rem;
    text-transform: uppercase;
    /* background-color: red; */
  }

  .main-menu {
    margin-right: 0rem;
    width: 100%;
  }

  .main-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
    margin: 0;
  }

  .main-nav-item {
    margin: 0;
    position: static;
    text-align: left;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .main-nav-link {
    color: #004900;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: none;
  }

  section.page-warning {
    height: 7rem;
    padding: 0 3rem 0 3rem;
  }

  .page-warning p {
    color: #fff;
    font-size: 1.3rem;
  }

  div.charts {
    padding: 0rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .year-selection {
    width: 47rem;
    padding: 2rem;
    font-size: 1.6rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-top: 0.1rem solid #D3D3D3;
    border-bottom: 0.1rem solid #D3D3D3;
  }

}

@media all and (max-width: 415px) {

  section.dashboard-panel {
    padding-top: 2rem;
    padding-bottom: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .stock_selector {
    width: 100%;
  }

  .equation-panel {
    font-size: 1.7rem;
  }

  .valuation-result p {
    font-size: 1.5rem;
  }

  .year-selection {
    width: 30rem;
    padding: 2rem 0.5rem 2rem 0.5rem;
  }

  .equation {
    font-size: 1.3rem;
  }

  section.page-warning {
    height: 10rem;
    padding: 0 1rem 0 2rem;
  }

  .page-warning img {
    padding-right: 1rem;
  }

  footer.green p.quote {
    padding-right: 2em;
    padding-left: 2rem;
  }


}
