﻿@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/Pro/Yekan\ Bakh\ Variable/webfonts/YekanBakhFaNum-VF.woff') format('woff-variations');
    font-weight: 100 1000;
    font-display: fallback;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'YekanBakh', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    direction: rtl;
}

.container {
    width: 100%;
    margin: auto;
    padding: 0 1.8rem;
}

button {
    border: none;
    cursor: pointer;
    background: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FFFFFF;
    background-image: url(../img/Mask\ group-1.svg);
    background-position: top right;
}

a {
    text-decoration: none;
}

/* Header */

header {
    height: 25vh;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 0.87rem;
    padding: 3rem 0;
}

.header-img {
    width: 5rem;
}

.header-txt {
    color: #48CFAD;
    font-size: 0.9rem;
    background-image: url(../img/Votify.svg);
    background-repeat: no-repeat;
    background-size: 7rem;
    background-position: center left;
}

    .header-txt .title {
        font-size: 1.5rem;
        font-weight: 700;
    }

/* Main */

main {
    height: 75vh;
}

.cover {
    display: none;
}

main .container {
    padding: 1.5rem 1.8rem;
    max-width: 540px;
    height: 100%;
}

.signup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
}

.form-title {
    font-size: 1.8rem;
    color: #48CFAD;
    font-weight: 700;
}

.form-txt {
    font-size: 0.85rem;
    color: #939393;
    text-align: center;
    width: 85%;
}

.inputs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-direction: row-reverse;
}

.input-box {
    width: 3.1rem;
    height: 4.1rem;
    outline: none;
    border: none;
    border-bottom: 3px solid #DCE0DF;
    border-radius: 1rem;
    box-shadow: 0px 0px 3px 2px rgb(0 0 0 / 3%), 0px 2px 2px 0px #0000000D;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #555555;
}

    .input-box.corroct {
        border-color: #48CFAD;
        color: #48CFAD;
        box-shadow: 0px 0px 0px 1px #F0F2F5, 0px 0px 0px 1px #48CFAD;
    }

    .input-box.incorroct {
        border-color: #FA3D6D;
        color: #FA3D6D;
        box-shadow: 0px 0px 0px 1px #F0F2F5, 0px 0px 0px 1px #FA3D6D;
    }

input {
    height: 50px;
    width: 100%;
    border-radius: 1rem;
    border-bottom: 2px solid #DCE0DF;
    padding: 0.75rem 1rem;
    box-shadow: 0px 0px 3px 2px rgb(0 0 0 / 3%), 0px 2px 2px 0px #0000000D;
}

label {
    font-size: 0.87rem;
    color: #737373;
    padding-right: 0.5rem;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
    margin-top: auto;
}

.other-option {
    color: #48CFAD;
    font-size: 1rem;
    font-weight: 600;
}

.submit {
    background-color: #48CFAD;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 1rem;
    width: 100%;
    padding: 0.75rem;
    color: #E5FFF9;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    body {
        display: flex;
        justify-content: space-between;
    }

    .content {
        width: 100%;
    }

    header {
        display: flex;
        align-items: center;
        height: 38vh;
    }

    main {
        height: 62vh;
    }

    .cover {
        display: unset;
        height: 100vh;
    }

    .container {
        padding: 0 14% !important;
        max-width: unset !important;
    }

    main .container {
        padding: 0 5rem 14% !important;
        height: 100%;
        max-width: 600px !important;
    }

    .signup-form {
        height: 100%;
    }
}

@media (min-width: 1200px) {



    .header-img {
        width: 5rem;
    }

    .header-txt .title {
        font-size: 1.5rem;
    }

    .header-txt {
        font-size: 1rem;
    }

    .signup-form {
        height: 100%;
    }
}


.inputs {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 1rem;
}

    .inputs > div {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 0.75rem;
    }

input {
    height: 50px;
    border: 0;
    outline: 0;
    width: 100%;
    border-radius: 1rem;
    border-bottom: 2px solid #DCE0DF;
    padding: 0.75rem 1rem;
    box-shadow: 0px 0px 3px 2px rgb(0 0 0 / 3%), 0px 2px 2px 0px #0000000D;
}

label {
    font-size: 0.87rem;
    color: #737373;
    padding-right: 0.5rem;
}

.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    display: flex;
}

.error,
.empty-error {
    display: none;
    font-size: 0.7rem;
    align-self: flex-start;
    padding-right: 0.5rem;
    color: #FA3D6D;
}

form {
    height: 90%;
    display: flex;
    flex-direction: column;
}

[hidden] {
    display: none;
}