:root {

    /*--- COLORS ---*/
    --color0: #0D97E1;
    --color1: #FF8B01; /* complimentcolor */
    --color2: #FF3A01;
    --color3: #FFBA01;

    --coldrk: #011B29;
    --colwht: #F5FBFE;

    /*--- FONT ---*/
    --fsizeA: 20pt;
    --fsizeB: 18pt;
    --fsizeC: 16pt;
    --fsizeD: 14pt;
    --fsizeE: 12pt;
    --fsizeF: 10pt;

    /*--- METRICS ---*/
    --brdrd: 10px;
    --pad10: 10px;
    --mar10: 10px;
    --headerh: 50px;
    --maxw: 1080px;
    --minw: 320px;
    --mrgt: 50px;

}

* {
    margin: 0px;
    padding: 0px;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    /* scroll-snap-type: y mandatory; */
    scroll-behavior: smooth;
}

.section-heading {
    font-size: 40px;
    line-height: 40px;
    width: calc(100% - 20px);
    margin: 10px;
    margin-top: 10px;
    text-align: center;
}

header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: fixed;

    background-color: var(--color0);

    width: var(--maxw);
    height: var(--headerh);

    padding-left: calc((100% - 1080px) / 2);
    padding-right: calc((100% - 1080px) / 2);

    z-index: 3;
}

#fast-contact, nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#fast-contact > a {
    font-size: 16px;
}

.item {
    display: flex;
    text-decoration-line: none;
    padding: var(--pad10);
    font-size: 20px;
    line-height: 20px;
    box-sizing: border-box;
    border-radius: var(--brdrd);
    color: var(--colwht);
}

.item:hover {
    background-color: var(--color3);
    color: var(--coldrk);
}

section {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    color: var(--colwht);

    max-width: var(--maxw);
    min-height: 100vh;
    height: auto;
    padding-top: var(--headerh);
    padding-left: calc((100% - 1080px) / 2);
    padding-right: calc((100% - 1080px) / 2);

    scroll-snap-align: start;

    font-size: var(--fsizeD);
}

/* --- SECTION START --- */

#start {
    background-color: var(--color0);
    color: var(--colwht);
    justify-content: flex-start;
}

#start > * {
    margin: 10px;
    margin-top: 20px;
}

#logo-mix {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#logo-av { 
    /* margin-top: 20px; */
    width: 100px;
    height: auto;
}

#logo-additional {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#logo-car {
    width: 300px;
    margin-top: 10px;
    height: auto;
}

#logo-text {
    font-size: 26pt;
    font-weight: 400;
    text-align: center;
}

#firm-heading {
    font-size: var(--fsizeA);
    /* margin-top: 50px; */
    text-align: center;
}

.callout {
    font-size: var(--fsizeC);
    /* margin-top: 25px; */
    text-align: center;
    text-decoration: none;
    margin: 10px;
}

.highlight {
    padding: var(--pad10);
    background-color: var(--color3);
    border-radius: var(--brdrd);
    border: 2px solid white;
    font-size: var(--fsizeB);
    color: #011B29;
    text-align: center;
}

#carousell {
    display: flex;
    position: relative;
    flex-direction: row;
    overflow-x: hidden;
    overflow-y: hidden;
    width: calc(var(--maxw) - 2 * var(--mar10));
    max-width: calc(100% - 20px);
    height: 360px;
    box-sizing: border-box;
    border-radius: var(--brdrd);
    border: 2px solid white;
    margin-top: 25px;
    object-fit: cover;
}

.carousell-image {
    position: absolute;
    left: 0%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition-duration: 1s;
}

.carousell-arrow {
    position: absolute;
    padding: var(--pad10);
    cursor: pointer;
    color: var(--color0);
    background-color: white;
    font-size: 40px;
    line-height: 40px;
    border-radius: var(--brdrd);
    z-index: 2;
}

#carousell-arrow-left {
    top: calc(50% - 20px);
    left: 20px;
}

#carousell-arrow-right {
    top: calc(50% - 20px);
    right: 20px;
}

.second-heading {
    width: 100%;
    text-align: center;
    color: var(--color3);
    margin: var(--mar10);
}

/* --- SECTION SERVICE --- */

#service { 
    background-color: var(--coldrk); 
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

#service .section-heading {
    color: var(--colwht);
}

.service-card {
    max-width: var(--minw);
    min-height: 540px;
    background-color: var(--color0);
    border-radius: var(--brdrd);
    margin: 10px;
    padding: var(--pad10);
    font-size: var(--fsizeD);
    color: var(--coldrk);
}

.service-card-heading {
    margin-bottom: var(--mar10);
    text-align: center;
}

.benefit {
    width: var(--maxw);
    padding: var(--pad10);
    margin: var(--mar10);
    border: 1px solid var(--color3);
    border-radius: var(--brdrd);
}

/* --- SECTION QUESTIONS --- */

