* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Poppins", sans-serif;

    --orange: #FF7979;
    --green: #38CC8B;
    --light-green: #77E2B3;
    --purple: #5E54A4;
    --black: #3D3B48;
    --gray: #A6A1CF;

    transition: .5s;
}
.background-wrapper {
    transition: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    z-index: -1;
    top: 0;
    left: 0;
}

.disabled {
    display: none !important;
}

.background {
    transition: none;
    min-width: 100vw;
    /* min-height: 100vh; */
}

.above-input {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: .3em 1em;
    line-height: 100%;
}

.panel p.error {
    color: var(--orange);
    font-weight: 600;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--orange);
    padding: 3em 1em;
    gap: 2em;
    position: relative;
}

h3 {
    background-color: var(--purple);
    color: white;
    font-weight: normal;
    font-size: 1rem;
    border-radius: 10px;
    padding: 1em;
    text-align: center;
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.2);
}

.sign-in-sheet {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.panel {
    background-color: white;
    border-radius: 1em;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.2);
    max-width: 100vw;
    gap: .5em;
    margin-bottom: 20%;
}

.hero {
    margin-top: 1em;
    color: white;
    display: flex;
    align-items: center;
}

h1 {
    max-width: 75%;
    line-height: 35px;
    font-size: 1.75rem;
}

h1, p {
    text-align: center;
    max-width: 75ch;
}

.hero, .form {
    display: flex;
    flex-direction: column;
    gap: 1em
}

.panel input {
    font-size: 1rem;
    padding: 1em;
    border-radius: 1em;
    border: none;
    color: var(--gray);
    flex-grow: 1;
}

input:focus {
    outline: none
}

.panel p {
    font-size: 0.6875rem;
    /* margin: 1em; */
    color: var(--gray);
}

.terms {
    margin: 1em 0;
}

.input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* gap: 1em; */
}

.input-error-container {
    transition: 0s border;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid var(--gray);
    border-radius: 1em;
}

.input-error-container:focus-within {
    transition: none;
    border: 2px solid var(--purple);
}

.error-svg {
    display: block;
  margin: 0 .5em 0 0;
}

.input-error-container.error {
    border: 2px solid var(--orange) !important;
}

/* .input-container label {
    margin: 0 1em;
} */

.sign-in-sheet button {
    /* flex-grow: 1; */
    /* flex-shrink: 0; */
    width: 90%;
}

.bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
}

button {
    transition: .5s;
    padding: 1em 1em;
    background-color: var(--green);
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0px 5px 0px 0px rgba(0,0,0,0.2);
    border: none;
}

button:hover, button:focus {
    background-color: var(--light-green);
    cursor: pointer;
}

button:active {
    transition: .2s;
    box-shadow: none;
}

a {
    transition: .3s;
    color: var(--orange);
    text-decoration: none;
    position: relative;
}

a::after {
    
    transition: .3s ease-in-out;
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    background-color: var(--orange);
    bottom: 0px;
    right: 50%;
}

a::before {
    transition: .3s ease-in-out;
    position: absolute;
    content: "";
    width: 0;
    height: 1px;
    background-color: var(--orange);
    bottom: 0px;
    left: 50%;
}

a:hover::before, a:hover::after {
    width: 50%;
}

.attribution {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%,0)

}

.attribution p {
    color: white;
    text-align: center;
}

.attribution a {
    color: var(--purple);
    text-align: center;
}

.attribution a::before, .attribution a::after {
    background-color: var(--purple);
}

@media (min-width: 1024px) {
    .mobile {
        display: none;
    }

    .desktop {
        display: block;
    }
    body {
        flex-direction: row;
        min-height: 100vh;
    }

    h1 {
        font-size: 2.94117647rem;
        line-height: 55px;
    }

    .hero {
        max-width: 50ch;
        align-items: baseline;
    }

    .hero * {
        text-align: left;
    }
}