@font-face {
  font-family: libreBaskerville;
  src: url('./assets/fonts/LibreBaskerville-Bold.ttf');
  font-weight: bold;
}

@font-face {
  font-family: sella;
  src: url('./assets/fonts/Sella-RegularWEB.woff2');
}

@font-face {
  font-family: sella;
  src: url('./assets/fonts/Sella-MediumWEB.woff2');
  font-weight: 500;
}

@font-face {
  font-family: sella;
  src: url('./assets/fonts/Sella-BoldWEB.woff2');
  font-weight: bold;
}

@font-face {
  font-family: sella-stencil;
  src: url('./assets/fonts/SellaStencil-MediumWEB.woff2');
  font-weight: 500;
}

:root {
  --blue: #03c;
  --brownie: #c19d58;
  --grey: #e7e7e7;
  --dark-grey: #323232;
  --white: #fff;
}

html,
body {
  margin: 0 auto;
  box-sizing: border-box;
  font-family: sella;
  max-width: 850px;
}

section {
  padding: 3rem 2rem;
}

.header-section {
  background-color: var(--blue);
  background-image: url('./assets/images/section-lines.png');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: auto;
}

.header-section .divider {
  margin: 1rem 0;
  height: 0px;
  background: transparent;
  border-bottom: 2px solid rgb(190, 190, 190);
}

.header-up {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 14.19px;
  letter-spacing: -0.02em;
  line-height: 20.03px;
  color: var(--white);
}

.header-up:first-child {
  font-weight: bold;
}

.header-up:last-child {
  font-weight: 500;
}

.header-title {
  margin: 0;
  font-family: sella-stencil;
  font-weight: 500;
  font-size: 5rem;
  text-align: left;
  color: var(--white);
}

@media screen and (min-width: 768px) {
  .header-title {
    font-size: 6rem;
  }
}

.header-descr {
  font-size: 19pt;
  font-weight: 500;
  line-height: 120%;
  text-align: left;
  color: var(--white);
}

@media screen and (min-width: 768px) {
  .header-descr {
    font-size: 22pt;
    width: 80%;
  }
}

.header-par {
  font-size: 15px;
  line-height: 20px;
  text-align: left;
  color: var(--white);
}

@media screen and (min-width: 768px) {
  .header-par {
    width: 70%;
  }
}

.articles-group-title {
  margin-top: 2rem;
  font-size: 17px;
  line-height: 20.4px;
  text-align: left;
  color: var(--white);
  text-transform: uppercase;
}

@media screen and (min-width: 768px) {
  .articles-group-title {
    margin-top: 4rem;
    margin-bottom: 2rem;
  }
}

.articles-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .articles-group {
    flex-direction: row;
    gap: 2rem;
  }
}

.articles-group * {
  color: var(--white);
}

.articles-group .vertical-divider {
  width: inherit;
  height: 0;
  background: transparent;
  border-bottom: 1.5px solid rgb(190, 190, 190);
  border-right: none;
}

@media screen and (min-width: 768px) {
  .articles-group .vertical-divider {
    width: 0;
    height: inherit;
    border-bottom: none;
    border-right: 1.5px solid rgb(190, 190, 190);
  }
}

.articles-group article {
  flex: 1;
}

.article-img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .article-img {
    margin: 0;
  }
}

.article-title {
  font-weight: bold;
}

.article-desc {
  margin: 0;
  line-height: 19px;
}

.article-link {
  font-weight: 500;
  margin: 0;
}

.articles-group article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.light-divider {
  margin: 1rem 0;
  height: 0px;
  background: transparent;
  border: 0.75px solid var(--grey);
}

.main-article {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media screen and (min-width: 768px) {
  .main-article {
    margin: 2rem 0;
  }
}

@media screen and (min-width: 768px) {
  .main-article {
    flex-direction: row;
  }
}

.main-article-img {
  min-width: 40%;
  min-height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.main-article-img#warehouse {
  background-image: url('./assets/images/jake-nebov-seTS7bvcr0A-unsplash.jpg');
}

.main-article-img#theatre {
  background-image: url('./assets/images/giusi-borrasi-eH-IOSeI0Yk-unsplash.jpg');
  aspect-ratio: 0.95;
  min-height: initial;
  background-position: center top;
}

