:root {
    --backColor: #fdfdfd;
    --colorWhite: #fff;
    --colorLinks: #007eb8;
    --colorOne: #202d54;
    --colorTwo: #2c3870;
    --colorThree: #2d2e83;
    --colorFour: #007eb8;
}

.types {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-type {
     color: var(--colorFour);
}

.buttons {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
}

.bts {
    background-color: #007eb8;
    border-radius: 20px;
    padding: 5px 10px;
    color: #fff;
    transition: all .3s ease;
}

.bts:hover {
    background-color: #2c3870;
    transition: all .3s ease;
}

table {
    width: 90%;
    text-align: center;
    border: 1px solid var(--colorOne);
    border-radius: 20px;
    padding: 10px;
    margin: 20px 0px;
    margin-bottom: 40px;
    opacity: 1;
    transition: all 0.5s ease-in-out;
    box-shadow: #007eb8a1 0px 2px 4px 0px, #007eb8 0px 2px 16px 0px;
    @starting-style {
        opacity: 0;
        transition: all 0.5s ease-in-out;
    }
}

td {
    color: #202d54;
    padding: 5px 0px;
}

tr:nth-child(2n) {
    background-color: #007eb810;
}

.image {
    transition: all .3s ease-in-out;
}

.image:hover {
    transform: scale(0.9);
    transition: all .3s ease-in-out;
}

.form {
    width: 90%;
    text-align: center;
    border: 1px solid var(--colorOne);
    border-radius: 20px;
    padding: 10px;
    margin: 20px 0px;
    box-shadow: #007eb8a1 0px 2px 4px 0px, #007eb8 0px 2px 16px 0px;
    transition: all 0.6s ease-in-out;
    opacity: 1;
    transform: translateY(0);
    @starting-style {
        opacity: 0;
        transform: translateY(-500px);
        transition: all 0.6s ease-in-out;
    }
}


.form p {
    padding: 10px;
}

.form p:nth-child(n+8) {
    border-bottom: 2px solid #dbdbdb;
}

.form label {
    color: #1e1f20;
    font-weight: 500;
    font-size: 18px;
}

.form2 #id_person, .form2 #id_type {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dbdbdb;
}

.form2 #id_person label, .form2 #id_type label {
    color: #0094d8;
    font-size: 15px;
    font-weight: 300;
    cursor: pointer;
}

.form input {
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid #7fccff;
}

.save {
    margin-top: 10px;
    font-size: 18px;
    padding: 3px 10px;
    border-radius: 20px;
    background-color: #0094d8;
    color: #fff;
    transition: all .3s ease;
    border: 1px solid #7fccff;
    cursor: pointer;
}

.save:hover {
    background-color: #006999;
    transform: rotateX(10deg);
    transition: all .3s ease;
}
