html,
body {
    overflow-x: hidden;
}

#pricing {
    display: flex;
    padding: 20px;
    padding-bottom: 50px;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

#gallerybutton {
    position: relative;
    display: flex;
    padding: 20px;
    padding-bottom: 20px;
    justify-content: center;
    align-items: center;
    background-color: #e34234;
}

.gallerypress,
#homebutton {
    background-color: antiquewhite
}

.gallerypress:hover,
#homebutton {
    background-color: wheat;
}

.services {
    display: flex;

}

button {
    background-color: #C1E1C1;
    color: black;
    /* Change if you want different text color */
    border: none;
    /* Remove default border */
    border-radius: 15px;
    padding: 12px 24px;
    /* Adjust spacing as needed */
    font-size: 5vh;
    cursor: pointer;
    transition: background-color 0.25s ease-out 100ms;

}

button:hover {
    background-color: #53AC53;
}


/* Staggered timing (half-overlap effect) */
.service:nth-child(1) {
    animation-delay: 0s;
}

.service:nth-child(2) {
    animation-delay: 0.5s;
}

.service:nth-child(3) {
    animation-delay: 1s;
}

/* Keyframes */
@keyframes reveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.services {
    display: flex;
    background-color: #e34234;

}

.testimonials {
    display: flex;
    background-color: #000000;
}

.testimonial {
    flex: 1;
    padding: 20px;
    font-size: 1.5rem;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 20px;
    padding-top: 40px;
    opacity: 0;
    transform: translateX(-40px);

    /* Animation */
    animation: reveal 1s ease forwards;
}

.service img,
#gallery img {
    max-width: 80%;
    border-radius: 20px;
    border: solid 10px antiquewhite;
}

.service p {
    font-weight: 530;
    font-size: 1.5rem;
}

.separator {
    height: 100px;
}

.logo {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}

.quote {
    text-align: center;
    font-size: 2rem;
    font-style: italic;
}

.logo>img {
    max-width: 80%;
    height: auto;
}

body {
    margin: 0;
    background: black;
    color: white;
    font-family: Product, sans-serif;
}

button {
    font-family: Product, sans-serif;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -999;
}

/* Base blob style */
.blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.8) 0%, rgba(255, 0, 0, 0.4) 40%, rgba(255, 0, 0, 0.1) 60%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 20s infinite alternate ease-in-out,
        fade 6s infinite ease-in-out;
}

/* Random positioning */
.blob:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-duration: 18s, 7s;
}

.blob:nth-child(2) {
    top: 60%;
    left: 70%;
    animation-duration: 22s, 5s;
}

.blob:nth-child(3) {
    top: 30%;
    left: 80%;
    animation-duration: 25s, 8s;
}

.blob:nth-child(4) {
    top: 70%;
    left: 10%;
    animation-duration: 20s, 6s;
}

.blob:nth-child(5) {
    top: 40%;
    left: 40%;
    animation-duration: 23s, 9s;
}

/* Floating movement */
@keyframes float {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    100% {
        transform: translate(200px, -150px) scale(1.2);
    }
}

/* Fading glow */
@keyframes fade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.slide {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    ;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.about-section {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: stretch;
}

/* Desktop Layout */
.about-content {
    order: 2;
    /* Left side */
    flex: 2;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.about-media {
    order: 1;
    /* Right side */
    flex: 1;
}

.about-media img {
    width: 100%;
    height: auto;
    display: block;
}

.service p {
    padding: 10px;
    background-color: antiquewhite;
    border-radius: 20px;
    color: black;
}

/* Mobile Layout */
@media (max-width: 700px) {
    .about-section {
        flex-direction: column;
    }

    .services {
        flex-direction: column;
    }

    .testimonials {
        flex-direction: column;
    }

    .about-media {
        order: 2;
        /* Shows first on mobile */
    }

    .about-content {
        order: 1;
        /* Moves below */
    }
}

@media (min-width: 700px) {
    #gallerybutton {
        justify-content: right;
        padding-right: 2vw;
    }

    .littlescisors {
        display: block !important;
        visibility: visible !important;

    }

    .littlescisors:hover {
        transform: rotate(50deg);
    }
}

.littlescisors {
    position: absolute;
    display: none;
    visibility: hidden;
    bottom: 0;
    left: 0;
    transform: rotate(45deg);
    height: 10rem;
    width: auto;
    transition: 0.5s;
}

.footer {
    background-color: antiquewhite;
    padding: 30px;
    text-align: center;
    color: #000000;
    font-style: italic;
}

.footer a {
    color: #000000;
}

svg-inline--fa {
    vertical-align: -0.200em;
}

.rounded-social-buttons {
    text-align: center;
}

.rounded-social-buttons .social-button {
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 3.125rem;
    height: 3.125rem;
    border: 0.125rem solid transparent;
    padding: 0;
    text-decoration: none;
    text-align: center;
    color: #fefefe;
    font-size: 1.5625rem;
    font-weight: normal;
    line-height: 2em;
    border-radius: 1.6875rem;
    transition: all 0.5s ease;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.rounded-social-buttons .social-button:hover,
.rounded-social-buttons .social-button:focus {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.rounded-social-buttons .fa-twitter,
.fa-facebook-f,
.fa-linkedin,
.fa-tiktok,
.fa-youtube,
.fa-instagram {
    font-size: 25px;
}

.rounded-social-buttons .social-button.facebook {
    background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover,
.rounded-social-buttons .social-button.facebook:focus {
    color: #3b5998;
    background: #fefefe;
    border-color: #3b5998;
}

.rounded-social-buttons .social-button.instagram {
    background: #125688;
}

.rounded-social-buttons .social-button.instagram:hover,
.rounded-social-buttons .social-button.instagram:focus {
    color: #125688;
    background: #fefefe;
    border-color: #125688;
}

#toSwap {
    background-color: #000000;
}

#toSwap.htmx-swapping>.testimonials>*,
#toSwap.htmx-swapping>#pricing>*,
#wrapper.htmx-swapping>*{
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

#toSwap.htmx-settling>*,
#wrapper.htmx-settling>* {
    opacity: 0;
}

#toSwap>*,
#wrapper>*{
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#gallery {
    background-color: #e44f42;
    column-width: 200px;
    column-gap: 20px;
    padding: 30px;
    min-height: 90vh;
    padding-bottom: 20vh;
}

.gallerychild {
    break-inside: avoid;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

#gallery .gallerychild img {
    width: 100%;
    height: auto;
    display: block;
}

#galleryfooter {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background-color: #960b0b;
    display: flex;
    padding: 20px;
    padding-bottom: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 20px 20px 0 0;
    box-sizing: border-box;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 200ms;
  animation-timing-function: ease;
}
