@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('./fonts/iransans.eot');
    src: url('./fonts/iransans.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
        url('./fonts/iransans.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
        url('./fonts/iransans.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('./fonts/iransans.ttf') format('truetype');
}

*, body, select, option {
    font-family: IRANSans;
    direction: rtl;
}

form, select {
    margin: 0;
}

select, .form-select {
    height: 28px;
    font-size: 12px !important;
}

.progress {
    margin-top: 5px;
}

.center {
    text-align: center;
}

.code-section {
    display: block;
    padding: 10px;
    background-color: #f1f1f1;
    font-family: monospace;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

a {
    color: blueviolet;
    font-weight: bold;
    text-decoration: none;
}

.red {
    color: red;
    font-weight: bold;
    text-decoration: none;
}

.black {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.navy {
    color: gray;
    font-weight: bold;
    text-decoration: none;
}

.sky{
    position: relative;
}

.rainbow {
    width: 100%;
    height: auto;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transform: skewY(-10deg);
    border-radius: 50% 0 0 0;
    z-index: -100;
    top: -100px;
    left: 0;
    position: absolute;
}

.stripe {
    flex: 1;
    width: 100%;
    height: 30px;
    opacity: 30%;
}

.stripe:nth-child(1) { background-color: violet; }
.stripe:nth-child(2) { background-color: indigo; }
.stripe:nth-child(3) { background-color: blue; }
.stripe:nth-child(4) { background-color: green; }
.stripe:nth-child(5) { background-color: yellow; }
.stripe:nth-child(6) { background-color: orange; }
.stripe:nth-child(7) { background-color: red; }


.fire-container {
    position: fixed;
    left: 30px;
    bottom: 20px;
    width: 100px;
    height: 120px;
}

.flame {
    position: absolute;
    width: 20px;
    height: 100px;
    background: linear-gradient(to bottom, #ff0000, #ff6600) !important;
    border-radius: 10px;
    animation: flicker 0.5s infinite alternate;
}

.wood {
    position: absolute;
    width: 120px;
    height: 20px;
    background: maroon !important;
    border-radius: 10px;
}

@keyframes flicker {
    0% {
      transform: scaleY(1);
    }
    100% {
      transform: scaleY(0.9) rotateX(20deg);
    }
}

.snowflake {
    position: absolute;
    background: #FFFA !important;
    top: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(100vh);
    }
  }