*{
    box-sizing: border-box;
    margin: 0;
    font-family: 'OldStandardTT', 'BonaNova', serif;
}



@font-face {
    font-family: 'BonaNova';
    src: url(../fonts/Bonanova/BonaNova-Regular.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BonaNova-bold';
    src: url(../fonts/Bonanova/BonaNova-Bold.ttf) format('truetype');
    font-weight: bold;
    font-style: normal;
}   

@font-face {
    font-family: 'OldStandardTT';
    src: url(../fonts/Oldstandart/OldStandardTT-Regular.ttf) format('truetype');
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {text-decoration: none;}

.header-nav a, .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}


h1 {
    user-select: none;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 168.59485245032397px;
    line-height: 1.1em;
    font-family: 'BonaNova-bold';
}

.locked {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}


header {
    place-content: center;
    align-items: center;
    background-color: rgb(0, 18, 51);
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 50px;
    height: min-content;
    min-height: 800px;
    overflow: hidden;
    padding: 100px;
    position: relative;
    width: 100%;
}

.header-logo {
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
}

.header-svg {
    flex: 0 0 auto;
    height: auto;
    position: relative;
    width: 60px;
    z-index: 4;
}

.header-title{
    flex: 0 0 auto;
    height: auto;
    position: relative;
    white-space: pre;
    width: 100%;
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
    overflow: visible;
    z-index: 4;
    transform-origin: center center;
}

.header-nav {
    width: 1000px;
    z-index: 1;
}

.header-nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0 20px 0;
}

.header-nav ul li {
    width: auto;
    display: inline-block;
    margin: 0 15px 0 10px;
}

.header-back-wrapper{
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0.5;
}

.header-back {
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
}

.header-back:nth-child(1) {
    background-color: rgb(141, 169, 196);
    border-radius: 50%;
    inset: 0px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px -20px 40px 0px;
    flex: 0 0 auto;
    opacity: 0.2;
    overflow: visible;
    position: absolute;
    z-index: 1;
}

.header-back:nth-child(2) {
    background-color: rgb(141, 169, 196);
    border-radius: 50%;
    inset: 60px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px -20px 40px 0px;
    flex: 0 0 auto;
    opacity: 0.4;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    z-index: 1;
}

.header-back:nth-child(3) {
    background-color: rgb(141, 169, 196);
    border-radius: 50%;
    inset: 120px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px -20px 40px 0px;
    flex: 0 0 auto;
    opacity: 0.6;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    z-index: 1;
}

.header-back:nth-child(4) {
    background-color: rgb(141, 169, 196);
    border-radius: 50%;
    inset: 180px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px -20px 40px 0px;
    flex: 0 0 auto;
    opacity: 0.8;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    z-index: 1;
}

.header-back:nth-child(5) {
    background-color: rgb(141, 169, 196);
    border-radius: 50%;
    inset: 240px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px -20px 40px 0px;
    flex: 0 0 auto;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    z-index: 1;
}



.text-block{
    place-content: center flex-start;
    align-items: center;
    background-color: rgb(141, 169, 196);
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 0px;
    height: min-content;
    overflow: hidden;
    padding: 100px;
    position: relative;
    width: 100%;
}

.text-container {
    place-content: center flex-start;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 10px;
    height: min-content;
    max-width: 1000px;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.text-wrapper {
    place-content: flex-start center;
    align-items: flex-start;
    display: flex;
    flex: 1 0 0px;
    flex-flow: row;
    gap: 40px;
    height: min-content;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 1px;
}

.text-title, .text-content{
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
}

.text-title{
    flex: 1 0 0px;
    height: auto;
    overflow: visible;
    position: relative;
    white-space: pre-wrap;
    width: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 22px;
}

.text-content {
    
    flex: 1 0 0px;
    height: auto;
    overflow: visible;
    position: relative;
    white-space: normal;
    width: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-top: 8px;
    font-size: 20px;
}




.projects {
    place-content: center flex-start;
    align-items: center;
    background-color: rgb(141, 169, 196);
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 0px;
    height: min-content;
    overflow: hidden;
    padding: 100px;
    position: relative;
    width: 100%;
}

.projects-wrapper {
    place-content: center;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 20px;
    height: min-content;
    max-width: 1000px;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 100%;
}

.card {
    place-content: center flex-start;
    align-items: center;
    background-color: rgb(87, 129, 168);
    border-radius: 20px;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 40px;
    height: min-content;
    overflow: hidden;
    padding: 10px 40px 10px 10px;
    position: relative;
    width: 100%;
    will-change: transform;
}

.card-text h3 {
    font-family: 'BonaNova';
    font-size: 20px;
    font-weight: normal;
}

.card-img{
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    filter: grayscale(1);
    flex: 0 0 auto;
    height: 100px;
    overflow: hidden;
    position: relative;
    width: 100px;
    will-change: transform;
}

.card-img img{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-position: center center;
    object-fit: cover;
    image-rendering: auto;
}

.card-text{
    place-content: flex-start center;
    align-items: flex-start;
    display: flex;
    flex: 1 0 0px;
    flex-flow: column;
    gap: 0px;
    height: min-content;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 1px;
}

.card-text a {
    color: #000000;
}

.card-svg {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    position: relative;
}

.card-open{
    background-color: transparent;
    border: none;
    cursor: pointer;
}


.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    cursor: pointer;
    padding: 30px;
    overflow-y: auto;
    z-index: 100;
}

.modal__main {
    position: relative;
    max-width: 600px;
    background-color: azure;
    margin: auto;
    border-radius: 16px;
    padding: 30px;
    cursor: default;
}

.modal__title{margin-bottom: 30px;}

.modal__close{
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    outline: 1px solid transparent;
    outline-offset: 3px;
    transition: outline-color .15s ease-in-out;
    border-radius: 5px;
    padding: 0;
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
}

.modal__close:focus-visible{outline-color: rgb(87, 129, 168);}



.quotes {
    user-select: none;
    place-content: center;
    align-items: center;
    background-color: rgb(87, 129, 168);
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 10px;
    height: min-content;
    min-height: 800px;
    mix-blend-mode: luminosity;
    overflow: hidden;
    padding: 100px;
    position: relative;
    width: 100%;
}

.quotes-text{
    flex: 1 0 0px;
    height: auto;
    max-width: 1200px;
    position: relative;
    white-space: pre-wrap;
    width: 1px;
    word-break: break-word;
    overflow-wrap: break-word;
    z-index: 10;
}

.quotes-text h2 {
    text-align: center;
    font-size: 80px;
    font-family: 'BonaNova-bold';
    line-height: 1.1em;
    color: #fff;
}

.quotes-wrapper {
    inset: 0px;
    flex: 0 0 auto;
    opacity: 0.3;
    overflow: hidden;
    position: absolute;
}

.quotes-img{
    position: absolute;
    border-radius: inherit;
    inset: 0px;
}

.quotes-img img{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-position: center center;
    object-fit: cover;
    image-rendering: auto;
}


.footer-cont {
    place-content: center;
    align-items: center;
    background-color: rgb(141, 169, 196);
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 10px;
    height: min-content;
    overflow: hidden;
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.footer-nav {
    place-content: center space-between;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    height: min-content;
    overflow: hidden;
    padding: 0px 0px 28px;
    position: relative;
    width: 1000px;
    z-index: 1;
}

.footer-logo img{
    aspect-ratio: 1 / 1;
    border-radius: 40px;
    flex: 0 0 auto;
    height: 307px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.footer-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 0 20px 0;
}

.footer-nav li {
    width: auto;
    display: inline-block;
    margin: 0 15px 0 10px;
}