@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&display=swap');
@import url('https://fonts.cdnfonts.com/css/avenir');

:root {
    /* colors for common components */
    --button-blue-bg-color: #0c3c60;
    --button-blue-text-color: #f5f7fa;
    --button-blue-text-hover-color: #5b8bf3;

    /* colors for system messages */
    --sys-messages-text-color: #ececec;
    --sys-messages-border-color: #ff0000;
    --sys-messages-header-bg-color: #ff0000;
    --sys-message-even-bg-color: #ffd3d3;
    --sys-message-odd-bg-color: #ff9696;
    --sys-message-text-color: #000000;

    /* colors for footer */
    --footer-bg-color: #072136;
    --footer-text-color: #f5f7fa;
    --footer-text-hover-color: #5b8bf3;

    /* colors for header */
    --header-bg-color: #0c3c60;
    --contact-letter-bg-col: #ffffff;

    /* colors for navigation */
    --nav-text-color: #f5f7fa;
    --nav-bars-color: #f5f7fa;
    --nav-text-hover-color: #5b8bf3;

    /* colors top button */
    --top-button-color: #0c3c60;
    --top-button-bg-color: #5b8bf3;
    --top-button-border-color: #5b8bf3;

    /* colors for portfolio */
    --portfolio-bg-color: #ffffff;
    --portfolio-text-color: #072136;
    --portfolio-shadow-color: #0c3c60;

    /* colors for process */
    --process-bg-color: #ffffff00;
    --process-intro-header-color: #072136;
    --process-intro-text-color: #000000;
    --process-text-color: #072136;
    --process-icon-color: #0c3c60;
    --process-step-bg-color: #ffffff;
    --process-step-border-color: #0c3c60;
    --process-step-shadow-color: #0c3c60;
    --process-button-color: #0c3c60;
    --process-button-hover-color: #600c0c;

    /* colors for partner */
    --partner-bg-color: #ffffff;
    --partner-h1-color: #072136;
    --partner-card-bg-color: #f5f7fa;
    --partner-card-border-color: #0c3c60;
    --partner-card-shadow-color: #0c3c60;

    /* colors for contact */
    --contact-bg-color: #0c3c60;
    --contact-text-color: #f5f7fa;
    --contact-text-hover-color: #5b8bf3;
    --contact-tiles-bg-color: #293133;
    --contact-tiles-shadow-color: #55a0da;
    --contact-info-card-border-color: #222728;
    --contact-info-card-text-color: #f5f7fa;
    --contact-info-card-hover-color: #5b8bf3;

    /* colors for info pages */
    --info-page-bg-color: #ffffff;
    --info-page-text-color: #072136;
    --info-page-htext-color: #0c3c60;

    /* colors for contact form */
    --contact-form-bg-color: #ffffff;
    --contact-form-border-color: #0c3c60;
    --contact-form-title-color: #072136;
    --contact-form-text-color: #000000;
    --contact-form-label-color: #0c3c60;
    --contact-form-field-bg-color: #0c3c60;
    --contact-form-field-border-color: #5b8bf3;
    --contact-form-field-text-color: #f5f7fa;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    margin: 0;
}

main {
    display: block;
    width: 100%;
}

section {
    overflow: hidden;
}

footer {
    overflow: hidden;
}

.page-background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: url(../images/bg_pic.jpg) no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
}

.page-background-contact {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: url(../images/intro_view.jpg) no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
}

.page-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.clickable {
    cursor: pointer;
}

/*
div {
    border: 3px red solid;
} */

/* common components definitions */
.button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.button-center {
    margin: 0 auto;
}

.button > .button-label {
    display: block;
    font-family: 'Avenir';
    font-weight: 500;
}

.button-blue {
    background-color: var(--button-blue-bg-color);
    color: var(--button-blue-text-color);
}

.button-blue:hover {
    color: var(--button-blue-text-hover-color);
}

.font-avenir {
    font-family: 'Avenir';
}

.font-didot {
    font-family: 'GFS Didot', serif;
}

.hidden {
    display: none!important;
}

/* System messages definitions */
.sys-messages {
    display: none;
    width: 100%;
    border: 2px solid var(--sys-messages-border-color);
    color: var(--sys-messages-text-color);
    border-radius: 5px;
}

.sys-messages > .sys-messages-header {
    width: 100%;
    background-color: var(--sys-messages-header-bg-color);
    color: var(--sys-messages-text-color);
}

.sys-messages > .sys-messages-list {
    width: 100%;
}

.sys-messages-list > .sys-message {
    width: 100%;
    color: var(--sys-message-text-color);
}

.sys-message:nth-child(even) {
    background-color: var(--sys-message-even-bg-color);
}

.esys-message:nth-child(odd) {
    background-color: var(--sys-message-odd-bg-color);
}

/* Top Button definitions */
.top-button {
    position: fixed;
    background-color: var(--top-button-bg-color);
    border: 2px solid var(--top-button-border-color);
    color: var(--top-button-color);
    border-radius: 5px;
    padding: 3px 5px;
    opacity: 0.8;
    z-index: 200;
}

