@font-face {
    font-family: "b yekan";
    src: url('BYekan.ttf') format('truetype');
}
body{
    display: flex;
    font-family: "b yekan", sans-serif;
    color: white;
    background-image: url('bg.png');
    background-repeat: no-repeat;
    background-attachment: fixed;  
    background-size: cover;
    background-color: #000;
    font-size: 150%;
    height: 100%;
}
.menu{
    width: 3%;
    margin-left: 10px;
    padding: 10px;
    margin-left: 10px;
    position: fixed;
}
.header{
    display: flex;
    width: 100%;
    
}
.main{
    display: flex;
    justify-content: center;
}
button{
    font-family: "b yekan", sans-serif;
    font-size: 150%;
    border: none;
    background-color: #ffffff30;
    color:white;
    border-radius: 20px;
    cursor: pointer;
}
.menu2{
    padding: 10px;
    width: 75%;
    background-color: #ffffff30;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
}
.heart2{
    background-color: #00000080;
}
.menu3{
    padding: 5px;
    width: 75%;
    background-color: #ffffff30;
    border-radius: 20px;
    display:flex;
}
.imageheart{
    background-color: #00000080;
    border-radius: 20px;
    padding:5px;
    align-content: center;
}
.bg{
    margin-top:40px;
    width:100%;
}
.data {
    background-color: #ffffff30;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    height: 60px;
    font-size: 100%;
}
.data p{
    margin-top: 10px;
}
.datas {
    margin-top: 20px;
    width:100%;
}
.tit , .value{
    margin-right:10px;
    margin-left:10px;
}
.info , .heart , .analysis{
    margin-right:10px;
    margin-left:10px;
}
.analysis{
    width:35%;
}
.info , .heart{
    width: 50%;
}
input , select , textarea{
    background-color: rgba(100, 100, 100, 0.3);
    border: none;
    border-radius: 20px;
    width: 90%;
    height: 50px;
    margin-top:40px;
    margin-bottom:40px;
    color: white;
    padding: 5px;
    direction: rtl;
    font-family: "b yekan", sans-serif;
    font-size: 150%;
}
.textareacontent{
    width: 90% !important;
    min-height: 40vh;
    direction:ltr;
    text-align:left;
}
.textareacontent::placeholder{
    direction:rtl;
    text-align:right;
    unicode-bidi: plaintext
}
.user{
    border-radius: 100%;
    height: 100px;
    margin-left: 10px;
}
.profile {
    display: flex;
    margin: 20px;
    left: 10px;
    width:50%;
    justify-content: flex-end;
}
.search{
    width: 30%;
}
.titlehead{
    width: 50%;
}
.form{
    display: flex;
}
.submit{
    background-color: rgba(100, 100, 100, 0.3);
    border: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 10%;
    height: 50px;
    margin-top:40px;
    margin-bottom:40px;
    color: white;
    padding: 5px;
    direction: rtl;
    font-family: "b yekan", sans-serif;
    font-size: 150%;
}
.icon{
    width: 100%;
    margin: 10px;
}
.site{
    margin-right: 7%;
}
.anacontant {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}
.anatext{
    margin-top: 0px;
}
h2{
    margin-top: 0px;
    margin-bottom: 15px;
}
.search-input{
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.search-id{
    width: 60%;
    text-align: center;
}
.id-searcher-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10%;
    transform: translateX(4%);
}
.site{
    width:100%;
    height: 100%;
}
a{
    margin-top: 10px;
    margin-bottom: 10px;
}
.signup{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    text-align: center;
    top: 0px;
    width:100%;
}
.signup input{
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.important{
    font-size: 50%;
    text-align: center;
    margin: 0;
}
.message-box {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    color: white;
    width: 15%;
    text-align:center;
}
.success {
    background-color: #4CAF50;
}
.error {
    background-color: #f44336;
}
select{
    text-align: center;
    height: 70px;
}
#gen {
    margin-top: 2px;
    margin-bottom: 20px;
}
#PRO{
    margin-top: 2px;
}
#devnum{
    margin-bottom: 2px;
}
#build{
    margin-top: 20px;
}
#container{
    display: flex;
    width: 65%;
}
p , h1{
    margin-top:20px;
}
#signup{
    width:50%;
}
#chartWidget {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: black;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    width:75%;
}
#chartWidget.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
#closeWidget {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    background: none;
    border: none;
}


#chartWidget2 {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    background: black;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    width:75%;
}
#chartWidget2.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
#closeWidget2 {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    background: none;
    border: none;
}

#myChart{
    width: 100% !important;
    height: 100% !important;
}

#voicebtn{
    font-size:100%;
    background-color:black;
}
#ecobtn{
    font-size:100%;
    background-color:black;
}
.previewimage{
    width:100%;
    margin:10px;
}
.datainrow{
    width:100%;
    background-color:black;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    border-radius:20px;
    padding:10px;
    margin:10px;
}
.previewtext{
    font-size:50%;
}
.row{
    display:flex;
}
.tabledata{
    width:16.6%;
    margin:20px;
}
#index{
    margin-top: 10px;
    margin-bottom: 10px;
    background-color:#00000000;
    padding:0;
}
.null{
    margin-bottom:20px;
    text-align: center;
    color:#4B4B4B;
}
.firstimage{
    width:50%;
}
.author-box {
    display: flex;
    align-items: center;
    background: black;
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    width: 100%;
    margin-top: 20px;
    transform: translateX(3.5%);
}
.author-box img {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    margin-left: 15px;
}
.author-info {
    display: flex;
    flex-direction: column;
    padding: 5px;
    text-align: right;
}
.author-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
}
.author-role {
    font-size: 14px;
    color: #ccc;
}

#siteofcontent{
    display:block;
}

@media screen and (max-width: 1070px){
    body{
        font-size:120%;
    }
    .main{
        display:block;
    }
    .anacontant{
        max-height: auto;
        overflow: visible;
    }
    #container{
        width:100%;
    }
    .menu{
        display:flex;
        margin-right:0;
        margin-left:0;
        width: 100%;
        padding: 5px;
        height:5%;
        position: fixed;
        background-color:black;
    }
    .site{
        margin-right:0px;
        margin-top:6%;
    }
    .icon{
        height: 100%;
        margin: 10px;
    }
    .user{
        height:50px;
    }
    .id-searcher-form{
        transform: translateX(0%);
    }
    #indexform{
        height:100%;
        width:100%;
    }
    #index{
        height:75%;
        margin-bottom:2%;
    }
    .author-box{
        transform: none;
        margin:auto;
        width:95%;
    }
    .firstimage{
        width:75%;
    }
}
@media screen and (max-width: 600px){
    body{
        font-size:100%;
    }
    #container{
        display:block;
    }
    .heart , .info{
        width:100%;
    }
    .site{
        margin-top:10%;
    }
    .menu{
        display:flex;
        margin-right:0;
        margin-left:0;
        width: 100%;
        padding: 5px;
        height:5%;
        position: fixed;
        background-color:black;
    }
    .id-searcher-form{
        transform: translateX(0%);
    }
    .firstimage{
        width:100%;
    }
}
.centertext{
    text-align: center;
}