:root {
    --colour1: rgb(13, 13, 13);
    --colour2: rgb(202, 2, 5);

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

    --hero-cover-opacity: 1;

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

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

h1,
h2,
h3,
h4,
.page-link,
.footer-link {
    font-family: "new-science", sans-serif;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

}

b,
strong {
    color: #cd0305;
}

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;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#page-content {}

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

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

.f3 {
    background-image: url('../img/f3.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;

}

.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 {
    padding: 32px;
    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: 16px;
    }

    .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;
}

.item {
    position: absolute;

    width: 256px;

    left: 0;
    top: 0;

    background-color: #fff;

    transition: ease all 1s;
}












/* - 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,
.footer-container p {
    text-align: center;
    justify-self: center;
    color: white;
}

@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 auto 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;
}

/* From Uiverse.io by alexmaracinaru */
.discover {
    cursor: pointer;
    font-family: "nexa-text", sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s;
    /*    padding: 10px 20px;*/
    border-radius: 100px;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
}

.discover:hover {
    background: transparent;
}

.discover > svg {
    width: 34px;
    color: #fff;

    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.discover:hover svg {
    color: #fff;

    transform: translateX(5px);
}

.discover:active {
    color: #fff;

    transform: scale(0.95);
}


hr {
    width: 80%;
    height: 1px;
    background-color: black;
    border: none;
}

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

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

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