@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    transition: all ease-in-out .2s;
}

.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
    color: #fff;
}

.container::after {
    content: " ";
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to left, rgba(6, 25, 63, 1), rgba(6, 25, 63, .8));
    z-index: -1;
}

.container>img {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -2;
}

.form-area {
    width: 60%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.form-area h2,
.form-area p {
    margin: 0 auto;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-field {
    width: 100%;
    display: flex;
    position: relative;
    align-items: center;
}

.input-field span {
    position: absolute;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.input-field img {
    width: 18px;
}

.input-field input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background-color: #0E2247;
    color: #fff;
    border: none;
    border-radius: .6rem;
}

.input-field input:focus {
    outline: 2px solid #005AAD;
}

.form-area button {
    padding: 1rem;
    background: linear-gradient(269.02deg, #005AAD -10.85%, #0066FF 103.74%);
    border: none;
    border-radius: .6rem;
    font-weight: bold;
    color: #FFFFFF;
}

.form-area button:hover {
    outline: 4px solid #FFFFFF33
}

.form-area a {
    text-decoration: none;
    color: #0066FF;
    margin: 0 auto;
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

@media (width < 768px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
    }

    .banner-text {
        display: none;
    }

    .form-area {
        width: 80%;
        margin: 0 auto;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }
}

.spinner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }