/* ========================================================================================= Basic */

/* ------------------------------------------------------------------------------------ */
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    text-decoration: none;
}

/* ------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------- scroll style */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0);
}

/* ------------------------------------------------------------------------- scroll style */

/* --------------------------------------------------------------------------------- font */
@font-face {
    font-family: vazir;
    src: url("../fonts/Vazir-Medium-FD.ttf");
}

/* --------------------------------------------------------------------------------- font */

/* --------------------------------------------------------------------------------- root */
:root {
    --white: #e6e6fa;
    --white75: #e6e6fac5;
    --white50: #e6e6fa85;
    --white25: #e6e6fa48;

    --gray: #E8EDF2;

    --yellow: #ffcb05;
    --deep-blue: #1122a8;

    --black: #3b3b40;
    --black75: #3b3b40c9;
    --black50: #3b3b4086;
    --black25: #3b3b403d;

    --radius: 0.5rem
}

/* --------------------------------------------------------------------------------- root */

/* --------------------------------------------------------------------------- All Father */
html,
body {
    width: 100%;
    height: 100%;
    position: relative;
    font-family: vazir;
    overflow: hidden;
}

/* --------------------------------------------------------------------------- All Father */

/* ========================================================================================= Basic */

/* ======================================================================================= Layer 1 */
.Layer1 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    z-index: 0;
}

/* ------------------------------------------------------------------------------- Body */
#BG_1 {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: var(--black);
}

/* ------------------------------------------------------------------------------- Body */

/* ----------------------------------------------------------------------------- galexy */
.galexy {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: galexy 150s ease infinite;
}

@keyframes galexy {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1)
    }

}

/* ----------------------------------------------------------------------------- galexy */

/* ======================================================================================= Layer 1 */

/* ======================================================================================= Layer 2 */
.Layer2 {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    z-index: 1;
}

/* ------------------------------------------------------------------------------- Body */
#BG_2 {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ------------------------------------------------------------------------------- Body */

/* ----------------------------------------------------------------------------- header */
.header {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
    overflow-x: scroll;
    border-bottom: 0.1rem solid var(--white50);
}

.headerLogo {
    flex: 0 0 auto;
    display: flex;
    margin-left: 0.5rem;
}

.Logo {
    width: 5rem;
}

.headerDivider {
    flex: 0 0 auto;
    width: 2px;
    height: 100%;
    background-color: var(--white50);
}

.headerButton {
    height: 100%;
    padding: 1rem;
    gap: 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0.75;
    transition: color 0.5s ease, background-color 0.5s ease;
    font-size: 1.1rem;
}

.headerButton:hover {
    opacity: 1;
    background-color: var(--white25);
}

.headerButton.active {
    opacity: 1;
    background-color: var(--white);
    color: var(--black);
}

.headerButtonText {
    width: max-content;
}

.headerButtonIcon {
    width: 1.5rem;
    height: 1.5rem;
}

/* ----------------------------------------------------------------------------- header */

/* ---------------------------------------------------------------------------- content */
.content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

/* ---------------------------------------------------------------------------- content */

