*{
    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;
}

.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: 140px;
    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 {
    place-content: center;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 10px;
    height: min-content;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: min-content;
}

.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: 1220px;
    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{
    place-content: center flex-start;
    align-items: center;
    background-color: rgb(141, 169, 196);
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 40px;
    height: min-content;
    overflow: hidden;
    padding: 100px;
    position: relative;
    width: 100%;
}

.text-container {
    place-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 40px;
    height: min-content;
    max-width: 1000px;
    overflow: visible;
    padding: 0px;
    position: relative;
    width: 100%;
    z-index: 1;
    color: #000;
}

.text-title{
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
    font-size: 45px;
}

.text-content {
    place-content: center;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 40px;
    height: min-content;
    max-width: 750px;
    overflow: visible;
    padding: 0px;
    position: relative;
    width: 100%;
}

.text-desc{
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
    font-size: 20px;
}

.cards-container{
    place-content: center;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 20px;
    height: min-content;
    max-width: 1000px;
    overflow: visible;
    padding: 0px;
    position: relative;
    width: 100%;
}
.card {
    place-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex: 1 0 0px;
    flex-flow: column;
    gap: 25px;
    height: 124px;
    overflow: visible;
    padding: 0px;
    position: relative;
    width: 1px;
}

.card-svg {
    flex: 0 0 auto;
    height: 160px;
    left: -37px;
    opacity: 0.1;
    position: absolute;
    top: 27%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 1;
}

.problems {
    left: -45px;
}

.card-title {
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
    font-size: 32px;
}

.card-text{
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
    font-size: 1fr;
}


.gallery {
    place-content: flex-start center;
    align-items: flex-start;
    background-color: rgb(141, 169, 196);
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 20px;
    height: min-content;
    overflow: hidden;
    padding: 100px;
    position: relative;
    width: 100%;
}

.wrapper {
    place-content: center;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 20px;
    height: min-content;
    max-width: 100%;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 1000px;
}

.row-A, .row-B {
    place-content: center;
    align-items: center;
    display: flex;
    flex: 1 0 0px;
    flex-flow: column;
    gap: 20px;
    height: min-content;
    mix-blend-mode: luminosity;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 1px;
}

.row-A img{
    max-width: 100%;
    max-height: 100%;
    border-radius: 30px;
}

.row-B img{
    max-width: 100%;
    max-height: 100%;
    border-radius: 30px;
}


.certificates {
    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%;
}

.c-content {
    place-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 40px;
    height: min-content;
    max-width: 1000px;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 100%;
}

.c-title{font-size: 40px;}

.c-text{font-size: 20px;}

.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;
}







/* Carousel */

.container {
    overflow: hidden;
    padding: 10px;
    background: rgb(141, 169, 196);
  }
  
  .card-carousel {
    --card-width: 80%;
    --card-max-width: 280px;
    --card-height: 350px;
    --carousel-min-width: 600px;
    z-index: 1;
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: var(--card-height);
    min-width: var(--carousel-min-width);
    transition: filter .3s ease;
  }
  
  @media screen and (max-width: 640px) {
    .card-carousel {
      margin-left: calc((100vw - var(--carousel-min-width) - 40px) / 2)
    }
  }
  
  .card-carousel.smooth-return {
    transition: all .2s ease;
  }
  
  .card-carousel .card {
    /* background: rgb(87, 129, 168); */
    width: var(--card-width);
    max-width: var(--card-max-width);
    text-align: center;
    padding: 1em;
    min-width: 250px;
    height: var(--card-height);
    position: absolute;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.5);
    transition: inherit;
    /* -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    border-radius: 1em; */
    filter: brightness(.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .image-container img {
        flex: 0 0 auto;
        height: 307px;
        overflow: hidden;
        position: relative;
        width: 100%;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 99;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 90%;
  }
  
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
  }