@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    letter-spacing: 0.5px;
}

html {
    scroll-behavior: smooth;
}

:root {
    --items-color: #e29e38;
    --hover-items-color: #f0b04f;
    --main-color: #ffffff;
    --second-color: #ececec;
    --text-color: #12223B;
    --hover-text-color: #1a3359;
    --section-padding: 40px;
    --after: none;
}

.darkmode {
    --items-color: #e29e38;
    --hover-items-color: #f0b04f;
    --main-color: #0a0a0a;
    --second-color: #141414;
    --text-color: #707070;
    --hover-text-color: #a0a0a0;
    --section-padding: 40px;
    --after: none;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    height: 100vh;
    background-color: var(--second-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style: none;
}

input {
    caret-color: var(--items-color);
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--main-color);
}

::-webkit-scrollbar-thumb {
    background: var(--items-color);
    border-radius: 12px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-items-color);
}

::selection {
    background-color: var(--items-color);
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
}

/* Start Loading */

.pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000 !important;
    background-color: #ffb703;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-container {
    height: 100px;
    position: relative;
    width: 100px;
    margin: 40px auto;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.loading {
    border: 1px solid transparent;
    border-color: transparent #fff transparent #fff;
    animation: rotate-loading 1.5s linear 0s infinite normal;
    -webkit-animation: rotate-loading 1.5s linear 0s infinite normal;
    transform-origin: 50% 50%;
    height: 100px;
    position: relative;
    width: 100px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
}

.loading-img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 66px;
    transform: translate(-50%, -50%);
}

.loading-img img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

@keyframes rotate-loading {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
    }
}

/* End Loading */

/* Section */
section{
    background-color: var(--main-color);
    width: 900px;
    height: 480px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

/* Aside */
aside{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: 45%;
    background-color: var(--text-color);
    padding: 60px;
}

aside .text{
    text-align: center;
}

h1{
    color: var(--items-color);
    font-size: 34px;
}

aside  .text p{
    color: var(--second-color);
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

aside a{
    display: inline-block;
    width: fit-content;
    color: var(--second-color);
    padding: 9px 28px;
    margin-top: 30px;
    border: 1px solid var(--second-color);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    font-size: 14px;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
}

aside a:hover{
    color: var(--items-color);
    border-color: var(--items-color);
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 30px;
}

.logo p {
    white-space: nowrap;
    color: var(--items-color);
}


.logo p span {
    display: block;
    color: white;
    font-size: 14px;
}

/* Main */
main{
    flex-basis: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 80px;
}

main h1{
    margin-bottom: 40px;
}

form{
    width: 100%;
}

form .data{
    width: 100%;
    margin-bottom: 20px;
}

form .data label{
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

form .data input{
    width: 100%;
    border: none;
    outline: none;
    padding: 9px 18px;
    background-color: var(--second-color);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.pass-feild {
    width: 100%;
    height: 37px;
    border: none;
    outline: none;
    padding: 9px 18px;
    background-color: var(--second-color);
    color: var(--text-color);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    display: flex;
    align-items: center;
}

.pass-feild input {
    width: 100%;
    padding: 0;
    padding-left: 4px;
    border: none;
    padding: 0 !important;
}

.pass-feild i {
    cursor: pointer;
    color: var(--items-color);
    transition: 0.3s;
}

.pass-feild i:hover {
    color: var(--hover-items-color);
}

form input[type="submit"]{
    background-color: var(--text-color);
    color: white;
    border: none;
    outline: none;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    padding: 9px 40px;
    width: fit-content;
    cursor: pointer;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
}

form input[type="submit"]:hover{
    background-color: var(--hover-text-color);
}

form .data:last-child{
    text-align: center;
    margin-top: 30px;
}

.error {
    color: red;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
}