@import url('https://fonts.googleapis.com/css2?family=Benne&family=Montserrat:ital@1&display=swap'); body { font-family: 'Montserrat', sans-serif; padding: 0; margin: 0; box-sizing: border-box; background-color: rgba(94, 156, 156, 0.87); display: flex; flex-direction: column; align-items: center; justify-content: center; } .container { background-color: lightcoral; display: flex; width: 800px; min-width: 450px; height: fit-content; flex-direction: column; margin:auto; margin-top: 70px; padding-top: 30px; padding-left: 20px; padding-right: 20px; padding-bottom: 60px; overflow: hidden; border-style: double; border-color: white; border-width: 5px; } h1{ text-align: center; font-weight: 400; text-shadow: lightslategray 0.3px 0.3px ; } hr{ color: rgb(138, 39, 39); border: 0.75px; height: 1px; width: 40%; border-style: double; } .Input-container { margin-top: 16px; height: 100px; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; align-self: center; } .Input-container input { width: 500px; } .Input-container input, button { margin-right: 16px; height: 100%; font-size: 25px; text-transform: capitalize; } .Input-container .input { display: flex; flex-direction: column; justify-content: space-between; align-items: center; flex-wrap: wrap; row-gap: 10px; } button { max-width: 200px; color:white; background-color: rgba(59, 59, 240, 0.8); border:white 2px solid; padding: 8px; border-radius: 12px; transition: all, linear, 0.5s; } button:hover{ cursor: pointer; color:rgba(59, 59, 240, 0.8); background-color: white; border:rgba(59, 59, 240, 0.8) 2px solid; } .filter { max-width: fit-content; margin-right: 40px; align-self:flex-end; } .filter { display: flex; column-gap: 10px; } .filter select { border-radius: 8px; } .list-container { display: flex; flex-direction: column; justify-content: center; row-gap: 0px; margin: auto; height: fit-content; margin-top: 50px; background-color: rgb(92, 235, 140, 0.7); width: 90%; padding: 12px; border-radius: 12px; } .items-container { display: flex; justify-content: space-between; align-items: center; margin-top:10px; height: fit-content; } .list-container.items-container input, p, .check-done, .button { display: inline-block; } .check-done p { font-size: 20px; font-weight: 400; margin: 0; } .check-done input { height: 16px; width: 16px; } .button button img { max-width: 20px; max-height: 20px; padding: 0px } @media only screen and (max-width: 800px) { .container{ width:100%; padding:5px; } .input{ width: 100%; } #input_text { width: 100%; } }