* {
    box-sizing: border-box;
}
@font-face {
    font-family: my font;
    src : url("../font/fa.ttf");
}
body {
    margin: 0;
}
a {
    text-decoration: none;
}
.mainbox {
    width: 800px;
    margin: auto;
    overflow: auto;
    border-radius: 38px;
    box-shadow: 10px 10px 30px;
}
div .rightbox {
    background-color: white;
    float: right;
    width: 40%;
    border-radius: 0 40px 40px 0;
    height: 500px;
    padding: 45px 0;
    font-family: my font;
}

div .rightbox .inrightbox {
    background-color: rgb(1,173,197);
    border-radius: 40px 0  0 40px;
    width: 50%;
    text-align: center;
    font-family: my font;
}
div .rightbox .inrightbox h3 {
    color: white;
    font-size: 24px;
    padding: 10px;
   
}
div .rightbox h2 {
    text-align: center;
    color: rgb(31,61,80);
}
div .rightbox h3 {
    padding: 0 15px;
}
div .rightbox p {
    padding: 0 15px;
}
div .rightbox form {
    text-align: center;
    direction: ltr;
}
div .rightbox form input[type=text] {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid 1px gray;
    font-family: my font;
    color: rgb(31,61,80);
    padding: 5px;
    width: 80%;
    font-size: 18px;
}
div .rightbox form input[type=text]:focus {
    outline: none;
}
div .rightbox form input[type=password] {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid 1px gray;
    font-family: my font;
    color: rgb(31,61,80);
    padding: 5px;
    width: 80%;
    font-size: 18px;
}
div .rightbox form input[type=password]:focus {
    outline: none;
}
::placeholder {
    color: rgb(31,61,80);
    font-size: 18px;
    font-family: my font;
}
#code {
    text-align: center;
}
div .rightbox form input[type=submit] {
    background-color: rgb(1,173,197);
    color: white;
    border-color: rgb(1,173,197);
    padding: 5px 25px;
    border-radius: 30px;
    font-size: 20px;
    font-family: my font;
    cursor: pointer;
    transition: 0.5s;
}
div .rightbox form input[type=submit]:hover {
    background-color: rgb(31,61,80);
    border-color: rgb(31,61,80);
}
div .leftbox {
    background-color: rgb(1,173,197);
    float: right;
    width: 60%;
    height: 500px;
    border-radius: 40px 0  0 40px;
    text-align: center;
}
div .leftbox img {
    width: 60%;
    margin: 65px 70px 25px 70px;
}
div .leftbox h1 {
    color: white;
    font-family: my font;
    font-size: 27px;
}

/* for profile page */
.topbar {
    overflow: auto;
    background-color: white;
    width: 100%;
    height: 10%;
}
#partright {
    float: right;
    width: 50%;
    overflow: auto;
}
#partleft {
    float: right;
    width: 50%;
    overflow: auto;
}
#part1 {
    float: right;
    width: fit-content;
    padding: 15px;
}
#part1 img {
    width: 59px;
}
#part2 {
    float: right;
    width: fit-content;
    padding: 18px;
    font-family: my font;
    color: rgb(1,173,197);
}
#part3 {
    float: left;
    width: fit-content;
    padding: 22px 22px 22px 50px;
}
#part3 img {
    width: 50px;
}
#part4 {
    float: left;
    width: fit-content;
    padding: 25px 0;
    font-family: my font;
    color: rgb(1,173,197);
}

