@font-face {
    font-family: 'KHTeka';
    src: url('assets/fonts/KHTeka-Medium.woff2') format('woff2'),
         url('assets/fonts/KHTeka-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    color: #333;
	font-feature-settings: "ss06" 1, "ss07" 1;
}

header {
    position: absolute;
    top: 2rem;
    left: 24px;
    z-index: 1000;
}

header a {
	text-decoration: none;
	color: #000000;
}

p a {
	text-decoration: none;
	color: #000000;
}

.info-btn {
    position: absolute;
    top: 2rem;
    right: 24px;
    width: 32px;
    height: 32px;
    border: none;
    background:#F2EEEA;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    transition: background 0.2s ease;
    z-index: 1000;
}
.info-btn .btn-icon {
	height: 23px;
	width: 13px;
}

.info-btn:hover {
    background: rgba(255, 255, 255, 1);
}

header h1 {
    font-family: 'KHTeka', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1em;
    color: #333;
    margin: 0;
}

.controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 1000;
}

.control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #F2EEEA;
}

.btn-icon {
    width: 34px;
    height: 26px;
    pointer-events: none;
}

.info-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #F2EEEA;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    text-align: center;
    max-width: 100%;
}

.info-content .email-address {
	transition: color 0.4s ease-out;
}

.info-content .email-address:hover {
	color: #666;
}

.info-content p {
    font-size: 18pt;
    font-family: 'KHTeka', sans-serif;
    color: black;
    line-height: 24pt;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 24px;
    width: 32px;
    height: 32px;
    border: none;
	background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
    transition: background 0.2s ease;
    line-height: 1;
    font-family: monospace;
}
.close-btn img {
	height: 14px;
	width: 14px;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    transform: scale(1.1);
}


.view-toggle {
    display: none;
}

main {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


.card {
    position: absolute;
    width: var(--card-width, 936px);
    height: var(--card-height, 537px);
    cursor: pointer;
/*    transition: box-shadow 0.3s ease; */
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    will-change: transform;
}

.card.loaded {
    visibility: visible;
}


.card-seo-content {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}


.card-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
    text-align: center;
    color: #ffed4e;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

.card-shadow {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: -1;
    pointer-events: none;
}
