*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } body, p, i, span, input, button, select { font-size: 17px; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } body { background-color: hsl(194, 97%, 95%); color: hsl(194, 97%, 14%); font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } .hero { text-align: center; background-color: hsl(194, 97%, 14%); background-image: url("./head.jpg"); background-size: cover; background-repeat: no-repeat; background-blend-mode: overlay; background-position: 50% 55%; } .hero .overlay { width: 100%; height: 100%; padding: 4rem 1rem; background-color: hsla(194, 97%, 14%, 0.2); color: #fff; } .container { width: 90%; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 4rem 0; } form fieldset { border: none; margin-bottom: 2rem; display: flex; flex-direction: column; width: 100%; } form .orizzontale { display: flex; flex-direction: row; gap: 2rem; width: 100%; } @media only screen and (max-width: 600px) { form .orizzontale { flex-direction: column; gap: 0; } } form fieldset input, form fieldset select { background-color: hsl(194, 97%, 98%); border: 1px solid hsl(194, 97%, 14%); border-radius: 0.6rem; padding: 0.5rem 0.6rem; } form fieldset input[type="text"], form fieldset input[type="select"] { width: 100%; } form fieldset label { margin-bottom: 0.2rem; font-weight: bold; } form fieldset input[type="submit"], .button { width: 100%; max-width: max-content; margin: 2rem auto; background-color: hsl(194, 97%, 14%); color: hsl(194, 97%, 94%); cursor: pointer; font-weight: bold; } i.msg { text-align: center; margin: 0 auto; width: 100%; display: inline-block; } i.msg.success { display: block; width: 100%; max-width: max-content; margin-bottom: 3rem; background-color: hsl(143, 97%, 24%); color: hsla(194, 97%, 98%, 1); padding: 1.2rem 1.5rem; border-radius: 1.2rem; } .output { width: 100%; max-width: 400px; margin: 0 auto; margin-top: 4rem; background-color: hsl(194, 97%, 14%); color: hsla(194, 97%, 98%, 0.8); padding: 1.2rem 1.5rem; border-radius: 1.2rem; box-shadow: 1px 1px 25px hsla(194, 97%, 14%, 0.4); } .output h3 { text-align: left; font-weight: bold; margin-bottom: 1.5rem; color: hsla(194, 97%, 98%, 1); } .output i.msg { margin-top: 1.5rem; } .output span { color: hsla(194, 97%, 98%, 0.95); font-weight: normal; display: inline-block; margin-left: 0.5rem; } .output p { margin-bottom: 0.8rem; font-weight: bold; } .button { margin: 0; border-radius: 0.6rem; padding: 0.5rem 0.6rem; display: block; text-decoration: none; } .buttons { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; margin-bottom: 3rem; gap: 1rem; } .button.left { margin: 0; margin-right: auto; margin-bottom: 3rem; } .box-container { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; } .box-container .box { width: 100%; background-color: hsl(194, 97%, 14%); color: hsla(194, 97%, 98%, 0.8); padding: 1.2rem 1.5rem; border-radius: 1.2rem; box-shadow: 1px 1px 25px hsla(194, 97%, 14%, 0.4); } .box-container .box h3 { text-align: left; font-weight: bold; margin-bottom: 1.5rem; color: hsla(194, 97%, 98%, 1); } .box-container .box a { background-color: hsla(194, 97%, 98%, 1); color: hsl(194, 97%, 14%); margin: 0 auto; margin-top: 2rem; }