@font-face {
    font-family: 'IranYekanX';
    src: url('../fonts/IranYekanX.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100% !important; 
    margin: 0 !important;    
    padding: 0 !important;   
    direction: rtl;          
    text-align: right;
    font-family: 'IranYekanX', sans-serif;
    background-color :#1c39bb;
}

#vanta-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

body {
    padding-top: 50px; 
}

.container {
    max-width: 800px;
    margin-top: 25px; 
    padding: 30px; 
    background-color: #ffffff; 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    margin-left: auto; 
    margin-right: auto;
}

.form-label {
    font-weight: bold;
}

.audio-container, .message-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
}

.audio-container {
    background-color: #e9ecef;
}

.message-container.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-container.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-container.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 30px;
    text-align: center;
}

#realTimeTimer {
    font-weight: bold;
    color: #0056b3;
}

#finalResponseTime {
    font-weight: bold;
    color: #28a745;
}

#audioDownloadTime {
    font-weight: bold;
    color: #ffc107;
}

video, canvas {
    max-width: 100%;
    border-radius: 10px;
    /* margin-top: 15px; */
    display: block;
}