:root {
  --logo-width: 57%;
  --logo-top: 10%;
  --logo-left: 23.5%;

  --about-title-size: 92px;
  --about-title-top: 48%;
  --about-title-left: 7%;

  --about-text-width: 40%;
  --about-text-top: 58%;
  --about-text-left: 7%;
  --about-text-align: left;
  --about-font-size: 57px;

  --character-width: 35%;
  --character-bottom: 5%;
  --character-right: 5%;

  --buttons-bottom: 5%;
  --buttons-right: 5%;

  --social-font-size: 65px;

  --float-amplitude: 10px;
  --float-speed: 4s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
  font-family: "Jomhuria", serif;
  color: white;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(var(--float-amplitude)); }
  100% { transform: translateY(0); }
}

.floating {
  animation: float var(--float-speed) ease-in-out infinite;
}

.logo {
  position: absolute;
  width: var(--logo-width);
  top: var(--logo-top);
  left: var(--logo-left);
}

.about-title {
  position: absolute;
  top: var(--about-title-top);
  left: var(--about-title-left);
  font-size: var(--about-title-size);
  color: white;
  text-shadow: 3px 3px 6px #000;
}

.about-text {
  position: absolute;
  width: var(--about-text-width);
  top: var(--about-text-top);
  left: var(--about-text-left);
  font-size: var(--about-font-size);
  text-align: var(--about-text-align);
  line-height: 0.9;
  text-shadow: 3px 3px 6px #000;
}

.character {
  position: absolute;
  width: var(--character-width);
  bottom: var(--character-bottom);
  right: var(--character-right);
}

.buttons {
  position: absolute;
  top: 3%;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.social-btn {
  font-size: var(--social-font-size);
  cursor: pointer;
  color: white;
  text-shadow: 3px 3px 6px #000;
  transition: 0.2s;
}

.social-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

@media (max-width: 768px) {
  :root {
    --logo-width: 70%;
    --logo-top: 6%;
    --logo-left: 5%;

    --about-title-size: 70px;
    --about-title-top: 42%;

    --about-text-width: 85%;
    --about-text-top: 52%;
    --about-font-size: 28px;

    --character-width: 70%;
    --character-bottom: 0%;
    --character-right: 0%;

    --social-font-size: 50px;
  }
}
