*,
*:before,
*:after {
    box-sizing: border-box;
}

@keyframes rotate-load {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

body {
    font-family: var(--paragraph-font-family);
    font-size: var(--paragraph-font-size);
    font-weight: var(--paragraph-font-weight);
    line-height: var(--paragraph-line-height);
    color: var(--dark-color);
    background-color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
    background: radial-gradient(circle, var(--primary-color) 0%, var(--primary-color-hover) 100%);
    z-index: 999;
}

.loading-screen:before,
.loading-screen:after {
    position: fixed;
    top: 50%;
    left: 50%;
    display: block;
    content: '';
}

.loading-screen:before {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    border: solid 3px #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rotate-load 1s infinite;
    animation-timing-function: linear;
    z-index: 1;
}

.loading-screen:after {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    content: 'Loading...';
    transform: translateX(-50%) translateY(40px);
}

.wrapper-container {
    width: 1240px;
    max-width: 100%;
    padding: 0 40px;
    margin: auto;
}

.title {
    display: block;
    margin-bottom: 20px;
    font-family: var(--title-font-family);
    font-size: var(--title-font-size);
    font-weight: var(--title-font-weight);
    line-height: var(--title-line-height);
    color: #fff;
}

.sub-title {
    display: block;
    margin-bottom: 20px;
    font-family: var(--sub-title-font-family);
    font-size: var(--sub-title-font-size);
    font-weight: var(--sub-title-font-weight);
    line-height: var(--sub-title-line-height);
    color: #fff;
}

.title + .sub-title {
    margin-top: -20px;
}

.btn-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 0px;
    min-height: 60px;
    padding: 0 40px;
    font-weight: bolder;
    text-decoration: none;
    color: #fff;
    background-color: var(--primary-color);
    border: 0;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    border-radius: 10px;
}

.btn-default:hover {
    background-color: var(--primary-color-hover);
    border: 0;
}

.header-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    min-height: 800px;
    background-color: var(--dark-color);
}

.header-container:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background-color: rgba(0, 0, 0, .25);
    z-index: 10;
}

.header-container:after {
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50%;
    content: '';
    background: rgba(0, 0, 0, .25);
    background: linear-gradient(0deg, rgba(32,32,32,1) 0%, rgba(32,32,32,0) 100%);
    z-index: 15;
}

.header-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: blur(5px);
    z-index: 5;
    transform: translate(-50%, -50%);
}

.intro-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .5);
    transform: translateY(-20vh);
    z-index: 50;
}

.intro-partial {
    color: #fff;
}

.intro-partial .title,
.intro-partial .sub-title {
    text-shadow: 2px 2px 0 rgba(0, 0, 0, .5);
}

.intro-partial:nth-child(1) {
    flex: 1 1 auto;
    margin-right: 40px;
}

.intro-partial:nth-child(2) {
    position: relative;
    overflow: hidden;
    flex: 0 0 300px;
    padding-bottom: 300px;
    border-radius: 50%;
    border: solid 5px #fff;
}

.intro-partial:nth-child(2) img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.showcase-collection-container {
    position: relative;
    margin-top: -40vh;
    margin-bottom: 20px;
    padding: 20px;
    z-index: 100;
}

.showcase-collection-container:before {
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    content: '';
    background: linear-gradient(to top, #151515, var(--primary-color));
    border-radius: 22px;
    z-index: 0;
}

.showcase-collection-container:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background-color: #151515;
    border-radius: 20px;
    z-index: 0;
}

.showcase-item {
    position: relative;
    display: block;
    overflow: hidden;
    float: left;
    width: calc(25% - 40px);
    margin: 20px;
    border-radius: 10px;
    border: 0;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: all 150ms ease;
    z-index: 5;
}

.showcase-item:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: '';
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 150ms ease;
    z-index: 1;
}

.showcase-item:after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
    font-family: 'Suez One', serif;
    font-size: 24px;
    content: "i";
    color: #fff;
    background-color: rgba(0, 0, 0, .25);
    border: solid 2px #fff;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(100%);
    transition-property: opacity, transform;
    transition-duration: 150ms;
    transition-timing-function: ease;
    z-index: 2;
}

.showcase-item:hover:before {
    opacity: .9;
}

.showcase-item:hover:after {
    opacity: 1;
    transform: translateY(0);
}

.showcase-item img {
    display: block;
}

.btn-close-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    z-index: 110;
}

.popup-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(0, 0, 0, .9);
    z-index: 500;
}

.popup-container-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.popup-inner-partial {
    flex: 50%;
    width: 50%;
    padding: 40px;
}

.popup-inner-partial:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.popup-inner-partial:nth-child(2) {
    display: block;
}

.popup-inner-partial img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 20px;
}

.labels-container {
    display: block;
    margin-bottom: 20px;
}

.label-title {
    display: block;
    font-weight: bold;
}


.label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    margin: 10px 10px 0 0;
    background-color: rgba(0, 0, 0, .25);
    border: solid 2px rgba(255, 255, 255, .5);
    border-radius: 5px;
}

@media only screen and (max-width: 1020px) {
    body.no-scroll {
        overflow: hidden;
    }

    .showcase-item {
        width: calc(33.333% - 40px);
    }
}

@media only screen and (max-width: 720px) {
    .title {
        font-size: 40px;
    }

    .sub-title {
        font-size: 26px;
    }

    .wrapper-container {
        padding: 0 20px;
    }

    .header-container {
        height: auto;
    }

    .intro-container {
        flex-direction: column;
        transform: none;
    }

    .intro-partial:nth-child(1) {
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .intro-partial:nth-child(2) {
        width: 300px;
        margin-bottom: 100px;
    }

    .showcase-collection-container {
        padding: 10px;
        margin-top: -120px;
    }

    .showcase-item {
        width: calc(33.333% - 20px);
        margin: 10px;
    }

    .btn-close-popup {
        width: 50px;
        height: 50px;
        font-size: 16px;
        background-color: var(--primary-color);
        border-radius: 50%;
    }

    .popup-container-inner {
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 100%;
    }

    .popup-inner-partial {
        flex: 100%;
        width: 100%;
        padding: 20px;
    }

    .popup-inner-partial:nth-child(1) {
        justify-content: center;
    }

    .popup-inner-partial:nth-child(2) {
        text-align: center;
    }
}

@media only screen and (max-width: 560px) {
    .showcase-item {
        width: calc(50% - 20px);
    }
}
