:root {
    --light: #ededed;
    --dark: #171717;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
	font-family: 'Fira Code', sans-serif;
    background-color: var(--dark);
    color: var(--light);
}

.container {
    width: 100%;
    height: 1800px;
    display: grid;
    grid-template-rows: 0.2fr 0.2fr 2fr 0.2fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: 
        "header header header header"
        "chose chose chose chose"
        "input neural neural output"
        "footer footer footer footer";
}

@media screen and (max-width: 1200px) {
    .container {
        height: 2200px;
        grid-template-rows: 0.2fr 0.2fr 1fr 2fr 1fr 0.2fr;
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "chose"
            "input"
            "neural"
            "output"
            "footer";
    }
}

header {
    grid-area: header;
    display: flex;
    justify-content: center;
    align-items: center;
}

header > h1 {
    font-size: 50px;
}

#choose__model {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    grid-area: chose;
}

.radio {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: 1px solid var(--light);
    border-radius: 15px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.25);
}

.radio__model {
    display: none;
}

.radio__label {
    padding: 8px 14px;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--light);
    background-color: var(--dark);
    cursor: pointer;
    transition: 0.2s;
}

.radio__label:not(:last-of-type) {
    border-right: 1px solid var(--light);
}

.radio__model:checked + .radio__label {
    color: var(--dark);
    background-color: var(--light);
}

#input, #output {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#input {
    grid-area: input;
}

#neural {
    grid-area: neural;
}

#graph {
    position: absolute;
}

#output {
    grid-area: output;
}

#drawing {
    background-color: white;
}



.input__button {
    height: 30px;
    width: 110px;
    background-color: var(--light);
    border: none;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

#input__buttons {
    padding: 10px;
}

footer {
    grid-area: footer;
    display: flex;
    justify-content: center;
    align-items: center;
}