.top-button svg{
    color: var(--top-button-color);
}

/* header definitions */
header {
    width: 100%;
    background-color: var(--header-bg-color);
}

.header-box {
    width: 100%;
}

.header-box > .header-logo {
    width: 100%;
}

.header-logo > img {
    width: 100%;
    height: auto;
}

.header-box > .header-area {
    width: 100%;
}

.header-area > .header-button {
    width: 100%;
}

.header-area > .header-nav {
    width: 100%;
    display: block;
}

/* Navigation definitions */
.nav-top {
    display: flex;
    font-family: 'GFS Didot', serif;
    background-color: var(--header-bg-color);
}

.nav-top > .nav-item {
    color: var(--nav-text-color);
    text-decoration: none;
    white-space: nowrap;
    transition: all 250ms ease-in-out;
}

.nav-top > .nav-item:hover {
    color: var(--nav-text-hover-color);
    cursor: pointer;
}

.nav-toggle {
    position: absolute;
    height: 32px;
    width: 32px;
    z-index: 10;
    opacity: 0;
}

.nav-symbol {
    position: absolute;
    height: 26px;
    width: 32px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.nav-symbol > .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: var(--nav-bars-color);
}

.nav-symbol > .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.nav-symbol> .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-symbol > .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.nav-toggle:checked ~ .nav-symbol .line1 {
    transform: rotate(45deg);
}

.nav-toggle:checked ~ .nav-symbol .line2 {
    transform: scaleY(0);
}

.nav-toggle:checked ~ .nav-symbol .line3 {
    transform: rotate(-45deg);
}

/* footer section */
footer {
    width: 100%;
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
}

.footer-box {
    width: 100%;
}

.footer-box > .footer-block {
    width: 100%;
}

.footer-block > .footer-socials-block {
    width: 100%;
}

.footer-socials-block > a {
    float: left;
    text-decoration: none;
    color: var(--footer-text-color);
    cursor: pointer;
}

.footer-socials-block > a:hover {
    color: var(--footer-text-hover-color);
}

.footer-block > .footer-block-title {
    width: 100%;
    font-family: 'GFS Didot', serif;
}

.footer-block > .footer-block-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Avenir';
}

.footer-block-content > a {
    width: 100%;
    text-decoration: none;
    color: var(--footer-text-color);
    cursor: pointer;
}

.footer-block-content > a:hover {
    color: var(--footer-text-hover-color);
}

.footer-copyright {
    display: block;
    width: 100%;
    color: var(--footer-text-color);
    font-family: 'Avenir';
    text-align: center;
    position: relative;
}

.footer-copyright::before {
    content: " ";
    display: block;
    height: 2px;
    width: calc(50vw - 150px);
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--footer-text-color);
}

.footer-copyright::after {
    content: " ";
    display: block;
    height: 2px;
    width: calc(50vw - 150px);
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--footer-text-color);
}

/* section intro definitions */
.sec-intro {
    width: 100%;
    height: 70vh;
    background-image: url('../images/intro_view.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.intro-logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.intro-logo > img {
    height: 100%;
    width: auto;
}

.intro-letter {
    background-color: var(--contact-letter-bg-col);
}

.letter-struc {
    display: grid;
    grid-template-rows: auto auto auto;
}

.letter-row {
    width: 100%;
}

/* section portfolio definitions */
.sec-portfolio {
    width: 100%;
    background-color: var(--portfolio-bg-color);
}

.portfolio-box {
    width: 100%;
}

.portfolio-box > .portfolio-block {
    width: 100%;
}

.portfolio-block > h1 {
    width: 100%;
    font-family: 'GFS Didot', serif;
    color: var(--portfolio-text-color);
}

.portfolio-block > p {
    width: 100%;
    font-family: 'Avenir';
    color: var(--portfolio-text-color);
}

/* section portfolio definitions */
.sec-process {
    width: 100%;
    background-color: var(--process-bg-color);
}

.process-box {
    width: 100%;
}

.process-box > .process-intro {
    display: block;
    background-color: var(--process-step-bg-color);
    border-radius: 5px;
    border: 1px solid var(--process-step-border-color);
    box-shadow: 0px 7px 19px -9px var(--process-step-shadow-color);
}

.process-intro > h1 {
    width: 100%;
    font-family: 'GFS Didot', serif;
    color: var(--process-intro-header-color);
    margin: 0;
    padding: 5px 0;
}

.process-intro > p {
    width: 100%;
    font-family: 'Avenir';
    color: var(--process-intro-text-color);
    margin: 0;
}

.process-box > .process-show {
    width: 100%;
}

.process-show > .process-icon {
    width: 100%;
    color: var(--process-icon-color);
}

.process-show > .process-step {
    display: block;
    background-color: var(--process-step-bg-color);
    border-radius: 5px;
    border: 1px solid var(--process-step-border-color);
    z-index: 50;
}

.process-step > .process-header {
    width: 100%;
    display: block;
    position: relative;
}

.process-header > .process-header-logo {
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
}

.process-header-logo > img {
    display: block;
}

.process-header > .process-header-button {
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    color: var(--process-button-color);
    cursor: pointer;
}

.process-header > .process-header-button:hover {
    color: var(--process-button-hover-color);
}

.process-header > .process-header-title {
    width: 100%;
    display: block;
    font-family: 'GFS Didot', serif;
    color: var(--process-text-color);
    text-align: center;
}

.process-step > .process-text {
    width: 100%;
    display: block;
    font-family: 'Avenir';
    overflow: hidden;
}

.process-text > p {
    width: 100%;
}

/* section partner definitions */
.sec-partner {
    width: 100%;
    background-color: var(--partner-bg-color);
}

.sec-partner > h1 {
    width: 100%;
    text-align: center;
    color: var(--partner-h1-color);
}

.partner-box {
    width: 100%;
}

.partner-box > .partner-element {
    display: block;
    width: 100%;
    height: 100%;
}

.partner-element > .partner-card {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--partner-card-bg-color);
    border: 2px solid var(--partner-card-border-color);
    border-radius: 5px;
    transition: all 300ms ease-out;
}

