:root {
    --colour1: #CB1D1F;
    --colour2: #0D0D0B;

    --hero-fade-in: #000;
    --hero-fade-out: #fff;

    --hero-cover-opacity: 1;

    --hero-cover-bg: #000;
}

body {
    display: grid;
    grid-gap: 0;
}

h1,
h2,
h4,
.page-link,
.footer-link {
    font-family: "posterama-2001", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0D0D0B;
}

h3 {
    color: #CB1D1F;
    font-family: "posterama-2001", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: #CB1D1F;
    font-family: "avenir-next-lt-pro", sans-serif;

}

b,
strong {
    font-family: "posterama-2001", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: black;
}

p,
li {
    font-family: "avenir-next-lt-pro", sans-serif;
    font-size: 17px;
    line-height: 30px;
    letter-spacing: 1px;
}


#page-content {
    display: grid;
    padding: 32px 0;
}

.workspace {
    padding: 32px 0;
    grid-gap: 32px;
}


.pattern-1 {
    background-image: url('../img/pattern-1.png');
    background-size: cover;
}


hr {
    width: 80%;
    height: 1px;
    background-color: var(--colour1);
    border: none;
}

@media(min-width: 768px) {
    hr {
        width: 750px;
    }
}

@media(min-width: 992px) {
    hr {
        width: 950px;
    }
}

