/* Define CSS Custom Properties (Variables) */
:root {
    --primary-font: 'Arcuata', sans-serif;
    --secondary-font: 'Poppins', sans-serif;
}

/* Font-face declarations for custom fonts */
@font-face {
    font-family: 'Arcuata';
    src: url('../fonts/ArcuataTrial-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Thin.ttf') format('truetype');
    font-weight: 100; /* Thin */
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300; /* Light */
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; /* Regular */
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500; /* Medium */
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600; /* SemiBold */
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700; /* Bold */
}

/* Apply primary font globally */
* {
    font-family: var(--primary-font);
}

/* Apply primary font globally */
* {
    font-family: var(--primary-font);
}

/* Utility classes for different fonts and styles */
.font-primary {
    font-family: var(--primary-font);
}

.font-secondary {
    font-family: var(--secondary-font);
    font-size: 14px !important;
}

.font-secondary-bold {
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 14px !important;
}

.font-secondary-semi-bold {
    font-family: var(--secondary-font);
    font-weight: 600;
    font-size: 15px !important;
}

.font-secondary-regular {
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 14px !important;
}

/* General styling */
html {
    cursor: url('https://landimg.com/tarot-gpt/witchcraft-custom-cursor.png'), default;
}

body {
    padding: 0;
}

.background {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 1)), url('https://landimg.com/tarot-gpt/tarot-background-doodle-art.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    padding-bottom: 100px;
}

.navbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.273);
    border: 0;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.69) 50%, transparent);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: bottom;
}

.navbar-logo {
    font-size: 30px !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.zoom {
    transition: transform .2s;
}

.zoom:hover {
  transform: scale(1.1);
}

.dashboard-main-title {
    font-size: 48px;
}

.dashboard-description {
    max-width: 600px;
    font-weight: 300 !important;
}

.profile-box-container {
    padding: 1rem;
    color: white;
    margin: auto;
    height: 200px;
}

.profile-box-container > div {
    flex: 1 1 30%;
    max-width: 150px;
}

.card {
    background-color: transparent !important;
}

.card-inner {
    position: static;
    width: 60%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
}

.card-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    transform: rotateY(180deg); /* Start in rotated position */
}

.card-back {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align the text at the bottom */
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    padding: 10px;
    text-align: center;
}

.card-footer p {
    margin: 0;
}

.card-img {
    width: 100%;
    height: auto;
}

.card-footer > a {
    text-decoration: none;
}

.footer {
    position: absolute;
    bottom: 10px;
    width: 100%;
    font-size: 12px !important;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    .profile-box-container {
        height: 500px;
    }
    
    .profile-box-container > div {
        flex: 1 1 25%;
        max-width: 27%;
    }

    .background {
        height: 100%;
    }

    .footer {
        position: static;
        margin-top: 3rem;
        padding: 10px 40px;
    }
    
    img {
        width: 90px !important;
    }
}

/* Responsive adjusments for tablet-laptop screens */
@media (min-width: 768px) and (max-width: 1200px) {
    .profile-box-container {
        height: 200px;
        justify-content: center !important;
    }
    
    .profile-box-container > div {
        flex: 1 1 35%;
        max-width: 10.5%;
    }

    .background {
        height: 100%;
    }
    
    .footer {
        position: static;
        margin-top: 3rem;
    }
    
    img {
        width: 90px !important;
    }
}