body{
 background-color: #f9f7fe;
 font-family: 'Courier New', Courier, monospace;
}
.container{
    margin: 80px auto;
    max-width: 700px;
}
header{
    margin-bottom: 20px;
}
header h1{
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    color: #272044;
}
.form-container{
padding:20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow:  0 20px 60px rgba(65, 50, 100, 0.05);
     margin-bottom: 30px;
}

form{
    display: flex;
}
.hint{
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.6;
}
.input-text{
    padding: 17px;
    border-radius: 20px;
    font-size: 19px;
    width: 80%;
    line-height: 1.2;
    border: 1px solid rgba(39, 33, 66, 0.5);

}
.btn-submit{
    width: 25%;
    margin-left: 10px;
    padding: 10px 19px;
    border-radius: 12px;
    border: none;
    background-color: #885dfe;
    color: #fff;
    font-size: 21px;
    text-transform: capitalize;
}
.poem{
    font-size: 22px;
    padding: 15px;
    line-height: 1.7;
    background-color: #fff;
    border-left: 3px solid #885dfe;
   font-weight: 500;
   box-shadow:  0 20px 60px rgba(65, 50, 100, 0.03);

}
.hidden{
    display: none;
}
footer{
    font-size: 22px;
    text-align: center;
    line-height: 1.2;
    margin-top: 30px;
  
}
footer a{
    color: #885dfe;
}

.generating {
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

@media (max-width:527px) {
    .container{
        margin: 60px auto;
        max-width: 500px;
    }
    header h1{
        font-size: 29px;
    }
    .form-container{
        padding: 20px;
    
    }
    form{
        /* padding: 14px; */
    }
    .input-text{
        padding:15px;
        font-size: 16px;
        line-height: 1;
    }
    .btn-submit{
        padding: 8px 17px;
        border-radius: 7px;
        font-size: 16px;
        margin-left: 5px;
        width: 30%;
    }
    .poem{
        font-size: 19px;
        padding: 10px;
       
       
    }
    footer{
        font-size: 14px;
        
    }

    
}
@media (max-width:378px) {
    header h1{
        font-size: 23px;
    }
    .form-container{
        padding: 15px;
    }
    .input-text{
        padding: 10px;
        font-size: 15px;
    }
    .btn-submit{
        padding: 8px 16px;

    }
    .poem{
        font-size: 15px;
    }
    footer{
        font-size: 12px;
    }
    
}