/* Maison Mono Regular */
@font-face {
  font-family: "Maison Mono Regular";
  src: url("../fonts/Maison\ Mono\ Regular.woff2") format("woff2"),
    url("../fonts/Maison\ Mono\ Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* NB Architekt R Regular */
@font-face {
  font-family: "NB Architekt R Regular";
  src: url("../fonts/NB\ Architekt\ R\ Regular.woff2") format("woff2"),
    url("../fonts/NB\ Architekt\ R\ Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Generics */
html {
  font-size: 16px;
  background-color: #334c4d;
}
html:after {
  content: "";
  position: fixed;
  top: 0;
  height: 100vh;
  left: 0;
  right: 0;
  z-index: -1;
  background: url("../images/background.jpg") center center;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  animation: zoom-in-zoom-out 5s ease-out;
  animation-delay: 1000ms;
  transform: scale(1.2, 1.2);
}
@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1.2, 1.2);
  }
  50% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1.2, 1.2);
  }
}
body {
  font-family: "Maison Mono Regular", monospace;
  font-size: 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
  padding: 0;
}
.center-constrain-sm {
  max-width: 1280px;
  margin: 0 auto;
}
.center-constrain {
  max-width: 1530px;
  margin: 0 auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.display-none {
  display: none;
}
main {
  flex: 1;
}

/* Header */
main > header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 85px 22px 60px;
  transition: all 0.4s ease-in-out;
}
main > header img {
  width: 55px;
  height: 55px;
  margin-bottom: 12px;
  transition: all 0.4s ease-in-out;
  animation: zoom-in-zoom-out-header 5s ease-out;
  animation-delay: 1000ms;
}
main > header h1 {
  font-family: "NB Architekt R Regular", serif;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  padding: 0;
  color: #fff;
  transition: all 0.4s ease-in-out;
  animation: zoom-in-zoom-out-header 5s ease-out;
  animation-delay: 1000ms;
}
@keyframes zoom-in-zoom-out-header {
  50% {
    filter: drop-shadow(0px 0px 8px #fff);
  }
}
main > header p {
  text-align: center;
  line-height: 150%;
  max-width: 380px;
  margin: 0;
  padding: 0;
}

/* Numbers */
.numbers-container {
  position: relative;
  color: #000;
  text-align: center;
  background-color: #07ffba;
  padding: 60px 20px;
}
.numbers-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.number-item {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.number-item .counter {
  font-size: 2.5rem;
}
.number-item h3 {
  font-family: "NB Architekt R Regular", serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}

/* Countries Navigation */
.countries-navigation-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0 0;
  margin: 24px;
}
.countries-navigation-mobile .custom-select {
  width: 100%;
  position: relative;
  display: block;
  height: 100%;
  background: #fff url(../images/chevron-down.svg) no-repeat scroll right 15px
    center;
  background-size: 15px;
}
.countries-navigation-mobile select {
  font-family: "NB Architekt R Regular", serif;
  font-size: 1rem;
  color: #000;
  width: 100%;
  height: 45px;
  padding: 0 35px 0 12px;
  box-sizing: border-box;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.countries-navigation {
  display: none;
}

/* Countries */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.countries-container {
  position: relative;
  z-index: 1;
  padding: 22px;
}
.countries-container .column-item {
  padding-bottom: 30px;
}
.countries-container.filtered {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.countries-container.filtered .column-item {
  padding-bottom: 0;
}
.countries-container:not(.filtered) {
  overflow: hidden;
  column-count: 1;
  -webkit-column-count: 1;
}
.countries-container:not(.filtered) .column-item {
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}
.countries-container article {
  transition: box-shadow 0.3s ease;
}
.countries-container article:hover {
  box-shadow: 0px 0px 20px 3px rgba(7, 255, 186, 0.65);
}
.countries-container article header {
  display: flex;
  align-items: center;
  height: 77px;
  background-color: #fff;
  padding-left: 30px;
}
.countries-container article header img {
  display: block;
  max-width: 180px;
  height: 38px;
}
.countries-container article > a {
  font-size: 0;
  display: flex;
  align-items: center;
  height: 77px;
  background-color: #fff;
  padding-left: 48px;
}
.countries-container article > a img {
  display: block;
  max-width: 180px;
  height: 38px;
}
.countries-container ul {
  list-style: none;
  margin: 0;
  padding: 30px 50px 40px 30px;
  border: solid 2px #07ffba;
  border-top: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.countries-container ul li {
  margin-bottom: 33px;
}
.countries-container ul li:last-child {
  margin-bottom: 0;
}
.countries-container ul li a {
  position: relative;
  display: flex;
  align-items: center;

  text-decoration: none;
  color: #fff;
}
.countries-container ul li a span {
  position: relative;
  display: inline-flex;
  height: 30px;
}
.countries-container ul li a span:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 3px;
  left: 0;
  bottom: 0;
  background-color: #07ffba;
  transition: width 0.3s cubic-bezier(0.47, 1.64, 0.41, 0.8);
}
.countries-container ul li a:hover span:after {
  width: 100%;
}

.countries-container .column-item article:not(.active) > a,
.countries-container .column-item article.active header,
.countries-container .column-item article.active ul {
  display: none;
}

/* Market Presence */
.marketpresence-container {
  margin-top: 40px;
  padding: 15px 34px 63px 34px;
}
.marketpresence-container h2 {
  font-family: "NB Architekt R Regular", serif;
  font-weight: normal;
  font-size: 1.63rem;
  text-transform: uppercase;
  margin: 0 0 27px 0;
  padding: 0;
}
.marketpresence-container p {
  line-height: 150%;
  margin: 0 0 30px 0;
  padding: 0;
}

/* Careers*/
.career-link {
  position: relative;
  display: flex;
  background-color: #07ffba;
  align-items: center;
  font-family: "NB Architekt R Regular", serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1.75rem;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  width: 160px;
  height: 28px;
  padding: 24px;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.47, 1.64, 0.41, 0.8);
}
.career-titles {
  display: flex;
  flex-direction: column;
  margin-top: -100px;
  transition: margin-top 0.3s ease;
}
.career-titles div:first-child {
  margin-bottom: 71px;
}
.career-link:after {
  content: "";
  position: absolute;
  width: 53px;
  height: 28px;
  right: 25px;
  top: 49%;
  transform: translateY(-50%);
  margin-left: 20px;
  background-image: url("../images/arrow-right.svg");
}
.career-link:hover .career-titles {
  margin-top: 100px;
}
.career-link:hover {
  width: 190px;
}

/* Press Releases */
.releases-container{
  padding: 45px 22px;
}
.releases-container h2{
  margin-top: 0;
}
.releases-container h2 a{
  font-size: 14px;
  font-weight: 400;
  margin-left: 10px;
  vertical-align: middle;
  display: inline-block;
  color: #fff;
  text-decoration: none;
}
.releases-container h2 a:hover{
  filter: drop-shadow(0px 0px 6px #fff);
}
.releases-container h2 a::after{
  content: " →";
  color: #07ffba;
  display: inline-block;
  margin-left: 10px;
  font-size: 20px;
  vertical-align: middle;
}
.press-releases-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: column;
}
.press-release {
  flex-basis: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 0;
  border: solid 2px #07ffba;
  padding-bottom: 40px;
  position: relative;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.press-release:hover {
  box-shadow: 0px 0px 20px 3px rgba(7, 255, 186, 0.65);
}
.press-release img {
  width: 100%;
  height: 180px;
  object-fit: cover; /* This will crop the image to fit within the specified dimensions */
  display: block;
}
.press-content{
  padding: 20px 15px;
}
.press-release h3 {
  font-weight: bold;
  font-size: 0.8rem;
  line-height: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 25px 0;
  padding: 0;
}
.press-release p {
  font-size: 11px;
  line-height: 1.1rem;
  margin: 0;
}
.press-release a {
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  position: absolute;
  bottom: 20px;
  left: 15px;
  z-index: 1;
}
.press-release a::after {
  content: " →";
  color: #07ffba;
  display: inline-block;
  margin-left: 10px;
  font-size: 20px;
  vertical-align: middle;
}

/* Footer */
footer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 70px;
  text-align: center;
  background-color: #07ffba;
  color: #000;
}
footer span {
  margin: 0 14px 0 7px;
}
footer img {
  height: 27px;
  width: auto;
}

/* 	Medium devices (tablets): */
@media (min-width: 768px) {
  main > header {
    padding: 120px 22px 120px;
  }
  main > header img {
    width: 85px;
    height: 85px;
    margin-bottom: 20px;
  }
  main > header h1 {
    font-size: 2.5rem;
  }
  main > header p {
    max-width: 480px;
    font-size: 1.2rem;
  }
  .numbers-list {
    display: flex;
    justify-content: space-around;
  }
  .number-item .counter {
    font-size: 3rem;
  }
  .countries-navigation-mobile {
    display: none;
  }
  .countries-navigation {
    display: block;
    margin: 30px 0 30px;
    padding-top: 15px;
  }
  .countries-navigation ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .countries-navigation ul li {
    margin: 0 12px;
  }
  .countries-navigation ul li:first-child {
    margin: 0;
  }
  .countries-navigation ul li:first-child a {
    display: block;
    font-size: 0;
    width: 36px;
    height: 36px;
    background-image: url("../images/home.svg");
    background-repeat: no-repeat;
    background-position: center;
    padding: 2px;
    margin: 0 10px;
  }
  .countries-navigation ul li:first-child a > span {
    width: calc(100% - 10px);
  }
  .countries-navigation ul li:first-child a > span:after {
    left: 5px;
  }
  .countries-navigation ul li:first-child a:hover:not(.active) {
    filter: drop-shadow(0px 0px 6px #fff);
  }
  .countries-navigation a {
    font-family: "NB Architekt R Regular", serif;
    font-size: 0.7rem;
    font-style: normal;
    letter-spacing: 1px;
    font-weight: 700;
    line-height: 36px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
  }
  .countries-navigation a > span {
    position: relative;
    display: inline-flex;
    height: 35px;
  }
  .countries-navigation a > span:after {
    content: "";
    position: absolute;
    width: 18px;
    height: 3px;
    left: 0;
    bottom: 0;
    background-color: #07ffba;
    transition: width 0.3s cubic-bezier(0.47, 1.64, 0.41, 0.8);
  }
  .countries-navigation a:hover:not(.active) span:after {
    width: 100%;
  }
  .countries-navigation a span > span {
    transition: all 0.3s ease;
  }
  .countries-navigation a:hover:not(.active) span > span {
    filter: drop-shadow(0px 0px 6px #fff);
  }
  .countries-navigation a.active {
    color: #000;
    background-color: #07ffba;
  }
  .countries-navigation a.active span:after {
    display: none;
  }
  .countries-navigation ul li:first-child a.active {
    background-image: url("../images/home-dark.svg");
  }
  .fadeIn-animation {
    animation: 1.5s fadeIn;
  }
  .countries-container.filtered {
    grid-template-columns: repeat(2, 1fr);
  }
  .countries-container:not(.filtered) {
    position: relative;
    column-count: 2;
    -webkit-column-count: 2;
    column-gap: 20px;
  }
  .countries-container.filtered.less-4 {
    display: flex;
    justify-content: center;
  }
  .countries-container.filtered.less-4 .column-item {
    width: 320px;
  }
  .countries-container:not(.filtered) .column-item {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .marketpresence-container {
    position: relative;
    margin-top: -50px;
  }
  .marketpresence-container .aside-text {
    width: 45%;
    margin: 150px 0 0 0;
    padding-top: 75px;
  }
  .marketpresence-container .aside-map {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url("../images/map.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 200%;
  }
  .releases-container{
    padding: 45px 15px;
  }
  .press-releases-container {
    flex-direction: row;
  }
  .press-release {
    flex-basis: 48%;
  }
}

/* 	Large devices (desktops): */
@media (min-width: 1024px) {
  .countries-navigation {
    display: block;
  }
  .countries-navigation a {
    font-size: 1rem;
  }
  .countries-container.filtered {
    grid-template-columns: repeat(3, 1fr);
  }
  .countries-container:not(.filtered) {
    column-count: 3;
    -webkit-column-count: 3;
  }
  .releases-container{
    padding: 45px 30px;
  }
  .press-releases-container {
    flex-direction: row;
  }
  .press-release {
    flex-basis: 24.5%;
  }
}
@media (min-width: 1060px) {
  .countries-navigation a {
    font-size: 1.25rem;
  }
  .countries-container.filtered {
    grid-template-columns: repeat(4, 1fr);
  }
  .countries-container:not(.filtered) {
    column-count: 4;
    -webkit-column-count: 4;
  }
  .countries-container:not(.filtered) .column-item:nth-child(2){
    margin-bottom: 25px;
  }
}
@media (min-width: 1115px) {
  .countries-navigation a{
    letter-spacing: 1px;
  }
}

@media (min-width: 1245px) {
  .marketpresence-container .aside-map {
    background-size: cover;
  }
}
