* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'IranNastaliq';
    src: url('fonts/IranNastaliq.ttf');
}

body {
    background: #f7f3ee;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'IranNastaliq';

    position: fixed;
    inset: 0;
    background-color: #f7f3ee;
    background-image: url("images/pattern.png");
    background-size: 60px;
    background-blend-mode: multiply;
}


/* لوگوی متحرک */

#animated-logo {
    position: fixed;
    width: 200px;
    height: 200px;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);
    z-index: 9999;

    transition: all 1s ease-in-out;
}

#animated-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

/* حرکت به سمت هدر */

#animated-logo.move {
    width: 100px;
    height: 100px;

    top: 5px;
    left: 50%;

    transform: translateX(-50%);

    display: block;

}

/* هدر */

header {
    background: #452f2e;
    padding: 60px;
    transition: .8s;
    height: 100px;
    position: relative;
}


.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    position: relative;
    z-index: 1;
    width: 85px;
    height: 85px;
    display: block;
}


/* محتوای اصلی */

#main-content {
    opacity: 0;
    transition: 1s;
}

#main-content.show {
    opacity: 1;
}

#main-content.show header {
    opacity: 1;
}

/* کارت‌ها */

.menu-selection {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 40px 15px;
}

.card {
    flex: 1;
    max-width: 180px;

    text-decoration: none;
    color: #333;

    background: white;

    padding: 25px 15px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 6px 20px rgba(0,0,0,.08);

    transition: .3s;
}


.card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.card h2 {
    font-size: 25px;
}