@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --accent: rgb(86, 61, 230);
  --border-color: rgb(38, 38, 38);
  --surface-bg: rgba(16, 16, 16, 0.735);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin-top: 160px;
  color: white;
  font-family: "Montserrat", sans-serif;
}

.bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 25vmin at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.bar {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 80px;
  background: var(--surface-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  z-index: 50;
  backdrop-filter: blur(8px);
}

.bar img {
  height: 60px;
  border-radius: 5px;
}

.bar .links {
  display: flex;
  gap: 80px;
}

.bar a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Lexend", sans-serif;
  position: relative;
}

.bar a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left bottom;
  transition: transform 0.3s ease;
}

.bar a:hover::after {
  transform: scaleX(1);
}

.bar a i {
  font-size: 0.85em;
  margin-right: 4px;
}

.mobilebutton {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: none;
}

.mobileMenu {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s ease;
}

.mobileMenu.open {
  right: 0;
}

.mobileMenu h1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Lexend", sans-serif;
  margin-bottom: 30px;
}

.mobileMenu button {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobileLinks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.5rem;
}

.mobileLinks a {
  color: white;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}

main {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.header {
  text-align: center;
}

main .title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: rgb(232, 232, 232);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.block {
  width: 100%;
  display: flex;
}

.frameblock {
  width: 100%;
  height: auto;
}

.block iframe {
  width: 100%;
  height: 835px;
  max-height: 80vh;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  display: block;
}

@media (max-width: 1024px) {
  .bar .links {
    display: none;
  }

  .mobilebutton {
    display: block;
  }

  main {
    width: 95%;
    gap: 16px;
  }
}

footer {
    background: rgba(16, 16, 16, 0.735);
    border: 1px solid rgb(38, 38, 38);
    display: flex;
    margin-top: 100px;
    box-sizing: border-box;
    padding: 10px 40px 0px 40px;
    gap: 40px;
	align-items: center;
}

footer p {
    font-family: "Montserrat";
}

footer img {
    height: 64px;
}

@media (max-width: 650px) {
  body {
    margin-top: 100px;
  }

  .bar {
    height: 65px;
  }

  .bar img {
    height: 45px;
  }

  main {
    width: 100%;
    padding: 0 8px;
    margin-bottom: 20px;
  }

  main .title {
    font-size: 2rem;
  }

  .frameblock {
    height: calc(100dvh - 180px);
    min-height: 500px;
  }

  .block iframe {
    border-radius: 12px;
    border-width: 1px;
  }
}