:root {
    /*--primary: #0D0D0D;*/
    --primary: #000000;
    --light: #FFF;
    --radial-grad: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
    --linear-grad: linear-gradient(135deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
    --linear-grad-alt: linear-gradient(200deg, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
}
.hide {display:none !important}
.vis-hide {visibility: hidden !important;}
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #000000;
}

/** Navigation **/
nav {
    display: flex;
    padding: 10px 30px;
    align-items: center;
    /*margin: 2rem 2rem;*/
    /*border-radius: 60px;*/
    width: calc(100% - 60px);
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: var(--primary);
    animation: fadeIn;
    animation-delay: .25s;
    z-index: 9999999;
}

nav img,
nav svg {
    max-height: 100px;
}
nav svg {
    max-height: 40px
}
nav.desktop-nav ul {
    margin: 0;
    flex-grow: 2;
    align-content: center;
    text-align: right;
}
nav.desktop-nav ul > li {
    display: inline-block;
    padding: 0 1rem;
    font-size: 1.2rem;
    font-family: "Sorts Mill Goudy", serif;
    font-weight: 400;
    font-style: normal;
}
nav.mobile-nav .sidebar-menu li a,
nav.desktop-nav li a {
    border: 2px solid transparent;
    font-weight: bold;
    text-decoration: none;
    color: var(--light);
    border-radius: 20px;
    padding:.5rem 1.5rem;
}
nav.desktop-nav li a.cta {
    border: none;
}
nav.desktop-nav li a:hover {
    background: linear-gradient(#0D0D0D, #0D0D0D) padding-box,
    var(--linear-grad) border-box;
}

.breadcrumbs a:hover,
nav.desktop-nav li a:hover {
    transition: var(--hover-transition);
}

nav.mobile-nav {
    display: none;
}

nav.mobile-nav ul {
    margin: 0;
    flex-grow: 2;
    align-content: end;
    text-align: right;
    animation-duration: 300ms;
}
nav.mobile-nav ul > li {
    display: block;
    padding: .3rem 0;
    font-size: 1.2rem;
    font-family: "Sorts Mill Goudy", serif;
    font-weight: 400;
    font-style: normal;
    margin: 10px 0;
}
nav.mobile-nav li a {
    font-weight: bold;
    text-decoration: none;
    color: var(--light);
    padding: 5px 10px;
    margin: 10px 0;
}
nav.mobile-nav li a:hover {
    transition: var(--hover-transition);
    /*background-color: var(--light);*/
    color: var(--light);
    border-radius: var(--hover-radius);
}

nav.mobile-nav .sidebar-menu {
    display: block;
    margin-top: 20px;
    text-align: right;
    position: sticky;
}

nav.mobile-nav .sidebar-menu {
    transition: visibility 0s, opacity 0.5s linear;
}

a.cta {
    background: var(--linear-grad);
}

@media screen and (max-width: 960px) {
    nav.desktop-nav {
        display: none;
    }

    nav.mobile-nav {
        display: block;
    }

    nav.mobile-nav .bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/** Utility **/
.grad-border {
    border: 2px solid transparent;
    background: linear-gradient(#0D0D0D, #0D0D0D) padding-box,
    var(--linear-grad) border-box;
}

.intro-text {font-size: 1.6rem; letter-spacing: .1rem; margin-bottom: 3rem;}

/** Containers **/
.container-sm {
    max-width: 740px;
    margin: 0 auto;
}
.container-xl {
    max-width: 1000px;
    margin: 0 auto;
}

/** section **/
section {
    padding: 4rem;
}

/** Hero **/
.hero-image {
    /* Use "linear-gradient" to add a darken background effect to the image. This will make the text easier to read */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)), url("/img/jf14.JPG");

    /* Set a specific height */
    height: 80vh;

    /* Position and center the image to scale nicely on all screens */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    text-align: center;
    position: absolute;
    letter-spacing: .1rem;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
}

.hero-text.animate__animated {
    animation-delay: 0.5s;
}

.hero-text h1 {
    font-size: 4rem;
    margin-top: 1.5rem;
    letter-spacing: .2rem;
}

.hero-text p {
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.cta-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 25px;
    background: var(--linear-grad);
    color: #fff;
    text-decoration: none;
}

.alert {
    position: absolute;
    bottom: 2rem;
    left: 50%;
}

/** Paralax **/
.lax {
    /*height: 14rem;*/
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/jf15.JPG');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/** Services **/
#services {
    background-color: #000000 ;
    color: #FFF;
}

#services .flex {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 4rem;
}
#services .flex .item:first-child {
    border-radius: 10px;
    background: var(--linear-grad);
    max-width: 800px;
    padding: 2rem;
    animation-delay: 0.25s;
}
#services .services-list {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 2rem;
}
#services .services__card:first-child {
    animation-delay: 0.25s;
}
#services .services__card:nth-child(2) {
    animation-delay: 0.25s;
}
#services .intro-text {
    font-size: 1.6rem;
}
#services .description {
    font-size: 1.3rem;
    line-height: 2rem;
    text-align: center;
    margin: 1rem auto;
    max-width: 100ch;
}
#services h1 {
    margin: 0;
    padding: 1rem;
    font-size: 3rem;
    text-align: center;
}
#services .services__card {
    display: flex;
    flex-direction: column;
    gap: 0;
}
#services .card__excerpt {
    padding: 1rem;
    font-size: 1.3rem;
    line-height: 2rem;
    background: var(--linear-grad-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
#services .card__excerpt p {
    margin: 0;
    text-align: center;
}
#services .services-item {
    height: 20rem;
    padding: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    justify-content: center;
    display: flex;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#services .services-item h2 {
    display: flex;
    align-content: center;
    align-items: center;
    font-size: 2.5rem;
}

