@font-face {
    font-family: vazir;
    src: url(../font/Vazir-FD.ttf);
}
:root{
    --primary: #0f3077;
    --font: vazir;
    --light: #fff;
    --dark: #000;
}
* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: var(--font);
}
body{
    overflow: hidden;
}
.container {
    width: 100%;
    height: 100vh;
    display: flex;
    color: var(--primary);
}
.right {
    width: 50%;
}
.title {
    margin: 15px 50px;
}
.tips {
    padding-top: 280px;
    padding-bottom: 120px;
    padding-right: 10px;
    font-size: 12px;
}
.tip-item {
    display: flex;
}
.tip-number {
    font-size: 9px;
    margin-left: 10px;
    margin-bottom: 5px;
    text-align: center;
    width: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--light);
}
.circle {
    position: absolute;
    height: 1000px;
    width: 1000px;
    background: transparent;
    top: -450px;
    right: -440px;
    border: 45px solid #0ba2db;
    border-radius: 47%;
}
.login-container-border {
    padding: 20px;
    position: absolute;
    top: 0%;
    right: 27.5%;
    border-radius: 50%;
}
.top-half{
    width: 593px;
    height: 300px;
    overflow: hidden;
    position: relative;
}
.top-half-wrapper{
    width: 586px;
    height: 600px;
    border-radius: 50%;
    border: 6px solid gray;
    background: transparent;
    position: absolute;
    top: 0; 
    left: 0;
    box-sizing: border-box;
}
.bottom-half{
    width: 600px;          
    height: 600px;         
    overflow: hidden;      
    position: relative;
}
.bottom-half-wrapper{
    width: 600px;          
    height: 600px;
    border-radius: 50%;
    border: 20px solid gray;  
    background: transparent;     
    position: absolute;
    top: -300px;
    left: 0;
    box-sizing: border-box;
}
.login-container {
    top: -635pt;
    right: 8%;
    width: 500px;
    height: 500px;
    position: relative;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
}
.form {
    display: grid;
    gap: 10px;
}
.input-container {
    position: relative;
}
.form-control {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    font-size: 12px;
    transition: border-color 0.3s;
    background-color: white;
    appearance: none;
}
.form-control:focus {
    border-color: #3498db;
    outline: none;
}
.floating-label {
    position: absolute;
    right: 10px;
    top: 7px;
    background: white;
    padding: 0 8px;
    color: #95a5a6;
    font-size: 16px;
    transition: all 0.3s;
    pointer-events: none;
}
.form-control:focus~.floating-label,
.form-control:not(:placeholder-shown)~.floating-label {
    top: -10px;
    font-size: 13px;
    color: #3498db;
}
button {
    width: 100%;
    background-color: var(--primary);
    color: #fff;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
}
.links {
    margin: auto;
    width: 51%;
}
.top-links {
    width: 97%;
    height: 230px;
    background-color: #31496b;
    border-top-left-radius: 100%;
    margin-bottom: 10px;
}
.bottom-links {
    width: 97%;
    height: 230px;
    background-color: #31496b;
    border-bottom-left-radius: 100%;
    padding-top: 20px;
    padding-right: 20px;
}
.login-links {
    background-color: #f5f3f7;
    color: gray;
    border-radius: 8px;
    padding: 7px;
    width: 85%;
    transition: all 300ms ease-in-out;
}
.login-links:hover {
    transform: translateY(-2px);
}
.login-links:nth-child(1) {
    width: 65%;
}
.circles {
    padding: 7px;
    padding-right: 25px;
    display: flex;
    gap: 10px;
    position: absolute;
    background-color: var(--primary);
    border-top-left-radius: 10px;
}
.circles-item {
    align-content: center;
    text-align: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
}
.left {
    background-color: var(--primary);
    width: 50%;
}
.bottom-links div a {
    font-size: 9px;
    color: #f5f3f7;
    margin-bottom: 10px;
    cursor: pointer;
}
@media screen and (max-width: 1440px) {
    .login-container-border{
        right: 29%;
    }
    .circle{
        right: -395px;
    }
}
@media screen and (max-width: 1300px) {
    .login-container-border{
        right: 27%;
    }
}
@media screen and (max-width: 1210px) {
    .login-container-border{
        right: 25%;
    }
    .circle{
        right: -510px;
    }
    .tips{
        padding-top: 500px;
        padding-bottom: 60px;
    }
}
@media screen and (max-width: 1100px) {
    .tips{
        padding-top: 464px;
        padding-bottom: 60px;
    }
    .circle{
        top: -560px;
        right: -520px;
        border-width: 35px;
    }
    .login-container-border{
        right: 22.5%;
    }
}
@media screen and (max-width: 1024px) {
    .tips{
        padding-top: 520px;
        padding-bottom: 40px;
    }
    .circle{
        right: -550px;
    }
    .login-container-border{
        right: 20.5%;
    }
}
@media screen and (max-width: 957px) {
    .circle{
        right: -580px;
    }
    .login-container-border{
        right: 18%;
    }
}
@media screen and (max-width: 833px) {
    .title{
        margin: 15px 15px;
    }
    .circle{
        right: -620px;
    }
    .tips{
        padding-top: 540px;
        padding-bottom: 18px;
    }
    .login-container-border{
        right: 14.5%;
    }
}
@media screen and (max-width: 768px) {
    .title{
        margin: 15px 10px 0 0;
        font-size: 12px;
    }
    .tips{
        padding-top: 450px;
        padding-bottom: 0;
    }
    .circle{
        display: none;
    }
    .circles{
        background-color: var(--light);
        border-top-left-radius: 0;
        border-top-right-radius: 10px;
        left: 0;
        padding-right: 2px;
        padding-left: 10px;
        bottom: 10px; 
    }
    .circles-item{
        background-color: var(--primary);
    }
    .circles-item a{
        color: var(--light);
    }
    .login-container-border{
        top: -26%;
        right: 19.5%;
    }
    .top-half{
        width: 450px;
        height: 450px;
    }
    .top-half-wrapper{
        width: 450px;
        height: 450px;
        top: 215px;
    }
    .bottom-half{
        width: 450px;
        height: 420px;
    }
    .bottom-half-wrapper{
        width: 450px;
        height: 450px;
        top: -225px;
    }
    .login-container{
        top: -630px;
        right: 5%;
        width: 400px;
        height: 400px;
    }
    .floating-label{
        top: 13px;
        font-size: 9px;
    }
    .form-control:focus~.floating-label,
    .form-control:not(:placeholder-shown)~.floating-label {
        top: -6px;
        font-size: 9px;
    }
    .top-links{
        width: 94%;
        height: 175px;
    }
    .top-links div{
        padding-top: 80px !important;
    }
    .bottom-links{
        width: 94%;
        height: 175px;
    }
    .bottom-links div{
        gap: 20px;
    }
}
@media screen and (max-width: 678px) {
    .tips{
        font-size: 10px;
    }
    .login-container-border{
        top: -26%;
        right: 15.5%;
    }
}
@media screen and (max-width: 580px) {
    .login-container-border{
        right: 10.5%;
    }
}
@media screen and (max-width: 547px) {
    .top-half{
        display: none;
    }
    .bottom-half{
        display: none;
    }
    .login-container-border{
        top: 77%;
        right: 7.5%;
    }
}
@media screen and (max-width: 486px) {

    .login-container-border{
        position: relative;
        top: -40%;
        right: 31.5%;
    }
    .login-container{
        top: -107pt;
        right: -21%;
    }
    
    .bottom-links div{
        gap: 15px !important;
    }

    .tips{
        font-size: 7px;
        padding-top: 400px;
    }
    .tip-number{
        font-size: 7px;
        width: 11px;
        height: 11px;
    }
}
@media screen and (max-width: 451px) {
    .login-container{
        right: -29%;
    }
}
@media screen and (max-width: 444px) {
    .login-container-border{
        top: -33%;
        right: 35.5%;
        padding: 0;
    }
    .title{
        margin: 15px 10px 0 0;
        font-size: 12px;
    }
    .login-container{
        top: -115pt;
        right: 0%;
        width: 300px;
        height: 300px;
    }
    .login-container:first-child{
        padding-top: 50px !important;
    }
    h3{
        font-size: 11px !important;
        margin-bottom: 10px !important;
    }
    .form-control{
        padding: 4px;
        font-size: 10px;
    }
    .floating-label{
        padding: 0 2px;
        top: 9px;
        font-size: 7px;
    }
    .form-control:focus~.floating-label,
    .form-control:not(:placeholder-shown)~.floating-label {
        top: -6px;
        font-size: 7px;
    }
    button[type="submit"]{
        padding: 4px;
    }
    .top-links{
        width: 93%;
        height: 130px;
    }
    .top-links div{
        padding-top: 60px !important;
    }
    .login-links:nth-child(1){
        width: 50%;
    }
    .login-links{
        font-size: 8px;
        padding: 2px;
        border-radius: 2px;
    }
    .bottom-links{
        padding-top: 10px;
        padding-right: 10px;
        width: 93%;
        height: 130px;
    }
    .bottom-links div{
        font-size: 8px;
        gap: 10px !important;
    }
}
@media screen and (max-width: 403px) {
    .login-container{
        right: -5%;
    }
}
@media screen and (max-width: 396px) {
    .login-container{
        right: -7%;
    }
    .circles-item{
        width: 24px;
        height: 24px;
    }
    .circles-item i{
        vertical-align: middle;
    }
}
@media screen and (max-width: 374px) {
    .login-container{
        right: -11%;
    }
}
@media screen and (max-width: 352px) {
    .login-container{
        top: -120pt;
        right: -16%;
    }
    .tips{
        padding-top: 350px;
    }
}
@media screen and (max-width: 345px) {
    .circles{
        padding-left: 5px;
        gap: 4px;
    }
    .login-container{
        right: -20%;
    }
}
@media screen and (max-width: 330px) {
    .login-container{
        right: -20%;
    }
}
@media screen and (max-width: 325px) {
    .login-container{
        right: -23%;
    }
}