@charset "UTF-8";

body {
    display: flex;
    margin: 0;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 400;
}

.container {
    display: flex;
    min-height: 100vh;
    justify-content: center;
}

.content {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 800px;
    min-width: 400px;
    column-gap: 10px;
    row-gap: 40px;
}

.measurement-box {
    width: 380px;
    height: 220px;
}

.measurement-title {
    margin: 2px;
    font-size: 24px;
}

.measurement-title-sm {
    margin: 1px;
    font-size: 12px;
}

.measurement-value {
    margin: 0;
    margin-top: 15px;
    font-size: 120px;
    line-height: 132px;
}

.measurement-value-sm {
    margin: 0;
    margin-top: 5px;
    font-size: 20px;
}

.text-align-end {
    text-align: end;
}

.measurement-box-sm {
    width: 80px;
}

.news-box {
    display: flex;
    flex-wrap: nowrap;
    width: 400px;
    height: 220px;
    position: relative;
}

.article-card {
  display: none;
  transition: opacity 0.5s ease;
  opacity: 0;
  height: 100%;
}

.article-card.active {
  display: block;
  opacity: 1;
}

.article-link {
    color: inherit;
    text-decoration: none;
}

.article-link:hover {
    text-decoration: underline;
}

.article-title {
    margin: 2px;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.1;
}

.article-description {
    margin: 2px;
    font-size: 16px;
    color: rgb(82, 82, 82);
}

button {
    flex: none;
    background: rgba(137, 137, 137, 0.1);
    border: none;
    opacity: 0;
    padding: 5px;
    font-size: 1rem;
    cursor: pointer;
    height: 100%;
    width: 20px;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

button:hover {
    opacity: 1;
}

.invisible {
    display: none;
}

.forecast-line {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 40px;
}

@media (max-width: 800px) {
  .forecast-line {
    width: 380px;
  }
  .content {
    justify-content: center;
  }
}