@font-face {
    font-family: 'Yekan';
    src: url(/static/fonts/YekanNewFaceD2-Regular.ttf) format('truetype');

}

@font-face {
    font-family: 'Yekan-bold';
    src: url(/static/fonts/YekanNewFaceD2-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Yekan-addad';
    src: url(/static/fonts/YEKAN_PLUS.ttf) format('truetype');
}

html,
body {
    font-family: 'Yekan', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #141f23;
    color: aliceblue;
    scroll-behavior: smooth;
}

* {

    box-sizing: border-box;
}

.page-container {
    position: relative;
    width: 500px;
    /* height: 750px; */
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background-color: #141f23;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.login-header {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.logo {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.forms {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    gap: 0.4rem;
    margin-top: 1rem;

}

input {
    background-color: #18272d;
    color: aliceblue;
    text-align: center;
    font-family: 'Yekan', sans-serif;
    border: 3px solid #394e55;
    border-radius: 2rem;
    padding: 7px;
    outline: none;
    border-right: 5px solid #394e55;
    border-left: 5px solid #394e55;
    width: 100%;

}

input:focus {
    border-color: #ffc20a;
    /* تغییر رنگ حاشیه */
    box-shadow: 0 0 5px rgba(196, 224, 35, 0.6);

}

input::placeholder {
    font-size: 18px;
    color: #49c0f6;
    transition: all 0.3s ease;
}

.vorood {
    display: flex;
    align-items: center;
    position: relative;
    width: 250px;
    height: 40px;
    border-radius: 2rem;
    text-align: center;
    margin-top: 0.5rem;
    justify-content: center;


}

.matn {
    direction: rtl;
    position: absolute;
    color: #031014;
    font-size: 1.2rem;
    margin: auto;
    align-self: center;
    width: 99px;
    height: 40px;

}

.shape-1 {
    position: absolute;
    background-color: beige;
    height: 40px;
    width: 90px;
    border-radius: 2rem;
    margin: auto;
}

.shape-2 {
    position: absolute;
    background-color: #ffc20a;
    height: 40px;
    width: 100px;
    border-radius: 2rem;
    margin: auto;
}


.forget {
    position: absolute;
    margin-top: 47rem;
    color: #000;
}

.login-shape {
    position: absolute;
    margin-top: 45rem;

}

.login-shape img {
    width: 100%;
}


@media (max-width: 500px) {
    .page-container {
        width: 100%;
        gap: 3.2vw;
    }

    .login-header {

        gap: 3.2vw;
        margin-top: 9.6vw;
    }


    .forms {

        gap: 1.28vw;
        margin-top: 3.2vw;

    }

    input {
        border: 0.6vw solid #394e55;
        border-radius: 6.4vw;
        padding: 1.4vw;
        border-right: 1vw solid #394e55;
        border-left: 1vw solid #394e55;
    }

    input:focus {
        box-shadow: 0 0 1vw rgba(196, 224, 35, 0.6);
    }

    input::placeholder {
        font-size: 3.6vw;
    }

    .vorood {
        width: 50vw;
        height: 8vw;
        border-radius: 6.4vw;
        margin-top: 1.6vw;
    }

    .matn {
        font-size: 3.84vw;
        width: 19.8vw;
        height: 8vw;
    }

    .shape-1 {
        height: 8vw;
        width: 18vw;
        border-radius: 6.4vw;
    }

    .shape-2 {
        height: 8vw;
        width: 20vw;
        border-radius: 6.4vw;
    }


    .forget {
        margin-top: 150.4vw;
        font-size: 3.2vw;
    }

    .login-shape {
        margin-top: 144vw;

    }

    .login-shape img {
        width: 100%;
    }
}