/*Animation*/

@keyframes waves {
    0% {
        -webkit-mask-size: 150% 100%;
        mask-size: 150% 100%;
        -webkit-mask-position: 25% 100%;
        mask-position: 25% 100%;
    }

    33.33% {
        -webkit-mask-size: 200% 70%;
        mask-size: 200% 70%;
        -webkit-mask-position: 50% 100%;
        mask-position: 50% 100%;
    }

    66.67% {
        -webkit-mask-size: 200% 70%;
        mask-size: 200% 70%;
        -webkit-mask-position: 75% 100%;
        mask-position: 75% 100%;
    }

    100% {
        -webkit-mask-size: 150% 100%;
        mask-size: 150% 100%;
        -webkit-mask-position: 25% 100%;
        mask-position: 25% 100%;
    }
}

@keyframes gradients {
    0% {
        transform: translateX(-50%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%)
    }
}

.funny {
    font-family: 'UnifrakturCook', cursive;
    font-size: 1.1em;
    font-weight: 700;
}

.hero {
    aspect-ratio: 1 / .85;
    transform-origin: bottom left;
    transform: skewY(-10deg);
    margin-bottom: -8rem;
}

.shine {
    display: none;
}

#carouselBanner {
    transform-origin: top left;
    transform: skewY(10deg);
}

.carousel img {
    filter: grayscale(1) brightness(.67);
}

#landing-section {
    /*    transform: translateY(-5rem);*/
}

#landing-text {
    background-color: rgb(255 255 255 / .9);
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

#landing-text .title{
    text-wrap: pretty;
}

.signature {
    filter: invert(44%) sepia(22%) saturate(622%) hue-rotate(221deg) brightness(90%) contrast(85%);
}

h1.serif-regular {
    font-size: 2.3rem;
}

.corners {
    border-radius: 2.5rem;
}

.cap {
    background-color: rgb(255 255 255 / .95);
}

#cap-2.corners{
    border-radius: 1.5rem;
}

.island {
    background-color: rgb(248 249 250 / .875);
}

.gen-A-local {
    display: none;
}

/*Banner transition stuff*/

.carousel-inner{
    transform: translateY(0%);
    transition: transform .001s ease;
}

.banner-text h1,
.banner-text h2 {
    text-shadow: 2px 1px 3px rgb(0 0 0 / 75%);
    transform: translateX(400%);
    opacity: 0;
    transition: all .5s ease-in-out;
    font-weight: 700;
}

.banner-text.in h1,
.banner-text.in h2 {
    transform: translateX(0%);
    opacity: .9;
}

/*Form styles*/

.form-control:focus {
    background-color: #fff;
    border-color: rgba(125, 108, 152, 1);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(125, 108, 152, .25);
}

.alert-success {
    background-color: rgb(26 173 124 / .5);
}

/*Footer widgets section stuff*/

#footer-widgets {
    position: absolute;
    bottom: -10px;
    aspect-ratio: 1 / 1.25;
    -webkit-mask-image: url(../images/wave.svg);
    mask-image: url(../images/wave.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation-name: waves;
    animation-duration: 17s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}

#footer-gradients {
    width: 200%;
    /*    mix-blend-mode: overlay;*/
    filter: blur(.5rem);
    opacity: .75;
    transition: transform linear;
    animation-name: gradients;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease;
}

.footer-gradient {
    background-image: linear-gradient(90deg, rgba(125, 108, 152, .75) 0%, rgba(26, 173, 124, .75) 50%, rgba(125, 108, 152, .75) 100%);
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-gradient:nth-of-type(2) {
    background-position: 42% 25%;
    background-size: 104%;
}


/* SEO Media Queries*/

/* Small devices (landscape phones, 576px and up)*/

@media (max-width: 575.98px) {
    .container {
        width: 95%;
    }
}


/* Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) {
    .hero {
        aspect-ratio: 1 / .6;
        margin-bottom: -9.5rem;
    }

    .banner-text a {
        font-size: 1.25rem;
        margin-top: 1.875rem !important;
    }
    
    #cap-2{
        height: 50% !important;
    }

    #landing-text {
        background-color: transparent;
    }

    .island {
        background-color: rgb(248 249 250);
    }

    .island h1.serif-regular {
        font-size: 2.125rem;
    }

    #contact-div {
        transform: translate(4%, -4%);
    }

    #footer-widgets {
        aspect-ratio: 1 / .6;
    }

}


/* Large devices (desktops, 992px and up)*/

@media (min-width: 992px) {
    h1.serif-regular {
        font-size: 3.5rem;
    }

    .hero {
        aspect-ratio: 1 / .5;
        margin-bottom: -11rem;
    }
    
    #cap-2{
        height: 25% !important;
    }

    #landing-text {
        background-color: transparent;
    }

    .island h1.serif-regular {
        font-size: 2.5rem;
    }

    footer {
        position: static;
    }

    #footer-widgets {
        aspect-ratio: 1 / .3;
    }
}


/* X-Large devices (large desktops, 1200px and up)*/

@media (min-width: 1200px) {
    .hero {
        aspect-ratio: 1 / .475;
        margin-bottom: -14rem;
    }

    #contact-div {
        transform: translate(4%, -6%);
    }

    .island h1.serif-regular {
        font-size: 3.25rem;
    }
}


/* XX-Large devices (larger desktops, 1400px and up)*/

@media (min-width: 1400px) {
    .hero {
        aspect-ratio: 21 / 9.5;
        transform: skewY(-6deg);
        margin-bottom: -13rem;
    }

    #carouselBanner {
        transform-origin: top left;
        transform: skewY(6deg);
    }

    #landing-section {
        padding-bottom: 7rem !important;
    }

    #landing-text h2.h4{
        font-size: 1.75rem;
    }

    #cap-2{
        height: 50% !important;
    }

    #footer-widgets {
        aspect-ratio: 1 / .3;
    }
}