@import url('https://fonts.googleapis.com/css2?family=New+Rocker&display=swap');

:root {
    --header-background: #231f20; 
    --footer-background: #231f20; 
    --body-background: #ffe13a;
    --text-color: #231f20;
    --default-red: #db1c2f;
    --header-text-color: #FFD700;
    --footer-text-color: #FFD700;
}

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

body {
    background: var(--body-background);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--header-background);
    color: var(--header-text-color);
    height: 150px;
    display: grid;
    place-items: center;
    font-size: 30px;
    user-select: none;
}

textarea {
    display: block;
    margin: 2rem auto 0 auto;
    height: 180px;
    width: 80%;
    font-size: 25px;
    resize: none;
    outline: none;
    border: 2px solid var(--text-color);
    border-radius: 10px;
    padding: 1rem;
}

button {
    display: block;
    cursor: pointer;
    margin: 0.5rem auto;
    padding: 8px 23px;
    outline: none; 
    border: 1px solid var(--text-color); 
    border-radius: 10px;
    font-size: 24px;
    user-select: none;
    background: var(--text-color);
    color: var(--header-text-color);
}

section {
    background: #FFFF;
    height: 150px;
    width: 60%;
    display: block;
    margin: 0 auto;
    outline: none;
    border: 2px solid var(--text-color);
    border-radius: 10px;
    padding: 1rem;
    font-size: 25px;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
}



footer { 
    background: var(--footer-background);
    color: var(--footer-text-color);
    margin-top: auto;
    padding: 1rem;
    text-align: center;
}

footer p {
    font-size: 21px;
}

footer ul {
    user-select: none;
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 0.1rem;
}

footer ul li a{
    text-decoration: none;
    color: var(--footer-text-color);
    font-size: 15px;
}

footer span { 
    user-select: none;
    font-size: 20px;
}

footer ul li a:hover {
    background: #FFFF;
    padding: 5px 10px;
    transition: 300ms;
    border-radius: 10px;
    color: var(--text-color)
}

footer > *::selection {
    color: var(--text-color);
    background: var(--footer-text-color);
}

button:hover { 
    color: var(--text-color); 
    background: #FFFF;
    transition: 300ms;
    outline: 1.2px solid var(--text-color);
}

@media only screen and (max-width: 900px) {
    header {
        font-size: 20px;
        height: 80px;
    }

    textarea {
        height: 150px;
        width: 90%;
        font-size: 20px;
    }

    button {
        padding: 5px 15px;
        font-size: 20px;
    }

    section {
        height: 150px;
        width: 90%;
        font-size: 20px;
    }

    footer {
        padding: 0.5rem;
    }

    footer p {
        font-size: 17px;
    }

    footer ul {
        gap: 2.5rem;
        margin-top: 0.2rem;
    }

    footer ul li a {
        font-size: 16px;
    }

    footer span { 
        font-size: 20px;
    }
}