body{
    background-color: rgb(211, 200, 200);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    max-width: 100vw;
    
}

.title{
    margin-bottom: 0.25rem;
    padding-bottom: 0rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.25rem;
}

.sub-title{
    margin: 0.25rem 1rem 1rem 1rem;
    padding: 0rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    
    color: rgb(66, 68, 70);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.25rem;
}

p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.text-submit, .text-output{
    display: flex;
    flex-direction: column;
    align-items: center;
}

button{
    margin: 1rem 1rem 1.5rem 1rem;
    width: 10rem;
    border-radius: 10px;
    border: 0;
    padding: 0.5rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 600;
}

button:hover{
    transform: scale(105%);
    cursor: pointer;
    background-color: rgb(145, 145, 240);
    color: white
}

.clear-button:hover{
    background-color: rgb(209, 94, 94);
    color: white
}

textarea {
    max-width: 80vw;
    min-width: 30rem;
    min-height: 10rem;
    border-radius: 10px;
    border: 0;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    margin: 0.5rem 0rem;
}

.example-text{
    color: rgb(66, 68, 70);
}

.text-output-area{
    background:#EEE; 
    min-height:10rem; 
    border-radius:10px;
    padding:1rem; 
    overflow:auto; 
    white-space:pre-wrap; 
    word-break:break-word;
    user-select:text; /* selectable */
    margin: 0.5rem 0rem;
    max-width: 80vw;
    min-width: 30rem;
  
}

.text-submit, .text-output{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.15rem 0rem 0 0;
    margin: 0;
}

.text-submit p, .text-output p{
    margin: 0.25rem 0;
}

.output-buttons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media screen and (width <= 550px) {
    /* … */
    textarea {
        max-width: 85vw;
        min-width: 85vw;
        min-height: 8rem;
    }
    .text-output-area{
        max-width: 85vw;
        min-width: 85vw;
        min-height: 8rem;
        
    }
    .output-buttons button{
        justify-content: space-between;
    }

    .title{
        font-size: x-large;
    }
    .sub-title{
        font-size: medium;
    }
  }

  .title{
   
  }

  @media screen and (width <= 370px){
    .output-buttons{
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0.25rem 0;
    }
    .output-buttons button{
        margin: 0.25rem;
    }
    
  }



.text-output-area:hover{
    cursor: text
}


textarea:focus{
    
    outline-color: rgb(145, 145, 240);
}

footer{
    
    padding: 0 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
footer p{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: rgb(66, 68, 70);
    padding: 0.25rem;
    margin:  0rem;
    font-size: small;
}