#services .services-item.perm_light {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), url('/img/jf5.JPG')
}

#services .intro-text {text-align: center}

@media screen and (max-width: 900px) {
    #services .flex {
        flex-direction: column;
    }
    #services .flex {
        gap: 1rem;
    }
    #services .flex .item:first-child {
        padding: 1rem;
        max-width: 100%;
    }
    #services .flex .item:first-child h1 {
        font-size: 2rem;
    }
    #services .services-item {
        width: 100%;
        padding: 0;
        height: 28rem;
    }
}
@media screen and (max-width: 640px) {
    section {
        padding: 2rem;
    }
    #services .services-item {
        width: 100%;
        padding: 0;
        height: 20rem;
    }
}

/** Our Work **/
#our-work {
    background: linear-gradient(135deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
    padding: 2rem;
}
#our-work h1 {
    font-size: 3rem;
    color: #fff;
    text-align: center;
    margin: 0 0 1rem 0;
}
#our-work li.slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 640px) {
    #our-work {
        padding: 2rem 0.5rem;
    }
    #our-work .slider-wrapper {
        height: 30rem;
    }
}

/** Product Details **/
.product__container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 4rem;
    gap: 1rem;
}
.product__spotlight {
    border-radius: 10px;
    background-image: url('/img/jf12.JPG');
    background-position: center top;
    background-size: cover;
    width: 500px;
    animation-delay: 0.5s;
}
.product__details {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    background-color: #0D0D0D;
    color: #fff;
    width: 500px;
    padding: 2rem;
    animation-delay: .25s;
}
.product__details .blurb {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: sans-serif;
    line-height: 2rem;
    letter-spacing: 0.1rem;
    text-align: center;
}
.jellyfish_logo {
    margin: 1rem;
    max-width: 300px;
}
@media screen and (max-width: 999px) {
    .product__container {
        flex-direction: column;
    }
    .product__details {
        width: unset;
    }
}
@media screen and (max-width: 640px) {
    section {
        padding: 2rem;
    }
    section.services .services-grid {
        display: flex;
        flex-direction: column;
    }
    section.services .services-grid .services__card .card__excerpt {
        width: calc(100% - 2rem + 4px);
    }
    section.services .services-grid .services-item {
        width: 100%;
        padding: 0;
        height: 20rem;
    }
    .product__container {
        margin: 0.5rem;
    }
}

