@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');

body {
    cursor: url('eye_cursor.png') 16 16, auto;
}

#body_div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: rgb(251, 247, 242);
}

#content {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    justify-items: center;
    font-family: "Bricolage Grotesque", sans-serif;
}

.image_div {
    position: relative;
    width: 25vw;
    margin: 0 auto;
}

#main_image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.5s ease, opacity 1.5s ease;
    transform-origin: center center;
    box-shadow: 8px 10px 20px rgba(0,0,0,0.45);
    animation: popIn 600ms ease both;
}

@keyframes popIn {
    from { transform: scale(0.98); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.caption {
    padding: 6px 10px;
    border: 1px solid #abaaa5;
    box-shadow: 4px 6px 12px rgba(0,0,0,0.22);
    color: #222;
    background: rgba(255,255,255,0.9);
    transition: opacity 0.6s ease;
}

.image_div::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ebayimg.com/images/g/X4EAAOSwECVlBU5-/s-l1200.jpg');
    opacity: 0;
    transition: opacity 1.5s ease, transform 1.5s ease;
    z-index: 1;
}

.image_div:hover #main_image {
    transform: scale(2.5);
    opacity: 0;
}

.image_div:hover::after {
    opacity: 1;
    transform: scale(1.0);
}

.image_div:hover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url('hands.png') 16 16, auto;
}


.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 5vw; 
    font-weight: 700;
    opacity: 0;
    transform: scale(0.9);
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    transition: opacity 1.8s ease, transform 1.8s ease, text-shadow 1.8s ease;
    z-index: 3; 
}

.image_div:hover .overlay-text {
    opacity: 1;
    transform: scale(1.05);
    text-shadow: 0 4px 18px rgba(255,215,0,0.85);
    font-size: 8vw;
}
.image_div:hover #main_image {
    width: 100vw;
    height: auto;
    max-height: 100vh;
    transition: transform 1s ease, opacity 1s ease, width 1s ease;
}

@media (max-width: 420px) {
    .image_div {
        width: 70vw;
    }
}
