h2 { font-weight:300; text-align:center; } #form-footer { background-color: rgba(255, 255, 255, .15); color:#dfdfdf; font-size:14px; width:100%; padding:10px 0; border-radius: 0 0 4px 4px; } #form-wrapper { background-color: rgba(255, 255, 255, .15); backdrop-filter: blur(200px); width: 35%; text-align: center; padding: 1em 0 0 0; border-radius: 4px; box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2); } .input-form { padding: 1em 2em; display: flex; flex-direction: column; justify-items: center; gap: 1em; } .form-row { display: flex; flex-direction: row; justify-content: space-evenly; gap: 1em 1em; } .form-row input, .form-row select, .form-row option, .form-row textarea { width: 100%; padding: 0 0 0 10px; margin: 0; color: var(--fg); border: 1px solid var(--fg); box-sizing: border-box; outline: none; height: 60px; line-height: 60px; border-radius: 4px; font-style: normal; font-size: 16px; appearance: none; position: relative; display: inline-block; background: none; &:focus { &:invalid { color: var(--red); border-color: var(--red); } } &:valid { border-color: var(--green); } } .form-row textarea { min-height: 120px; max-width: 100%; } .form-row input[type="submit"] { border: none; display:block; background-color: rgba(255, 255, 255, .10); color: var(--fg); font-weight: bold; text-transform:uppercase; cursor: pointer; transition: all 0.2s ease; font-size: 18px; position: relative; display: inline-block; cursor: pointer; text-align: center; &:hover { background-color: rgba(255, 255, 255, .20); transition: all 0.2s ease; } } .checkbox { display: block; position: relative; padding-left: 35px; margin-bottom: 12px; cursor: pointer; font-size: 22px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* Hide the browser's default checkbox */ .checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } /* Create a custom checkbox */ .checkmark { position: absolute; height: 25px; width: 25px; background-color: #808080; } /* On mouse-over, add a grey background color */ .checkbox:hover input ~ .checkmark { background-color: #ccc; } /* When the checkbox is checked, add a blue background */ .checkbox input:checked ~ .checkmark { background-color: #2196F3; } /* Create the checkmark/indicator (hidden when not checked) */ .checkmark:after { content: ""; position: absolute; display: none; } /* Show the checkmark when checked */ .checkbox input:checked ~ .checkmark:after { display: block; } /* Style the checkmark/indicator */ .checkbox .checkmark:after { left: 9px; top: 5px; width: 5px; height: 10px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); }