* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
}

body {
  font-family: PT Sans;
  background: #ddd;
}

:root {
  --mainColor: #fff;
  --darkColor: #032a38;
  --h1color: #032a38;
  --contentWidth: 1350px;
  --imgHeight: 55vh;
  --contentPadding: 10px 25px;
}

p {
  font-size: 16pt;
}

.nav {
    transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.nav a {
  color: var(--mainColor);
}

a {
  color: var(--darkColor);
}

.nav ul li a:hover {
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  color: #f35c19;
}


.nav ul li {
  padding-left: 1em;
  display: flex;
  gap: 10px;
}

.nav ul li:not(:last-child)::after {
  content: "|";
  padding: 0 0 0 5px;
  color: #bbb;
}

.flex-two {
    display: flex;
    gap: 2em;
}

.flex-two div{
flex: 1;
}


.call h1 {
    /* color: #f3a019; */
    color: var(--h1color);
    background: linear-gradient(45deg, #f35c19 0%, #6f19b5 50%, #032a38 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    line-height: 1;
    text-transform: uppercase;
}

.textBlack {
  color: var(--darkColor);
}

.textWhite {
  color: var(--mainColor);
}

.wideblock {
  width: 100%;
  position: relative;
  padding-top: 2em;
}

.bgwhite {
  background: #fff;
}

.bgblack {
  background: #5a8ba1;
}
.bgblack h1 {
/*  color: #f3a019;*/
  color: var(--h1color);  
}
.bgblack p, .bgblack li {
  color: #eaeaea;
}

.heroHeight {
  height: var(--imgHeight);
  overflow: hidden;
}

hr {
  margin: 1em 0;
  height: 0;
  background: #5a8ba1;
}

.logo img {
  width: 250px;
}

.fullImage {
  position: absolute;
  z-index: -10;
  left: 0;
  top: 0;
  height: var(--imgHeight);
  width: 100%;
  background: linear-gradient(#000000aa, #00000055), url(../images/mainpage2.png) 50% 50%/cover;
  background:url(../images/mainpage2.png) 50% 50%/cover;
/*  -webkit-animation: scaleAnimation 15s ease-in-out infinite;*/
/*          animation: scaleAnimation 15s ease-in-out infinite;*/
  -webkit-animation: scaleAnimation 4s ease-in-out ;
          animation: scaleAnimation 4s ease-in-out ;          
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

@-webkit-keyframes scaleAnimation {
  0% {
    transform: scale(1.2);
  }
  50% {
/*    transform: scale(1.2);*/
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1.2);
  }
  50% {
/*    transform: scale(1.2);*/
  }
  100% {
    transform: scale(1);
  }
}

.nav {
  z-index: 1;
  position: relative;
}

.content {
  max-width: var(--contentWidth);
  padding: var(--contentPadding);
  margin: auto;
}

.innerContent {
  max-width: var(--contentWidth);
  padding: var(--contentPadding);
  margin: auto;
}

.block {
  padding-bottom: 2em;
  display: flex;
}
.block img {
  margin: auto;
  width: 100%;
}

.block p span:not(:last-child) {
  padding-bottom: 0.5em;
  display: block;
}


.menuitems {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
      gap: 1em;
      flex-wrap: wrap;
}

.menuitems p {
    flex: 1;
    min-width: 50%;
/*    min-height: 200px;*/
    font-size: 110%;
}

.listing {
/*  gap: 2em;*/
  align-items: end;
}

.listing p{
  min-height: 200px;
}

.listing strong{
/*  margin-bottom: 1em;*/
  display: block;
}

.menuitems strong {
  color: var(--darkColor);
/*  margin-bottom: 20px;*/
}

.menuitem {
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
}

.menuitem img {
  width: 40%;
}


.menuitem p {
  text-align: center;
}


.fxbetween {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inner100 {
  display: flex;
  height: 100%;
  width: 100%;
  top: 0;
  position: absolute;
}

.grayscale {
  filter: grayscale(1);
  -webkit-filter: grayscale(1);
  -moz-filter: grayscale(1);
  -o-filter: grayscale(1);
  -ms-filter: grayscale(1);
  max-width: 50%;
}

.call {
  font-size: 190%;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  -ms-border-radius: 8px;
  color: #5a8ba1;
  -webkit-backdrop-filter: blur(30px);
          backdrop-filter: blur(30px);   
/*  background: #1f282866;*/
  color:#434343;
}

.map {
  width: 100%;
  filter: hue-rotate(20deg) saturate(0.2) brightness(1);
  filter: grayscale(70%);
  -webkit-filter: grayscale(70%);
  -moz-filter: grayscale(70%);
  -o-filter: grayscale(70%);
  -ms-filter: grayscale(70%);
  margin-bottom: -10px;
  padding-bottom: 0;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.contacts .info {
  flex: 1;
}

strong {
  text-transform: uppercase;
}

.list li {
  list-style-type: square;
  margin-left: 15px;
  font-size: 15pt;
}

footer {
  width: 100%;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
}
footer h5 {
  text-transform: uppercase;
  padding: 20px 0;
}

.call.content.textWhite h1 {
  font-size: calc(24px + 16 * (100vw / 1280));
  line-height: 1.2; /* Для улучшения читаемости */
}


@media only screen and (max-width: 767px) {
  .call.content.textWhite h1 {
    font-size: calc(24px + 16 * ((100vw - 320px) / 1280));
    /* или фиксированный размер для очень маленьких экранов */
    font-size: 24px; /* Минимальный размер шрифта */
  }
}

