@charset "utf-8";

:root {
    --primary: 198, 40, 40;
    --secondary: 245, 235, 235;
    --accent1: 239, 83, 80;
    --accent2: 183, 28, 28;
    --text: 51, 51, 51;
    --active: 229, 57, 53;
    --hover: 183, 28, 28;
    --button: 198, 40, 40;
    --white: 255, 255, 255;
}

@font-face {
    font-family: yekan;
    src: url(../assets/fonts/Yekan.woff);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: 0;
    list-style: none;
    transition: 0.3s ease-in all;
}

body {
    background-color: rgb(var(--text));
    font-family: "yekan", 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    overflow-x: hidden;
    direction: rtl;
}

nav {
    width: clamp(150px, 20vw, 300px);
    height: 100vh;
    direction: rtl;
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(var(--white));
    z-index: 2;
}

#hamburger {
    display: none;
}

nav section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 1vh 0;
    width: 100%;
}

nav hr {
    width: 80%;
    height: 1px;
    background-color: rgb(var(--white));
    opacity: 0.9;
    margin: 0 auto;
}

nav section img {
    width: clamp(120px, 8vw, 150px);
}

nav section h1 {
    font-weight: 800;
    font-size: clamp(16px, 1.2vw, 20px);
}

nav section ul {
    width: 70%;
}

nav section ul li {
    font-size: 12px;
    width: 100%;
    height: 4.5vh;
    font-weight: 100;
    padding: 0.7vh 0px 0.7vh 0px;
    margin: 2.6vh 0 2.6vh 0;
    background-color: rgba(var(--white), 0.1);
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    cursor: pointer;
    transition: 0.6s ease all;
}

nav section ul li:hover {
    scale: 1.05;
}

nav section ul li span {
    font-weight: 100;
    font-size: clamp(12px, 1.2vw, 12px);
}

nav section ul li svg {
    fill: rgb(var(--accent1));
    width: 2vw;
    height: auto;
}

nav section ul li#active {
    background-color: rgb(var(--active));
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

nav section ul li#active svg {
    fill: rgb(var(--white));
}

nav section ul li#signIn {
    background-color: rgb(var(--accent1));
}

nav section ul li#signIn svg {
    fill: rgb(var(--white));
}

nav section ul li#signUp {
    background-color: rgb(var(--hover));
}

nav section ul li#signUp svg {
    fill: rgb(var(--white));
}

main {
    width: 78vw;
    height: 95vh;
    background-color: rgb(var(--secondary));
    border-radius: 30px;
    position: fixed;
    top: 50%;
    transform: translate(0 , -50%);
    left: 2vw;
    overflow-y: scroll;
    overflow-x: hidden;
    direction: ltr;
    z-index: 3;
    scroll-behavior: smooth;
}

#main {
    margin-top: 0px;
    padding: 50px 50px;
    height: auto;
    display: grid;
    gap: 50px;
    width: calc(100%-60px);
    direction: rtl;
}

#main .container {
    border-radius: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    color: rgb(var(--secondary));
}

#main #blog {
    background-color: transparent;
    grid-column-start: 1;
    grid-column-end: 3;
    flex-direction: column;
    overflow: visible;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
    padding-bottom: 30px;
    color: rgb(var(--text));
}

#main #blog h2 {
    font-size: clamp(12px,3.5vw,52px);
    position: absolute;
    top: 0;
    z-index: 2;
    margin: 0 50px;
    padding: 0;
}

#main #blog p {
    font-size: clamp(6px,1.5vw,17px);
    font-weight: 100;
    max-width: 80%;
    position: absolute;
    top: 100px;
    z-index: 2;
    margin-bottom: 10px;
}

#main #blog .blog-post {
    width: 100%;
    background-color: rgb(var(--text));
    color: rgb(var(--secondary));
    height: auto;
    margin: 10px 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.3);
    display: grid;
    grid-template-rows: 1fr 2fr;
    direction: rtl;
    position: relative;
}

#main #blog .blog-post img {
    height: 450px;
    width: 100%;
    object-fit: cover;
    grid-row-start: 1;
    grid-row-end: 6;
    position: relative;
    z-index: 0;
}

