/* ========= General styles ========= */

.bg-blur {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    -webkit-filter: blur(8px);
    filter: blur(8px);
}

/* ========= Advanced styles ========== */
/* ========= Home page style ========= */
.hero-bg {
    background-image: url("./images/photo_1.jpg");
    background-size: cover;
    background-position: center -50px;
    -webkit-filter: blur(3px);
    filter: blur(3px);
}

/* ========= Form styles ========= */
#form-page-container {
    width: 100vw;
    min-height: 100dvh;
    overflow-y: hidden;
}

.form-container {
    overflow-y: hidden;
    overflow-x: hidden;
    position: relative;
}

.form-sections {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    transition: transform 0.7s ease;
}

.form-section {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.form-section.active {
    opacity: 1;
    z-index: 20;
}

/* ========= Floaty images styles ========= */
.floaty-image-container {
    display: inline-block;
    perspective: 1000px;
    height: fit-content;
}

.floaty-image {
    width: 300px;
    min-width: 300px;
    min-height: 150px;
    background-color: rgb(163, 163, 163);
    transform: rotateX(10deg) rotateY(10deg);
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

@media screen and (max-width: 1400px) {
    .floaty-image {
        width: 250px;
        min-width: 250px;
        min-height: 80px;
    }

}

.inverted .floaty-image {
    transform: rotateX(-10deg) rotateY(10deg);
}

@keyframes floaty {
    0%, 100% {
        transform: rotateX(10deg) rotateY(10deg) translateY(0);
        box-shadow: 0 15px 30px rgba(0, 113, 150, 0.55);
    }
    50% {
        transform: rotateX(7deg) rotateY(8deg) translateY(-20px);
        box-shadow: 0 20px 40px rgba(0, 113, 150, 0.7);
    }
}

@keyframes floaty-inverted {
    0%, 100% {
        transform: rotateX(-10deg) rotateY(10deg) translateY(0);
        box-shadow: 0 15px 30px rgba(0, 113, 150, 0.55);
    }
    50% {
        transform: rotateX(-7deg) rotateY(8deg) translateY(-20px);
        box-shadow: 0 20px 40px rgba(0, 113, 150, 0.7);
    }
}
