body { text-align: center; } .HeaderPanel { position: fixed; overflow: hidden; background-color: rgb(33, 37, 41); padding: 10px 10px; top: 0; width: 100%; } .HeaderPanel a { text-align: center; color: rgba(255, 255, 255, .75); padding: 6px; text-decoration: none; font-size: 18px; line-height: 25px; border-radius: 4px; } .HeaderTitle { text-align: center; display: inline-block; font-weight: bold; margin-bottom: 0; } .HeaderLeft { float: left; } /*Create game jam*/ #createGameJam{ justify-content: center; display: grid; } #createGameJam input{ display: block; position: center; } #createGameJam input:focus-visible { outline: none; } #startDate { width: 32.5%; display: inline-block !important; margin-right: 2.5%; float: left; } #startDateLabel { display: inline-block; left: 0; } #endDate { width: 32.5%; display: inline-block !important; margin-left: 2.5%; margin-right: 2.5%; float: left; } #endDateLabel { display: inline-block; left: 37.5%; } #startTime { width: 12.5%; display: inline-block !important; margin-right: 2.5%; float: left; } #startTimeLabel { display: inline-block; left: 72.5%; } #endTime { width: 12.5%; display: inline-block !important; float: left; } #endTimeLabel { display: inline-block; left: 87.5%; } #description { background-color: rgb(18, 18, 18); color: rgba(255, 255, 255, .55); border-radius: 15px; border: double; width:400px; height:250px; } #Beskrivelse { margin-bottom: 10px; } #indsend { border-radius: 15px; color: rgba(255, 255, 255, .55); background-color: rgb(18, 18, 18); border: double; } /*Create Game Jam end*/ .FormField { position: relative; padding: 15px 0 0; margin-top: 10px; } .FormFieldInput { font-family: inherit; width: 100%; border: 0; border-bottom: 2px solid #9b9b9b; outline: 0; font-size: 1.3rem; color: #fff; padding: 7px 0; background: transparent; transition: border-color 0.2s; } .FormFieldInput::placeholder { color: transparent; } .FormFieldInput:placeholder-shown ~ .FormFieldLabel { font-size: 1.3rem; cursor: text; top: 20px; } .FormFieldLabel { position: absolute; top: 0; display: block; transition: 0.2s; font-size: 1rem; color: #9b9b9b; } .FormFieldInput:focus { padding-bottom: 6px; font-weight: 700; border-width: 3px; border-image: linear-gradient(to right, #11998e, #38ef7d); border-image-slice: 1; } .FormFieldInput:focus ~ .FormFieldLabel { position: absolute; top: 0; display: block; transition: 0.2s; font-size: 1rem; color: #11998e; font-weight: 700; } .FormFieldInput:required, .FormFieldInput:invalid { box-shadow: none; }