main {
    display: flex;
    min-height: 100vh;
    height: fit-content;

    max-width: 100vw;
    overflow-x: hidden;

    justify-content: space-evenly;

    background-color: var(--accent);
    background-image:
        radial-gradient(at 78% 31%, hsla(199, 100%, 78%, 1) 0px, transparent 50%),
        radial-gradient(at 34% 80%, hsla(199, 61%, 47%, 1) 0px, transparent 50%),
        radial-gradient(at 18% 23%, hsla(199, 99%, 49%, 1) 0px, transparent 50%);
}

aside {
    display: flex;
    flex-direction: column;

    /* margin-top: calc(var(--header-size)*1.5); */
    width: 33%;
}

aside>div {
    display: flex;
    margin: auto;
    padding: 1rem 3rem;

    flex-direction: column;
    justify-content: space-evenly;

    /* height: 50%; */
    width: 80%;

    /* color: var(--white); */

    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    background-color: var(--white);

    border-radius: 1rem;
}

form {
    margin: calc(var(--header-size)*1.5) 0 var(--header-size);
    padding: 0 5rem 3rem;

    display: flex;

    justify-content: center;

    box-sizing: border-box;

    flex-wrap: wrap;
    max-width: 45rem;
    width: 50%;
    height: 80%;

    background-color: var(--white);

    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    border-radius: 1rem;
}

form>* {
    width: 100%;
}

form>label {
    margin: .75rem 0;
}

form>label:last-of-type {
    align-items: start;
}


input,
textarea {
    padding: .3rem .6rem;
    height: 2rem;

    box-sizing: border-box;

    border-radius: .3rem;
    border: 2px solid var(--black);

    font-family: Lexend;
    font-weight: 300;
    color: var(--near-high);
}

textarea {
    height: 10rem;
}

input:focus,
textarea:focus,
.focused {
    outline: none;
    border-color: var(--accent) !important;
}

input[type=submit] {
    margin-top: 2rem;

    background-color: var(--accent);

    height: 2rem;
    color: var(--white);

    border: 0;
    border-radius: .3rem;

    cursor: pointer;

    font-size: .9rem;
}

input[type=submit]:focus {
    outline: auto;
}



.i-custom {
    display: flex;
    position: relative;

    justify-content: center;
    align-items: center;

    height: 4rem;
    width: 100%;

    background-color: var(--white);
    border-radius: .3rem;

    border: 2px solid var(--black);

    cursor: text;
}

.i-custom>img {
    position: absolute;
    width: 2rem;
    left: .5rem;

    user-select: none;
}


.i-custom>div {
    position: absolute;

    margin: auto 0;

    width: calc(100% - 3rem - 0.5rem);
    height: calc(100% - 1rem);

    left: 3rem;

}

.i-custom>div>input {
    width: 100%;
    height: 1.8rem;

    margin: 0;
    padding: 0;

    border: 0;

    background-color: var(--white);
}

.i-custom>div>label {
    text-wrap: nowrap;
}

.grid-c2 {
    margin: 1rem 0;
    width: 100%;
}

form span {
    color: var(--red);
}


@media (max-width: 1280px) {
    aside {
        width: 100%;
        margin-top: calc(var(--header-size)*1.5);
    }

    main {
        height: fit-content;
        flex-direction: column;
        align-items: center;
    }

    form {
        height: fit-content;
        width: 100%;
    }

    .grid-c2 {
        grid-template-columns: 1fr;
    }

    aside>div {
        background-color: var(--trans);
        /* color: var(--white); */
        box-shadow: none;
    }
}

@media (max-width: 45rem) {
    form {
        margin-bottom: 0;

        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}