@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --background-color: white;
    --text-color: #34322e;
    --button-background: white;
    --button-border: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #191919;
        --text-color: #FAFAFA;
        --button-background: #2c2c2c;
        --button-border: #444444;
    }
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    color: var(--text-color);
    background-color: var(--background-color);
}

* {
    font-family: inherit;
}

.page {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.page.active {
    display: block;
}

.page-content {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    height: 100%; /* Ensure content takes full height for centering */
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
}

.page.active .page-content {
    opacity: 1;
}

.page.fade-out .page-content {
    opacity: 0;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.options-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: left;
}

#hello-page h1 {
    font-size: 40px;
}

#continue-message {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-size: 16px;
    margin-top: 10px;
    color: var(--text-color);
}

#continue-message.visible {
    opacity: 0.6;
}

.options-content {
    max-width: 300px;
}

.options-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
}

.button-group button, .button-group .contact-btn {
    background-color: var(--button-background);
    border: 1px solid var(--button-border);
    border-radius: 8px;
    padding: 15px 30px;
    margin: 10px 0;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-align: left;
    color: var(--text-color);
    display: flex;
    align-items: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform 0.1s ease-out;
}

.button-group button:active, .button-group .contact-btn:active {
    transform: scale(0.98);
}

.content {
    padding: 20px;
    text-align: center;
}

.wave {
    display: inline-block;
    animation: wave-animation 2s infinite;
}

@keyframes wave-animation {
    0% { transform: rotate(0.0deg) }
    10% { transform: rotate(14.0deg) }
    20% { transform: rotate(-8.0deg) }
    30% { transform: rotate(14.0deg) }
    40% { transform: rotate(-4.0deg) }
    50% { transform: rotate(10.0deg) }
    60% { transform: rotate(0.0deg) }
    100% { transform: rotate(0.0deg) }
}

.notion-embed-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.notion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: var(--background-color); /* Match site's background */
    z-index: 999;
}

#porto-page iframe {
    width: 100%;
    height: 100%;
    border: none;
}