﻿/* 🌱 Daily Motivation - WebApp */
/* © VIRAWARE™ SMART SOLUTION | VIRAWARE.COM*/
/* By Babak Arjomandi */
/* Updated 2025-12-09 */
/* LTR */
/* Ver: 1.1 */


@font-face {
    font-family: 'NotoSans';
    src: url('https://themes.viraw.ir/fonts/NotoSans/NotoSans-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'NotoSans';
    src: url('https://themes.viraw.ir/fonts/NotoSans/NotoSans-Bold.woff') format('woff');
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Noto Color Emoji Local';
    src: local('Noto Color Emoji'), local('NotoColorEmoji_WindowsCompatible');
    font-display: swap;
}

@font-face {
    font-family: 'VazirFD'; /* thanks to rastikerdar.github.io/vazir-font*/
    src: url('https://themes.viraw.ir/fonts/Vazir/Vazir-Light-FD-WOL.eot'); /* IE9 Compat Modes */
    src: url('https://themes.viraw.ir/fonts/Vazir/Vazir-Light-FD-WOL.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('https://themes.viraw.ir/fonts/Vazir/Vazir-Light-FD-WOL.woff') format('woff'), /* Modern Browsers */
    url('https://themes.viraw.ir/fonts/Vazir/Vazir-Light-FD-WOL.ttf') format('truetype'); /* Safari, Android, iOS */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'VazirFD'; /* thanks to rastikerdar.github.io/vazir-font*/
    src: url('https://themes.viraw.ir/fonts/Vazir/Vazir-Bold-FD-WOL.eot'); /* IE9 Compat Modes */
    src: url('https://themes.viraw.ir/fonts/Vazir/Vazir-Bold-FD-WOL.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('https://themes.viraw.ir/fonts/Vazir/Vazir-Bold-FD-WOL.woff') format('woff'), /* Modern Browsers */
    url('https://themes.viraw.ir/fonts/Vazir/Vazir-Bold-FD-WOL.ttf') format('truetype'); /* Safari, Android, iOS */
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}



* {
    font-family: 'NotoSans',Tahoma,Helvetica,Arial,sans-serif;
    -webkit-appearance: none;
}


html, body {
    font-size: 14px;
    margin: 0;
    width: 100%;
    display: block;
    direction: ltr;
}

h1
{
    font-size:xxx-large;
    margin:0;
    padding:0 50px;
}

h2
{
    font-size:xx-large;
    margin:0;
    padding:0 50px;
}


div.inContainer {
    display: block;
    position: relative;
    color: #FFFFFF;
    white-space: normal;
    text-align: center;
    margin: 0;
    padding: 50px 10px 70px 10px;
    font-weight: 900;
    display: inline-block;
    vertical-align: bottom;
    min-height: calc(100vh - 120px);
    width: calc(100% - 20px);
}



.day {
    display: inline-block;
    padding: 0 15px;
    font-weight: 900;
    line-height: 40px;
    font-size: 20px;
    background: #FFFFFF;
    text-align: center;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.emoji {
    display: block;
    font-size: 35vh;
    line-height: 50vh;
    font-family: Noto Color Emoji;
}

.inContainer img
{
    height:35vh;
    mix-blend-mode: color-dodge;
}


a.today
{
    display:block;
    width: 150px;
    margin:50px auto;
    position:relative;
    text-decoration: none;
    padding: 15px;
    font-weight:700;
    color: #000000;
    font-size:20px;
    background:linear-gradient(90deg,var(--bg1),var(--bg2),var(--bg3));
    background-size:200% 100%;
    border-radius:var(--radius);
    cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,0.25);
    transition:transform 200ms ease;
    text-transform:uppercase;
    letter-spacing:1px;
}

a.moreInfo
{
    display:inline-block;
    text-decoration:none;
    color:#FFFFFF;
    line-height: 30px;
    cursor: pointer;
    font-weight:normal;
    background:rgba(0,0,0,0.1);
    border:1px solid transparent;
    padding:0 10px;
    border-radius:15px;
    transition:all 500ms;
}
a.moreInfo:hover
{
    background:rgba(0,0,0,0.25);
    border:1px solid rgba(0,0,0,0.1);
}


nav
{
    display:block;
    padding:20px;
    margin-top: 20px;
}
nav a
{
    display: inline-block;
    text-decoration:none;
    padding: 0 10px;
    margin: 0 0 5px 5px;
    background:#FFFFFF;
    border-radius:15px;
    font-weight:normal;
    color:gray;
    line-height: 30px;
}

.paging
{
    display:block;
    padding:100px;
    min-height: calc(100vh - 200px);
    font-size:30px;
    font-weight:bold;
    text-align:justify;
    color:#FFFFFF;
    overflow: hidden;
}

.water
{
    background: #1f7eb7 url(https://fonts.gstatic.com/s/e/notoemoji/latest/1f41f/512.gif) no-repeat;
    background-size: contain;
    background-position: center;
}

.nature
{
    background: #3c6f2c url(https://fonts.gstatic.com/s/e/notoemoji/latest/1f331/512.gif) no-repeat;
    background-size: contain;
    background-position: center;
    background-blend-mode: color;
    font-weight: normal;
    /* line-height: 33px; */
    /* font-size: 25px; */
    text-align: left;
}

.about
{
    background: #dbdbdb;
    color: #0a5170;
    text-align: center;
    font-weight: normal;
    font-size: 18px;
    direction: ltr;
    font-family: Noto Color Emoji;
}

.about a
{
    color: #2048b0;
    text-decoration:none;
}

span.version
{
    font-size:10px;
    color:rgba(0,0,0,0.25);
}





@media screen and (max-width: 480px) {
    h1
    {
        font-size:36px;
        padding:0 20px;
    }

    h2
    {
        font-size:28px; 
        padding:0 20px;
    }

    h1[homepage]
    {
        font-size:28px;
        padding:0 20px;
    }

    h2[homepage]
    {
        font-size:22px; 
        padding:0 20px;
    }    

    .inContainer img
    {
        height:30vh;
    }
    
    nav a
    {
        padding: 0 10px;
        margin: 0 0 10px 5px;
        line-height: 25px;
        font-size:11px;
    }

    .paging
    {
        padding:30px;
        min-height: calc(100vh - 60px);
        font-size: 18px;
    }

    .about
    {
        font-size: 14px;
    }    
}




:root{
  --bg1:#ff7b7b;
  --bg2:#ffd166;
  --bg3:#7bdff6;
  --text:#fff;
  --radius:12px;
}


@keyframes slideGradient{
  0%{background-position:0% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}
a.today.animate-gradient{
  animation:slideGradient 6s linear infinite;
}

@keyframes pulse{
  0%{transform:scale(1);}
  50%{transform:scale(1.06);}
  100%{transform:scale(1);}
}
span.today.pulse{
  animation:pulse 2.8s ease-in-out infinite;
}

@keyframes glow{
  0%{box-shadow:0 0 10px rgba(255,255,255,0.4);}
  50%{box-shadow:0 0 24px rgba(255,255,255,0.8);}
  100%{box-shadow:0 0 10px rgba(255,255,255,0.4);}
}
a.today.glow{
  animation:glow 3.5s ease-in-out infinite;
}

a.today:hover{transform:scale(1.08);}
a.today:active{transform:scale(0.95);}


.fade-in {
  opacity: 0;
  animation: fadeIn 600ms ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
    opacity: 1;
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}
