*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body{
    position: relative;
    height: 100vh;
    width: 100vw;
    font-size: 16px;
    font-family: monospace;
}

.header{
    height: 10%;
    width: 100%;
    background-color: lightgreen;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
}

.header__title{
    font-size: 2rem;
    border-top: 5px solid black;
    border-radius: 5px;
}

.header__title__span{
    color: red;
    opacity: .8;
    border-top: 5px solid red;
}

.header__library__link{
    font-size: 1.125rem;
    text-decoration: none;
    background-color: black;
    color: rgb(137, 248, 137);
    padding: .5em;
    border-radius: 5px;
    font-weight: bold;
}

.header__library__link:hover{
    background-color: white;
    color: black;
    transition: all 500ms ease-in-out;
}

.main-area{
    margin-top: 1em;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 80%;
    overflow-y: scroll;
    background-color: rgb(241, 241, 241);
}

.main-area__message{
    position: absolute;
    font-size: clamp(2rem, 6vw, 8vw);
    bottom: 50%;
    opacity: .15;
}

.message-div{
    width: 90%;
    padding: .5em;
}

.message-div h3{
    text-align: center;
    margin-bottom: .5em;
    text-transform: uppercase;
}

.message-div p{
    text-align: left;
    margin-bottom: 2em;
    text-transform: capitalize;
}

.fas{
    color: red;
    position: absolute;
    right: .5em;
    top: .5em;
}

.control__buttons{
    position: absolute;
    margin-bottom: .5em;
    bottom: 0;
    right: .5em;
}

.read__more{
    position: absolute;
    left: .5em;
    bottom: .5em;
    border-radius: 5px;
    padding: .5em .5em;
    border: none;
    background-color: rgb(250, 63, 63);
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.read__more:hover{
    background-color: white;
    color: black;
    transition: all 500ms ease-in-out;
}

.delete__button{
    padding: .5em;
    background-color: rgb(250, 63, 63);
    color: white;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.delete__button:hover{
    background-color: white;
    color: black;
    transition: all 500ms ease-in-out;
}

.main-area__delete__all__button{
    position: absolute;
    margin-top: 1em;
    bottom: 1em;
    left: 40%;
    padding: .5em;
    font-weight: bold;
    background-color: red;
    color: white;
    border-radius: 5px;
    border: none;
}

.main-area__delete__all__button:hover{
    background-color: white;
    color: black;
    background-color: lightgreen;
    transition: all 500ms ease-in-out;
}

.expand__text__div{
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    text-transform: capitalize;
    text-align: center;
}

.expand__text__div h3{
    margin: 2em 0 1em;
}

.expand__text__div p{
    width: 70%;
    margin: 0 auto;
    text-align: justify;
}

.fa-times{
    color: red;
    font-size: 1.5rem;
    position: absolute;
    right: 1em;
    top: 1em;
}

@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%;
    }

    .expand__text__div p{
        width: 90%;
    }
}
