@font-face {
font-family: 'zomorrod';
src: url('fonts/zomorrod.eot?#') format('eot'), 
 url('fonts/zomorrod.woff') format('woff'), 
 url('fonts/zomorrod.ttf') format('truetype');
}
:root {
  --text: hsl(0, 0%, 99%);
  --textDim: hsl(0, 0%, 60%);
  --background: hsl(0, 0%, 7%);
  --primary: hsl(155, 100%, 65%);
  --primaryBg: hsla(155, 100%, 65%, 1%);
  --primaryHi: hsla(155, 100%, 75%, 25%);
  --primaryFg: hsl(155, 100%, 85%);
  --secondary: hsl(156, 51%, 14%);
  --secondaryFg: hsl(156, 51%, 75%);
  --secondaryBg: hsla(156, 51%, 14%, 5%);
  --secondaryHi: hsla(156, 51%, 30%, 50%);
  --accent: hsl(155, 100%, 94%);
  --accentBg: hsla(155, 100%, 94%, 1%);
  --accentHi: hsla(155, 100%, 100%, 25%);
  
}

body {
   font-family: "zomorrod";
  font-weight: 400;
  background-color: var(--background);
  color: var(--text);
  padding: 0 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}
h2 {font-size: 1.1rem;}
zomorrodmediaup{display:flex;align-items:center;justify-content:center;min-height:100vh;background:#e3f2fd}.show-modal{outline:0}.bottom-sheet{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;opacity:0;pointer-events:none;align-items:center;flex-direction:column;justify-content:flex-end;z-index:9999;transition:.1s linear}.bottom-sheet.show{opacity:1;pointer-events:auto}.bottom-sheet .sheet-overlay{position:fixed;top:0;left:0;z-index:-1;width:100%;height:100%;opacity:.2;background:#000}.bottom-sheet .content{width:100%;position:relative;background:#fff;max-height:100vh;height:50vh;max-width:1150px;padding:25px 30px;transform:translateY(100%);border-radius:40px 40px 0 0;box-shadow:0 10px 20px rgba(0,0,0,.03);transition:.3s ease}.bottom-sheet.show .content{transform:translateY(0)}.bottom-sheet .header{display:flex;justify-content:center}.header .drag-icon{cursor:grab;user-select:none;padding:15px;margin-top:-15px}.header .drag-icon span{height:4px;width:40px;display:block;background:#c7d0e1;border-radius:50px}.bottom-sheet .zomorrodmediaup{height:100%;overflow-y:auto;padding:15px 0 40px;scrollbar-width:none}.bottom-sheet .zomorrodmediaup::-webkit-scrollbar{width:0}.bottom-sheet .zomorrodmediaup h2{font-size:1.8rem}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  color: var(--textDim);
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
}

.menu:hover {
  color: var(--text);
  cursor: pointer;
}

.sitename {
  font-weight: bold;
  font-size: 0.7rem;
  display: flex;
}

h1 {
    font-size: 0.8rem;
}

.grid {
  position: absolute;
  height: 100%;
  weight: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  z-index: -1;
}

.grid-svg {
  height: 80%;
  width: 80%;
  position: relative;
  z-index: 1;
}

.blur {
  height: 12rem;
  width: 12rem;
  background-color: var(--primary);
  filter: blur(100px);
  border-radius: 100px;
  z-index: 0;
  position: absolute;
}

.title {
  font-size: 10rem;
  font-weight: 700;
  letter-spacing: -0.8rem;
  display: flex;
  flex-direction: column;
  position: absolute;
  justify-content: center;
  align-self: center;
  height: 100%;
  z-index: 1000;
}

