*{
    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');
}

.locked {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: none;
}

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: 168.59485245032397px;
    line-height: 1.1em;
    font-family: 'BonaNova-bold';
}


.invisible-button {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  
  .invisible-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ccc;
  }

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;
}



.kont {
    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%;
    color: #051923;
    font-size: 18px;
}

.kont-container {
    place-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    gap: 40px;
    height: min-content;
    max-width: 1000px;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 100%;
}

.connect, .contact {
    place-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex: 1 0 0px;
    flex-flow: column;
    gap: 40px;
    height: min-content;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 1px;
}

.wrapper {
    place-content: flex-start center;
    align-items: flex-start;
    display: flex;
    flex: 0 0 auto;
    flex-flow: column;
    gap: 5px;
    height: min-content;
    overflow: hidden;
    padding: 0px;
    position: relative;
    width: 100%;
}

.address, .phone, .email, .hours{
    place-content: center space-between;
    display: flex;
    align-items: center;
    height: min-content;
    position: relative;
    width: 100%;
    padding: 0 0 10px;
}

.address::after, .phone::after, .email::after, .hours::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #d9d9d9;

}

.address-title, .address-text, .phone-title, .phone-text{
    outline: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    transform: none;
}

.map-container{
    place-content: center;
    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: 0;
    position: relative;
    width: 100%;
}

.map-container .map{
    place-content: center;
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    height: 500px;
    position: relative;
    width: 50%;
    overflow: hidden;
    border-radius: 20px;
    filter: opacity(0.85);
}

.container{
    justify-content: center;
    display: flex;
    gap: 20px;
}

.image-block{
    display: flex;
    width: 850px;
}

.image-block img{
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 20px;
    filter: opacity(0.75);
}


.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;
}