@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alatsi&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

:root {
    --purple: rgb(175, 80, 175);
    --lightgrey: #e6e6e6;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Bebas Neue', cursive;
}

#container {
    min-height: 100vh;
    width: 100vw;
    min-height: 100dvh;
    width: 100dvw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--lightgrey)
}

#wrapper {
    display: flex;
    background-color: #fff;
    border-right: 16px solid var(--purple);
    border-radius: 16px;
    box-shadow: 0 0 6px #000;
    min-height: 90%;
}

#backImg {
    border-radius: 16px;
    min-height: 100%;
}

#rightSide {
    display: flex;
    flex-direction: column;
    padding: 0px 50px;
    width: 600px;
}

#pinWheelWrapper {
    display: flex;
    justify-content: end;
    padding-top: 20px;
}

h1 {
    font-size: 50px;
    margin-top: 36px;
    text-shadow: 3px 3px rgb(201, 201, 201);
    letter-spacing: 1px;
}

h2 {
    margin-bottom: 32px;
    font-weight: normal;
    font-size: 22px;
    font-family: 'Roboto', sans-serif;
}

.formRow {
    display: flex;
    justify-content: space-between;
}

.input {
    display: flex;
    flex-direction: column;
    margin: 18px 0px;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}

.input label {
    font-size: 26px;
}

.input input {
    height: 36px;
    width: 230px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 20px;
    line-height: 1.5;
    padding: 1px 2px;

    outline: none;
    border: 2px solid #000;
}

.input input:focus {
    border-color: var(--purple);
}

button {
    margin: 32px 0px;
    width: 170px;
    height: 50px;
    font-size: 26px;
    border-radius: 6px;
    border: none;
    background-color: var(--purple);
    color: #fff;
}

button:hover {
    opacity: 80%;
    cursor: pointer;
}

p {
    font-size: 22px;
    font-family: 'Roboto', sans-serif;
}

a {
    font-family: inherit;
    color: var(--purple);
    text-decoration-line: none;
}

a:hover {
    opacity: 80%;
    background-color: var(--purple);
    background-color: rgba(175, 80, 175, 0.085);
    border-radius: 6px;
}

.errorImg {
    display: none;
    background-image: url(Error.png);
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}

.errorWrapper {
    display: flex;
    color: rgb(184, 53, 53);
}

input.error {
    border-color: red;
}

@media (max-width: 1150px) {
    #backImg {
        display: none;
    }
}

@media (max-width: 680px) {
    #rightSide {
        width: 600px;
        flex-wrap: wrap;
    }

    .formRow {
        flex-direction: column;
    }

    #wrapper {
        width: 100%;
        height: 100%;
    }

    .input input {
        width: 100%;
        min-width: 200px;
    }

    h1,
    h2,
    #pinWheelWrapper {
        display: none;
    }
}