/* FONTS
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;800&display=swap');


/* BASE
================================================== */

body {
    font-size: .875rem;
    color: #fff;
    background: #000;
}

body, input, button, textarea {
    font-family: Montserrat, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 800;
}

p,
ul,
ol,
table,
figure {
    margin-bottom: 1rem;
}

a, input, textarea, button {
    transition: color .5s, background-color .5s, border-color .5s, opacity .5s;
}

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

a:hover {
    color: rgba(255 255 255 / 50%);
}

*, *:focus {
    outline: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

figure img {
    width: 100%;
}

/* LAYOUT
================================================== */

/*
	Header
*/

.header {
	position: fixed;
    display: flex;
    align-items: center;
	z-index: 1010;
	top: 0;
	right: 0;
	left: 0;
    height: 4rem;
    background: rgba(0 0 0 / 50%);
    backdrop-filter: blur(1.5rem);
	transition: all .5s;
}

    .header__logo {
        display: block;
        height: 2rem;
    }

        .header__logo img {
            display: block;
            height: 100%;
        }

/* SECTIONS
================================================== */

.products {
    display: flex;
    flex-direction: column;
}

    .products__box {
        position: relative;
        overflow: hidden;
        width: 100%;
        transition: all .5s;
    }

    .products__box:before {
        display: block;
        content: "";
        padding-bottom: 100%;
    }

    .products__box:after {
        position: absolute;
        content: "";
        top: 25%;
        right: 0;
        bottom: 0;
        left: 0;
        background-image: linear-gradient(to bottom, rgba(0 0 0 / 0%) 0%, rgba(0 0 0 / 70%) 100%);
        transition: all .5s;
    }

        .products__box figure,
        .products__box figure img {
            display: block;
            width: 100%;
            height: 100%;
        }

        .products__box figure {
            position: absolute;
            top: 0;
            left: 0;
            transition: all 5s;
        }

            .products__box figure img {
                object-fit: cover;
            }

        .products__box__content {
            position: absolute;
            z-index: 1;
            right: 0;
            bottom: 0;
            left: 0;
            margin: 0 auto;
            padding: 2rem;
            font-weight: 300;
            text-align: center;
            color: #fff;
            transition: all .5s;
        }

            .products__box__title {
                margin-bottom: 2rem;
                font-weight: 700;
                font-weight: 1.5rem;
            }

            .products__box__content a {
                font-weight: 400;
            }

/* MODULES
================================================== */

/*
    Modal
*/

.modal,
.modal a {
    color: #000;
}

    .modal a:hover {
        text-decoration: underline;
    }

    .modal-content {
        border-radius: 0;
    }

    .modal-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .modal-body {
        padding: 2rem;
    }

        .modal-body > *:last-child {
            margin-bottom: 0;
        }

.modal-backdrop.show {
    opacity: .7;
}

/* COMPONENTS
================================================== */


/* GLOBALS
================================================== */


/* RESPONSIVE
================================================== */

/*
	XS
*/

@media screen and (max-width: 575px) {

}

/*
	SM and down
*/

@media screen and (max-width: 767px) {

}

/*
	MD and down
*/

@media screen and (max-width: 991px) {

}

/*
	MD and up
*/

@media screen and (min-width: 768px) {

    .products__box:before {
        padding-bottom: 50%;
    }

}

/*
	LG and up
*/

@media screen and (min-width: 992px) {

    .header {
        height: 6rem;
    }

        .header__logo {
            height: 3rem;
        }

    .products {
        flex-direction: row;
    }

        .products__box {
            width: auto;
            height: 100vh;
            flex: 1 0 0;
        }

        .products__box:after {
            visibility: hidden;
            opacity: 0;
        }

            .products__box__content {
                visibility: hidden;
                width: 30vw;
                padding: 3rem 0;
                opacity: 0;
                transform: translate(0, 10%);
            }

    .products__box:hover {
        flex: 1.2 0 0;
    }

        .products__box:hover:after {
            visibility: visible;
            opacity: 1;
        }

            .products__box:hover figure {
                transform: scale(1.2);
            }

            .products__box:hover .products__box__content {
                visibility: visible;
                transform: translate(0, 0);
                opacity: 1;
            }

}
 
/*
    XL and up
*/
 
@media screen and (min-width: 1200px) {

    body {
        font-size: 1rem;
    }

    .products__box__title {
        font-size: 3rem;
    }

}

/*
	XXL and up
*/

@media screen and (min-width: 1701px) {

}
