body {
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    font-family: 'Nanum Myeongjo', serif;
    color: #fff;
    background: #050505;
    scroll-behavior: smooth;
    overflow: hidden;
}

.lds-roller {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f9f0ec;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-text-intro {
    z-index: 3;
    position: absolute;
    width: 100vw;
    height: 100%;
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 100;
    color: #f9f0ec;
    background: radial-gradient(circle at center center, #5d5d5d 0, #090909 58%);
}

#loading-text-intro.ended {
    transform: translateY(200%);
}

nav {
    width: 100%;
    padding: 1rem;
    position: fixed;
    z-index: 2;
}

span {
    display: inline-block;
    pointer-events: none;
    transition: transform 0.1s linear;
}

.cursor {
    pointer-events: none;
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px;
    /* background-color: #fff; */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: transform .8s ease, opacity 0.6s ease;
    z-index: 2;
}

.cursor:has(.a:hover){
    transform: translate(-50%, -50%) scale(4); opacity: 0.3;
}

.a {
    display: inline-block;
    color: #fff;
    padding: 1rem;
    margin-right: 4rem;
    letter-spacing: .4em;
    font-size: .9em;
    transition: all 0.3s ease, color 0.3s ease;
}

nav.header .a:hover {
    cursor: pointer;
    color: rgb(175, 175, 175);
    transform: scale(1.1);

}

nav.header .a:hover~.cursor {
    transform: translate(-50%, -50%) scale(5);
    opacity: 0.1;
}

.dg.ac {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 2 !important;
    /* TODO Solve this in HTML */
}

#canvas-container {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    outline: none;
    z-index: 0;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: #000;
    background: radial-gradient(circle at center center, #171717 0, #050505 58%);
}

#canvas-container-details {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    outline: none;
    z-index: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    pointer-events: all;
    overflow: hidden;
}


.section {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* display: flex; */
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding-left: 5%;
    padding-right: 5%;
    z-index: 1;
    width: 65%;
    height: 100vh;
    pointer-events: none;
}


.header {
    position: absolute;
    top: -2em;
    left: 0;
    color: #fff;
    font-size: .8em;
    width: 100%;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    z-index: 2;
    opacity: 0;
    transition: all 1.9s ease-in-out;
    padding: 0;
    margin: 0;

}

.header.ended {
    top: 3em;
    opacity: 1;
}

.header>span {
    padding: 0 3.25em;
    letter-spacing: .4em;
    position: relative;

}

.header>span.active:after,
.first {
    position: absolute;
    left: 50%;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
}

.header>span.active:after {
    content: "";
    bottom: -10px;
    width: 20px;
    height: 2px;
    background: #fff;
}

.first {
    pointer-events: none;
    font-size: 2em;
    letter-spacing: .5em;
    text-align: center;
    width: 100%;
    display: flex;
    height: 120vh;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;

    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    z-index: 1;
    background: linear-gradient(0deg, rgba(5, 5, 5, 1) 20%, rgba(5, 5, 5, 0) 50%);

}

.first>h2 {
    font-size: 1em;
    line-height: 0;
    font-weight: 100;
    letter-spacing: .25em;
    font-style: italic;
    margin: 35px;
}

.first>h1 {
    margin: 10px 0;
    font-weight: 100;

    letter-spacing: 0.4em;

}

.first>h1:after {
    content: "";
    position: absolute;
    margin-top: 105px;
    left: calc(50% - 25px);
    width: 50px;
    height: 2px;
    background: #ffffff70;
}

.first>p {
    font-size: 13px;
    letter-spacing: 0px;
    font-family: sans-serif;
    width: 700px;
    line-height: 28px;
    font-weight: lighter;
    margin-top: 50px;
    margin-bottom: 100px;
    color: #c9c9c996;
    opacity: 0;
    transition: all 3.9s ease-in-out;
}

.first>p.ended {
    opacity: 1;
}

