html, body {
    font-family: "Noto Sans", "Noto Sans Thai", Tahoma;
    margin: 0;
    padding: 0;
    touch-action: none;
    overflow: hidden;
}

.buttons {
    padding: 100px;
    text-align: center;
}

#div0 {
  background-color: rgb(147, 252, 147); 
  width: 50%; 
  float: left; 
  height: 720px;
}

#div1 {
  background-color: rgb(250, 252, 147); 
  width: 50%; 
  float: right; 
  height: 720px;
}

@media (max-width: 1300px) {
    #div0 {
      background-color: rgb(147, 252, 147); 
      width: 50%; 
      float: left; 
      height: 630px;
    }
    
    #div1 {
  	  background-color: rgb(250, 252, 147); 
  	  width: 50%; 
  	  float: right; 
  	  height: 630px;
	}
}

@media (max-width: 1300px) and (orientation: portrait) {
    #div0 {
      background-color: rgb(147, 252, 147); 
      width: 30%; 
      float: left; 
      height: 1500px;
    }
    
    #div1 {
  	  background-color: rgb(250, 252, 147); 
  	  width: 70%; 
  	  float: right; 
  	  height: 1500px;
	}
}

#button1, #button2, #button3, #button4 {
    width: 150px;
    height: 150px;
    margin: 20px;
    border: 5px solid black;
    font-size: 100px;
    border-radius: 15px;
    background-color: white;
    transition: 0.5s;
    cursor: pointer;
}

#button1:hover, #button2:hover, #button3:hover, #button4:hover {
    background-color: black;
    border-color: white;
    color: white;
    transition: 0.5s;
}

@media (max-width: 1300px) {
    #button1, #button2, #button3, #button4 {
       width: 100px;
       height: 100px;
       margin: 30px;
       border: 5px solid black;
       font-size: 40px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}

@media (min-width: 1500px) and (max-width: 1700px) {
    #button1, #button2, #button3, #button4 {
       width: 200px;
       height: 200px;
       margin: 20px;
       border: 5px solid black;
       font-size: 145px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}

@media (min-width: 900px) and (max-width: 1200px) {
    #button1, #button2, #button3, #button4 {
       width: 135px;
       height: 135px;
       margin-top: -10%;
       border: 5px solid black;
       font-size: 100px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    #button1, #button2, #button3, #button4 {
       width: 200px;
       height: 200px;
       margin-top: -50%;
       border: 5px solid black;
       font-size: 145px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}


@media (max-width: 1300px) and (orientation: portrait) {
    #button1, #button2, #button3, #button4 {
       width: 70px;
       height: 70px;
       margin-left: -30px;
       border: 5px solid black;
       font-size: 30px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}

@media (max-width: 1000px) and (orientation: portrait) {
    #button1, #button2, #button3, #button4 {
       width: 70px;
       height: 70px;
       margin-left: -60px;
       border: 5px solid black;
       font-size: 30px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}

@media (max-width: 500px) and (orientation: portrait) {
    #button1, #button2, #button3, #button4 {
       width: 70px;
       height: 70px;
       margin-top: -20px;
       margin-left: -70px;
       padding: 5px;
       border: 5px solid black;
       font-size: 30px;
       border-radius: 15px;
       background-color: white;
       transition: 0.5s;
       cursor: pointer;
    }
    
    #button1:hover, #button2:hover, #button3:hover, #button4:hover {
      background-color: black;
      border-color: white;
      color: white;
      transition: 0.5s;      
    }
}

#div1 {
    display: flex;
    align-items: center;
}
img {
   margin: 10%;
   border-radius: 15px;
}
    
@media (max-width: 1300px) {
    img {
        margin-top: 5%;
        border-radius: 15px;
    }
}

@media (max-width: 1799px) {
  img {
     margin-top: -10%;
     border-radius: 15px;
  }
}

@media (min-width: 1500px) and (max-width: 1700px) {
  img {
     width: 600px;
     height: 500px;
     margin-top: 10%;
     border-radius: 15px;
  }
}
    
@media (min-width: 600px) and (max-width: 1100px) {
  img {
     width: 600px;
     height: 500px;
     margin-bottom: 500px;
     border-radius: 15px;
  }
}

@media (max-width: 1300px) and (orientation: portrait) {
    img {
        display: inline-block;
        margin-top: -500px;
        width: 400px;
        height: 300px;
        border-radius: 15px;
    }
}

@media (max-width: 500px) and (orientation: portrait) {
    img {
        display: inline-block;
        margin-top: -1000px;
        width: 200px;
        height: 200px;
        border-radius: 15px;
    }
}

#modal {
    display: none;
    position: fixed;
    padding-top: 100px;
    left: 0;
    top: 0;
    z-index: 1;
    overflow: auto;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    text-align: center;  
    border-radius: 15px;
}

.modal-content {
    padding: 30px;
    background-color: white;
    margin-left: 20%;
    margin-right: 20%;
}

#add_file, #add_text {
    margin-bottom: 5px;
}