@font-face {
    font-family: vazir;
    src: url("fonts/Vazirmatn-Regular.woff2");
}

.continer{
    display: grid;
    justify-content: center;
    align-items: center;
    margin-top: 10vh;
}

img{
    pointer-events: none;
}

h1{
    color: white;
    text-align: center;
}

h1 div{
    color: red;
}

@keyframes fadeIn-img {
    from{
        opacity: 0;
        transition: 0.3s;
    }
    to{
        opacity: 1;
        transition: 0.3s;
    }
}
@keyframes fadeOut-img {
    from{
        opacity: 1;
        transition: 0.3s;
    }
    to{
        opacity: 0;
        transition: 0.3s;
    }
}

textarea{
    font-family: vazir;
    width: 40vh;
    height: 20vh;
    resize: none;
    outline: none;
    font-size: 2vh;
    /*margin-left: 50%;*/
    /*transform: translateX(-50%);*/
    padding: 1vh;
    background-color: transparent;
    border: 1px solid #3a3c51;
    color: #ffffff;
}

.convert{
    /*margin-left: 50%;*/
    margin-top: 1%;
    /*transform: translateX(-50%);*/
    width: 42vh;
    height: 3vh;
    font-size: 2vh;
    border: 1px solid #3a3c51;
    background-color: #7c83fd;
    border-radius: 0.3vh;
    transition: 0.3s;
}

.convert:hover{
    background-color: #8e94ff;
    border-radius: 1vh;
    transition: 0.3s;
}

.result{
    font-size: 2vh;
    width: 40vh;
    height: 20vh;
    border: 1px solid #3a3c51;
    /*margin-left: 50%;*/
    /*transform: translateX(-50%);*/
    margin-top: 1%;
    color: #ffffff;
    padding: 1vh;
}
body{
    font-family: vazir;
    background-color: #1a1b23;
}

@keyframes fadeIn {
    0%{
        opacity: 0;
        width: 0;
        height: 0;
        transition: 1s;
    }
    50%{
        opacity: 0.5;
        width: 80vw;
        height: 50vh;
    }
    100%{
        opacity: 1;
        width: 70vw;
        height: 40vh;
        transition: 1s;
    }
}

.beta{
    display: none;
    position: fixed;
    width: 70vw;
    height: 40vh;
    background-color: #2d2f42;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    justify-content: center;
    text-align: center;
    align-items: center;
    /*color: #4ade80;*/
    color: red;
    font-size: 4vh;
    animation: fadeIn 1.4s forwards;
    transition: 1s;
}

.beta button{
    font-family: vazir;
    font-size: 3vh;
    margin: 4vh;
    background-color: #7c83fd;
    border: none;
    border-radius: 0.3vh;
    transition: 0.3s;
}

.beta button:hover{
    border-radius: 1.3vh;
    transition: 0.3s;
}