@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', Arial, sans-serif;

    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard Chrome und andere */
}

body, html {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    padding: 0 1em;
    background-color: #fffbef;
}

.container {
    /*min-height: 100vh;*/
    height: auto;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.head {
    width: 100%;
    max-width: 900px;
    position: relative;
    height: 180px;
    overflow: hidden;
    margin: 0 auto;
}

.logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.flags {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: .5em;
    padding-top: .5em;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .5em;
}

.flag {
    width: 2em;
    height: calc(2em / 1.5);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 1px solid #333;
    transition: transform 0.3s ease
}

.flag:hover {
    transform: scale(1.2);
}




nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    line-height: 2em;

}

nav .nav-group {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    /*line-height: 2em;*/
}

nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    margin: 0 1em;
    white-space: nowrap;
    min-width: fit-content;
}

nav ul li a {
    color: rgb(27, 27, 27);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .143em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

nav ul li a:hover {
    color: rgb(28, 88, 148);
}


.main {
    position: relative;
    max-width: 900px;
    width: 100%;
    border-radius: 6px;
    padding: 2em;
    margin: 1em auto;
    background-color: #fbfbfb;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    /*height: auto;*/
    /*overflow: hidden;*/
    border: none;
}

.main header {
    position: relative;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #333
}

.main form {
    position: relative;
    margin-top: 16px;
    background-color: #fff;
}

.main form .form {
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.main form .form.secActive {
    visibility: visible;
    position: static;
}

.main form .details {
    margin-top: 30px;
}

.main form .title {
    display: block;
    font-size: 18px;
    font-weight: 500;
    margin: 6px 0;
    margin-bottom: 8px;
    color: #333;
}

.main form .fields {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main form .input-field {
    display: flex;
    width: calc(100% / 3 - 15px);
    flex-direction: column;
    /*margin: 4px 0;*/
}

.wide {
    width: 100%;
    flex-grow: 1;
    flex-basis: 100%;
}

.input-field label {
    font-size: 16px;
    font-weight: 500;
    color: #2e2e2e;
}


.input-field input, .input-field select, .input-field textarea {
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 7px 10px 5px 10px;
    height: 36px;
    margin: 8px 0;
}

.input-field textarea {
    padding: 7px 10px 5px 10px;
    resize: none;
}

.input-field input:focus, .input-field select:focus, .input-field textarea:focus {
    background-color: rgba(0, 123, 255, 0.1);
    /*box-shadow: 0 0 5px 2px rgba(63, 63, 127, 0.7);*/
    /*border: 1px solid #ffffff;*/
}

input::placeholder, textarea::placeholder {
    color: #909090;
    opacity: 1;
}

.main .buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.main .buttons > * {
    max-width: 50%;
}

.main form button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 200px;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    margin-top: 25px;
    background-color: #4070f4;
    cursor: pointer;
}

form button:hover {
    background-color: #265df2;
}

form button:focus {
    background-color: #265df2;
    /*box-shadow: 0 0 5px 2px rgba(63, 63, 127, 0.7);*/
    border: 1px solid #ffffff;
}

form button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

form .buttons {
    display: flex;
    align-items: center;
}


.input-field .check {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.input-field .check input[type="checkbox"] {
    opacity: 0;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    position: absolute;
}

.input-field .check .checkmark {
    top: -1px;
    width: 17px;
    min-width: 17px;
    height: 17px;
    min-height: 17px;
    border: 1px solid #aaa;
    display: inline-block;
    position: relative;
}

.input-field .check input[type="checkbox"]:focus + .checkmark {
    background-color: rgb(28, 88, 148);
    /*box-shadow: 0 0 5px 2px rgba(63, 63, 127, 0.7);*/
    border: 1px solid #ffffff;
}

.input-field .check .checkmark::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 3px;
    width: 5px;
    height: 2px;
    border: 2px solid;
    border-color: transparent transparent #fff #fff;
    transform: rotate(-45deg);
    display: none;
}

.input-field .check input[type="checkbox"]:checked ~ .checkmark {
    background-color: rgb(28, 88, 148);
}

.input-field .check input[type="checkbox"] + .checkmark:hover {
    background-color: rgb(28, 88, 148);
}

.input-field .check input[type="checkbox"]:checked ~ .checkmark::before {
    display: block;
}

.checktext {
    margin-left: .5em;
}

a {
    color: rgb(28, 88, 148);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 750px) {
    .main form .input-field {
        width: calc(100% / 2 - 15px);
        margin: 4px 0;
    }
}

@media (max-width: 550px) {
    body {
        padding: 0;
    }

    .main {
        border-radius: 0;
        padding: 1em;
    }

    .main form .input-field {
        width: calc(100%);
        margin: 4px 0;
    }

    .input-field textarea {
        height: 4em;
    }
}


.foot {
    color: #2e2e2e;
    width: 100%;
    font-size: .9em;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /*flex-grow: 1;*/

}

.foot > div {
    text-align: center;
}

.foot p {
    margin: 5px 0;
}

.address-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.separator {
    display: inline;
    margin: 0 .6em;
}

.separatorB {
    display: inline;
    margin: 0 0.3em;
}

@media (max-width: 550px) {
    .separator {
        display: none;
    }

    .address-container {
        flex-direction: column;
    }
}

.main h1 {
    color: rgb(28, 88, 148);
    font-family: 'Fjalla One', Arial, sans-serif;
    font-size: 38px;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.5em;
    overflow-wrap: break-word;
    text-align: center;
    margin-bottom: 1em;
}

.main h2 {
    color: rgb(63, 63, 63);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.5em;
    overflow-wrap: break-word;
    text-transform: none;
}

.main h3 {
    color: rgb(63, 63, 63);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: normal;
    line-height: 1.5em;
    overflow-wrap: break-word;
    text-transform: none;
    text-decoration: underline;
}

.main p, .main ul {
    color: rgb(63, 63, 63);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: normal;
    line-height: 1.5em;
    overflow-wrap: break-word;
    text-transform: none;
}

.main ul li {
    margin-left: 2em;
}

.main p, .main ul {
    text-align: justify;
}

.main .bold {
    color: rgb(63, 63, 63);
    font-size: 16px;
    letter-spacing: normal;
    line-height: 1.5em;
    overflow-wrap: break-word;
    text-transform: none;
    font-weight: 600;
}

.main > .persona {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main .persona > .img {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1em;
    background-color: #fffbef;
}

.main .persona > .img > img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.main .persona > .text {
    flex-grow: 1;
}

@media (max-width: 750px) {
    .main > .persona {
        flex-direction: column;
        align-items: center;
    }

    .main .persona > .img {
        order: -1;
    }

    .main .persona > .text {
        order: 1;
    }

    .head {
        height: 120px;
    }
}