
/* From Uiverse.io by eirikvold */ 
button {
  font-family: inherit;
  font-size: 16px;
  background: linear-gradient(to bottom, #4dc7d9 0%,#66a6ff 100%);
  /*color: white;*/
  padding: 0.6em 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 24px;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: scale(0.95);
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
}

button span {
  display: block;
  margin-left: 0.2em;
  transition: all 0.3s;
}

button svg {
  width: 16px;
  height: 16px;
  fill: white;
  transition: all 0.3s;
}

button .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  margin-right: 0.4em;
  transition: all 0.3s;
}

button:hover .svg-wrapper {
  background-color: rgba(255, 255, 255, 0.726);
}

button:hover svg {
  transform: rotate(45deg);
}

.flex-item {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 2px 2px 2px;
    margin: 1px;
}

.content-title {
    height: auto;
}

.content-sub {
    height: auto;
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.chart-container {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 0.5rem;
}

.chart-column {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: auto;         /* sets height to content height */
    /*background-color: rgb(5, 88, 12); */
}

.chart-item {
    background-color: #deadffec;
    margin: 0.4rem;
    border-radius: 12px;
    width: 80%;
}

.chart-title {
    margin-top: 2px;
}

.item-shadow {
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

h1 {
    font-size: 3rem;
    margin: 0.6rem;
}

h2 {
    font-size: 1.5rem;
    margin: 0.6rem;
}

h3 {
    font-size: 1.3rem;
    margin: 0.6rem;   
}

p {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 1rem;
}

.intro-text {
    width: 60%;
}

img {
    padding: 4px;
}

/* mobile styles */
@media screen and (max-width: 480px) {
    .chart-column {
        width: 48vw;
    }
}

/* tablet breakpoint */
@media (max-width:768px) {
    .chart-container {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    
    .chart-column {
        width: 90vw;
    }
    .chart-item {
        justify-content: center;
        align-items: center;
        height: auto;
        padding: 4px;
        width: 90vw;
    }

    .intro-text {
        width: 90%;
    }
}