@font-face {
    font-family: 'PPNeueMontrealArabic';
    src: url('fonts/PPNeueMontrealArabic-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cirka-Regular';
    src: url('fonts/Cirka-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'PPNeueMontrealArabic', 'Arial', sans-serif;
    background: #000000;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
    display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

.container {
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 0;
}

/* Fixed text elements */
.fixed-text {
    position: fixed;
    color: white;
    font-family: 'PPNeueMontrealArabic', 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 1000;
    pointer-events: none;
}

.fixed-text.top-left {
    top: 24px;
    left: 24px;
    font-family: 'Cirka-Regular', 'Arial', sans-serif;
}

.fixed-text.top-right {
    top: 24px;
    right: 24px;
    font-family: 'Cirka-Regular', 'Arial', sans-serif;
}

.fixed-text.bottom-left {
    bottom: 24px;
    left: 24px;
}

.fixed-text.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 96px;
    font-weight: normal;
    z-index: 1;
}

.background-image.feliz {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    max-height: 200px;
    width: auto;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.fixed-text.background-image {
    position: absolute;
    max-width: 600px;
    max-height: 300px;
    width: auto;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.fixed-text.obrigada1 {
    top: 100vh;
    left: 100px;
}

.fixed-text.obrigada2 {
    top: 150vh;
    right: 100px;
}

.fixed-text.obrigada3 {
    top: 200vh;
    left: 100px;
}

.fixed-text.obrigada4 {
    top: 300vh;
    right: 100px;
}

.photo-gallery {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    overflow: visible;
    max-width: 100vw;
}

.photo {
    position: absolute;
    width: 300px;
    height: 300px;
    cursor: move;
    transition: transform 0.2s ease;
    object-fit: contain;
    z-index: 10;
    transform-origin: top left;
}

.photo:hover {
    transform: scale(1.05);
}

.photo.dragging {
    transform: scale(1.1) rotate(5deg);
    z-index: 1000;
}


/* Responsive design */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .photo-gallery {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .photo {
        max-width: 250px;
        max-height: 250px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    /* Mobile adjustments for background images */
    .fixed-text.background-image {
        max-width: 500px;
        max-height: 250px;
    }
    
    .fixed-text.center-image {
        max-width: 400px;
        max-height: 200px;
    }
    
    .fixed-text.obrigada1 {
        top: 100vh;
        left: 20px;
    }
    
    .fixed-text.obrigada2 {
        top: 150vh;
        right: 20px;
    }
    
    .fixed-text.obrigada3 {
        top: 200vh;
        left: 20px;
    }
    
    .fixed-text.obrigada4 {
        top: 300vh;
        right: 20px;
    }
    
    /* Adjust text elements for mobile */
    .fixed-text.top-left {
        top: 12px;
        left: 12px;
        font-size: 1rem;
    }
    
    .fixed-text.top-right {
        top: 12px;
        right: 12px;
        font-size: 1rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .photo {
        max-width: 220px;
        max-height: 220px;
    }
    
    .fixed-text.background-image {
        max-width: 400px;
        max-height: 200px;
    }
    
    .fixed-text.center-image {
        max-width: 350px;
        max-height: 175px;
    }
    
    .fixed-text.obrigada1,
    .fixed-text.obrigada2,
    .fixed-text.obrigada3,
    .fixed-text.obrigada4 {
        left: 10px;
        right: 10px;
    }
    
    .fixed-text.top-left,
    .fixed-text.top-right {
        font-size: 0.9rem;
    }
}