.second {
    pointer-events: all;
    font-size: 2em;
    width: 100%;
    display: flex;
    height: 100vh;
    background: #141414;
    z-index: 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.second-container {
    pointer-events: all;
    width: 100%;
    display: flex;
    height: 100vh;
    margin: 0;
    padding: 0 10%;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    background: radial-gradient(circle at 90% center, rgba(5, 5, 5, 0) 30%, #141414 70%);

}

.second-container>ul {
    list-style: none;
    display: inline-flex;
    padding: 0px;
    margin: 0px 0px 30px 60px;
    font-family: 'DM Serif Display', serif;
    color: #ffffff1c;
    z-index: 2;
}

.second-container>ul>li.active:after {
    content: "";
    top: 20px;
    width: 50px;
    height: 2px;
    background: #fff;
    position: relative;
    left: 0px;
    display: block;
}


.second-container>ul>li {
    padding-right: 20px;
    transition: all 0.8s ease-out;
}

.second-container>ul>li:hover {
    color: whitesmoke;
    pointer-events: all;
    cursor: pointer;
}

.second-container>ul>li:hover~nav.header.ended.cursor {
    transform: translate(-50%, -50%) scale(5);
    opacity: 1;
}

.second-container>ul>li.active {
    color: whitesmoke;
}

.second-container>p {
    font-size: 14px;
    font-family: sans-serif;
    line-height: 24px;
    width: 30%;
    color: #898989;
    margin-left: 60px;
    height: 200px;
}

.third {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.third>h1 {
    font-size: 15vw;
    font-weight: 100;
    letter-spacing: -6px;
    color: whitesmoke;
    margin: 40px 0;
    padding: 0;
}

.third>p {
    column-count: 2;
    column-gap: 40px;
    width: 80%;
    font-size: 13px;
    font-family: sans-serif;
    font-weight: 100;
    line-height: 28px;
    height: 180px;
    color: #898989;
}

.footer {
    border: none;
    width: 100%;
    margin-bottom: 40px;
    font-family: sans-serif;
    font-size: 15px;
    transition: all 0.8s ease-out 1.1s;
    bottom: 0;
    color: white;
    font-weight: 100;
    text-align: center;
    font-weight: bolder;
}

.footer a {
    text-decoration: none;
    pointer-events: auto;
    color: white;
}

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

    .a {
        padding: 10px;
        margin-right: 0rem;
        letter-spacing: 0.3em;
    }

    .footer {
        margin-bottom: 20px;
    }

    .header>span {
        padding: 0 1em;
    }

    .header {
        font-size: .6em;
    }

    .main-section .product-display h3 {
        width: 260px;
        font-size: 42px;
        margin-left: 30px;
        line-height: 45px;
    }

    .first>h1 {
        margin: 10px 0;
        font-weight: 100;
        letter-spacing: 0.2em;
        font-size: 13vw;
    }

    .first>p {
        width: 85%;
        line-height: 22px;
    }

    .second-container {
        padding: 0;
        justify-content: flex-end;
    }

    .second-container>ul {
        margin: 0px 0px 30px 30px;
        width: 80%;
    }

    .second-container>ul>li {
        padding-right: 20px;
        transition: all 0.8s ease-out;
        font-size: 20px;
    }

    .second-container>p {
        width: 85%;
        margin-left: 30px;
        line-height: 21px;
        margin-bottom: 40px;
    }

    .third>p {
        column-count: 1;
    }
}



/* SeconD Web */

.container-head {
    font-size: 2.5rem;
    font-family: monospace;
}

.img-head {
    padding: 20px;
    color: white;
    text-align: center;
    background-color: #352121;
    font-size: 1.688rem;
    letter-spacing: 0.5rem;
}

.img1-head {
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 27px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-family: "Tourney", cursive;
}

.img1 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container1 {
    color: white;
    padding: 60px 90px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.container1::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent); /* More transparent */
    animation: rotate 8s linear infinite;
    z-index: 0;
}

.container1 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure text remains visible on transparent background */
}

@keyframes rotate {
    0% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(720deg);
    }
}

.container1:hover {
    transform: scale(0.8);
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7), rgba(88, 88, 88, 1.1));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.container1:hover .content {
    color: #e0e0e0;
}