/* ---------------------------------------------------------------------------- Landing */
.landing {
    flex: 0 0 auto;
    width: 100%;
    height: calc(100% - 3.9rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landingImage {
    width: 100%;
    height: 100%;
    position: relative;
}

.landingPNG {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.landingColumn {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 1rem 3rem 1rem 1rem;
    gap: 1rem;
}

.landingTitle {
    color: var(--yellow);
    direction: rtl;
    font-size: 1.5rem;
}

.landingDescription {
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--white75);
    direction: rtl;
    padding: 1rem;
    background-color: var(--black25);
    backdrop-filter: blur(1px);
    border-radius: var(--radius);
    border: 0.1rem solid var(--white25);
}

/* ---------------------------------------------------------------------------- Landing */

/* ----------------------------------------------------------------------------- Slider */
.gallery {
    flex: 0 0 auto;
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.galleryTitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    color: var(--white);
    border: 0.1rem solid var(--white25);
    border-bottom: none;
    backdrop-filter: blur(1px);
    font-size: 1rem;
    z-index: 1;
    transform: translateY(1px);
}

.galleryTitle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.galleryBody {
    z-index: 0;
    width: 100%;
    height: max-content;
    gap: 1rem;
    padding: 1rem 0px;
    border-top: 0.1rem solid var(--white25);
    border-bottom: 0.1rem solid var(--white25);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallerySlider {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    gap: 0.5rem;
    padding: 0px 1rem;
    overflow-x: scroll;
    scroll-behavior: smooth;
    cursor: grab;
}

.galleryImage {
    flex: 0 0 auto;
    width: 500px;
    height: 300px;
    border-radius: var(--radius);
    border: 0.1rem solid var(--white25);
    transition: border 0.5s ease;
    object-fit: cover;
    aspect-ratio: 1 / 1;

}

.galleryImage:hover,
.galleryImage:active {
    border: 0.1rem solid var(--white);
}

.galleryVideo {
    flex: 0 0 auto;
    width: 500px;
    height: 300px;
    border-radius: var(--radius);
    border: 0.1rem solid var(--white25);
    transition: border 0.5s ease;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.galleryVideo:hover,
.galleryVideo:active {
    border: 0.1rem solid var(--white);
}

.galleryDivider {
    flex: 0 0 auto;
    width: calc(100% - 2rem);
    height: 2px;
    background-color: var(--white50);
}

/* ----------------------------------------------------------------------------- Slider */

/* ----------------------------------------------------------------------------- Footer */
.footer {
    flex: 0 0 auto;
    width: calc(100% - 4rem);
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: 0.1rem solid var(--white50);
    backdrop-filter: blur(1px);
    border-radius: var(--radius);
    margin: 2rem 0px;
    overflow: hidden;
}

.footerFields {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 0.1rem solid var(--white50);
    border-right: 0.1rem solid var(--white50);
    gap: 0.5rem;
    padding: 2rem;
    margin: 0px 2rem;
}

.footerField {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: start;
    padding: 1rem 2rem;
    gap: 1rem;
    border-radius: var(--radius);
    border: 0.1rem solid var(--white50);
    backdrop-filter: blur(2px);
    color: var(--white75);
    transition: border 0.5s ease, color 0.5s ease, background-color 0.5s ease;
    background-color: transparent
}

.footerField:hover,
.footerField:active {
    background-color: var(--white);
    border: 0.1rem solid var(--white);
    color: var(--black);
}

.footerFieldSpan {
    flex: 1;
    min-width: 0;
    font-weight: normal;
    font-size: 1rem;
    overflow-wrap: break-word;
}

.footerFieldDivider {
    width: 2px;
    height: 100%;
    background-color: var(--white50);
    flex: 0 0 auto;
    transition: background-color 0.5s ease;
}

.footerField:hover .footerFieldDivider,
.footerField:active .footerFieldDivider {
    background-color: var(--black50);
}

.footerFieldSVG {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
}

.footerColumn {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footerImage {
    width: 70%;
    aspect-ratio: 1 / 1;
    margin: auto;
}

.footerCopyRight {
    font-size: 1rem;
    direction: rtl;
    padding: 1rem;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    background-color: var(--white50);
    color: var(--white);
    text-align: center;
}

/* ----------------------------------------------------------------------------- Footer */


/* ======================================================================================= Layer 2 */

/* ======================================================================================= Layer 3 */
.Layer3 {
    width: 100%;
    height: max-content;
    position: absolute;
    bottom: -100%;
    z-index: 2;
    transition: bottom 0.5s ease;
}

.Layer3.show {
    bottom: 0%;
}

/* ------------------------------------------------------------------------------- Body */
#BG_3 {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    padding: 1rem;
    font-size: 1.2rem;
    color: var(--white);
}

/* ------------------------------------------------------------------------------- Body */

/* ======================================================================================= Layer 3 */

/* ============================================================================================ 4K */
@media (min-width: 2560px) {

    .Logo {
        width: 7rem;
    }

    .headerButton {
        font-size: 1.5rem;
        padding: 2rem;
    }

    .headerButton svg {
        width: 2rem;
        height: 2rem;
    }

    .galleryTitle {
        font-size: 1.5rem;
    }

    .galleryTitle svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .galleryImage {
        width: 800px;
        height: 500px;

    }

    .galleryVideo {
        width: 800px;
        height: 500px;
    }

    .footerCopyRight {
        font-size: 1.3rem;
    }

    .footerFieldSpan {
        font-size: 1.3rem;
    }

    .footerFieldSVG {
        width: 2rem;
        height: 2rem;
    }
}

/* ============================================================================================ 4K */

/* ====================================================================================== S Laptop */
@media (max-width: 1024px) {

    .footerColumn {
        width: 50%;
    }

    .footerFields {
        width: 50%;
    }
}

/* ====================================================================================== S Laptop */

/* ======================================================================================== tablet */
@media (max-width: 768px) {

    .landing {

        flex-direction: column-reverse;
    }

    .landingColumn {
        padding: 2rem;
    }

    .galleryImage {
        width: 400px;
    }

    .galleryVideo {
        width: 400px;
    }

    .footer {
        flex-direction: column;
    }

    .footerColumn {
        width: 100%;
    }

    .footerFields {
        width: 100%;
        border: none;
        padding: 1rem;
        margin: 0px;
    }
}

/* ======================================================================================== tablet */

/* ====================================================================================== L mobile */
@media (max-width: 425px) {

    #BG_2 {
        flex-direction: column-reverse;
    }

    .header {
        border-top: 0.1rem solid var(--white50);
        border-bottom: none;
    }

    .Logo {
        width: 4rem;
    }

    .headerButton {
        width: 100%;
        padding: 0.75rem;
    }

    .gallerySlider {
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .galleryImage {
        flex: 0 0 95%;
        scroll-snap-align: center;
    }

    .galleryVideo {
        flex: 0 0 95%;
        scroll-snap-align: center;
    }

    .footer {
        width: calc(100% - 2rem);
    }

    .footerImage {
        width: 100%;
    }

    .footerFields {
        padding: 1rem 0px;
    }

    .footerField {
        border-radius: 0px;
        border-left: 0px;
        border-right: 0px;
    }

    .footerCopyRight {
        width: 100%;
        border-radius: 0px;
    }

    .Layer3 {
        top: -100%;
        transition: top 0.5s ease;
    }

    .Layer3.show {
        top: 0%;
    }

}

/* ====================================================================================== L mobile */