@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
}

:root {
    --theme-bg-primary:#55041d;
    --theme-border:#d5a060;
    --theme-color:white;
}


.hidden {
    display: none !important;
}

body {
    overflow-x: hidden;
    background-color: var(--theme-bg-primary);
    background-image: url("assets/flats/one.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--theme-color);
    font-family: "Cinzel", serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
    transition: 0.1s linear;
}



a {
    text-decoration: none;
}

button {
    margin-bottom: 20px;
    background-color: var(--theme-border) !important;
}

.card-container {
    display: flex;
    align-items: center;
    gap: 75px;
}



.overlay {
    width: 100vw;
    height: 100vh;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid lightblue;
    border-right-color: orange;
    animation: l2 1s infinite linear;
  }
  @keyframes l2 {to{transform: rotate(1turn)}}

.buidling-hover {
    animation: cardAnimate var(--i);
}

.buidling-hover .card-falaknaz {
    border: 2px solid var(--theme-border);
    border-radius: 25px;
    padding: 5px;
    scale: 1;
    transition: 1s;
}

@keyframes cardAnimate {
    from {scale: 0;}
    to {scale: 1;}
}

.buidling-hover.active .card-falaknaz {
    border: 4px solid var(--theme-border);
    border-radius: 25px;
    padding: 5px;
    scale: 1.1;
    transition: 1s;
}

.card-falaknaz > .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--theme-bg-primary);
    border-radius: 25px;

}
.card-falaknaz > .falaknaz-one-bg {background-color: rgba(0, 0, 0, 0.8);}
.card-falaknaz > .majesty-bg {background-color: #55041db3;}
.card-falaknaz > .galaxy-bg {background-color: rgba(14, 28, 64, 0.8);}

.card-falaknaz .icon {
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-falaknaz .icon img {
    width: 240px;
    padding: 30px;
}

.logo {
    position: absolute;
    bottom: 1vh;
    display: flex;
    align-items: center;
    animation: logoAnimate 1s;
}

.logo img {
    width: 420px;
}

@keyframes logoAnimate {
    from {scale: 0;}
    to {scale: 1;}
}

@media (width <= 1280px) {

    body {
        height: auto;
        gap: 50px;
    }

    .card-container {
        margin-top: 10%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: flex-start;
    }
    .logo {
        position: static;
        /* flex-direction: column; */
    }
    .logo img{
        width: 320px;
    }
}