@font-face {
    font-family: GLOBE;
    src: url(/Bold.ttf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.heading {
    font-family: GLOBE;
    font-size: 5.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-top: 40px;
    position: relative;
    bottom: 50px;
    background-image: url(/image2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle, #960ac1, #05679a 100%);
    position: relative;
    padding-bottom: 30px;
}

.position {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 65px;
}

.imgBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out; /* Added transition for scaling */
}

.imgBox::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background-image: conic-gradient(
        transparent,
        transparent,
        transparent,
        transparent,
        #00ccff
    );
    animation: rotate 4s linear infinite; 
}

.imgBox::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background-image: conic-gradient(
        transparent,
        transparent,
        transparent,
        transparent,
        #f32bf3
    );
    animation: rotate 4s linear infinite;
    animation-delay: -2s;
}

.imgBox img {
    position: absolute;
    inset: 5px;
    width: 290px;
    height: 390px;
    object-fit: cover;
    border-radius: 16px;
    z-index: 1;
}

.imgBox:hover {
    transform: scale(1.3); 
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 600px) {

    .heading {
        font-size: 42px;
        position: relative;
        top: 5px;
    }            

    .position {
        flex-direction: column;
        gap: 0.1px;
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 30px;
    }


    .imgBox:hover {
        transform: scale(1.1); 
    }
}