.registerParent{
    height: auto;
    width: 100%;
    min-height: calc(100vh - 347px);
    position: relative;
    display: block;
    background-image: url("../pictures/register.jpg");
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    text-align: center;
}

.registerForm{
    width: 70%;
    height: auto;
    position: relative;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.80);
    padding: 60px;
    text-align: left;
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 15px;
}

.tab{
    display: none;
}

.tab h2{
    font-weight: 900;
}

.tab p{
    font-weight: 800;
}

.tabActive{
    display: block;
}

input[type=text], textarea, select{
    width: calc(100% - 30px);
    height: auto;
    position: relative;
    display: block;
    padding: 15px;
    border: none;
    outline: none;
    font-family: inherit;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border-radius: px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #c5c5c5;
}

textarea{
    min-height: 150px;
    max-height: 500px;
    resize: vertical;
}

input[type=time]{
    width: auto;
    height: auto;
    position: relative;
    display: inline-block;
    padding: 15px;
    border: none;
    outline: none;
    font-family: inherit;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    background-color: #c5c5c5;
}

input[type=submit], button{
    height: auto;
    width: auto;
    position: relative;
    display: inline-block;
    border: 3px solid #FFC42C;
    color: black;
    padding: 12px 22px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 500px;
    font-size: 16px;
    transition: background 0.5s ease;
}

input[type=submit]:hover, button:hover{
    background-color: #FFC42C;
    color: white;
    cursor: pointer;
}

label{
    position: relative;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
}

.invalid{
    background-color: #f19595 !important;
}

.buttonContainer{
    width: auto;
    height: auto;
    position: relative;
    display: block;
    margin-top: 60px;
}

.selected{
    background-color: #FFC42C;
}

#selectedSubject{
    margin-top: 30px;
    font-size: 18px;
}