* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Tanha';
    src: url('../font/Tanha.woff2') format('woff2'),
        url('../font/Tanha.woff') format('woff'),
        url('../font/Tanha.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url(../img/29.photo-1579546928686-286c9fbde1ec.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Tanha', sans-serif;
    font-size: 14px;
    direction: rtl;


}

.loginform {
    position: relative;
    width: 450px;
    min-height: 350px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 18px rgb(8, 0, 0);
    border-radius: 0 50px 0 50px;

}

.loginform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    border-radius: 0 50px 0 50px;
}


.form {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
    z-index: 5;
}

h2 {
    margin: 0;
    padding: 0;
    color: rgb(0, 0, 0);
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.form h2:hover {
    transform: scale(1.25);
}

.loginbox {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loginbox input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(9, 9, 9, 0.681);
    border-radius: 20px 0 20px 0;
    outline: none;
    font-size: 18px;
    color: #fff;
    padding: 5px 0;


}

::placeholder {
    color: rgb(239, 137, 198);
    padding-right: 10px;
    font-family: 'Tanha', sans-serif;
    font-size: medium;
}

.form .loginbox input[type="submit"] {
    background: linear-gradient(120deg, #f5d3dfdf, #fad5d5c3, #91f4eac5, #5ad1cdcc);
    color: #000;
    border: 1px solid;
    border: none;
    box-shadow: 0 1px 3px rgb(8, 0, 0);
    border-radius: 0 50px 0 50px;
    font-weight: 900;
    max-width: 100px;
    cursor: pointer;
    font-family: 'Tanha', sans-serif;
    font-size: medium;

}


.form p {
    color: rgb(0, 0, 0);
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.form p a {
    color: rgb(10, 183, 163);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
}