* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #E5E5E5;
    width: 736px;
    margin: auto;
}

#black {
    height: 368px;
    background-color: #121214;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: -1;
}

header {
    margin: 80px 0 42px;
    width: 319px;
}

h1 {
    color: white;
    font-family: "Archivo", sans-serif;
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 24px;
}

p {
    color: white;
    font-size: 16px;
    line-height: 26px;
    color: #42D3FF;
}

form {
    background-color: white;
    padding: 64px;
    border-radius: 8px 8px 0px 0px;
}

fieldset {
    border: 0px;
    padding-bottom: 48px;
}

legend {
    border-bottom: 1px solid #E6E6F0;
    padding-bottom: 16px;
    font-family: "Archivo", sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #32264D;
}

.camp {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}

.camp label {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 8px;
}

.camp label span {
    color: #C1BCCC;
    margin-left: 12px;
}

.camp input {
    border: 1px solid #E6E6F0;
    border-radius: 8px;
    height: 56px;
    padding: 24px;
}

#private {
    width: 24px;
}

.camp select {
    border: 1px solid #E6E6F0;
    border-radius: 8px;
    height: 64px;
    padding: 24px;
}

.camp textarea {
    border: 1px solid #E6E6F0;
    border-radius: 8px;
    height: 168px;
}

#checkbox {
    position: relative;
    margin-top: 24px;
}

#checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    opacity: 0;
}

#checkbox label {
    display: flex;
    gap: 16px;
}

#checkbox label::before {
    content: '';
    width: 24px;
    height: 24px;
    display: block;
    border: 1px solid #E6E6F0;
    border-radius: 8px;
}

#checkbox input:checked + label::before {
    background: center no-repeat url("data:image/svg+xml,%3Csvg width='18' height='14' viewBox='0 0 18 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 11.17L1.83 7L0.410004 8.41L6 14L18 2L16.59 0.589996L6 11.17Z' fill='%2342D3FF'/%3E%3C/svg%3E%0A");}

#checkbox input:focus + label::before {
    outline: 2px solid black;
}

#datetime {
    display: flex;
    gap: 20px;
}

#date {
    width: 312px;
}

#time {
    width: 128px;
}

#button {
    text-align: center;
    background-color: #F0F0F4;
    border-radius: 0px 0px 8px 8px;
    margin-bottom: 91px;
}

button{
    padding: 15px 254px;
    margin: 40px;
    background-color: #04D361;
    color: white;
    border: 0px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 26px;
}

.camp input:invalid {
    border: 1px solid #FF1010;
}
