.overlay { position: fixed; top: 0; left: 0; background-color: rgba(39, 60, 78, 0.781); width: 100vw; height: 100vh; } .box { box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; position: absolute; top: 20%; left: 20%; background-color: #1b2e3f; width: 60%; height: 60%; overflow-x: hidden; overflow-y: auto; } .box h2 { margin-top: -1px; text-align: center; } .modal-content { padding: 20px; } .modal-input { font-size: 1.3rem; padding: 10px; border: none; width: 100%; color: white; background-color:#273949; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; } .modal-input:focus { box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; } .upload-btn { font-family: 'Font Awesome 5 Free'; font-size: 2rem; padding: 10px; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; color: #ffffffb6; background-color:#273949; border: none; margin-top: 50px; display: block; margin-left: auto; margin-right: auto; transition: background-color 0.1s; } .upload-btn:hover { background-color: rgb(76, 117, 170); } .cancel-btn { padding: 5px; cursor: pointer; box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset; color: #ffffffb6; background-color:#273949; border: none; margin-top: 5px; display: block; margin-left: auto; margin-right: auto; transition: background-color 0.1s; } .cancel-btn:hover { background-color: rgb(255, 123, 123); } .upload-btn:active, .cancel-btn:active { box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; }