*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    height: 100vh;
    width: 100vw;
    font-size: 16px;
    font-family: monospace;
    overflow-x: hidden;
}

.header{
    height: 10%;
    background-color: lightgreen;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header__title{
    font-size: 2rem;
    border-top: 5px solid black;
    border-radius: 5px;
}

.header__title__span{
    color: red;
    opacity: .8;
    border-top: 5px solid rgba(255, 0, 0, 1);
}

.header__library__link{
    font-size: 1.125rem;
    text-decoration: none;
    background-color: black;
    color: rgb(137, 248, 137);
    padding: .5em;
    border-radius: 5px;
}

.header__library__link:hover{
    background-color: white;
    color: black;
    transition: all 500ms ease-in-out;
}

.main-area{
    height: 90%;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2em;
}

.main-area__section{
    height: 70%;
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.main-area__section__h2{
    color: black;
    opacity: .8;
}

.main-area__section__title__field{
    height: 40px;
    width: 60%;
    font-size: 1.2rem;
    border-radius: 5px;
    border: 2px solid rgb(123, 247, 123);
    border-left: 2px solid red;
    border-right: 2px solid red;
}

.main-area__section__title__field::placeholder{
    padding-left: .5em;
}

.main-area__section__title__field:focus{
    outline-color: red;
}

.main-area__section__textfield{
    width: 100%;
    height: 50%;
    font-size: 1.2rem;
    padding: .5em;
    border: 2px solid lightgreen;
    border-top: 2px solid red;
    border-bottom: 2px solid red;
    border-radius: 10px;
}

.main-area__section__textfield:focus{
    border: none;
    outline: 2px solid red;
}

.main-area__section__button{
    padding: .5em;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    background-color: rgb(155, 246, 155);
}

.main-area__section__button:hover{
    background-color: black;
    color: rgb(138, 244, 138);
    transition: all 500ms ease-in-out;
}

@media screen and (max-width: 650px) {
    .header__title{
        font-size: 1.5rem;
    }

    .header__library__link{
        font-size: 1.1rem;
    }

    .main-area__section__title__field{
        width: 90%;
    }

    .main-area__section__button{
        margin-top: 2em;
    }
    
}
