@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: rgb(2, 2, 2);
    /* background-color: red; */
    color: white;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    text-align: center;
    /* background-color: blue; */
    padding: 2rem;
}

footer {
    font-size: 0.8rem;
    color: grey;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    justify-content: space-between;
    /* background-color: green; */
    /* position: absolute; */
    /* bottom: 0; */
    margin-top: auto;
}

footer a{
    color: grey;
    cursor: pointer;
}

header img {
    width: 300px;
    margin-right: 2rem;
    /* margin-top: 1rem; */
}

h1 {
    font-size: 3.3rem;
    margin-top: 3rem;
}

h1 span {
    color: #FF9D3B;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    color: aliceblue;
}

#form {
    display: flex;
    bottom: 0;
    width: 400px;
    height: 5rem;
    padding: 1rem;
    margin-top: 3rem;
    gap: 0.5rem;
}

#form input {
    width: 100%;
    height: 100%;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    outline: none;
    border: solid 1px white;
    color: white;
    background: none;
    box-shadow: 0 0 100px 0px rgba(128, 175, 228, 0);
    transition: all ease 0.5s;
    font-size: 1.5rem;
    text-align: center;
    
}

#form input:focus {
    box-shadow: 0 0 100px 0px rgba(128, 175, 228, 0.481);

}

#form button {
    aspect-ratio: 1;
    height: 100%;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: 1px white solid;
    color: white;
    background: none;
    cursor: pointer;
}

#join-error {
    color: rgb(255, 96, 96);
    font-weight: 600;
}

@media (max-width: 800px) {
    header img {
        width: 200px;
    }

    h1 {
        font-size: 2.5rem;
        margin-top: 3rem;
    }

    h2 {
        font-size: 1.5rem;
        margin: 2rem 2rem 0 2rem;
        color: aliceblue;
    }

    #form {
        max-width: 90%;
    }

    #form input {
        font-size: 1.2rem;

    }
}