@keyframes disappear {
    from {
        opacity: 1;
        overflow: hidden;
    }

    to {
        opacity: 0;
        height: 0;
    }
}


#content {
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


#form {
    margin-top: 1vw;
    display: flex;
    flex-direction: column;

    overflow: hidden;
    /* border-radius: 1vw; */

    /* background-color: rgb(255, 255, 255); */
    gap: 1vw;

    z-index: 20;
}

#joint-section {
    display: flex;

    border-radius: 1vw;

    overflow: hidden;
}

#form input {
    width: 50vw;
    height: 4vw;

    padding: 0 1vw;

    border: none;
    outline: none;
    background-color: white;

    font-family: "Poppins", sans-serif;
    font-size: 1.5vw;

    border-radius: 1vw;

}

#password {
    width: 46vw!important;
    border-radius: 0!important;
}

#add-button {
    width: 4vw;
    height: 4vw;

    border: none;
    outline: none;
    background-color: #ddd;

    padding: 1vw;

    cursor: pointer;
    transition: padding .5s;
}


#submit {
    height: 3vw;
    width: 11vw;

    align-self: flex-end;


    font-size: 1.75vh;
    font-weight: bold;
    font-family: "Poppins", sans-serif;

    color: #ddd;
    background-color: green;

    border-radius: .3525vw;

    outline: none;
    border: none;

    cursor: pointer;

    transition: color .3s, transform .3s;
}

#submit:hover {
    color: #eee;
    transform: scale(105%);
}

#person-type {
    position: relative;
    margin-top: 10vh;
    
    width: 50vw;
    height: 5vh;

    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: .5vw;
    
    padding: .3vw;
    border-radius: .5vw;

    background-color: #fff;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);

    font-size: .8vw;
    font-family: "Montserrat", sans-serif;
}

#person-type .option {
    height: 100%;
    flex: 1 1 auto;
    text-align: center;
}

#person-type .option input {
    display: none;
}

#person-type .option .option-name {
    height: 100%;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    border-radius: 0.25vw;
    
    border: none;
    padding: 0 1vw;

    color: rgba(51, 65, 85, 1);

    transition: all .15s ease-in-out;
}

#person-type .option:hover .option-name, #person-type .option input:checked + .option-name {
    background-color: #ddd;
    font-weight: bold;
}



#messages {
    margin-top: 2vw;
    /* background-color: rgba(255, 255, 255, 0.1); */

    width: 50vw;
    height: 30vh;
    
    /* padding-top: 2vw; */

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: .5vw;
    
    overflow-y: auto;
}

#messages .message {
    width: 100%;
    height: 4vw;
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 1vw;
    font-size: 2.5vh;
    font-family: "Poppins", sans-serif;
    color: white;

    border-radius: 1vw;
    overflow: hidden;

    background-color: rgba(255, 255, 255, .1);
}

.message-icon {
    width: 5vw;
    height: 5vw;

    padding: 1vw;
    background-color: rgba(0, 0, 0, 0.2);

    color: red;
}

.message.success {
    background-color: green!important;
}

.message.error {
    background-color: rgb(151, 31, 31)!important;
}

.message.info {
    background-color: rgb(31, 31, 151)!important;
}