@import "tailwindcss";

:root {
  background-color: #000000;
  color: white;
  font-family: "Poppins", serif;
  line-height: 1.6;
  letter-spacing: 0.5px;
  word-spacing: 1px;
}

body {
  overflow-x: hidden;
  margin: 0;
  visibility: hidden;
}

body.language-loaded {
  visibility: visible;
}

.bg-linear {
  background: linear-gradient(to right, #fb923c, #ea580c);
}

.bg-linear-disabled {
  background: linear-gradient(to right, hsl(27, 6%, 41%), hsl(21, 9%, 28%));
}

.top-bar-container {
  transform: translateY(-100%);
}

.top-bar-container.animate-in {
  animation: top-bar-slide-in 700ms ease-out forwards;
}

@keyframes top-bar-slide-in {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}

.top-bar-contact > div {
  opacity: 0;
  transform: scale(2);
}

.top-bar-contact > div.animate-in {
  animation: top-bar-contact-slide-in 700ms ease-out forwards;
}

@keyframes top-bar-contact-slide-in {
  0% {
    transform: translatey(-25px) scale(2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#lang-btn {
  transition: transform 500ms ease;
}

#lang {
  transform: translateY(-30px);
  transition: transform 500ms ease 50ms;
}

#lang2 {
  transform: translateY(-0px) translateX(-120px);
  opacity: 0;
  visibility: hidden;
}

.slide-out {
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.slide-in {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

#popup {
  z-index: 60;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: rgb(30, 30, 30);
  padding: 2rem;
  border-radius: 1rem;
  font-size: 1rem;
  width: 90vw;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  overflow: auto;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
  overflow: clip;
  padding: 20px;
}

#close-popup {
  position: absolute;
  top: 0%;
  left: 100%;
  transform: translate(-160%, 60%);
  cursor: pointer;
}

#close-popup img {
  min-width: 50px;
}

@media (max-width: 768px) {
  #popup {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
}