/** Reviews **/
#reviews .intro-text {color: #fff}
.reviews {background-color: var(--light)}
.reviews h1 {
    font-size: 3rem;
    color: var(--light);
}
.reviews .reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
}
.reviews .reviews-grid .reviews-item {
    width: 15rem;
    color: var(--primary);
}
.reviews .reviews-grid .reviews-item h2 {
    color: var(--light);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 10px;
}
.reviews .reviews-grid .reviews-item .body {
    border-radius: 40px;
    padding: 1rem;
    color: var(--light);
}
_::-webkit-full-page-media, _:future, :root .lax {
    .lax {
        background-attachment: inherit;
    }
}
@media not all and (min-resolution:.001dpcm) { @media {
    .lax {
        background-attachment: inherit;
    }
}}
@media screen and (min-width: 641px) {
    .reviews .reviews-grid .reviews-item:nth-child(2) {
        animation-delay: .1s
    }
    .reviews .reviews-grid .reviews-item:nth-child(3) {
        animation-delay: .2s
    }
    .reviews .reviews-grid .reviews-item:nth-child(4) {
        animation-delay: .3s
    }
}
@media screen and (max-width: 1200px) {
    .reviews .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width: 900px) {
    .reviews .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 640px) {
    .reviews .reviews-grid .reviews-item:nth-child(2),
    .reviews .reviews-grid .reviews-item:nth-child(3),
    .reviews .reviews-grid .reviews-item:nth-child(4){
        animation-delay: 0s
    }

    .reviews .reviews-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    /* Review */
    .reviews .reviews-grid .reviews-item {
        width: 100%;
    }
}

/** CTA **/
#cta {background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/img/jf14.JPG");height: 300px;background-position: center; background-size: 200%;}
#cta h1, #cta p {color: #fff;}
#cta p {font-size: 1.2rem; letter-spacing: .1rem; margin-bottom: 3rem;}
#cta h1, #cta .content {text-align: center;}
#cta h1 { font-size: 3rem;}

/** Footer **/
footer {
    color: #fff;
    padding: 3rem;
    /*background: rgb(13,13,13);*/
    /*background: linear-gradient(135deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);*/
    /*background: linear-gradient(180deg, rgba(0,0,0,1) 75%, rgba(214,93,3,1) 100%);*/
    background: rgb(63,94,251);
    background: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%);
}
footer a {
    color: #fff;
}
footer a, footer p {
    font-size: 1.3rem;
}
footer img.logo {
    max-width: 250px;
}
footer .logo-container {
    display: flex;
    justify-content: center;
}
footer .container-xxl {
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
}
footer .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
footer .site-links ul {
    padding-left: 1rem;
}
footer li {
    margin-bottom: .5rem;
}
footer .contact-cta p {
    max-width: 36ch;
}
footer .bottom-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 0 0 0;
    margin-top: 2rem;
    border-top: .5px solid #fff;
}
footer .website-by p {
    font-size: .9rem;
}
footer .socials ul {
    list-style-type: none;
    padding: 0;
}
#contact-form {
    display: flex;
    flex-direction: column;
}
#contact-form label {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
#contact-form input, #contact-form textarea {
    margin-bottom: 1.5rem;
    padding: .3rem;
    border: 1px solid black;
}
@media screen and (max-width: 800px) {
    footer .content {
        flex-direction: column;
    }
    footer .bottom-bar {
        flex-direction: column;
        align-items: center;
    }
}

/** Contact **/
#contact {
    background-color: #0D0D0D;
}

#contact h1 {
    font-size: 3rem;
    color: #0D0D0D;
    text-align: center;
}

#contact input,
#contact textarea {
    display: block;
    width: 100%;
    margin: 1rem 0;

}

.wavy-bottom {
    --mask: radial-gradient(6.71rem at 50% calc(100% - 9rem),#000 99%,#0000 101%) calc(50% - 6rem) 0/12rem 100%, radial-gradient(6.71rem at 50% calc(100% + 6rem),#0000 99%,#000 101%) 50% calc(100% - 3rem)/12rem 100% repeat-x;
    -webkit-mask: var(--mask);
    mask: var(--mask);
}
