
@font-face {
  font-family: 'NeoSansMed';
  src: url(/assets/fonts/NeoSansProMedium.OTF);
}
@font-face {
  font-family: 'NeoSansLight';
  src: url(/assets/fonts/NeoSansProLight.OTF);
}

:root {
  --accent-color: #00973d;
  --primary-color: #4d4d4d;
  --secondary-color: #acacac;
  --blue-color: #50b4b4;
  --primary-font: "Play", sans-serif;
  --secondary-font: "Karla", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: var(--secondary-font);
  color: var(--primary-color);
}
.mobile {
  display: none;
}
.desktop {
  display: block;
}
.rgs-page {
  position: relative;
}
.rgs-page .popup {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0, 0.5);
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.rgs-page .popup__container {
  position: relative;
}
.rgs-page .popup__container img {
  border-radius: 10px;
  max-width: 100%;
  height: 70vh;
}
.rgs-page .popup__container--close {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: #9c9c9c;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'NeoSansMed';
  transition: all 0.2s ease-in-out;
}
.rgs-page .popup__container--close:hover {
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}
.rgs-page .baner {
  /* background: url("./metro.png") no-repeat right; */
  margin-bottom: 4rem;
  /* height: 80vh; */
  position: relative;
}

.rgs-page .baner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rgs-page .baner-lang {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 15px;
}

/* .rgs-page .mj-container {
  max-width: 620px;
  max-height: 620px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rgs-page .mj-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.rgs-page .flex-parent {
  display: flex;
  align-items: stretch;
}

.rgs-page .blur-bcg {
  background: url("/assets/img/rectangle.svg") no-repeat left;
  /* height: 200px; */
  width: calc(100% - 12rem);
  opacity: 90%;
  border-radius: 10px 10px 0 0;
  position: absolute;
  bottom: 0;
  left: 10%;
  padding: 4rem;
}

.rgs-page #btn-pl, .rgs-page #btn-en, .rgs-page #btn-de {
  width: 50px;
  height: 30px;
  cursor: pointer;
  border: none;
  background-color: transparent;
  font-weight: 600;
  color: white;
  font-size: 20px;
}

/* .rgs-page #btn-en {
  cursor: pointer;
  border: none;
  width: 50px;
  height: 30px;
  background: 
		linear-gradient(transparent 40%, #C8102E 40% 60%, transparent 60%),
		linear-gradient(to right, transparent 45%, #C8102E 45% 55%, transparent 55%),
		linear-gradient(transparent 35%, #FFF 35% 65%, transparent 65%),
		linear-gradient(to right, transparent 42.25%, #FFF 42.25% 57.75%, transparent 42.25%),
		linear-gradient(25deg, transparent 47.5%, #C8102E 47.5% 52.5%, transparent 52.5%),
		linear-gradient(-25deg, transparent 47.5%, #C8102E 47.5% 52.5%, transparent 52.5%),
		linear-gradient(25deg, transparent 45%, #FFF 45% 55%, transparent 55%),
		linear-gradient(-25deg, transparent 45%, #FFF 45% 55%, transparent 55%);
	background-color: #012169;
}

.rgs-page #btn-de {
  cursor: pointer;
  border: none;
  width: 50px;
  height: 30px;
  background: 
    linear-gradient(to bottom, black 33.33%, red 33.33%, red 66.66%, gold 66.66%, gold 100%);
} */

.rgs-page .blur {
  position: absolute;
  bottom: 0;
  left: 10%;
  align-items: center;
  border-radius: 10px 10px 0 0;
}

.rgs-page .blur img {
  height: 7rem;
  margin: 1rem;
  margin-top: 1.7rem;
}

.rgs-page .blur h1 {
  font-weight: 900;
  margin-left: 2rem;
  margin-top: 3rem;
  font-size: 2em;
  font-family: var(--secondary-font);
}

.rgs-page .desc {
  width: 70%;
  margin: 0 auto;
}

.rgs-page .desc p {
  color: var(--primary-color);
}

.rgs-page .blue {
  color: var(--blue-color);
}

.rgs-page .grey-bcg {
  background-color: #e0e0e0;
}

.rgs-page .grey-bcg img {
  width: 100%;
}

.rgs-page .map-section {
  position: relative;
}

.rgs-page .bcg-img {
  height: 75vh;
}

.rgs-page .bcg-img img {
  opacity: 30%;
  width: 100%;
  height: 80%;
  object-fit: cover;
  object-position: left;
}

.rgs-page .txt-img {
  transform: translate(-50%, -50%);
  position: absolute;
  top: 45%;
  left: 25%;
  color: var(--blue-color);
  font-family: 'NeoSansLight';
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 600;
  margin: 0;
}
.rgs-page .txt-img p {
  margin: 0;
}
.rgs-page .txt-img span {
  color: black;
}

