@font-face {
    font-family: "AngliceRegular";
    src: url('webFonts/AngliceRegular/font.woff2') format('woff2'), url('webFonts/AngliceRegular/font.woff') format('woff');
  }

body {
    background-color: black;
    color: white;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

header {
    width: 100%;
}

.logo {
    position: absolute;
    left: 47px;
    top: 47px;
    width: 148px;
    height: 148px;
}

.menu {
    margin-right: 57px;
    margin-top: 87px;
    float: right;
}

.title img {
    width: 654px;
    height: 152px;
}

.title {
    position: absolute;
    top: 225px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-button {
    margin-left: 27px;
    box-sizing: border-box;
    padding: 8px 30px 10px 30px;
	padding: 0px 30px 10px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #FFFFFF;
    border-radius: 30px;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.menu-button:hover {
    background: rgba(68, 79, 177, 0.5);
}

.menu-button a {
    font-family: 'AngliceRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    text-decoration: none;
    color: white;
}

.hours {
    position: absolute;
    top: 420px;
    left: 50%;
    transform: translateX(-50%);

    font-family: 'AngliceRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    color: white;
    text-align: center;
}

.hours p {
    margin: 0;
}


.address {
    position: absolute;
    top: 540px;
    left: 50%;
    transform: translateX(-50%);

    font-family: 'AngliceRegular';
    font-style: normal;
    font-weight: 400;
    color: white;
    text-align: center;
}

.address p {
    margin: 0;
    margin-top: 5px;
    font-size: 25px;
}

.address a {
    text-decoration: none;
    color: white;
    font-size: 40px;
}

.address a:hover {
    text-decoration: none;
    color: rgba(68, 79, 177, 1);
}

.socials {
    position: absolute;
    top: 640px;
    left: 50%;
    transform: translateX(-50%);
}

    .socials {
        top: 720px;
        /* Добавьте Flexbox для выравнивания иконок в ряд */
        display: flex; 
        justify-content: center; /* Центрирует иконки по горизонтали */
        width: 100%; /* Убедитесь, что занимает всю ширину для центрирования */
        left: 0; /* Сбросьте left: 50% и transform: translateX(-50%) */
        transform: none; /* Сбросьте left: 50% и transform: translateX(-50%) */
    }
	
.socials img {
    width: 40px;
    height: 40px;
    margin-left: 7px;
    margin-right: 7px;
}

.socials img:hover {
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.5));
}


@media (max-width: 920px) {
    .logo {
        width: 120px;
        height: 120px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .title {
        top: 190px;
    }

    .title img {
        width: 340px;
        height: 78px;
    }

    .menu {
        margin: 0;
        position: absolute;
        left: 50%;
        top: 300px;
        transform: translateX(-50%);
        /* width: 250px; */ 
    }

    .menu-button {
        width: 190px;
        margin-bottom: 20px;
    }

    .hours {
        top: 520px;
        font-size: 25px;
        line-height: 20px;
    }

    .address {
        top: 580px;
    }

    .address p {
        font-size: 17px;
    }
    
    .address a {
        font-size: 27px;
    }

    .socials {
        top: 720px;
    }
}

.slideshow {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    opacity: 50%;
    z-index: -1;
  }
  
  .slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
    -webkit-animation-name: kenburns;
            animation-name: kenburns;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 10s;
            animation-duration: 10s;
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  .slideshow-image:nth-child(1) {
    -webkit-animation-name: kenburns-1;
            animation-name: kenburns-1;
    z-index: 4;
  }
  .slideshow-image:nth-child(2) {
    -webkit-animation-name: kenburns-2;
            animation-name: kenburns-2;
    z-index: 3;
  }
  .slideshow-image:nth-child(3) {
    -webkit-animation-name: kenburns-3;
            animation-name: kenburns-3;
    z-index: 2;
  }
  .slideshow-image:nth-child(4) {
    -webkit-animation-name: kenburns-4;
            animation-name: kenburns-4;
    z-index: 1;
  }
  .slideshow-image:nth-child(5) {
    -webkit-animation-name: kenburns-5;
            animation-name: kenburns-5;
    z-index: 0;
  }
  
  @-webkit-keyframes kenburns-1 {
    0% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    5% {
      opacity: 1;
    }
    15% {
      opacity: 1;
    }
    25% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    95% {
      opacity: 0;
      -webkit-transform: scale(1.24);
              transform: scale(1.24);
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes kenburns-1 {
    0% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    5% {
      opacity: 1;
    }
    15% {
      opacity: 1;
    }
    25% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    95% {
      opacity: 0;
      -webkit-transform: scale(1.24);
              transform: scale(1.24);
    }
    100% {
      opacity: 1;
    }
  }
  @-webkit-keyframes kenburns-2 {
    15% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    25% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    45% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
  }
  @keyframes kenburns-2 {
    15% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    25% {
      opacity: 1;
    }
    35% {
      opacity: 1;
    }
    45% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
  }
  @-webkit-keyframes kenburns-3 {
    35% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    45% {
      opacity: 1;
    }
    55% {
      opacity: 1;
    }
    65% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
  }
  @keyframes kenburns-3 {
    35% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    45% {
      opacity: 1;
    }
    55% {
      opacity: 1;
    }
    65% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
  }
  @-webkit-keyframes kenburns-4 {
    55% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    65% {
      opacity: 1;
    }
    75% {
      opacity: 1;
    }
    85% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
  }
  @keyframes kenburns-4 {
    55% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    65% {
      opacity: 1;
    }
    75% {
      opacity: 1;
    }
    85% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
  }
  @-webkit-keyframes kenburns-5 {
    75% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    85% {
      opacity: 1;
    }
    95% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  @keyframes kenburns-5 {
    75% {
      opacity: 1;
      -webkit-transform: scale(1.2);
              transform: scale(1.2);
    }
    85% {
      opacity: 1;
    }
    95% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }