/* header */

.navigation {
    /* position: fixed; */
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    width: 100%;
    z-index: 99;
}

.navigation .contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: white;
    background: var(--primary);
    height: 5vh;
    width: 100%;
}

.navigation .contact div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.navigation .contact div i {
    font-size: 1rem;
}

.navigation .links {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    height: 10vh;
    width: 100%;
}

.navigation .links i {
    font-size: 1.75rem;
    color: var(--primary);
}

.navigation .links .brand {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 35%;
}

.navigation .links .brand a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.85rem;
    color: var(--primary);
    text-transform: uppercase;
    gap: 0.5rem;
    width: 100%;
}

.navigation .links .brand a img {
    width: 2rem;
}

.navigation .links .toggle {
    cursor: pointer;
    display: none;
    font-size: 1.75rem;
    color: var(--primary);
}

.navigation .links .full-name {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
    transition: 0.25s;
}

.navigation .links .full-name:hover {
    transform: translateY(-2px);
}

.navigation .links .full-name a {
    font-size: 1.25rem !important;
    color: var(--primary);
}

.navigation .links .email {
    cursor: pointer;
}

/* login */

.login {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    width: 100%;
}

.login form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    background: var(--primary);
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
    border-radius: 2rem;
    padding: 0 2rem;
    height: 50vh;
    width: 30vw;
}

.login form button {
    background: white;
    color: var(--primary);
}

.login form h2 {
    color: white;
}

.login form p {
    color: var(--primary);
    background: white;
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
}

.login form a {
    font-size: 1rem;
    color: white;
}

.password {
    position: relative;
    width: 100%;
}

#show_password_button {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* message */

.message_container {
    display: none;
    z-index: 99;
}

.message_container.active {
    position: fixed;
    top: 15vh;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: whitesmoke;
    height: 85vh;
    width: 100%;
 }

.message_popup {
    position: relative;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    height: 75%;
    width: 75%;
}

.message_popup .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 6px var(--primary) solid;
    border-radius: 1rem;
    padding: 0.5rem;
}

.message_popup .message {
    margin: 1rem 0;
    padding: 2rem;
    overflow-y: scroll;
    height: inherit;
}

/* cards */

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 5rem;
    height: inherit;
    width: 100%;
}

.card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border-radius: 2rem;
    height: 18rem;
    width: 20rem;

    overflow: hidden;
}

.card .image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 62%;
    width: 88%;
}

.card .image_consumer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .image img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.card .image_consumer img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.card .text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.card .text_consumer {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    padding: 0.5rem;
    width: 100%;
}

/* page */

.page {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 2rem;
    margin-bottom: 4rem;
    height: 100%;
    width: 100%;
}

.page .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem;
    height: 100%;
    width: 100%;
}


.page .content h1 {
    font-size: 1rem;
    color: white;
    background: var(--primary);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
    width: 100%;
}

.page .content b {
    font-weight: 500;
}

.page .content i {
    margin-right: 0.5rem;
}

.page .content .text {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    background: whitesmoke;
    border-radius: 1rem;
    padding: 0.5rem;
    width: 100%;
}

.page .content .text_multiple {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    background: whitesmoke;
    border-radius: 2rem;
    padding: 1rem;
    width: 100%;
}

.page .content .text div {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    background: white;
    border-radius: 1rem;
    padding: 0.5rem;
    width: inherit;
}

.page .content .text div p {
    font-size: 0.85rem;
}

/* page sidebar */

.page_sidebar {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 2rem;
    margin-bottom: 4rem;
    height: 100%;
    width: 100%;
}

.page_sidebar .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    text-align: center;
    background: var(--primary);
    border-radius: 2rem;
    padding: 1rem;
    height: 100%;
    width: 25%;
}

.page_sidebar .sidebar img {
    object-fit: cover;
    border-radius: 10rem;
    margin: 2rem auto;
    height: 50%;
    width: 75%;
}

.page_sidebar .side .text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.page_sidebar .sidebar .text div {
    color: black;
    text-align: left;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 2px 6px 0 rgba(39, 39, 39, 0.25);
    margin: 1rem 0;
    padding: 0.5rem 1.5rem;
}

.page_sidebar .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1rem;
    height: 100%;
    width: 100%;
}

.page_sidebar .content h1 {
    font-size: 1.5rem;
    color: white;
    background: var(--primary);
    border-radius: 2rem;
    padding: 1rem 2rem;
    margin: 1rem 0;
    width: 100%;
}

.page_sidebar .content i {
    margin-right: 0.5rem;
}

.page_sidebar .content .text {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    background: whitesmoke;
    border-radius: 2rem;
    padding: 1rem;
    width: 100%;
}

.page_sidebar .content .text_multiple {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    background: whitesmoke;
    border-radius: 2rem;
    padding: 1rem;
    width: 100%;
}

.page_sidebar .content .text div {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 6px 0 rgba(39, 39, 39, 0.25);
    padding: 1rem;
    width: 49%;
}

.page_sidebar .content .text_multiple div {
    position: relative;
    font-size: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 6px 0 rgba(39, 39, 39, 0.25);
    padding: 1rem;
    width: 100%;
}

.page_sidebar .content .text span {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: white;
    text-align: center;
    background: var(--secondary);
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
    width: 40%;
}

.page_sidebar .content .text textarea {
    height: 20rem;
}

.page_sidebar .content .text_multiple input[type="checkbox"] {
    appearance: none;
    position: absolute;
    top: -0.5rem;
    right: 2rem;
    background: var(--gray);
    margin: 1rem 0;
    height: 2.5rem;
    width: 2.5rem;
}

.page_sidebar .content .text_multiple input[type="checkbox"]:checked {
    background-color: var(--primary);
}

/* page table */

.page_table {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 4rem;
    width: 100%;
}

.page_table .filter_table form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--gray);
    border-radius: 2rem;
    padding: 1rem;
    width: 100%;
}

.page_table .filter_table input {
    width: 10vw;
}

.page_table .filter_table select {
    width: 18vw;
}

.page_table table {
    border-collapse: collapse;
    width: 100%;
    padding: unset;
}

/* add form | edit form */

#add_form, #edit_form {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: flex-start;
    background: var(--primary);
    height: 100vh;
    width: 100vw;
    z-index: 99;
    overflow-y: auto;
}

#add_form .add_form_content, #edit_form .edit_form_content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    color: var(--primary);
    text-align: center;
    background: white;
    border-radius: 2rem;
    margin: 5rem 0;
    padding: 1rem;
    width: 75%;
}

#add_form .add_form_content #add_form_box, #edit_form .edit_form_content #edit_form_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 75%;
}

#add_form .add_form_content #add_form_box p, #edit_form .edit_form_content #edit_form_box p {
    color: white;
    background: var(--primary);
    border-radius: 1rem;
    padding: 0.5rem;
    width: 25%;
}

#add_form .add_form_content #add_close, #edit_form .edit_form_content #edit_close {
    cursor: pointer;
    transition: 0.5s;
}

#add_form .add_form_content #add_close:hover, #edit_form .edit_form_content #edit_close:hover {
    transform: translateY(-2px);
}

#add_form .add_form_content #add_form_box input, #edit_form .edit_form_content #edit_form_box input {
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
}

#add_form .add_form_content #add_form_box textarea, #edit_form .edit_form_content #edit_form_box textarea {
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
    height: 10rem;
}

#add_form .add_form_content #add_form_box select, #edit_form .edit_form_content #edit_form_box select {
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
}

/* select users */

.page_sidebar .content .select_users {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    background: whitesmoke;
    border-radius: 2rem;
    padding: 1rem;
    height: 18rem;
    width: 100%;
    overflow-y: scroll;
}

.page_sidebar .content .select_users label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    padding: 0.15rem;
    width: 100%;
}

.page_sidebar .content .select_users label input {
    width: 5%;
}

/* assessment */

.assessment {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    height: 100vh;
    width: 100vw;
}

.assessment form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background: white;
    border-radius: 2rem;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem;
    height: 75vh;
    width: 75%;
}

.assessment form::-webkit-scrollbar {
    display: none;
}

.assessment form div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.assessment form p {
    margin: 0.5rem 0;
}

.assessment form .label {
    width: 10%;
}

.assessment form span {
    font-size: 1rem;
}

.assessment form img {
    width: 35%;
}

.assessment form div input {
    width: 2rem;
}

.assessment form div input[type="radio"] {
    transform: scale(1.5);
}

.assessment form div input[type="text"] {
    width: 25%;
    border: 1px var(--primary) solid;
    margin: 0 1rem;
}

.module_buttons {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0 25rem;
}

.module_buttons button {
    color: var(--primary);
    background: white !important;
    width: inherit;
}

/* assessment view */

.assessment_view {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    width: 100vw;
    margin: 2rem 0;
}

.assessment_view .certificate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 4rem 0;
    width: 100%;
}

.assessment_view .certificate img {
    margin: 2rem 0;
    width: 40%;
}

.assessment_view div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.assessment_view p {
    margin: 0.15rem 0;
    
}

.assessment_view div input {
    width: 2rem;
}

.assessment_view div input[type="radio"] {
    transform: scale(1.5);
}

/* footer */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    color: white;
    background: var(--primary);
    height: 12vh;
    width: 100%;
}

.footer .deactivate {
    display: none !important;
}

.footer p {
    font-size: 1rem;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.security-seal {
    transform: scale(0.75);
}