@media(min-width: 1200px) {
    hr {
        width: 1200px;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.f1 {
    background-image: url('../img/feature-1.jpg');
}

.f2 {
    background-image: url('../img/feature-2.jpg');
}

.f3 {
    background-image: url('../img/feature-3.jpg');
}

.feature-box-container {

    display: grid;

    /* box-shadow: 0px 0px 10px 0px rgba( 0,0,0,0.5 ); */

    width: max-content;

    justify-self: center;

    /* grid-template-columns: max-content max-content max-content;       */

    margin-bottom: 96px;

    z-index: 2;

}


/* Catch-all Centering Class */
.cent {
    justify-self: center;
    text-align: center;
}


.feature-inner {

    display: grid;

    background-position: center center;

    background-size: cover;

    grid-row: 1;

    transition: ease .5s all;

    /* width: 500px;                     */

    box-sizing: border-box;

    height: 384px;

    background-repeat: no-repeat;

}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.feature-content {

    display: grid;

    grid-gap: 16px;

    opacity: 0;

    transition: ease .5s all;

    justify-self: center;

    align-self: center;

    overflow: hidden;

}

.feature-content :is(h1, h2, h3, h4, p, b, a) {

    color: #fff;

    text-align: center;

    justify-self: center;

}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.feature-box-container {

    justify-content: center;

    grid-gap: 4px;

}

.feature-inner {

    width: 40px;

    height: 400px;

    align-self: center;

    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.5);

}

@media(max-width: 991px) {
    .active-feature {
        height: 450px;

        background-position-y: 500px;

        width: 286px;
    }

    .feature-box-container {
        height: 600px;
    }

    .active-feature .feature-content {
        opacity: 1;
    }
}

.f1,
.f2,
.f3 {
    background-color: var(--colour1);
    overflow: hidden;
}

@media(min-width: 992px) {
    .active-feature {
        /* - - - - */
    }

    .feature-box-container {
        grid-gap: 0px;
    }

    .feature-inner {
        width: 25vw;
    }

    .feature-box-container:hover .feature-inner {
        width: 15vw;
    }

    .feature-inner:hover {
        width: 60vw !important;

        background-position-y: 512px;
    }

    .feature-inner:hover .feature-content {
        opacity: 1;
    }

}


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */





/* - Gallery CSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#preview-container {
    position: fixed;

    display: grid;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.75);

    z-index: 99;
}

#preview-img {
    justify-self: center;
    align-self: center;
    max-width: 90vw;
    max-height: 80vh;
    border: 8px solid #fff;
    margin-top: 2vh;
    grid-row: 1;
    grid-column: 1;
}

.gallery-thmb {
    transition: opacity ease .2s, width ease .2s, box-shadow ease .2s;
    justify-self: center;
    align-self: center;
    width: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.gallery-thmb:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    opacity: 0.5;
    width: 98%;
}

.gallery-arrow {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;
    transition: opacity .5s ease;
    align-self: end;
    margin: 32px;
    transition: all ease .2s;
}

@media (min-width: 768px) {
    .gallery-arrow {
        align-self: center;
    }
}

.gallery-arrow:hover {
    cursor: pointer;
    opacity: .5;
    transform: scale(0.8);
}

.gallery-close {
    color: #fff;
    font-size: 32px;
    grid-row: 1;
    grid-column: 1;
    transition: opacity .5s ease;
    align-self: start;
    justify-self: end;
    margin: 32px;
    transition: all ease .2s;
}

.gallery-close:hover {
    cursor: pointer;
    opacity: .5;
    transform: rotate(45deg) scale(0.8);
}

.gallery-right {
    justify-self: end;
}

.gallery-left {
    justify-self: start;
}

#gallery-txt {
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
    align-self: end;
    z-index: 3;
    color: #fff;
    margin-bottom: calc(5vh - 16px);
}

/* - Masonry CSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.simple-masonry {
    position: relative;
}















/* - Footer */

.footer-container {
    margin-bottom: -64px;
    display: grid;
    grid-gap: 40px;
    padding: 64px 0;
    background-color: var(--colour1);

    background-image: url('../img/pattern-1-m.png');
    background-size: cover !important;
    background-repeat: no-repeat;
}

.footer-container h3 {

    text-align: center;
    justify-self: center;
    color: #191919;

}

.footer-container p,
.footer-container a {
    text-align: center;
    justify-self: center;
    color: #fff;
}

@media(min-width: 992px) {
    .footer-container {
        background-image: url('../img/pattern-1.png');
    }
}

.footer-links {
    color: white !important;
    display: grid;
    grid-gap: 16px;
    justify-content: center;
}

.active-footer-link {
    border-bottom: 2px solid white;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    justify-self: center;

}

@media(min-width: 992px) {
    .footer-link {
        grid-row: 1;
    }
}

.footer-socials {
    display: grid;
    justify-content: center;
    grid-gap: 16px;
    color: #cd0305 !important;
    font-size: 24px;
}

@media(max-width: 991px) {
    .footer-socials {
        grid-template-columns: auto auto;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.footer-social {
    color: #fff;
}

@media(min-width: 992px) {
    .footer-social {
        grid-row: 1;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.bottom-bar {
    display: grid;
    justify-content: center;
    color: #fff;
}

.bottom-bar a {
    text-decoration: none;
    color: #fff;
}



.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 768px) {
    .mobishow {
        display: grid !important
    }

    .mobihide {
        display: none !important;
    }
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}


/* Hide the images by default */
.slideGroup1 {
    display: none;
}


/* Next & previous buttons */
.slidePrev,
.slideNext {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    background-color: #f1f1f1;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.slideNext {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.slidePrev:hover,
.slideNext:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.slideNumberText {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.slideDot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.slideActive,
.slideDot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* =========================================================
   FITNESS TESTIMONIAL CAROUSEL
========================================================= */

.fitness-testimonials {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fitness-testimonial-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.fitness-testimonial-track-container {
    overflow: hidden;
    width: 100%;
}

.fitness-testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.fitness-testimonial-card {
    position: relative;
    width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 60px 70px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 2px solid #102d3d;
    background: #EDE6DD;
    border-radius: 15px;
    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fitness-testimonial-card h1,
.fitness-testimonial-card h3,
.fitness-testimonial-card p {
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.fitness-testimonial-card h1,
.fitness-testimonial-card h3 {
    color: var(--colour1);
}

.fitness-testimonial-card p {
    color: #111;
    margin: 20px auto;
}


/* =========================================================
   TESTIMONIAL ARROWS
========================================================= */

.fitness-testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: #102d3d;
    color: #fff;

    border: none;
    width: 40px;
    height: 40px;

    border-radius: 50%;

    cursor: pointer;
    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s ease;
    z-index: 5;
}

.fitness-testimonial-arrow:hover {
    background: #f08a5d;
}

.fitness-testimonial-prev {
    left: 15px;
}

.fitness-testimonial-next {
    right: 15px;
}


/* =========================================================
   TESTIMONIAL DOTS
========================================================= */

.fitness-testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;

    margin-top: 25px;

    gap: 10px;
}

.fitness-testimonial-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    margin: 0;

    border: none;

    background: var(--colour2);

    border-radius: 50%;

    cursor: pointer;

    transition: 0.3s ease;
}

.fitness-testimonial-dot-active {
    background: #102d3d;
}

.ftbox h3 {
    text-align: center;
    justify-self: center;
}

.ftbox p {
    text-align: center;
    justify-self: center;
}

@media(min-width: 768px) {
    .ftbox h3 {
        text-align: left;
        justify-self: start;
    }

    .ftbox p {
        text-align: left;
        justify-self: start;
    }
}