@import url('https://fonts.googleapis.com/css2?family=Baloo+2&family=DM+Serif+Display&family=Source+Serif+4:opsz@8..60&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    width: 100%;
    height: 100vh;
  background-color: #002339;
  color :#fff;
  font-family:  'Baloo 2', cursive;
}
.header{
    padding: 3em 0em 3em 0em ;
}
h1{
    text-align: center;
    font-size: 3em;
    letter-spacing:1px;
}
span{
    color: #019f55;
    border-bottom: 2px solid #019f55;
}
.container{
    
    display: flex;
 align-items: center;
 flex-direction: column;
 justify-content: center;
   width: 30em;
  margin: auto;
    background: #019f55;
    padding: 1em 0.3em;
    border-radius: 10px;
    border:2px solid #002339;
    box-shadow: 3px 4px 4px rgba(0,0,0,0.3),
    -3px -4px 3px rgba(0,0,0,0.3);
}
#input-txt{
    margin-top: 1em;
    border: 2px solid #002339;
    border-radius: 7px;
    width: 85%;
    color: #002339;
    font-family: 'Baloo 2', cursive ;
    padding: 1em;
    font-weight: 600;
    font-size: 1.2em;
}
.result{
    width: 85%;
    background: #fff;
    border-radius: 7px;
    margin:1em;
    border:2px solid #002339;
    color: #002339;
    
}
.result h2{
    padding: 0.3em 0em 0.5em 1em;
    
}
.result p{
    font-size: 1.2em;
    font-weight: 400;
    padding: 0em 0em 0.3em 3em;
}
#btn-holder{
 display: flex;
 justify-content: center;
 gap: 1em;
 flex-wrap: wrap;
}
.btn{
    width: 5em;
    font-family:'Baloo 2', cursive  ;
    font-size: 1.4em;
    background: #083f61;
    cursor: pointer;
    border-radius: 10px;
    color: #fff;
    border: none;
}
.btn:hover{
    color: #083f61;
    background: #fff;
    border: 2px solid #002339;
    font-size: 1.5em;
}
@media (max-width:640px) {
    .container{
    
        display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
       width: 25em;
      margin: auto;
        background: #019f55;
        padding: 1em 0.3em;
        border-radius: 10px;
        border:2px solid #002339;
        box-shadow: 3px 4px 4px rgba(0,0,0,0.3),
        -3px -4px 3px rgba(0,0,0,0.3);
    }
    .result p{
        font-size: 1.2em;
        font-weight: 400;
        padding: 0em 0em 0.3em 3em;
    }
}
@media (max-width:412px) {
    .container{
    
        display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
       width: 20em;
      margin: auto;
        background: #019f55;
        padding: 1em 0.3em;
        border-radius: 10px;
        border:2px solid #002339;
        box-shadow: 3px 4px 4px rgba(0,0,0,0.3),
        -3px -4px 3px rgba(0,0,0,0.3);
    }
    .result p{
        font-size: 1.2em;
        font-weight: 400;
        padding: 0em 0em 0.3em 1em;
    }
}
@media (max-width:320px) {
    .container{
    
        display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
       width: 17em;
      margin: auto;
        background: #019f55;
        padding: 1em 0.3em;
        border-radius: 10px;
        border:2px solid #002339;
        box-shadow: 3px 4px 4px rgba(0,0,0,0.3),
        -3px -4px 3px rgba(0,0,0,0.3);
    }
    .result p{
        font-size: 1.2em;
        font-weight: 400;
        padding: 0em 0em 0.3em 1em;
    }
}