@font-face {
    font-family: BYekan;
    src: url(../assets/fonts/B_Yekan/Yekan.ttf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    text-decoration: none;
    font-family: BYekan, sans-serif;
}

:root {
    --paddingEl: 0.75rem;
    --lineHeight: 1.5rem;
    --primaryFontSize: 1rem;
    --secondaryFontSize: 0.875rem;
    --primaryColor: rgb(255, 255, 255);
    --secondaryColor: rgba(255, 255, 255, 0.4);
    --thirdColor: rgb(150, 33, 243);
    --placeholderColor: rgb(107, 114, 128);
    --borderColor: rgb(229, 231, 235);
    --primaryGap: 1rem;
}

.screen {
    position: relative;
    direction: rtl;
    padding: var(--paddingEl);
    max-width: 320px;
    margin: 0 auto;
}

.screen > img.background {
    z-index: -10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.version {
    position: absolute;
    bottom: -4px;
    left: -4px;
    color: var(--primaryColor);
    font-size: var(--secondaryFontSize);
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-side {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--primaryGap);
}

.top-side > .item {
    text-align: center;
    width: 100%;
}

img.head {
    width: 70%;
    height: 70px;
}

.top-side > .item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-side > .item > h1.title {
    margin-top: 48px;
    text-align: start;
}

.top-side > .item > img.banner {
    position: absolute;
    width: 80%;
    top: -20px;
    right: 16px;
    z-index: -5;
}

.bottom-side {
    margin-top: 24px;
    overflow: hidden;
    gap: 64px;
    display: flex;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    gap: var(--primaryGap);
    justify-content: center;
}

form > .links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--primaryGap);
}

h2.title {
    position: relative;
}

h2.title::after {
    content: "";
    position: absolute;
    width: 100vw;
    margin-right: 16px;
    background-color: white;
    height: 1px;
    top: 50%;
}

.links > .link {
    background-color: var(--secondaryColor);
    padding: 4px;
    flex: 1;
    border-radius: 8px;
    text-align: center;
}

form input.inp {
    width: 100%;
    padding: var(--paddingEl);
    font-size: var(--primaryFontSize);
    border-radius: 8px;
    border: 1px solid var(--borderColor);
}

input.inp::placeholder {
    color: rgb(107, 114, 128);
    opacity: 0.7;
}

form button.submit {
    margin: 0 auto;
    width: 90%;
    padding: var(--paddingEl);
    font-size: var(--primaryFontSize);
    background-color: var(--thirdColor);
    color: var(--primaryColor);
    border-radius: 8px;
}

a.link.short {
    font-size: var(--secondaryFontSize);
}

.information {
    display: flex;
    flex-direction: column;
    gap: var(--primaryGap);
}

.paragraph {
    margin-right: 28px;
}

ul {
    list-style-type: disc !important;
    margin-right: 28px;
}

.title,
.paragraph,
.link,
.short-link {
    font-size: var(--primaryFontSize);
    color: var(--primaryColor);
    font-weight: normal;
}

.error-message {
    width: 200px;
    border: 2px double rgba(255, 0, 0, 0.799);
    background-color: rgba(255, 0, 0, 0.235);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--primaryFontSize);
    padding: var(--paddingEl);
    font-weight: bold;
    direction: ltr;
    z-index: 10;
    margin: 0 auto;
    opacity: 1;
    transition: all .5s ease;
}

.hide {
    display: none;
    visibility: hidden;
    opacity: 0;
}