@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-ff: "Roboto Condensed", sans-serif;
    --text-ff: "Rubik", sans-serif;

    --primary-color: #a79171;
    --secondary-color: #181818;
    --main-bg: #fff8e5;
    --second-bg: #eddeb7;
    --text-color: #333;
    --light-color: #fff;
}

body, html {
    font-family: var(--text-ff);
    background: var(--main-bg);
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: var(--primary-ff);
}
h1 {
    font-size: 2.125rem;
    color: var(--primary-color);
    font-weight: 400;
}
:where(h2, h3, h4, h5, h6) {
    color: var(--secondary-color);
}
h2 {
    font-size: 1.875rem;
}
h3 {
    font-size: 1.625rem;
}
h4 {
    font-size: 1.375rem;
}
h5 {
    font-size: 1.125rem;
}
h6 {
    font-size: .875rem;
}

p {
    font-family: var(--text-ff);
    font-size: .875rem;
    color: var(--text-color);
}
p:last-child {
    margin-bottom: 0;
}

a, .btn {
    transition: all 0.4s ease;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
}

.logo-container {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-logo {
    width: 52px;
    height: 64px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Main Content Styles (hidden during loading) */
#main-content {
    display: none;
    padding: 20px;
    text-align: center;
}