/* ======================================================================================= Imports */

/* ======================================================================================= Imports */

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

/* ------------------------------------------------------------------------------------ */
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    user-select: none;
    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;

    --green: #48A111;

    --red: #CE2626;

    --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: 0.5rem;
    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;
    overflow-y: scroll;
    scroll-behavior: smooth;
    align-items: center;
}

.landing {
    flex: 0 0 auto;
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: row-reverse;
    padding: 2rem;
    gap: 2rem;
}

.map {
    width: 60%;
    height: 500px;
    position: relative;
    border: 0.2rem solid var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.mapFrame {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    position: absolute;
    z-index: 0;
    border: none;
}

.LocationText {
    width: 100%;
    padding: 1rem;
    color: var(--black);
    background-color: var(--white);
    font-size: 1rem;
    direction: rtl;
    position: absolute;
    top: 0px;
    z-index: 1;
}

.routingButton {
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: max-content;
    padding: 1rem;
    color: var(--white);
    background-color: var(--green);
    font-size: 1rem;
    direction: rtl;
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    border-radius: var(--radius);
    z-index: 1;
}

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

.landingColumn {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

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

/* ----------------------------------------------------------------------------- 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-bottom: 2rem;
    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;
    }

    .map {
        width: 60%;
        height: 700px;
    }

    .LocationText {
        font-size: 1.3rem;
    }

    .routingButton {
        font-size: 1.3rem;

    }

    .routingButtonSVG {
        width: 2.5rem;
        height: 2.5rem;
    }

    .landingTitle {
        font-size: 2.5rem;
    }

    .landingDescription {
        font-size: 1.5rem;
    }

    .footerCopyRight {
        font-size: 1.5rem;
    }

    .footerFieldSpan {
        font-size: 1.5rem;
    }

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

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

/* ====================================================================================== L Laptop */
@media screen and (max-width: 1440px) {}

/* ====================================================================================== L Laptop */

/* ====================================================================================== S Laptop */
@media screen and (max-width: 1024px) {
    .landing {
        flex-direction: column-reverse;
        gap: 1rem;
        padding: 1rem 2rem;
    }

    .map {
        width: 100%;
    }

    .mapFrame {
        width: 100%;
    }

    .footerColumn {
        width: 50%;
    }


    .footerFields {
        width: 50%;
    }


}

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

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


    .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;
    }

    .landing {
        padding: 1rem;
    }

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

    .Logo {
        width: 4rem;
    }

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

    .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;
    }



}

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