Files
sohan-salehnia/src/app/globals.css
T
2026-09-03 09:10:25 +03:30

498 lines
8.6 KiB
CSS

@import "tailwindcss";
@font-face {
font-family: "iran-yekan";
src: url("/fonts/iran-yekan-light.ttf") format("truetype");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "iran-yekan";
src: url("/fonts/iran-yekan-regular.ttf") format("truetype");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "iran-yekan";
src: url("/fonts/iran-yekan-medium.ttf") format("truetype");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "iran-yekan";
src: url("/fonts/iran-yekan-bold.ttf") format("truetype");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "montserrat-extralight";
src: url("/fonts/montserrat-extralight.ttf") format("truetype");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "fontello";
src: url("/fonts/fontello.woff2") format("woff2"),
url("/fonts/fontello.woff") format("woff"),
url("/fonts/fontello.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
:root {
--wb-primary-color: #706c01;
--wb-gold: #868215;
--wb-muted: #5e5e5e;
--wb-heading: #4b4b4b;
--wb-page: #f9f9f9;
--wb-icon: #939393;
--background: #f9f9f9;
--foreground: #000000;
}
@theme inline {
--color-primary: var(--wb-primary-color);
--color-gold: var(--wb-gold);
--color-muted: var(--wb-muted);
--color-heading: var(--wb-heading);
--color-page: var(--wb-page);
--font-sans: "iran-yekan", Tahoma, sans-serif;
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
background: var(--wb-page);
color: var(--foreground);
font-family: "iran-yekan", Tahoma, sans-serif;
font-size: 0.9rem;
line-height: 1.8;
}
a {
color: inherit;
text-decoration: none;
}
button,
input,
textarea {
font-family: inherit;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
[class^="WMi-"]:before,
[class*=" WMi-"]:before {
font-family: "fontello";
font-style: normal;
font-weight: normal;
speak: never;
display: inline-block;
text-decoration: inherit;
width: 1em;
margin: 0 !important;
text-align: center;
font-variant: normal;
text-transform: none;
line-height: 1em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.WMi-login:before {
content: "\e877";
}
.WMi-instagram:before {
content: "\f16d";
}
.WMi-telegram-1:before {
content: "\f1d9";
}
.WMi-whatsapp:before {
content: "\f613";
}
.WMi-cancel-linear:before {
content: "\f61d";
}
.WMi-left-chevron:before {
content: "\f626";
}
.WMi-menu-5:before {
content: "\f693";
}
.button-light {
background-color: color-mix(in srgb, var(--wb-primary-color), white 90%);
padding: 10px 17px;
color: var(--wb-primary-color);
border-radius: 10px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 4px;
border: 0;
transition: 0.4s;
}
.button-light:hover {
background-color: var(--wb-primary-color);
color: #fff;
}
.button-style-2 {
color: var(--wb-primary-color);
position: relative;
background-color: transparent;
border: 0;
display: inline-flex;
align-items: center;
gap: 6px;
}
.button-style-2:after {
content: "";
position: absolute;
bottom: -7px;
right: 0;
width: 50px;
height: 1px;
background-color: var(--wb-primary-color);
transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.button-style-2:hover:after {
width: 100%;
}
.soft-shadow {
box-shadow: 0 25px 35px -4px rgba(0, 0, 0, 0.05);
}
.header-nav {
padding-bottom: 10px;
z-index: 1000;
background: #f9f9f9;
}
@media (min-width: 320px) {
.header-nav {
padding-top: 20px;
}
}
@media (min-width: 1200px) {
.header-nav {
padding-top: 40px;
}
}
.header-nav.fixed {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: #fff;
border-radius: 20px;
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04);
animation: slideDown 0.3s ease;
}
@media (min-width: 320px) {
.header-nav.fixed {
margin: 10px;
width: calc(100% - 20px);
}
}
@media (min-width: 1200px) {
.header-nav.fixed {
padding: 15px 30px;
margin: 30px 70px;
width: calc(100% - 140px);
}
}
@keyframes slideDown {
from {
transform: translateY(-20px);
opacity: 0.6;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@media (max-width: 1024px) {
.nav-items {
height: 100%;
background-color: #fff;
position: fixed;
top: 0;
right: 0;
width: 70%;
padding: 60px 25px;
box-shadow: -7px 0 20px rgba(0, 0, 0, 0.15);
z-index: 20;
transition: 0.4s ease-in-out;
transform: translateX(100%);
}
.nav-items.open-menu {
transform: translateX(0);
}
.nav-items li:not(:last-child) {
border-bottom: 1px solid #ededed;
padding-bottom: 5px;
margin-bottom: 5px;
}
}
.overlay {
background-color: rgba(0, 0, 0, 0.5);
display: none;
height: 100vh;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index: 10;
backdrop-filter: blur(5px);
}
.overlay.show {
display: block;
}
.hero-banner img {
object-fit: cover;
width: 100%;
}
@media (min-width: 320px) {
.hero-banner img {
height: 300px;
}
}
@media (min-width: 1200px) {
.hero-banner img {
height: auto;
max-height: none;
}
}
.english-label {
font-family: "montserrat-extralight", Montserrat, sans-serif;
}
.form-1 input,
.form-1 textarea {
border: 1px solid #e6e6e6 !important;
padding: 12px 20px;
width: 100%;
background: #fff;
border-radius: 0;
}
.form-1 input:focus,
.form-1 textarea:focus {
outline: none;
box-shadow: none;
}
.form-1 label {
position: absolute;
top: -12px;
right: 30px;
background: #fff;
padding-inline: 10px;
color: #ccc;
}
.footer-bottom {
position: relative;
z-index: 1;
padding: 20px 0 19px;
background-color: #2a290f;
}
.footer-bottom-bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 4px 0;
}
.footer-bottom-site {
color: #c4bf8a;
font-size: 12px;
}
.meshkee-credit {
position: relative;
display: inline-flex;
align-items: center;
gap: 10px;
padding: 6px 10px;
color: #b8b48a;
text-decoration: none;
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover {
color: #efe9b8;
text-decoration: none;
}
.meshkee-credit__frame {
position: absolute;
inset: 0;
pointer-events: none;
}
.meshkee-credit__line {
position: absolute;
background: #868215;
transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit__line--l {
top: 0;
left: 0;
width: 1px;
height: 100%;
transform: scaleY(0);
transform-origin: top;
}
.meshkee-credit__line--b {
bottom: 0;
left: 0;
width: 100%;
height: 1px;
transform: scaleX(0);
transform-origin: left;
transition-delay: 0.14s;
}
.meshkee-credit__line--r {
top: 0;
right: 0;
width: 1px;
height: 100%;
transform: scaleY(0);
transform-origin: bottom;
transition-delay: 0.28s;
}
.meshkee-credit__line--t {
top: 0;
left: 0;
width: 100%;
height: 1px;
transform: scaleX(0);
transform-origin: right;
transition-delay: 0.42s;
}
.meshkee-credit:hover .meshkee-credit__line--l,
.meshkee-credit:hover .meshkee-credit__line--r {
transform: scaleY(1);
}
.meshkee-credit:hover .meshkee-credit__line--b,
.meshkee-credit:hover .meshkee-credit__line--t {
transform: scaleX(1);
}
.meshkee-credit:not(:hover) .meshkee-credit__line--l {
transition-delay: 0.42s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--b {
transition-delay: 0.28s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--r {
transition-delay: 0.14s;
}
.meshkee-credit:not(:hover) .meshkee-credit__line--t {
transition-delay: 0s;
}
.meshkee-credit__logo {
position: relative;
flex-shrink: 0;
width: auto;
height: 42px;
aspect-ratio: 1 / 1;
object-fit: contain;
opacity: 0.7;
transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover .meshkee-credit__logo {
opacity: 1;
}
.meshkee-credit__text {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 42px;
line-height: 1.25;
}
.meshkee-credit__label {
font-size: 11px;
font-family: "montserrat-extralight", Montserrat, sans-serif;
}
.meshkee-credit__name {
font-size: 13px;
font-weight: 600;
color: #ddd6a4;
transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.meshkee-credit:hover .meshkee-credit__name {
color: #fff8c8;
}
@media only screen and (max-width: 575px) {
.footer-bottom-bar {
flex-direction: column;
justify-content: center;
text-align: center;
}
}