#main #blog .blog-post .overlay {
    position: absolute;
    width: 100%;
    height: 450px;
    background-image: linear-gradient(0deg, rgba(var(--text),1) 20%, rgba(var(--accent1),0) 90%);
    opacity: 1;
    z-index: 1;
}

#main #blog .blog-post .innerText {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: visible;
    position: relative;
    z-index: 10;
    height: auto;
    margin-top: -75px;
    margin-bottom: 75px;
}

#main #blog .blog-post h2 {
    text-align: right;
    position: static;
    z-index: 2;
    font-size: clamp(8px,4.5vw,52px);
    font-weight: 800;
    margin: 0;
    padding: 5px 0;
    margin: 0 80px;
}

#main #blog .blog-post p {
    position: static;
    text-align: justify;
    font-size: clamp(4px,1vw,15px);
    font-weight: 100;
    margin: 0;
    padding: 0;
}

#main #blog .blog-post p strong {
    font-weight: 800;
    color: rgb(var(--accent1));
}

#main #blog .blog-post .innerText h2 {
    text-align: center;
}

#main #blog .blog-post .innerText h2 {
    font-size: 2.3rem;
    color: rgb(var(--accent1));
}

#main #blog .blog-post .innerText h2:first-of-type {
    font-size: 3rem !important;
    text-shadow: 0px 3px 10px rgba(var(--accent2),0.5);
    margin-bottom: 25px;
}

#main #blog .blog-post .innerText h3 {
    width: 80%;
    text-align: right;
    font-size: clamp(16px,3vw,30px);
    padding: 10px 0;
}

#main #blog .blog-post .innerText img {
    width: 80%;
    border-radius: 10px;
    margin: 20px 0;
}

#main #blog .blog-post .innerText a {
    color: rgb(var(--accent2));
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0;
    border-bottom: 2px solid red;
    margin: 0 5px;
    text-decoration: none;
    transition: 0.1s ease all;
    position: relative;
    z-index: 100;
}

#main #blog .blog-post .innerText a:hover {
    scale: 1.1;
    text-shadow: 2px 2px black;
}

.pageNav {
	position: absolute;
    width: 100%;
	z-index: 10;
	display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
	height: 25px;
    bottom: 0;
}

.pageNav ul {
	list-style: none;
	width: 100%;
	font-size: clamp(5px,1vw,12px);
    display: flex;
    align-items: center;
    justify-content: center;
	padding: 0 0 10px 0;
	margin: 0;
	height: 90%;
}

.pageNav li {
	font-size: clamp(5px,1vw,12px);
	margin: 0;
	background-color: rgb(var(--text));
	border-radius: 50%;
    aspect-ratio: 1/1;
	height: 100%;
	transition: 0.3s ease all;
    color: rgb(var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 5px;
}

.pageNav li:hover {
	cursor: pointer;
	background-color: rgb(var(--accent2));
    color: rgb(var(--secondary));
}

.activePageNav {
    background-color: rgb(var(--accent2)) !important;
    color: rgb(var(--secondary)) !important;
}

#main footer {
    grid-column-start: 1;
    grid-column-end: 3;
    background: linear-gradient(to right, rgb(30, 30, 30), rgb(70, 70, 70));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

#main footer div {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 16px;
}

#main footer div.address {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#main footer a {
    text-decoration: none;
    color: rgb(var(--secondary));
}

#main footer svg {
    position: absolute;
    right: -4vw;
    opacity: 0.6;
    z-index: 0;
    filter: blur(5px);
}

#main footer #short-desc {
    text-align: right;
    height: 80%;
    justify-content: space-between;
}

#main footer #short-desc p {
    text-align: center;
    padding: 0px 20px;
    margin-bottom: 45px;
}

#main footer #social .mohz #phone {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    direction: ltr;

}

#main footer #social .mohz .address p {
    font-size: 12px;
}

#main footer #social .mohz #phone svg {
    position: relative;
    right: 0;
    width: auto;
    height: 20px;
    fill: rgb(var(--accent1));
    opacity: 1;
    z-index: 1;
    filter: blur(0px);
}

#main footer #social .mohz #phone h2 {
    margin: 0;
}

#main footer #links {
    justify-content: space-between;
    height: 80%;
}

#main footer #links ul {
    margin-bottom: 35px;
}

