html{
  height:110%;
  margin-right: -30px;

}

/* phone */
@media screen and (max-width: 981px) {

  body {
  
    width:100%;
    background-color: rgb(110, 110, 238);
    background-image: url(mountains.gif);
    background-size:180%;
    background-repeat: no-repeat;
    /* background-size: cover;  */
    background-position-y: bottom;
    background-position-x: right;
  
    font-size: 4vw;
   
   
    
  
  }
  
  .container{
  
    height: 50%;
    width: 80%;
    padding: 1rem;
    bottom: 25%;
  
  }
  
  #text-history{
    width:90%;
    overflow: auto;
    margin: 1.2rem 0 1.2rem 0;
    
  }
  
  #output{
    width:90%;
    display: flex;
    flex-direction:column; 
    margin: 1rem ;
    bottom: 22%;
    position: absolute;
  }
  

  h1{
    margin: 0;
    background-color: #6E6EEE ;
  }
  
  .title{
    display: none;
    font-family: 'Amatic SC', sans-serif;
    z-index: 2;
    font-size: 6rem;
    color:#F3CA17;
    width: 100%;
    margin-left: 10%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top:5%;
    padding-bottom:5%;
  
    top:0;
    position: absolute;
  
  }

  .cell-title{
    display: block;
    font-family: 'Amatic SC', sans-serif;
    z-index: 2;
    font-size: 20vw;
    color:#F3CA17;
    width: 100%;
    
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top:5%;
    padding-bottom:5%;
  
    top:0;
    position: absolute;
  
  }
  
  
  p{
    z-index: -1;
    color: #ffffff;
    /* mix-blend-mode:screen; */
    padding-right: 1rem;
    padding-left: 1rem;
    margin:.1rem;
  }
  
  
  .input{
    font-size: 1.2rem;
    z-index: 1;
    width:90%;
    
   

    bottom:15vh;
    position: absolute;
    /* transform: translateY(-50%); */
  
  }
  
  
  textarea{
    font-size: 3vh!important;
    height:5vh !important;
  }
  
  #user_input{
    margin: auto;
    width: 100%;
  }


  .showOnMobileBottom{
    width: 100%;
    bottom:0%;
    position: absolute;
  }
  .showOnMobile{
    display: block ;
    font-size: 3vh;
    width: 100%;
    margin: auto;
    text-align: center;
    
  }

  #showOnMobileButton{
    bottom:0%;
    right:10%;
    font-size: 2rem !important;
    position:fixed;
    z-index: 100;
    
  }
  
  
}











@media screen and  (min-width: 981px) {

html{
  height:110%;
}

body {

  width:60%;
  background-color: rgb(110, 110, 238);

  background-image: url(mountains.gif);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position-y: bottom;
  background-position-x: right;

  font-size: 1.35rem;
  margin-top: 0; 
  margin-left:auto;
  margin-right:auto;

}

.container{

  height: 50%;
  width: 80%;
  margin: auto;
  padding: 1rem;
  bottom: 30%;

}

#text-history{
  width:100%;
  overflow: auto;
  margin: 1.2rem 0 1.2rem 0;
  
}

#output{
  width:40%;
  display: flex;
  flex-direction:column; 
  margin: 1rem ;
  bottom: 13%;
  position: absolute;
  gap:0.3rem;
}

h1{
  margin: 0;
  background-color: #6E6EEE ;
}

.title{
  display: block;
  font-family: 'Amatic SC', sans-serif;
  z-index: 2;
  font-size: 5rem;
  color:#F3CA17;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top:5%;
  padding-bottom:5%;

  top:0;
  position: absolute;

}

.cell-title{
  display: none;
  font-family: 'Amatic SC', sans-serif;
  z-index: 2;
  font-size: 6rem;
  color:#F3CA17;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top:5%;
  padding-bottom:5%;

  top:0;
  position: absolute;

}


p{
  z-index: -1;
  color: #ffffff;
  /* mix-blend-mode:screen; */
  padding-right: 1rem;
  padding-left: 1rem;
  margin:.1rem;
}


.input{
  font-size: 1.2rem;
  z-index: 1;
  width:40%;

  bottom:10%;
  position: absolute;
  /* transform: translateY(-50%); */

}


textarea{
  font-size:1.2rem;
  height:1.5rem !important;
}

#user_input{
  margin: auto;
  width: 100%;
}


.showOnMobileBottom{
  width: 100%;
  bottom:0%;
  position: absolute;
}

.showOnMobile{
  display: none ;
  font-size: 2rem;
  width: 100%;
  margin: auto;
  text-align: center; 
}

#showOnMobileButton{
  display: block;
  bottom:-5%;
  margin:auto;
  font-size: 0.5rem;
  position: absolute;

}

}

