@import "fonts.css?v=2.1.1";

:root {
  --color-primary: #393939;
  --color-secondary: #fff;
  --color-blue-dark: #4654a3;
  --color-dark-overlay: rgba(27, 38, 55, 0.85);

  --font-size-h1: 4rem;
  --font-size-h2: 3rem;
  --font-size-h3: 2rem;
  --font-size-text: 1.8rem;
  --font-size-small: 1.6rem;
  --font-size-header: 1.4rem;

  --header-height: 130px;
  --max-width: 1140px;
  --narrow-width: 900px;
  --inline-padding: 35px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
  font-family: "Raleway", Sans-Serif;
  color: var(--color-primary);
}

.preload-transitions *,
.preload-transitions *::before,
.preload-transitions *::after {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

::-moz-selection {
  background: rgba(126, 188, 255, 0.3);
}

::selection {
  background: rgba(126, 188, 255, 0.3);
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: var(--font-size-text);
}

main {
  width: 100%;
  padding-top: 130px;
  transition: padding-top 0.2s;
}

section {
  padding-block: 60px;
}

section.dark {
  position: relative;
  background-image: url("/assets/images/bg1.jpg?v=2.1.1");
  background-position: center top;
}

section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-dark-overlay);
  pointer-events: none;
}

section.dark * {
  position: relative;
  z-index: 0;
  color: var(--color-secondary);
}

.content {
  margin-inline: auto;
  max-width: var(--max-width);
  padding-inline: var(--inline-padding);
}

.content.narrow {
  max-width: var(--narrow-width);
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

h1 {
  margin-bottom: var(--font-size-h1);
  text-align: center;
  font-size: var(--font-size-h1);
  font-weight: 200;
}

h2 {
  margin-bottom: var(--font-size-h3);
  font-size: var(--font-size-h2);
  font-weight: 600;
}

h3 {
  margin-bottom: var(--font-size-h3);
  font-size: var(--font-size-h3);
  font-weight: 500;
}

h4 {
  margin-bottom: var(--font-size-text);
  font-size: var(--font-size-text);
  font-weight: 500;
}

p {
  max-width: var(--narrow-width);
  margin-inline: auto;
  margin-bottom: 20px;
  font-size: var(--font-size-text);
  line-height: 3rem;
  font-weight: 300;
}

.btn-round {
  display: block;
  max-width: max-content;
  padding: 14px 30px 13px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  text-align: center;
  font-size: var(--font-size-small);
  color: var(--color-secondary);
  background-color: var(--color-primary);
  border-radius: 50px;
  cursor: pointer;
}

.btn-round:hover,
.btn-round:focus-visible {
  opacity: 0.9;
}

.btn-round.light {
  font-weight: 500;
  color: var(--color-primary);
  background-color: rgba(57, 57, 57, 0.16);
  backdrop-filter: blur(6px);
}

.btn-round.light:hover,
.btn-round.light:focus-visible {
  background-color: rgba(57, 57, 57, 0.26);
}

.btn-round.has-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
}

.btn-round.has-icon svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5px;
}

footer {
  position: relative;
  margin-top: auto;
  width: 100%;
  height: 120px;
  display: grid;
  place-items: center;
  background-image: url("/assets/images/bg1.jpg?v=2.1.1");
  background-position: center;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-dark-overlay);
  pointer-events: none;
}

footer * {
  margin: 0;
  position: relative;
  z-index: 0;
  font-size: var(--font-size-header);
  font-weight: 300;
  line-height: unset;
  color: var(--color-secondary);
  background-color: transparent;
}

footer p {
  display: flex;
  align-items: center;
  gap: 10px;
}

footer .consent-btn {
  cursor: pointer;
}

#consent-box {
  display: none;
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: calc(100% - 40px);
  max-width: 400px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 20px;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
  opacity: 0;
  translate: 0 20px;
  scale: 0.8;
  transform-origin: bottom right;
  animation: pop-fade 0.1s cubic-bezier(0.3, 0.7, 0.6, 1.1) forwards;
}

@keyframes pop-fade {
  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

#consent-box.show {
  display: block;
}

#consent-box::-webkit-scrollbar {
  width: 16px;
}

#consent-box::-webkit-scrollbar-thumb {
  background-color: #c7c7c7;
  border-radius: 10px;
  border: 4px solid transparent;
  background-clip: content-box;
}

#consent-box .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background-color: transparent;
  border-radius: 4px;
  border: none;
  opacity: 0.5;
}

#consent-box .close-btn:hover,
#consent-box .close-btn:focus-visible {
  opacity: 1;
}

#consent-box .close-btn svg {
  pointer-events: none;
  stroke: var(--color-primary);
  stroke-width: 2px;
}

#consent-box h3 {
  margin-right: 40px;
  max-width: max-content;
}

#consent-box p {
  text-align: left;
  line-height: unset;
  margin-bottom: 20px;
}

#consent-box .consent-btns {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

@media screen and (max-width: 800px) {
  :root {
    --font-size-h1: 3.2rem;
    --font-size-h2: 2.4rem;
    --font-size-h3: 1.8rem;
    --font-size-text: 1.6rem;
    --inline-padding: 20px;
  }
  main {
    padding-top: 80px;
  }
  section {
    padding-block: 40px;
  }
  p {
    line-height: 2.4rem;
  }
}

@media screen and (max-width: 500px) {
  footer p {
    flex-direction: column;
    gap: 0;
  }
  footer p .dot {
    display: none;
  }
}

@media screen and (max-width: 420px) {
  #consent-box .consent-btns {
    flex-direction: column;
  }
  #consent-box .consent-btns .btn-round {
    max-width: unset;
  }
}
