@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

:root {
    --primary: #0096D4;
    --secondary: #E11017;
    --text: #1a1a1a;
    --lightgray: #f2f2f2;
    --gray: #c1c1c1;
}

*::-webkit-scrollbar {-webkit-appearance: none; width: 6px; height: 6px;}
*::-webkit-scrollbar-track-piece {background-color: var(--lightgray)}
*::-webkit-scrollbar-thumb {background-color: var(--gray); border-radius: 10px;}
*::-webkit-scrollbar-thumb:vertical {height: 6px}
*::-webkit-scrollbar-thumb:horizontal {width: 6px}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #333;
}

main {
    width: 100%;
    max-width: 800px;
    background: #fff;
    margin: 40px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 0 5px #333, 0 0 0 15px #fff, 0 0 0 18px #111;
}
@media screen and (max-width: 768px) {
    main {
        margin: 10px;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* flex-direction: column; */
}


/* ------------------ 
    Header
------------------ */
.header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}
.header-logo img {
    width: 80%;
    max-width: 300px;
    height: auto;
}

.header-title {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}
.header-title h1 {
    font-size: 2em;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 3px 5px 2px rgba(0,0,0,0.15);
}

.header-description {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}


/* ------------------ 
    Form
------------------ */
form {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 30px 0;
}
form h3 {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 3px 5px 2px rgba(0,0,0,0.15);
    margin: 50px 0 10px;
}

.form-element {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    /* margin-bottom: 20px; */
}
.form-element.inline {
    flex-direction: row;
    justify-content: space-between;
}
.form-element label {
    font-weight: bold;
    margin: 10px;
}
.form-element input, .form-element select, .form-element button {
    flex: 1;
}
.form-element > .symbol-element {
    font-size: 0.83em;

    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 10px;
    height: 100%;
    pointer-events: none;
    background-color: var(--lightgray);
    padding-left: 10px;
    color: var(--text);
    z-index: 1;

    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}
.symbol-element img {
    width: 30px;
    padding: 5px;
    cursor: pointer;
}

form .element {
    height: 30px;
    box-sizing: border-box;
    display: flex;
    justify-content: end;
    align-items: center;
    /* z-index: -1; */
}
form .element.hidden {
    appearance: none;
    display: none;
    cursor: default;
}

input[type=file] {
    font-size: 16px;
    height: fit-content;
}
input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}
input:not([type=file]), select {
    padding-left: 10px;
    border-radius: 5px;
    background-color: var(--lightgray);
    border: none;
}
input[type=submit] {
    width: 100%;
    height: 40px;
    background-color: var(--primary);
    color: #fff;
    font-weight: 500;
    font-size: 1.25em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 30px;
}
input[type=submit]:active {
    filter: brightness(0.9);
}
textarea:focus, input:focus, select:focus {
    border-color: transparent !important;
}
input, select {
    outline: none;
    border: none;
}
select {
    color: var(--text);
}
option {
    color: #000;
}
option:first-child {
    color: var(--text);
}


/* ------------------ 
    Identity Card
------------------ */
.identity-card {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 10px 0 30px;
    border-radius: 10px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1), -5px -5px 10px #fff;
}
.identity-card h4 {
    margin: 15px 0;
}

.card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0 20px;
    column-gap: 10px;
}
@media screen and (max-width: 768px) {
    .card {
        flex-direction: column;

    }
}

.identity-card .card .card-header {
    width: 100px;
    height: 100px;
    margin: 10px;
}
.identity-card .card .card-header img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.identity-card .card .card-body {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 10px 0;
}
.identity-card .card .card-body .card-body-element {
    width: 100%;
    height: 30px;
    margin: 5px 0;
}
.identity-card .card .card-body .card-body-element .card-body-element-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-bottom: 10px;
}


/* ------------------ 
    Footer
------------------ */
footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 30px;
}
footer a {
    color: var(--primary);
    text-decoration: none;
}
footer a:hover {
    /* color: var(--secondary); */
    text-decoration: underline;
}
.footer-copyright {
    width: 100%;
    text-align: center;
}
