@font-face { font-family: bethellen; src: url('bethellen.otf') format('opentype'); } body{ font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; background-image: url(https://t3.ftcdn.net/jpg/09/18/51/88/360_F_918518811_e0Wh732g7nIS9hsyi7ox9wWhguruEEgx.jpg); background-size: 500px; font-weight: 400; display: flex; flex-direction: row; margin:0; color: rgb(75, 56, 8); } h2{ font-weight: 500; margin: 0; } .separateur{ height: 50px; } hr{ border-radius: solid 1px; border-radius: 50%; opacity: 50%; width: 85%; margin-top: 5px; margin-bottom: 15px; } nav{ max-width: 300px; flex: 3; display: flex; flex-direction: column; align-items: center; min-height: 100vh; text-align: center; padding:15px; background-image: url('https://img.freepik.com/free-photo/yellow-sponge-rubber-texture-background_1373-524.jpg?semt=ais_hybrid'); background-size: 300px; box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; } input{ color: inherit; font-size: medium; width: 80%; padding: 8px; border-radius: 5px; background-color: lightyellow; border: none; margin-top: 5px; margin-bottom: 25px; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; } label{ margin-top: 10px; font-weight: 400; color: rgb(75, 56, 8); font-size: large; } button{ color: inherit; font-size: larger; font-weight: 500; border-radius: 5px; min-width: 85%; border: none; background-color: lightyellow; padding: 10px; box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px; } button:hover{ background-color: yellow; rotate:(-1deg); -moz-transform: rotate(-1deg); -o-transform: rotate(-1deg); -ms-transform: rotate(-1deg); transform: rotate(-1deg); } #conteneur{ flex: 7; padding: 10px; } #commandes{ background-color: rgba(255, 255, 255, 0.171); } .tache{ font-family: bethellen; line-height: 1.5; display: flex; margin:10px; flex-direction: column; align-items: center; width: 200px; background-color: gold; box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px; padding: 15px; rotate:(2deg); -moz-transform: rotate(2deg); -o-transform: rotate(2deg); -ms-transform: rotate(2deg); transform: rotate(2deg); } .titre_tache{ margin:0; padding-top:10px; text-align: center; } .corps.tache{ margin: 0; }