*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:focus {
    outline: none;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 64px;
    gap: 32px;
    justify-content: center;
    align-items: center;
    background: #212A2D;
}

.header {
    display: flex;
    width: 100%;
    max-width: 800px;
    gap: 32px;
    align-items: flex-start;
    justify-content: space-between;
}

.schemaname {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
}

h2, h3 {
    font-family: "Instrument Sans";
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
}

h3 {
    font-size: 16px;
}

h3 > a {
    text-decoration: none;
    color: inherit;
}

.list, .wrapper {
    display: flex;
    gap: 32px;
    max-width: 800px;
    width: 100%;
}

.list {
    gap: 8px;
    flex-direction: column;
}

.list > div {
    flex: 1;
    border: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    border: 2px solid #7B00FF;
}

.preview {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 32px;
}

iframe {
    border: none;
    border-radius: 16px;
    width: 320px;
    height: 565px;
    aspect-ratio: 9/16;
}

form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
}

#fields, .login {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
}

.login {
    gap: 8px;
}

#fields > div, .login > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label, span, small {
    display: block;
    font-family: "Instrument Sans";
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

label, span {
    font-weight: 700;
}

small {
    font-size: 12px;
    color: #b1a3be;
}

input, button, .button {
    display: block;
    padding: 12px 24px;
    background: none;
    border-radius: 64px;
    border: 2px solid #7B00FF;
    color: #7B00FF;
    font-family: "Instrument Sans";
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: 0.25s;
    width: 100%;
}

button, .button {
    text-align: center;
    width: auto;
    cursor: pointer;
}

input:focus {
    border-color: #ffffff;
    color: #212A2D;
    background-color: #ffffff;
}

button, .button {
    border: none;
    background: #7B00FF;
    color: #212A2D;
    transition: 0.25s;
}

button:hover, .button:hover, input[type=file]::file-selector-button:hover {
    color: #ffffff;
}

input[type=file] {
    padding-left: 18px;
    color: #7B00FF;
}

input[type=file]::file-selector-button {
    border: none;
    border-radius: 64px;
    background-color: #7B00FF;
    font-size: 12px;
    padding: 2px 12px;
    transition: 0.25s;
}

@media (max-width: 640px) {
    body {
        padding: 32px;
    }

    .header {
        flex-direction: column;
    }

    .wrapper {
        flex-direction: column;
        max-width: 100%;
    }

    .preview {
        position: inherit;
    }

    iframe {
        width: 100%;
        height: auto;
    }
}