.titr {
    padding: 7px 19px;
    border-radius: 10px;
    font-size: 1rem;
    direction: rtl;
    letter-spacing: 0;
    background-color: var(--accentBg);
    box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.title > p {
  margin: 0;
  line-height: 10rem;
  width: auto;
}

.title > p:nth-child(1){
  align-self: flex-start;
}

.title > p:nth-child(2){
  color: var(--primary);
  align-self: flex-end;
}

.title > p:nth-child(3){
  align-self: flex-end;
}

.zomorrodmediabox {
    font-size: 0.9rem !important;
    letter-spacing: -1px !important;
    direction: rtl;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 700px;
    max-height: 430px;
    padding: 25px;
    overflow-x: auto;
    overflow-y: auto;
    margin: 10px;
    line-height: 2;
    background: none;
    border-radius: 13px;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--accentHi) transparent; /* Firefox */
    box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
}

/* Chrome, Edge, Safari */
.zomorrodmediabox::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.zomorrodmediabox::-webkit-scrollbar-track {
    background: transparent;
}

.zomorrodmediabox::-webkit-scrollbar-thumb {
    background-color: var(--accentHi);
    border-radius: 6px;
    border: none;
}

.zomorrodmediabox::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}



.material-icons {
  display: none;
  fill: var(--text);
}



.button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  height: 50px;
  width: 160px;
  z-index: 9999;
}

button {
  top: 90%;
  height: 50px;
  width: 160px;
  clip-path: path("M 0 25 C 0 -5, -5 0, 80 0 S 160 -5, 160 25, 165 50 80 50, 0 55, 0 25");
  border: none;
  border-radius: 13px;
  background-color: var(--primaryBg);
  box-shadow: 0px -3px 15px 0px var(--primaryHi) inset;
  color: var(--primaryFg);
  font-family: "zomorrod";
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  transform: translateY(0px);
  transition: all 0.2s ease;
}

span {
  width: 100px;
  height: 60px;
  background-color: var(--primaryHi);
  border-radius: 100%;
  filter: blur(20px);
  position: absolute;
  bottom: -50%;
  transition: all 0.2s ease;
}

.button:hover > span {
  opacity: 60%;
}

.button:hover > button {
  transform: translateY(5px);
}

.button.first {
  top: 12%;
  right: 20%;
}

.button.sec {
  bottom: 13%;
  right: 11%;
}

.button.sec > button {
  background-color: var(--accentBg);
  box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
  color: var(--accentFg);
}

.button.rah {
  bottom: 10%;
  right: 10%;
}

.button.rah > button {
  background-color: var(--accentBg);
  box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
  color: var(--accentFg);
}

.button.sec > span {
  background-color: var(--accentHi);
}

.button.third {
  bottom: 25%;
  left: 15%;
}

.button.third > button {
  background-color: var(--secondaryBg);
  box-shadow: 0px -3px 15px 0px var(--secondary) inset;
  color: var(--secondaryFg);
}


.button.f {
  bottom: 70%;
  left: 15%;
}

.button.f > button {
  background-color: var(--secondaryBg);
  box-shadow: 0px -3px 15px 0px var(--secondary) inset;
  color: var(--secondaryFg);
}


.button.third > span {
  background-color: var(--secondaryHi);
}


.top-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  opacity: 50%;
}

.bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  opacity: 50%;
}




@media screen and (max-width: 1000px) {
  .title {
    font-size: 4rem;
    line-height: 
  }
  
  .title > p {
    line-height: 5rem;
    letter-spacing: -0.3rem;
  }
  
  nav > :not(.sitename, .material-icons) {
    display: none;
  }
  
  nav {
    justify-content: center;
  }
  
  .material-icons {
    display: flex;
    align-items: center;
  }
  
}

.zomorrodmedia {
    padding: 8px;
    display: flex;
    border-radius: 10px;
    min-width: 59px;
    align-items: center;
    box-shadow: 0px -3px 15px 0px var(--accentHi) inset;
    font-size: 0.8rem;
    letter-spacing: -1px;
    justify-content: center;
    margin: 0 2px;
    color: white;
    text-decoration: none;
}