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

html, body {
    height: 100%;
    width: 100%;
    background-color: #6fb8e1 !important; 
    background: #6fb8e1; 
    user-select: none; 
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
}




.image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-out;
    pointer-events: none; 
    -webkit-user-drag: none;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 6rem;
    font-weight: bold;
    font-family: 'Special Gothic Expanded One', sans-serif;
}

.marble {
    color: black;
}

.roll {
    color: orange;
}

.scroll-arrow {
    position: fixed; 
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 1.5s infinite;
    transition: opacity 0.3s ease;
    z-index: 30;
}

.arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6a0dad, #4b0082, #2e0049); 
    border-radius: 50%;
    z-index: 1;
}

.arrow {
    width: 20px;
    height: 20px;
    border-left: 4px solid white;
    border-bottom: 4px solid white; 
    transform: rotate(-45deg); 
    z-index: 2;
}

@keyframes bounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.content {
    padding: 20px;
    background-color: #6fb8e1;
    height: 100px; 
}

body.scroll .image {
    opacity: 0;
}


@media (max-width: 768px) {
    .text-overlay {
        font-size: 4rem; 
    }

    .arrow-circle {
        width: 50px;
        height: 50px;
    }

    .arrow {
        width: 18px;
        height: 18px;
        border-left: 3px solid white;
        border-bottom: 3px solid white;
    }
}

@media (max-width: 480px) {
    .text-overlay {
        font-size: 3rem;
    }

    .arrow-circle {
        width: 40px;
        height: 40px;
    }

    .arrow {
        width: 16px;
        height: 16px;
        border-left: 2px solid white;
        border-bottom: 2px solid white;
    }
}

@media (min-width: 1200px) {
    .text-overlay {
        font-size: 8rem;
    }

    .arrow-circle {
        width: 70px;
        height: 70px;
    }

    .arrow {
        width: 25px;
        height: 25px;
        border-left: 5px solid white;
        border-bottom: 5px solid white;
    }
}

.popup-ball {
    position: fixed;
    top: -50px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #6a0dad, #4b0082, #2e0049);
    border-radius: 50%;
    animation: fallBounce 3s ease-in-out forwards;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fallBounce {
    0% {
        top: -50px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
    }
    50% {
        top: 80vh;
        transform: translateY(-10px);
        width: 40px;
        height: 40px;
    }
    70% {
        top: 70vh;
        transform: translateY(0);
        width: 50px;
        height: 50px;
    }
    100% {
        top: 70vh;
        width: 300px;
        height: auto;
        min-height: 200px;
        border-radius: 15px;
    }
}

.popup-ball h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.popup-ball p {
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.popup-ball .popup-button {
    background-color: white;
    color: #6a0dad;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.popup-button {
    font-family: 'Roboto', sans-serif !important;
}

.popup-ball .popup-button:hover {
    background-color: #6a0dad;
    color: white;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

.slogan {
    text-align: center;
    font-size: 24px;
    font-family: 'Special Gothic Expanded One', sans-serif;
    margin-top: 20px;
    color: black;
    background-color: #6fb8e1;
    z-index: 0;
}

.slogan2 {
    text-align: center;
    font-size: 24px;
    font-family: 'Special Gothic Expanded One', sans-serif;
    margin-top: 20px;
    color: black;
    background-color: #6fb8e1;
    z-index: 0;
}

.rectangles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.rectangles-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.rectangle {
    width: 200px;
    height: 300px;
    border-radius: 10px 10px 0 0; 
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.rectangle-top {
    flex: 1;
    overflow: hidden;
}

.rectangle-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rectangle-bottom {
    flex: 0 0 auto;
    background-color: #6a0dad;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    border-radius: 0 0 10px 10px; 
    font-family: 'Special Gothic Expanded One', sans-serif;
    color: white;
}

@media (max-width: 768px) {
    .rectangles-row {
        display: block;
        width: 100%;
    }

    .rectangle {
        width: 100%;
        margin-bottom: 20px;
    }

    .rectangles-container {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .rectangle {
        display: inline-block;
        width: 80%;
        margin-right: 20px;
    }
}

@media (min-width: 769px) {
    .rectangles-row {
        display: flex;
        justify-content: space-between;
    }

    .rectangle {
        width: 30%; 
    }
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out; 
    z-index: 1;
}

.fade-in.visible {
    opacity: 1;
    z-index: 10;
}