@media screen and (max-width: 425px) {
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    bottom: 60px;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }

  /* Modal Content/Box */
  .modal-content {
    position: fixed;
    background-color: #363636;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    height: 75%;
    border-radius: 20px 20px 0 0;
    bottom: 60px;
    overflow: hidden;
  }

  .modal-top{
    color: rgb(120, 120, 255);
  }

  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: aliceblue;
    cursor: pointer;
  }

  .modal-top{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .modal-scroll{
    overflow-y: scroll;
    width: 100%;
    height: 85%;
    position: relative;
    padding: 10px 0 40px;
  }

  .modal-scroll::-webkit-scrollbar{
    display: none;
  }

  form{
    display: grid;
    grid-template-columns: 45% 45%;
    gap: 10px;
    justify-content: center;
  }

  .lpgdform{
    display: block;
  }

  .input-container input{
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    height: 40px;
    outline: none;
    border: none;
    font-size: 16px;
  }

  .input-container span{
    display: block;
    margin-bottom: 3px;
    font-size: small;
    color: rgb(255, 255, 146);
  }

  .result-container{
    color: aliceblue;
    text-align: center;
    margin: 10px 0 5px;
  }

  .result-container h2{
    color: rgb(120, 120, 255);
  }

  .result h3{
    font-size: 100%;
    margin-bottom: 10px;
    border: 2px solid rgb(110, 110, 192);
    padding: 5px;
    border-radius: 5px;
  }

  .result h1{
    margin-top: 50px;
  }

  .action{
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: center;
    width: 90%;
    height: 40px;
  }

  .action button{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: none;
    padding: 10px auto;
    background-color: green;
    color: rgb(151, 255, 151);
    cursor: pointer;
    font-size: large;
  }

  .action button:active {
    color: rgb(245, 255, 245);
    border: 1px solid rgb(196, 219, 196);
  }
}