@font-face {
          font-family: YekanBakh_Regular;
          src: url(https://renee.ir/quiz/fonts/YekanBakh-Regular.woff);
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(1);
            }
        }

        .pulse {
            height: 80px;
            animation: pulse 2s infinite;
        }
        
        .div_main , .sec_get_gender
        {
            display: block;
            margin: auto !important;
            text-align: center !important;
        }
        
        .info_user {
            display: block;
            overflow-y: hidden;
            margin: auto;
            text-align: center;
        }
        
        html, body {
          background: #f7f4eb !important;
          height: 100%;
          overflow: hidden;
        }
        
        header, footer {
          background: #f7f4eb !important;
          position: fixed;
          left: 0;
          right: 0;
          color: black;
          text-align: center;
          padding: 10px 0;
          z-index: 10;
        }
    
        header {
          top: 0;
        }
        
        header img {
            height: 40px;
        }
    
        footer {
          bottom: 0;
        }
    
        main {
          background: #f7f4eb !important;
          position: absolute;
          top: 10px; /* ارتفاع هدر */
          bottom: 40px; /* ارتفاع فوتر */
          left: 0;
          right: 0;
          overflow-y: hidden; /* فقط محتوای داخل این بخش اسکرول شود */
          padding-bottom: 75px;
        }
    
        .scroll-content {
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: flex-start; /* محتوای داخل به صورت عمودی وسط چین شود */
          align-items: center; /* محتوای داخل به صورت افقی وسط چین شود */
          overflow-y: auto; /* فقط محتوای داخل این بخش اسکرول شود */
          padding: 10px;
          background-color: #f7f4eb !important;
          text-align: center;
          margin-top: 40px;
        }
        
        .hide_elem
        {
            display:none;
        }
        
        .mobile_elem
        {
            display:none;
        }
        
        .dt-buttons
        {
            display: none;
        }
        
        .option:hover
        {
            background:#a1cef5;
        }
        
        .form-group
        {
            padding:20px 0 !important;
        }
        
        ul
        {
            list-style:none;
        }
        
        .progress-dots {
            display: contents;
            position: fixed;
            bottom: 0px;
            left: 0px;
            width: 100%;
        }
        
        .progress-dots ul {
            direction: ltr;
            display: flex;
            -webkit-box-align: center;
            align-items: center;
            -webkit-box-pack: center;
            justify-content: center;
        }
        
        .progress-dots li {
            padding: 0px 35px;
            position: relative;
        }
        
        .progress-dots li span.circle {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 1px solid rgb(39, 38, 38);
            border-radius: 50%;
        }
        
        .fill_circle {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 1px solid rgb(39, 38, 38);
            border-radius: 50%;
            background: #000;
        }


        .elem_display
        {
            height:0;
            opacity: 0;   
            transform: translateX(100%); 
            transition: opacity 1s ease, transform 1s ease;
        }
        
        .elem_show
        {
            height:auto;
            display:block;
            opacity: 1;
            transform: translateX(0);
        }
        
        .display_name_user
        {
            display: block;
            margin: auto;
            text-align: center;
            font-size: 36px;
            font-weight: 600;
        }
        
        .div_loading 
        {
            display: block;
            margin: auto !important;
            text-align: center !important;
        }
        
        .start_quiz 
        {
            display: block;
            margin: auto !important;
            text-align: center !important;
        }
        
        .start_quiz h1
        {
            font-size: 42px;
        }
        
        .start_quiz p
        {
            line-height: 30px;
            font-size: 18px;
            margin: 25px;
        }
        
        .start_quiz button
        {
            background: #000;
            color: #fff;
            padding: 15px 30px;
            border-radius: 15px;
            font-size: 18px;
            margin: 25px;
        }
        
        footer button
        {
            background: #000;
            color: #fff;
            padding: 15px;
            border-radius: 15px;
            font-size: 18px;
            margin: 10px;
        }
        
        * {
            margin: 0;
            padding: 0;
            font-family: YekanBakh_Regular;
        }


        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #f9f9f9;
            padding: 10px 20px;
            text-align: center;
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #007bff;
            color: #fff;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            cursor: pointer;
        }

        .button:hover {
            background-color: #0056b3;
        }
        
        .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8,
        .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7,
        .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, 
        .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, 
        .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9
        {
            float: right !important;
        }

    /* Centered container */
    .content {
    flex: 1;
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column; 
    height: calc(100vh - 120px); 
}


    /* Option buttons or links */
    .option_yesno {
      display: inline-block;
      margin: 10px;
      padding: 10px 20px;
      font-size: 16px;
      color: #000;
      height:fit-content;
      background-color: #ffffff00;
      border: 1px solid #000;
      border-radius: 4px;
      cursor: pointer;
      text-decoration: none;
    }
    
    /* Option buttons or links */
    .option {
      display: inline-block;
      width:30%;
      margin: 10px;
      padding: 10px 20px;
      font-size: 16px;
      color: #000;
      height:fit-content;
      background-color: #ffffff00;
      border: 1px solid #000;
      border-radius: 4px;
      cursor: pointer;
      text-decoration: none;
    }
    
    .option_img {
      display: inline-block;
      margin: 10px;
      padding: 10px 20px;
      font-size: 16px;
      color: #000;
      background-color: #ffffff00;
      border: 1px solid #000;
      border-radius: 4px;
      cursor: pointer;
      text-decoration: none;
    }
    
    #sec_age input
    {
        padding:10px;
        text-align:center;
    }
    
    .div_question h2
    {
        padding:20px 15px; 
        font-size:35px; 
        font-weight:500;
    }
    
    .btn_next_question
    { 
        padding: 15px 25px;
        margin: 50px;
        border: 1px solid #fff;
        border-radius: 10px;
        background: #000;
        color: #fff;
        cursor: pointer;
    }
    
    .btn_cancel_quiz
    { 
        padding: 5px 10px;
        margin: 2px;
        border: 1px solid #fff;
        border-radius: 10px;
        background: #ff6464;
        color: #fff;
        cursor: pointer;
        font-size: 15px;
    }
    
    .set_background
    { 
        background-color: #a1cef5 !important;
    }
    
    #sec_info_user h2
    {
        padding:20px 15px; 
        font-size:35px; 
        font-weight:500;
    }

/* Mobile Phones */
@media (max-width: 767px) {
    
    main {
        padding-bottom: 75px;
    }
    
    .progress-dots ul{
        display: block;
    }
    
    .progress-dots li{
        display: inline-block;
        padding: 0px 5px;
        position: relative;
    }
    
    .option {
        width: 90%;
    }
    
    #sec_info_user h2
    {
        padding:15px; 
        font-size:25px; 
        font-weight:500;
    }
    
    .div_question h2 
    {
        font-size: 25px;
    }
    
    
    #desc_start_quiz 
    {
        display:none !important;
    }
    
    
    #btn_start_quiz
    {
        display:none !important;
    }
    /*
    #btn_save_info_user
    {
        display:none !important;
    }
    */
    .mobile_elem
    {
        display:block !important;
    }
    
}