/* Global Styles */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --primary: #111111;
    --secondary: #efefef;
    --img-small: 30rem;
    --img-big: 45rem;
}

html {
    font-size: max(100vw / 1920 * 10);
}

::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--primary);
    color: var(--secondary);
    font-family: 'Melodrama', serif;
}

span {
    font-size: 2rem;
    font-weight: 500;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: inset 0 0 20rem 1rem rgba(0, 0, 0, 0.5);
}

/* Main Section Styling */
.section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.section_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64rem;
    width: inherit;
    height: inherit;
    padding: 4rem;
}

/* Info */
.section_info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section_info_item {
    position: inherit;
    left: 0;
    width: inherit;
    display: flex;
    justify-content: space-between;
    padding: 2rem;
}

.section_info_item:nth-child(1) {
    top: 0;
}

.section_info_item:nth-child(2) {
    bottom: 0;
}

/* Medias */
.section_bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    perspective: 200px;
    z-index: 100;
}

.section_bg_card {
    position: absolute;
    background-color: var(--secondary);
    box-shadow: inset 0 0 20rem 1rem rgba(0, 0, 0, 0.5);
    cursor: pointer;

    width: var(--img-small);
    height: var(--img-big);
}

.section_bg_card_content {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/*? Middle Inner */
.section_bg_card:nth-child(1) {
    left: calc((100vw / 2) - (var(--img-small) / 2));
    top: calc((100vh / 2) - var(--img-big) / 2);
}

.section_bg_card:nth-child(2) {
    left: calc((100vw / 2) - (var(--img-big) / 2));
    top: calc((100vh / 2) - var(--img-small) / 0.75);
    width: var(--img-big);
    height: var(--img-small);
}

.section_bg_card:nth-child(3) {
    left: calc((100vw / 2) - (var(--img-big) / 2));
    bottom: calc((100vh / 2) - var(--img-small) / 0.75);
    width: var(--img-big);
    height: var(--img-small);
}

/*? Middle Outer */
.section_bg_card:nth-child(4) {
    left: calc((100vw / 2) - (var(--img-big) / 2));
    top: calc((100vh / 2) - var(--img-small) / 0.6);
    width: var(--img-big);
    height: var(--img-small);
}

.section_bg_card:nth-child(5) {
    left: calc((100vw / 2) - (var(--img-big) / 2));
    bottom: calc((100vh / 2) - var(--img-small) / 0.6);
    width: var(--img-big);
    height: var(--img-small);
    /* display: none; */
}

/*? Left Side */
.section_bg_card:nth-child(6) {
    left: calc((100vw / 2) - (var(--img-small) / 0.75));
    top: calc((100vh / 2) - var(--img-big) / 1);
}

.section_bg_card:nth-child(7) {
    left: calc((100vw / 2) - (var(--img-big) / 0.9));
    top: calc((100vh / 2) - var(--img-small) / 2);
    width: var(--img-big);
    height: var(--img-small);
}

.section_bg_card:nth-child(8) {
    left: calc((100vw / 2) - (var(--img-small) / 0.75));
    bottom: calc((100vh / 2) - var(--img-big) / 1);
}

/*? Right Side */
.section_bg_card:nth-child(9) {
    right: calc((100vw / 2) - (var(--img-small) / 0.75));
    top: calc((100vh / 2) - var(--img-big) / 1);
}

.section_bg_card:nth-child(10) {
    right: calc((100vw / 2) - (var(--img-big) / 0.9));
    top: calc((100vh / 2) - var(--img-small) / 2);
    width: var(--img-big);
    height: var(--img-small);
}

.section_bg_card:nth-child(11) {
    right: calc((100vw / 2) - (var(--img-small) / 0.75));
    bottom: calc((100vh / 2) - var(--img-big) / 1);
}

/* Responsive */
@media only screen and (max-width: 769px) {
    html {
        font-size: max(100vw / 769 * 10);
    }

    :root {
        --img-small: 24rem;
        --img-big: 48rem;
    }
}