/* -----------Page CSS----------------------- */

body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.page-logo {
    margin: 2em;
    max-width: 100%;
    width: 5em;
    height: auto;
    display: block;
}

.container {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-evenly;
    /* align-items: center; */
    flex-direction: row;
    height: auto;
}

.container section {
    width: auto;
    margin: 0;
}

div.bg-square-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -100;
}

div.bg-square {
    width: 300vw;
    height: 300vw;
    background: var(--text-secondary);
    transform: skew(-13deg, -8deg) rotate(45deg);
    border-radius: 5em;
    position: fixed;
    left: 110vw;
    top: -170vw;
}

.tagline {
    width: 100%;
    text-align: -webkit-center;
    /* background: var(--accent); */
    border-radius: 0 5px 5px 0;
    color: var(--bg-color);
}

.tagline h1 {
    font-size: 3em;
    color: inherit;
}

.tagline h3 {
    font-size: 1.5em;
    color: inherit;
    font-style: italic;
}

.login-image {
    max-width: 50%;
    max-height: 80%;
    display: flex;
    flex-wrap: wrap;
}

.login-image img {
    max-width: 100%;
    max-height: 80%;
    object-fit: cover;
    object-position: center;
}

.form-tag {
    display: inline;
    height: max-content;
    margin-top: -1em;
}

form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--bg-color);
}

label {
    margin: 1em;
    vertical-align: middle;
    color: var(--bg-color);
}

input {
    margin-left: 0.5em;
    font-size: 1.2em;
    padding: 0.5em;
    outline: none;
    background: transparent;
    color: inherit;
    border: none;
    border-bottom: 2px solid var(--bg-secondary-opaque);
    /* border-left: 2px solid var(--text-secondary-border); */
    /* border-radius: 0 0 0 5px; */
    transition: 0.2s linear;
}

input::placeholder {
    color: var(--grey);
}

input:focus {
    border-left: none;
    transition: 0.2s linear;
}

.forgot-password {
    /* text-align: right; */
    margin: 1em;
    color: inherit;
}

.submit-wrapper button span {
    color: var(--bg-color);
}

.submit-wrapper button:hover>span {
    color: var(--accent);
}

.forgot-password a {
    padding: 1em;
    font-size: 0.8em;
    transition: all 0.2s linear;
}

.forgot-password a:hover {
    /* text-decoration: underline; */
    color: var(--bg-color-secondary);
    /* text-decoration-color: var(--gradient); */
}


/* -----------Button CSS----------------- */

.submit-wrapper {
    width: 100%;
    text-align: center;
    text-align: -webkit-center;
    width: max-content;
}

button {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
}

button {
    --primary-color: var(--bg-color);
    --hovered-color: var(--accent);
    position: relative;
    display: flex;
    font-weight: 600;
    font-size: 1.5em;
    gap: 0.5rem;
    align-items: center;
    cursor: pointer;
    padding: 1em;
}

button p {
    margin: 0;
    position: relative;
    font-size: 20px;
    color: var(--primary-color);
}

button::after {
    position: absolute;
    content: "";
    width: 0;
    left: 0;
    bottom: -7px;
    background: var(--hovered-color);
    height: 2px;
    transition: 0.3s ease-out;
}

button p::before {
    position: absolute;
    /*   box-sizing: border-box; */
    content: "Login";
    width: 0%;
    inset: 0;
    color: var(--hovered-color);
    overflow: hidden;
    transition: 0.3s ease-out;
}

button:hover::after {
    width: 100%;
}

button:hover p::before {
    width: 100%;
}

button:hover svg {
    transform: translateX(4px);
    color: var(--hovered-color)
}

button svg {
    color: var(--text);
    --hovered-color: var(--bg-color-secondary);
    transition: 0.2s;
    position: relative;
    width: 15px;
    transition-delay: 0.2s;
}

.links {
    width: max-content;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: "poppins";
    color: var(--white);
    margin: 2em 0;
}

.links a {
    color: var(--white);
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
    text-decoration-color: var(--gradient);
}


/* input {
    width: 80%;
    margin: 15px;
    height: 60px;
    font-size: 20px;
    border-radius: 15px;
    padding-left: 48px;
    font-family: 'Poppins';
    border: transparent;
    border-radius: 16px;
    background: var(--inputbgcolor);
}

.username,
.password {
    position: relative;
}

.username input {
    margin-top: 50px;
}

.username i {
    position: absolute;
    top: 55%;
    left: 13%;
    font-size: 20px;
    color: var(--black);
}

.password i {
    position: absolute;
    top: 38%;
    left: 13%;
    font-size: 20px;
    color: var(--black);
}


.forgot-password {
    display: inline-block;
    justify-content: space-between;
    font-family: 'Poppins';
    margin: 20px;
    font-size: 20px;
}

a {
    text-decoration: none;
}

.forgot-password a {
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-weight: 400;
}

.btn input {
    cursor: pointer;
    width: 50%;
    height: 60px;
    margin: 30px 20px 20px;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    background: var(--login-blue);
}

.links {
    position: relative;
    font-family: "poppins";
    color: var(--white);
    margin: 20px;
    cursor: pointer;
    margin-left: 100px;
}

.links a {
    color: var(--login-orange);
} */