.img2 {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img2::before {
    content: "";
    background: url(2c283b1f61f95d72.webp) no-repeat center center/cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0.77;
}

.container2 {
    color: white;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.7), rgba(88, 88, 88, 1.1));
    padding: 60px 90px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.container2::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate2 2s linear infinite;
    z-index: 0;
}

.container2 .content {
    position: relative;
    z-index: 1;
    color: white;
}

@keyframes rotate2 {
    0% {
        transform: rotate(72deg);
    }
    100% {
        transform: rotate(180deg);
    }
}

.container2:hover {
    transform: scale(0.8);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent)
}

.container2:hover .content {
    color: #e0e0e0;
}

.img3 {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img3::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: url(6108fc7d067db4a5.webp) no-repeat center center/cover;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.87;
}
.container3 {
    color: white;
    padding: 60px 90px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.container3::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate 8s linear infinite;
    z-index: 0;
}

.container3 .content {
    position: relative;
    z-index: 1;
    color: white; /* Ensure text remains visible on transparent background */
}

.container3:hover {
    transform: scale(0.8);
    /* background: linear-gradient(135deg, rgba(44, 44, 44, 0.7), rgba(88, 88, 88, 1.1)); */
    background-color: black;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

@keyframes rotate {
    0% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(720deg);
    }
}

.container3 .gallery .gallery-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, z-index 0s;
    z-index: 1;
}

/* Apply zoom effect and bring to front on hover */
.container3 .gallery .gallery-item:hover {
    transform: scale(1.6);
    z-index: 10;
}

/* Ensure images are responsive and fill the container */
.container3 .gallery .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.img4 {
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img4::before {
    content: "";
    background: url(0a232d6e12547170.webp) no-repeat center center/cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0.77;
}

.img5 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img5::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: url(c3a2b2be1bc5b996.webp) no-repeat center center/cover;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.87;
}

.img6 {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img6::before {
    content: "";
    background: url(8210ea21556f224d.webp) no-repeat center center/cover;
    background-attachment: fixed;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0.7;
}

h2 {
    margin: 10px;
}

.para1 {
    font-size: 1.1rem;
}

@media screen and (max-width: 515px) {
    * {
        margin: 0;
        box-sizing: border-box;
        width: 100%;
    }

    .container-head {
        font-size: 1.25rem;
        font-family: monospace;
    }

    .img-head {
        font-size: 0.844rem;
        width: max-content;
    }

    .img1-head {
        font-size: 13.5px;
    }

    .para1 {
        font-size: 0.8rem;
    }

    .container {
        padding: 25px 30px;
    }
}

/* Section 2 */
.responsive-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 20px;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}

.responsive-section:hover{
    transform: scale(0.8);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent)
}

.text-content {
    flex: 1;
    margin-right: 20px;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10%;
}

.highlight {
    font-size: 20px;
    font-weight: bold;
    color: red;
}

/* Tablet screens */
@media (max-width: 1024px) {
    .responsive-section {
        flex-direction: column;
        text-align: center;
    }

    .text-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .image-content {
        margin: 0 auto;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .responsive-section {
        padding: 10px;
    }

    .text-content, .image-content {
        width: 100%;
    }

    .text-content h1 {
        font-size: 24px;
    }

    .text-content p {
        font-size: 16px;
    }
}

/* Section-3 */
.gallery {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.gallery-item {
    flex: 1 1 calc(25% - 20px);
    box-sizing: border-box;
    padding:10px;
    text-align:center;
}

.gallery-item img {
    width:100%;
    height:auto;
    display:block;
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .gallery-item {
        flex: 1 1 100%;
    }
}

/* Clearfix */
.gallery::after {
    content: "";
    display: table;
    clear: both;
}

/* Sliders */
.body{
    background: url(c5be01f8be03b83b.webp) no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    overflow: hidden;
}
.slider {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: rotateslider 100s linear infinite;
}

@keyframes rotateslider {
    0% {
        transform: perspective(1000px) rotateY(0deg);
    }

    100% {
        transform: perspective(1000px) rotateY(360deg);
    }
}

.slider span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 58.3deg)) translateZ(350px);
}


.slider span img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    transition: 2s;
}

.slider span:hover img {
    transform: translateY(-50px) scale(1.2);
}