#main footer #links ul li {
    margin: 10px 0;
    text-align: right;
    font-size: 12px;
}

#main footer #links ul li:hover a {
    color: rgb(var(--accent1));
    cursor: pointer;
}

.insta-tel-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.insta {
    margin-bottom: 15px;
}

.telegram {
    margin-bottom: 15px;
}

.insta p {
    font-size: 15px;
}

.telegram p {
    font-size: 14px;
}

#main footer #social .mohz {
    display: flex;
    flex-direction: column;

    align-items: center;
    height: 65%;
    justify-content: space-evenly;
}

#main footer #social .mohz div {
    width: 90%;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

#main footer #social .mohz h5 {
    font-weight: 900;
    font-size: 15px;
}

#main footer #social .mohz svg {
    position: relative;
    right: 0;
    width: 30px;
    height: auto;
    fill: rgb(var(--accent1));
    opacity: 1;
    z-index: 1;
    filter: blur(0px);
    margin: 0 0 0 20px;
}

#main footer #social .mohz div:nth-child(4) {
    font-size: 12px;
    text-align: right;
}

#main footer #social .mohz p {
    cursor: pointer;
}

#main footer #social .mohz #phone h2 {
    font-size: 16px;
}

#main footer #blink {
    position: absolute;
    width: 100%;
    height: 12%;
    margin-top: 20px;
    background-color: rgb(var(--accent1));
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

#main footer #blink h4 {
    font-size: 1rem;
}


::-webkit-scrollbar {
    width: 30px;
    background: none;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 10px 10px rgba(var(--text), 0.8);
    border: solid 13px transparent;
    border-radius: 30px;
    margin: 20px;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 10px 10px rgb(var(--accent1));
    border-radius: 30px;
    border: solid 11px transparent;
}

@media only screen and (max-width: 600px) {
    nav {
        width: 100vw;
        opacity: 1;
        background-color: rgba(var(--text), 0.95);
        z-index: 900;
        display: none;
    }

    nav section img {
        width: 67px;
        aspect-ratio: 1;
    }

    #hamburger {
        box-shadow: 0px 0px 8px #000,
        0px 4px 12px #000;
        background-color: rgb(var(--accent2));
        margin-top: 10px;
        margin-right: 10px;
        border-radius: 50%;
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        z-index: 901;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #hamburger svg {
        fill: white;
        width: 60%;
        height: 60%;
    }

    #hamburger svg:nth-child(2) {
        display: none;
    }

    nav hr {
        width: 100%;
        margin: 0 auto;
    }

    nav h1 {
        font-size: 5vw;
    }

    nav section ul li svg {
        width: 30px;
    }

    main {
        width: 100vw;
        height: 100vh;
        left: 0;
    }

    #main {
        padding: 40px 15px 80px;
        gap: 40px;
    }

    #main #blog .blog-post {
        width: 102%;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between;
        height: auto;
        padding: 0 0 15px 0;
    }

    #main #blog .blog-post .overlay {
        position: absolute;
        width: 100%;
        height: 200px;
        background-image: linear-gradient(0deg, rgba(var(--text), 1) 20%, rgba(var(--accent1), 0) 90%);
        opacity: 1;
        z-index: 1;
        top: 40px;
    }

    #main #blog .blog-post img {
        width: 100%;
        height: 200px;
    }
    
    #main #blog .blog-post h2 {
        margin-top: 60px;
        text-align: center;
        width: 80%;
        font-size: 20px;
    }
    
    #main #blog .blog-post p {
        font-size: 14px;
    }

    #main footer {
        min-height: 500px;
        flex-direction: column;
    }

    #main footer div {
        margin: 15px;
        flex-direction: column;
    }

    #main footer #links {
        font-size: 16px;
        height: 60%;
    }

    #main footer #social .mohz div {
        height: auto;
    }

    #main footer #short-desc {
        font-size: 16px;
        height: 60%;
        text-align: center;
    }

    #main footer #social {
        font-size: 16px;
    }

    #main footer p {
        font-size: 10px;
        padding: 0px 10px;
    }

    #main footer #blink {
        height: 5%;
        bottom: -17px;
    }

    #main footer #blink h4 {
        font-size: .75rem;
    }

    ::-webkit-scrollbar {
        width: 0px;
        display: none;
    }

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

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