/* section contact definitions */
.sec-contact {
    width: 100%;
    background-color: var(--contact-bg-color);
}

.contact-box {
    width: 100%;
}

.contact-box > .contact-tiles {
    width: 100%;
    background-color: var(--contact-tiles-bg-color);
    box-shadow: 0px 7px 19px -9px var(--contact-tiles-shadow-color);
    display: grid;
}

.contact-tiles > .contact-tile-details {
    width: 100%;
    display: grid;
    margin: 0;
    padding: 0;
}

.contact-tile-details > .contact-tile-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--contact-info-card-border-color);
    cursor: pointer;
}

.contact-tile-card > .contact-card-icon {
    width: 100%;
    display: block;
    color: var(--contact-info-card-text-color);
    text-align: center;
}

.contact-tile-card > .contact-card-title {
    width: 100%;
    display: block;
    color: var(--contact-info-card-text-color);
    font-family: 'GFS Didot', serif;
    text-align: center;
    border-bottom: 2px solid var(--contact-info-card-text-color);
}

.contact-tile-card > .contact-card-detail {
    width: 100%;
    display: block;
    color: var(--contact-info-card-text-color);
    font-family: 'Avenir';
    text-align: center;
}

.contact-tile-card:hover > .contact-card-icon {
    color: var(--contact-info-card-hover-color);
}

.contact-tile-card:hover > .contact-card-title {
    border-color: var(--contact-info-card-hover-color);
    color: var(--contact-info-card-hover-color);
}

.contact-tile-card:hover > .contact-card-detail {
    color: var(--contact-info-card-hover-color);
}

/* info pages defintions */
.sec-info {
    width: 100%;
    height: 100%;
    background-color: var(--info-page-bg-color);
}

.info-box {
    width: 100%;
}

.info-box h1 h2 h3 {
    width: 100%;
    font-family: 'GFS Didot', serif;
    color: var(--info-page-htext-color);
}

.info-box p {
    width: 100%;
    font-family: 'Avenir';
    color: var(--info-page-text-color);
}

.info-box ul {
    font-family: 'Avenir';
    color: var(--info-page-text-color);
    list-style: disc;
}

/* contact page definitions */
.g-recaptcha {
    transform:scale(0.77);
    transform-origin:0 0;
}

.sec-form {
    display: block;
    width: 100%;
}

.form-box {
    display: block;
    width: 100%;
}

.form-box > .form-modal {
    background-color: var(--contact-form-bg-color);
    border-color: var(--contact-form-border-color);
    border-style: solid;
    display: block;
}

.form-modal  label {
    width: 100%;
    font-family: 'Avenir';
    color: var(--contact-form-label-color);
}

.form-modal  input[type=text] {
    width: 100%;
    font-family: 'Avenir';
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid var(--contact-form-field-border-color);
    background-color: var(--contact-form-field-bg-color);
    color: var(--contact-form-field-text-color);
}

.form-modal  textarea {
    width: 100%;
    font-family: 'Avenir';
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid var(--contact-form-field-border-color);
    background-color: var(--contact-form-field-bg-color);
    color: var(--contact-form-field-text-color);
    resize: none;
}

.form-modal > h1 {
    width: 100%;
    font-family: 'GFS Didot', serif;
    color: var(--contact-form-title-color);
    text-align: center;
}

.form-modal > .form-modal-struc {
    width: 100%;
}

.form-modal-struc > .form-modal-fields {
    width: 100%;
}

.form-modal-fields > .form-modal-fields-row {
    width: 100%;
}

.form-modal-fields-row > .form-modal-fields-block {
    width: 100%;
}

.form-modal-struc > .form-modal-side {
    width: 100%;
}

.form-modal-side > .form-modal-icon {
    width: 100%;
}

.form-modal-icon > img {
    width: 100%;
    height: auto;
}

.form-modal-side > .form-modal-button {
    width: 100%;
}