@font-face {
    font-family: 'Poppins';
    src: url('/fonts/poppins-v24-latin-ext-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/poppins-v24-latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/poppins-v24-latin-ext-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/poppins-v24-latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/poppins-v24-latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --accent-color: #00adb5;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #333333;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.full-page-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

@media (orientation: landscape) {
    .full-page-image {
        object-fit: contain;
        object-position: right center;
    }
}

.cv-trigger {
    position: fixed;
    top: 0;
    right: 0;
    width: 33.33%;
    height: 100%;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.cv-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 5px 15px rgba(0, 173, 181, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    pointer-events: none;
    width: 100%;
}

@media (hover: hover) and (pointer: fine) {
    .cv-trigger:hover .overlay {
        opacity: 1;
    }
    .cv-trigger:hover .cv-text {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 850px), (pointer: coarse) {
    .cv-trigger {
        right: unset;
        left: 0;
        width: 50px;
        background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
        display: block;
    }

    .overlay {
        display: none;
    }

    .cv-text {
        position: absolute;
        top: 50%;
        left: 50%;
        writing-mode: vertical-rl;
        background: none;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        width: auto;
        font-size: 1rem;
        font-weight: 300;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.6);
        text-shadow: 0 5px 15px rgba(0, 173, 181, 0.3);
        white-space: nowrap;
        text-align: center;
        opacity: 0.8; 
        transition: none; 
        
        transform: translate(-50%, -50%) rotate(180deg);
        animation: organicBreathe 6s ease-in-out infinite;
    }

    .cv-trigger:active .cv-text {
        transform: translate(-50%, -50%) rotate(180deg);
        color: rgba(255, 255, 255, 0.6);
        opacity: 1;
        transition: opacity 0.2s ease;
    }

    @keyframes organicBreathe {
        0%, 100% {
            transform: translate(-50%, -50%) rotate(180deg);
            opacity: 0.6;
        }
        50% {
            transform: translate(-50%, calc(-50% - 8px)) rotate(180deg);
            opacity: 0.9;
        }
    }
}

.is-hidden {
    display: none !important;
}