#questions { 
    background-color: var(--colwht);
    color: var(--color0);
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
}

.section-question {
    width: calc(100% - 40px);
    margin: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: var(--color0);
    color: var(--colwht);
    border-radius: var(--brdrd);
    /* max-height: 20px; */
}

.section-question[open] {
    height: fit-content;
    transition-duration: 2s;
    transition-timing-function: ease-in-out;
    transition-property: all;
	overflow: hidden;
}

.section-question[open] > .question {
    margin-bottom: var(--mar10);
}

details:active .answer {
    height: fit-content;
    background-color: #445568;
    transition-duration: 1s;
    transition-timing-function: ease-in-out;
    transition-property: all;
}

.question {
    font-size: 20px;
    font-weight: bold;
    
}

.answer {
    font-size: 20px;
}

/* --- SECTION PROCESS --- */

#process { 
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    background-color: var(--color0);
}

#process .section-heading {
    color: var(--colwht);
}

.process-step {
    width: var(--minw);
    color: var(--colwht);
    margin: var(--mar10);
    padding: var(--pad10);
    height: auto;
}

.process-heading {
    margin-bottom: var(--mar10);
}

#process hr {
    width: calc(100% - 20px);
    margin: var(--mar10);
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    height: 2px;
    background: var(--colwht);
}

#certificate {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#certificate-image {
    width: 320px;
    height: auto;
    margin: var(--mar10);

}

#certificate-text {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 720px;
    margin: var(--mar10);
    font-size: var(--fsizeB);
}

/* --- SECTION CONTACT --- */

#contact { 
    background-color: var(--coldrk);
    overflow-x: hidden;
}

#contact .section-heading {
    color: var(--colwht);
}

#server-message {
    display: block;
    position: relative;
    width: calc(100% - 20px);
    height: auto;
    margin: 10px;
    font-size: 16pt;    
    color: var(--color1);
    text-align: center;
    opacity: 0;
    transition-duration: 1s;
}

#contact-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    height: auto;
}

#contact-form > fieldset > * {
    margin: 10px;
    box-sizing: border-box;
}

fieldset {
    display: flex;
    flex-direction: column;
    border-width: 0px;
    border-style: none;
}

.user-data {
    width: 340px;
    height: 40px;
}

#fieldset-message {
    width: 720px;
    flex: 1;
    min-width: 360px;
}

#message-subject {
    width: calc(100% - 20px);
    min-width: 340px;
    height: 40px;
}

#message-text {
    width: calc(100% - 20px);
    min-width: 340px;
    min-height: 220px;
}

#fieldset-privacy {
    width: 100%;
    flex-direction: row;
}

#fieldset-privacy > label {
    font-size: 20px;
    color: var(--colwht);
}

#message-privacy {
    min-width: 20px;
    min-height: 20px;
}

#message-send {
    width: 340px;
    height: 40px;
}

#fieldset-send {
    align-items: flex-end;
    width: var(--maxw);
}

/* --- SECTION MAP --- */

#gmap {
    width: 100%;
    margin: var(--mar10);
    border: 2px solid #FFFFFF !important;
}

#map {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: var(--color0);
    color: var(--colwht);
    justify-content: center;
}

#map-image {
    max-width: 520px;
    min-width: 320px;
    height: auto;
    margin: var(--mar10);
}

#map-text {
    width: 100%;
    font-size: var(--fsizeC);
    margin: var(--mar10);
}

/* --- FOOTER --- */

footer {
    background-color: var(--color0);
    height: 320px;
    color: var(--colwht);

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;

    color: var(--colwht);

    /* width: var(--maxw); */
    /* width: 100%; */
    min-height: 300px;
    height: auto;
    padding-top: var(--headerh);
    padding-left: calc((100% - 1080px) / 2);
    padding-right: calc((100% - 1080px) / 2);

    /* scroll-snap-align: start; */
}

footer > div {
    display: flex;
    flex-direction: column;
    width: 340px;
    min-height: 340px;
    margin: 10px;
    margin-top: 20px;
}

table {
    height: 240px;
    font-size: 16pt;
    color: var(--colwht);
    margin: 10px;
}

.link {
    text-decoration: none;
    color: var(--colwht);
    padding: var(--pad10);
    font-size: 16pt;
}

.link:hover {
    background-color: var(--color3);
    color: var(--coldrk);
    cursor: pointer;
    border-radius: var(--brdrd);
}

.credit-heading {
    width: 100%;
    margin-bottom: var(--mar10);
    text-align: center;
}

#place {
    display: flex;
    justify-content: center;
    align-items: center;
}

#place > #logo {
    width: 160px;
    height: auto;
}

/* --- MEDIA --- */

@media (max-width: 1080px) { 
    
    header {
        width: 100%;
        justify-content: space-around;
    }

    #fast-contact > a {
        font-size: 14px;
    }

    nav {
        display: none;
        width: 100%;
    }

    

}