:root {
    --main-color: #434B7D;
    --main-text-color: #373737;
    --main-border-color: #d6d6d6;
    --surface-0: #e7e7e7;
    --surface-1: #F8F8F8;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #e7e7e7;
    color: var(--main-text-color);
}

.bg {
    width: 45.33%;  
    height: 100vh;
    position: absolute;
    background: linear-gradient(to bottom, #2E3354, #434B7D 50%);
    top: 0;
    left: 0;
    z-index: -1;
}
/********************** Fonts **********************/
@font-face {
    font-family: 'Open Sans';
    src: url('./fonts/OpenSans-Italic-VariableFont_wdth\,wght.ttf') format('woff2 supports variations'),
         url('./fonts/OpenSans-VariableFont_wdth\,wght.ttf') format('woff2-variations');
    font-weight: 400 700;
    font-display: swap;
    font-style: normal;
}

.open-sans-font {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: regular;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }
  
h1 {
    font-size: 28px;
    line-height: 48px;    
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0;
}
h2 {
    font-size: 24px;
    line-height: 48px;    
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
    color: var(--main-color);
    margin: 0;
}
h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;    
    line-height: 24px;
    text-transform: uppercase;
    margin: 0;
}

.body {
    font-size: 16px;
    line-height: 24px;   
    
}

a {
    text-decoration: none;
    color: var(--main-color)
}
/********************** Btn **********************/
.btn {
    padding: 12px 32px;
    border: solid 1px #21253D;
    border-radius: 4px;
    font-size: 12px;
    line-height: 12px;
    cursor: pointer;
    color: var(--main-text-color);
}

.btn-row {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
}

.btn.ghost {
    background-color: transparent;
    border-color: var(--main-color);
    border-width: 2px;    
    align-self: center;
}

.btn.primary {
    background-color: var(--main-color);
    color: #fff;
}

.btn.primary a {
    background-color: var(--main-color);
    color: #fff;
}

.back-button svg {
    fill: var(--main-text-color);
    cursor: pointer;
}

nav {
    display: flex;
    justify-content: space-between;
    align-content: center;
    text-align: center;
    height: 48px;
    padding-right: 64px;
    padding-left: 64px;
    border-bottom: solid 1px #d6d6d6;
    font-size: 12px;
}

nav .social-networks a {
    display: block;
    height: 24px;
}
nav .social-networks a img {
    height: 24px;
    width: 24px;
}
nav .social-networks .nav-item {
    display: flex;
    width: auto;
}
.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;   
    vertical-align: middle;     
}
nav .social-networks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
nav .link-list {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.page {
    max-width: 1080px;    
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    width: fit-content;
    height: fit-content;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    /*position: relative;*/
    border-radius: 4px;
    box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.15);    
}

.banner {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px var(--main-border-color);
}

.lead-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    gap:65px;
    padding: 108px 40px 108px 64px;
    flex:1;
}

.lead-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    flex:1;
    padding: 40px 64px  0 64px;
}

.lead-image img{
    max-height: 450px;
}

.intro {
    background-color: var(--surface-1);
    padding: 46px 64px 23px 64px;
}

.content {    
    /* transition: opacity 250ms ease-out; */
    display: flex;
    position: absolute;    
    flex-direction: row;
    background-color: var(--surface-1);
    gap: 16px;
    padding: 23px 64px 64px 64px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;    
    opacity: 1;
}
.content .btn {
    margin-top: 16px;
}

.hero-unit {
    border: solid 1px var(--main-border-color);
    border-radius: 4px;
    padding: 16px 32px 24px 32px;
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.content.hidden {
    /* transition: opacity 250ms ease-out; */
    opacity: 0;    
    pointer-events: none;    
}

.flat {
    gap:0;
}