/**
 * Grid Motion Animation Styles
 */

/* Reset */
*,
*::after,
*::before {
    box-sizing: border-box;
}

/* Variables */
:root {
    font-size: 12px;
    --color-text: #292828;
    --color-bg: #010101;
    --color-link: #FF0000;
    --color-link-hover: #000;
    --page-padding: 1rem;
    --angle: -15deg;
}

/* Base */
body {
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-bg);
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* No scroll state */
.noscroll {
    height: 100dvh;
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
}

/* Loading animation */
.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 1000;
}

.js .loading::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1);
    }
}

/* Utility */
.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Intro Section */
.intro {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #282828;
}

.intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/noise.png);
    background-size: 250px, 100%;
    pointer-events: none;
}

/* Grid */
.grid {
    gap: 1rem;
    flex: none;
    position: relative;
    width: 200vw;
    height: 150vh;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    grid-template-columns: 100%;
    transform: rotate(var(--angle));
    transform-origin: center center;
}

/* Rows */
.row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(7, 1fr);
    will-change: transform, filter;
}

/* Row Items */
.row__item {
    position: relative;
}

.row__item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.row__item-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Enter Button */
.enter {
    position: absolute;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enter::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s;
    z-index: -1;
}

.enter .logo-button {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: none;
}

.enter:hover .logo-button {
    /*transform: scale(1.05);*/
    /*opacity: 0.9;*/
}

/* Fullview */
.fullview {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.fullview .row__item-inner {
    border-radius: 0;
}



/************Add New Css ****************/
.explore_button {
    border: 1px solid #fff;
    border-radius: 3rem;
    transition: all 0.3s;
    z-index: -1;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 1.75rem 4rem;
    text-align: center;
    text-transform: uppercase;
    background-color: radial-gradient(circle, #f9a13275 0%, transparent 100%);
    margin-top: 20px;
}
.explore_button:focus, .explore_button:hover {
    background-color: rgba(0,0,0,0.2);
}


/* Responsive */
@media screen and (min-width: 53em) {
    body {
        --page-padding: 2rem 3rem;
    }
}
/* ========================================
   Small Mobile (max-width: 480px)
   ======================================== */
@media screen and (max-width: 480px) {
    .row__item-inner {
    width: 300px;
}
}