@font-face {
  font-family: 'AtypWood-Regular';
  src: url('./AtypWood-Regular.woff') format('woff'),
  url('./AtypWood-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'AtypWood-Bold';
  src: url('./AtypWood-Bold.woff') format('woff'),
  url('./AtypWood-Bold.woff2') format('woff2');
}

* {
  box-sizing: border-box;
}

h1 {
  font-family: 'AtypWood-Bold';
  font-size: 2rem;
  line-height: 2.5rem;
  color: #052d2f;
  margin: 0;
  margin-bottom: 1rem;
  font-weight: 400;
}

p {
  margin: 0;
  font-family: 'AtypWood-Regular';
  font-size: 1.0625rem;
  line-height: 1.5rem;
  color: #4c5c5c;
}

a {
  font-family: 'AtypWood-Regular';
  font-size: 1.0625rem;
  line-height: 1.5rem;
  text-decoration: underline;
  color: #005f60;
}

body {
  background-color: #0f3738;
  background-image: url('./anonym.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  margin: 0;
}

.container {
  max-width: 73.75rem;
  margin: 0 auto;
  width: 100%;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header {
  position: relative;
  margin: 0 auto;
  margin-bottom: 0px;
  display: flex;
  width: 100%;
  height: 125px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  padding: 0 20px;
}

.content {
  min-height: calc(100vh - 175px);
  padding: 0 20px;
}

.language-switcher {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid #fff;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.language-switcher > span {
  font-family: 'AtypWood-Bold';
  font-size: 17px;
  line-height: 32px;
  color: #fff;
  padding-top: 4px;
  text-transform: uppercase;
}

.dropdown {
  display: none;
  position: absolute;
  width: 56px;
  top: 72px;
  background-color: #fff;
  border: 1px solid #d8e1e1;
  border-radius: 8px;
  flex-direction: column;
  justify-content: space-around;
  min-height: 160px;
  max-height: 160px;
}

.dropdown .lang {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'AtypWood-Bold';
  font-size: 17px;
  line-height: 32px;
  text-align: center;
  letter-spacing: 0.01em;
  color: #4c5c5c;
  height: 50px;
}

.dropdown span.active {
  color: #052d2f;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 85px 70px 85px 50px;
  overflow: hidden;
  background: #ffffff;
  border: 0.0625rem solid #d8e1e1;
  border-radius: 1.25rem;
  width: 100%;
}

.language-switcher.active {
  background: rgba(255, 255, 255, 0.3);
}

.language-switcher.active .dropdown {
  display: flex;
}

.lang.active {
  color: #052d2f;
}

@media screen and (max-width: 640px) {
  .header {
    margin-bottom: 0;
    align-items: center;
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin-bottom: 1rem;
  }

  .content {
    min-height: calc(100vh - 125px);
    background-color: #fff;
    padding: 0;
    align-items: flex-start;
  }

  .content-wrapper {
    border-radius: 0;
    border: none;
    padding: 25px 30px;
  }
}
