html {
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

body {
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-image: linear-gradient(50deg, #9bb0da, #183d8a);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    min-height: 100vh;
}

.wrapper {
    max-width: 1200px;
    min-height: 100vh;
    position: relative;
    margin: 0 auto;
}

img.background {
    position: absolute;
    height: 100%;
    top: 0;
    left: 70%;
    transform: translateX(-50%);
    object-fit: contain;
    z-index: -1;
    background-repeat: no-repeat;
}

header {
    display: flex;
    padding-top: 50px;
    align-items: flex-start;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-wrap: wrap;
    width: 150px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo span {
    color: black;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.logo span::after {
    content: "";
    display: block;
    width: 40%;
    border-top: 3px solid black;
    margin-top: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.menu-wrapper{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
.main-menu {
    display: flex;
    margin: 0;
    padding: 0;
}

.main-menu li {
    padding: 0 15px;
    list-style: none;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.main-menu li::after,
.main-menu li::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #354e69, #bac2cc);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}
.main-menu li::before {
    top: -5px;
    transform-origin: left;
}

.main-menu li:hover::after,
.main-menu li:hover::before {
    transform: scaleX(1);
}
.main-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.main-menu a:active {
    color: #bac2cc;
}
a.btn.header-btn {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}
.btn.header-btn {
    width: auto;
    padding: 7px 10px;
    border: none;
    position: relative;
    background-color: white;
    border-radius: 20px;
    word-wrap: break-word;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    box-shadow: 4px 4px 10px #bac2cc;
}

.btn.header-btn::before {
    content:"";
    width: 0;
    height: 100%;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to right, #354e69 0%, #bac2cc 100%);
    transition: .5s ease;
    z-index: -1;
}

.btn.header-btn:hover::before {
    width: 100%;
    box-shadow: 4px 4px 10px #2e485f;
}

.btn.header-btn:active::before{
    width: 0%;
}
a.btn.header-btn:hover{
    color: white;
}
a.btn.header-btn:active{
    color:#354e69;
}
.login_box {
    width: min(450px, 100vw);
    background-color: transparent;
    backdrop-filter:blur(8px);
    border: 2px solid #d5d5d5;
    border-radius: 20px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 33px;
    margin: 0 auto;
    margin-top: 50px;
    box-sizing: border-box;
}

h2 {
    text-align: center;
    font-size: 45px;
    font-weight: bold;
    line-height: 45px;
    margin: 0px;
    margin-bottom: 30px;
}

.inputbox{
    position: relative;
    margin: 25px 0 0 0;
    width: 100%;
    border-bottom: 2px solid #d5d5d5;
}
.inputbox label{
    margin-left: 5px;
    transform: translateY(-50%);
    color:#d5d5d5;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}
input:focus~label,
input:valid~label{
    top:-5px;
}
.inputbox input{
    width: 100%;
    box-sizing: border-box;
    height: 55px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0 35px 0 5px;
    color: #d5d5d5;
}

.inputbox input::placeholder {
    color: #183d8a4a;
}

.inputbox i{
    position: absolute;
    right: 8px;
    color:#d5d5d5;
    font-size: 23px;
    bottom: 15px;
}
.forget{
    margin-top: 30px;
    font-size: 16px;
    color:#d5d5d5;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
.forget label{
    display: flex;
    align-items: center;
}
.forget a{
    color: #d5d5d5;
    text-decoration: none;
    font-weight: bold;
}
.forget a:hover{
    color:#fff;
   }
.forget a:active{
    color:#d5d5d5;
}
.login_box .login-error {
    width: 100%;
    margin: 0 0 1rem;
    color: #ffb4b4;
    text-align: center;
    font-size: 16px;
}
.login_box .btn {
    width: 100%;
    height: 54px;
    border-radius: 40px;
    background-color: rgb(255, 255, 255, 1);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    transition: all 0.4s ease;
    margin-top: 30px;
}

.login_box .btn:hover{
    background-color: rgb(0 0 0 / 50%);
    color: white;
}
.login_box .btn:active{
    background-color: rgb(255, 255, 255, 1);
    color: #d5d5d5;
}
@media screen and (max-width: 1279px) {
    .logo span {
        white-space: normal;
    }
    img.background {
        left: unset;
        right: 0;
        transform: none;
    }
}
@media screen and (max-width: 1199px) {

}
@media screen and (max-width: 1023px) {

}
@media screen and (max-width: 767px) {
    .logo span {
        color: white;
    }
    .logo span::after {
       border-color: white;
    }
}
@media screen and (max-width: 670px) {
    .main-menu {
        flex-direction: column;
    }
    .main-menu li{
        padding-left: 0;
    }
}
@media screen and (max-width: 460px) {
    .menu-wrapper  {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media screen and (max-width: 360px) {
    h2 {
        font-size: 40px;
    }
    a.btn.header-btn {
        font-size: 14px;
    }
}