.main-article-img#vr {
  background-image: url('./assets/images/uk-black-tech-dLLQNd7RP28-unsplash.jpg');
  aspect-ratio: 0.95;
  min-height: initial;
  background-position: center top;
}

.main-article-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.main-article-details #category {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1rem;
  text-align: left;
  color: var(--blue);
}

@media screen and (min-width: 768px) {
  .main-article-details #category {
    margin-bottom: 2rem;
    font-size: 1.5rem;
  }
}

.brownie .main-article-details #category {
  color: var(--white);
}

.main-article-details #title {
  margin: 0;
  font-family: libreBaskerville;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: left;
  color: var(--dark-grey);
}

@media screen and (min-width: 768px) {
  .main-article-details #title {
    margin: 1rem 0;
    font-size: 22pt;
    width: 80%;
  }
}

.main-article-details #description {
  line-height: 120%;
  color: var(--dark-grey);
}

@media screen and (min-width: 768px) {
  .main-article-details #description {
    font-size: 15pt;
  }
}

.main-article-details #link-button {
  margin-bottom: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
  color: var(--white);
  background: var(--blue);
}

.brownie .main-article-details #link-button {
  background: var(--dark-grey);
}

.main-article-details #link-button a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.article-inline .light-divider {
  margin: 0;
}

.article-inline .label {
  margin: 0.5rem 0;
  font-weight: bold;
  font-size: 0.8rem;
  color: var(--blue);
}

.article-header-line {
  margin-bottom: 1.5rem;
  line-height: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: baseline;
}

.article-header-line a {
  color: var(--blue);
}

@media screen and (min-width: 768px) {
  .article-header-line {
    margin: 0;
    flex-direction: row;
    gap: 2rem;
  }
}

.article-header-line h3 {
  font-size: min(5vw, 1.5rem);
  font-weight: 500;
  color: var(--dark-grey);
}

.grey .article-header-line h3 {
  margin-bottom: 0;
}

.brownie {
  background: var(--brownie);
}

.grey {
  background: var(--grey);
}

section.grey .section-title {
  margin: 2rem 0;
  font-weight: bold;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--blue);
}

.article-inline img {
  max-width: 190px;
}

section.grey .divider {
  margin: 2rem 0;
  height: 0px;
  background: transparent;
  border: 0.75px solid #c8c8c8;
}

@media screen and (min-width: 768px) {
  section.grey .divider {
    margin: 19px 0;
  }
}

.articles-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .articles-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}

.article-box {
  flex: 1;
  padding: 1rem;
  background: var(--grey);
}

.article-box .label {
  font-weight: bold;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--blue);
}

.article-box .title {
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--dark-grey);
}

.article-box .description {
  line-height: 130%;
}

.article-box .description strong {
  color: var(--blue);
}

.blue {
  background: var(--blue);
}

.footer {
  padding: 3rem 2rem;
  color: var(--white);
}

.footer-title {
  font-weight: 500;
  font-size: 2rem;
}

.events-wrapper {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

@media screen and (min-width: 768px) {
  .events-wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
  }
}

.events-wrapper .vertical-divider {
  display: none;
  width: 0px;
  background: transparent;
  border: 0.75px solid rgba(255, 255, 255, 0.5);
}

@media screen and (min-width: 768px) {
  .events-wrapper .vertical-divider {
    display: block;
  }
}

.event {
  height: 100px;
  margin: 1rem 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.event::before {
  content: '';
  width: 28.67px;
  height: 38.22px;
  margin-right: 1rem;
  background-image: url('./assets/images/geo-marker.png');
}

@media screen and (min-width: 768px) {
  .event {
    margin: 2rem 0;
  }

  .event::before {
    margin-right: 2rem;
  }
}

.event div:last-child {
  flex: 1;
}

.events-group {
  flex: 1;
}

.event .divider {
  height: 0px;
  background: transparent;
  border: 0.75px solid rgba(255, 255, 255, 0.5);
}

.event-details {
  display: block;
  margin: 0.5rem 0;
}

.event-title {
  font-weight: 500;
  line-height: 150%;
}

.footer .divider {
  height: 0px;
  background: transparent;
  border: 0.74px solid rgba(255, 255, 255, 0.5);
}

.footer-info {
  padding-top: 1rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: flex-start;
  line-height: 120%;
}

@media screen and (min-width: 768px) {
  .footer-info {
    flex-direction: row;
    align-items: center;
  }
}

.footer a {
  color: inherit;
}