.rgs-page .map-img {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1rem;
}

.rgs-page .contact {
  margin: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rgs-page .contact h1 {
  color: var(--blue-color);
  font-family: var(--secondary-font);
  font-weight: 900;
  font-size: 3rem;
}

.rgs-page .mail {
  color: white;
  background-color: var(--blue-color);
  border-radius: 20px;
  padding: 1rem 3rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.rgs-page .question {
  width: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.rgs-page .question h1 {
  font-family: var(--secondary-font);
  font-size: 2em;
  font-weight: 900;
  margin-bottom: 4em;
}

.rgs-page .question img {
  height: 50%;
  margin-right: 4em;
}

.rgs-page .gradient {
  width: 50%;
  background: url("/assets/img/gradient.png") no-repeat left;
  padding: 8rem 1rem 10rem 4rem;
  border-radius: 10px 0 0 0;
}

.rgs-page .gradient p {
  color: white;
}

.rgs-page .gradient img {
  height: 1rem;
  margin-right: 1rem;
}

.rgs-page .gradient .flex-parent {
  display: flex;
  align-items: center;
}

.rgs-page .grey-bcg {
  padding: 6rem;
  display: flex;
  justify-content: center;
}

.rgs-page .txt-section {
  max-width: 1400px;
  margin: 0 auto;
}

.rgs-page .txt-section p {
  font-size: 1em;
}

.rgs-page .txt {
  padding: 4rem 0;
}

.rgs-page .podpis-section {
  background: url("/assets/img/grey-circle.png") no-repeat right;
  margin-bottom: 4rem;
}

.rgs-page .col {
  margin: 4rem 0;
}

.rgs-page .col img {
  width: 100%;
}

.rgs-page .exp-mobile-wrapper {
  display: none;
}

@media (max-width: 1300px) {
  .rgs-page .map-img {
    display: none;
  }

  .rgs-page .txt-img {
    left: 60%;
    top: 40%;
    font-size: 20px;
  }

  .rgs-page .txt {
    padding: 0 2rem;
  }

  .rgs-page .mj-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .rgs-page .flex-parent.highlight {
    flex-direction: column;
    align-items: center;
  }

  .rgs-page .question img {
    height: 8rem;
  }

  .rgs-page .question h1 {
    margin-bottom: 3rem;
  }

  .rgs-page .gradient {
    padding: 2rem;
    width: 100%;
    margin: 0 auto;
    background-position: center;
  }

  .rgs-page .desc {
    width: 100%;
    padding: 0 2rem;
  }

  .rgs-page .blur.flex-parent {
    display: flex;
    margin: 0 2rem;
    left: 0;
  }

  .rgs-page .blur img {
    height: 5rem;
  }

  .rgs-page .blur-bcg {
    left: 0;
    width: 100%;
    background-position: center;
  }
}

@media (max-width: 1100px) {
  .rgs-page .flex-parent.txt-section {
    display: flex;
    flex-direction: column;
  }

  .rgs-page .mj-container img {
    width: 100%;
  }

  .rgs-page .experience {
    display: none;
  }

  .rgs-page .exp-mobile-wrapper {
    display: block;
  }

  .rgs-page .exp-mobile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .rgs-page .exp-mobile-container img {
    height: 10rem;
    width: auto;
  }

  .rgs-page .exp-mobile-container p {
    text-align: center;
    margin-bottom: 3rem;
  }
}

@media (max-width: 800px) {
  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }
  .rgs-page .baner {
    background-position: center;
    height: 80vh;
  }
  .rgs-page .blur h1 {
    margin-top: 1rem;
  }

  .rgs-page .blur.flex-parent {
    margin: 0;
    width: 100%;
  }
  .rgs-page .blur-bcg {
  }

  .rgs-page .blur.flex-parent h1 {
    font-size: 1.5em !important;
  }

  .rgs-page .bcg-img {
    height: 50vh;
  }

  .rgs-page .txt-img {
    height: 50%;
    top: 50%;
    width: 100%;
  }

  .rgs-page .txt-img img {
    height: 70%;
    width: 100%;
  }

  .rgs-page .contact {
    text-align: center;
    margin: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .rgs-page .contact h1 {
    font-size: 2rem;
  }

  .rgs-page .signature {
    width: 50%;
  }
}

@media (max-width: 700px) {
  .rgs-page .blur.flex-parent {
    /* flex-direction: column; */
  }
  .rgs-page .blur-bcg {
    /* display: none; */
  }

  .rgs-page .question {
    width: auto;
  }

  .rgs-page .question h1 {
    padding-left: 2rem;
    width: auto;
  }

  .rgs-page .mail {
    font-size: 1rem;
  }
}
