@import url('https://fonts.googleapis.com/css?family=Raleway:300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Monoton&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:500&display=swap');
*{
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

.contact-info a {
    color: white;
    text-decoration: none;
	z-index: 2;
    cursor: pointer;
    transition: all .4s ease;
}

.contact-info a:hover {
	opacity: 1;
    transform: matrix(2, 0, 0, 2, 2, 2);
}

.menu {
	font-family: raleway;
    display: flex;
    justify-content: center;
    flex-grow: 1;
	margin-bottom: 15px;
}

.menu a {
    text-decoration: none;
    color: white;
    margin: -20px 20px 20px 2px;
}

.menu a:hover {
    color: #ccc;
}

.menu-index{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    position: relative;
    height: 100vh;
}

.menu-index .menu-item {
    transition: transform 0.5s ease, opacity 0.5s ease, margin-bottom 0.5s ease;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.menu-index .menu-item a {
	font-family: raleway;
    text-decoration: none;
    color: white;
    margin: 0 20px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 5px;
    transition: color 0.3s ease;
}

.menu-index .menu-item a:hover {
    color: #ccc;
}

.menu-index:hover .menu-item:not(:hover) {
    margin-bottom: 16px;
    opacity: 0.5;
    transform: scale(1.2);
}

.menu-index .menu-item:hover {
    transform: scale(3.2);
    opacity: 1;
    margin-bottom: 32px;
}

.menu-item {
    margin-bottom: 16px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 20px 0 0;
}

.contacts-icon {
    position: absolute;
    top: 15px;
    right: 20px;
}

.contacts-icon a {
    display: inline-block;
    width: 20px;
    height: 20px;
}
		
.head2 {
    width: 100%;
    background-color: #272727;
    color: rgb(193, 193, 193);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
		
.menu2 {
	font-family: raleway;
	font-size: 10pt;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.menu2 a {
    text-decoration: none;
    color: #c1c1c1;
    margin: 0 20px;
}

/* ЦВЕТ АКТИВНОГО МЕНЮ */
.activebutton {
	color: #932129;
}
		
::-webkit-scrollbar{
    width: 4px;
    color:#932129;
    transition: all .4s ease;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
html{
	font-family: monospace;
}
p{
	color: #fff;
	font-size: 12pt;
}
h1{
	font-family: raleway;
	font-size: 28pt;
	font-weight: 100;
	color: #fff;
	padding: 30px 0 30px 0;
}
body{
	background: #121212;
    user-select: none;
    height: auto;
    overflow-x: hidden;
    width: 100%;
	height: 100%;
	margin: 0;
}
#header{
    background:#fffcf2;
    height: 100vh;
    width: 100%;;
    overflow: hidden;
    animation: scale .5s ease;
    position:relative;
    display: block;
}
.logo img{
    height: 20px;
    position: absolute;
    top: 2%;
    left: 2%;
    z-index: 2;
    cursor: pointer;
    transition: all .4s ease;
}
.logo img:hover{
    transform: matrix(1.2, 0, 0, 1.2, 2, 2);
}
@keyframes scale{
    0%{
        transform: scale(.8);
    }
    100%{
        transform: scale(1);
    }
}
@-webkit-keyframes breakeranimate{
    0%{
        transform: scale(.6);
    }
    100%{
        transform: scale(1);
    }
}
.main-content {
    min-height: calc(100vh - 50px); /* Высота контента равна высоте окна браузера минус высота футера */
}

.footer {
    position: fixed; /* Фиксированное позиционирование */
    bottom: 0; /* Привязываем к нижней части окна */
    left: 0; /* Привязываем к левому краю */
    width: 100%; /* Ширина 100% */
    height: 30px; /* Высота футера */
    background-color: #121212; /* Цвет фона */
    color: #323232; /* Цвет текста */
    text-align: center; /* Центрирование текста */
    padding: 10px; /* Отступы внутри футера */
    z-index: 1000; /* Убедитесь, что футер выше других элементов */
}

/* GALLERY START */

.grid-single {
  border-bottom: 1px solid #464545;
  padding-bottom: 50px;
}
.grid-single::after {
  content: '';
  display: block;
  clear: both;
}

.grid-single .grid-sizer,
.grid-single .grid-item {
  width: calc(33.3% - 10px);
  margin-bottom: 15px;
}

.grid-single .grid-item {
  float: left;
  z-index: 0;
  overflow: hidden;
}
.grid-single .grid-item:hover a::before,
.grid-single .grid-item:hover a::after {
  opacity: 1;
}

.grid-single .grid-item img {
  display: block;
  width: 100%;
  transition: 0.35s ease;
}

.gallery-wrap {
  margin-left: 100px;
  padding: 100px 0;
}

.gallery-wrap .def-title-wrapper {
  text-align: center;
}

.b-lazy {
  -webkit-transition: opacity 500ms ease-in-out;
     -moz-transition: opacity 500ms ease-in-out;
       -o-transition: opacity 500ms ease-in-out;
          transition: opacity 500ms ease-in-out;
           max-width: 100%;
             opacity: 0;
}
.b-lazy.b-loaded {
  opacity: 1;
}

.grid-nav-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
  column-gap: 30px;
}
.grid-nav-wrap a {
  display: inline-block;
  padding: 10px 25px;
  background-color: #383636;
  font-weight: 300;
  font-size: 16px;
  transition: background-color 0.35s ease;
  vertical-align: middle;
}
.grid-nav-wrap a:hover {
  background-color: #545050;
}

/* GALLERY END */

/* Responsive START */
@media screen and (max-width: 1024px) {
  .container-full {
    padding: 0 20px;
  }
  .grid-single .grid-sizer,
  .grid-single .grid-item {
    width: calc(33% - 15px);
  }
}

/* VIDEO GALLERY START */

    .video-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .video-block {
      width: 33.33%;
      padding: 10px;
      box-sizing: border-box;
    }

    .video-block iframe {
      width: 100%;
      aspect-ratio: 16 / 9;
    }
	
/* VIDEO GALLERY END */
	
/* For devices with smaller width like mobile phone */

@media only screen and (max-width: 850px){
    .header-content{
        height: 100vh;
        width: 100%;
        float: left;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        color: #403d39;
        font-family: raleway;
        font-weight: 500;
        letter-spacing: 2px;
        font-size: 40px;
    }
    .contact{
        display: none;
    }
    .header-image{
        float: right;
        height: auto;
        width: 0%;   
    }
    .social-media-links{
        width: 100%;
        left: 0;
        bottom: 0;
        position: absolute;
        padding: 10px;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .header-content-box{
        padding-left: 0px;
        z-index: 2;
        text-align: center;
    }
    #contact{
        display: none;
    }
    .header-content-box{
        z-index: 2;
        text-align: center;
        height: auto;
        padding-right: 0px;
        width: auto;
    
    }
	.photo {
	width: 50%;
	}
	
@media (max-width: 768px) {

.logo img{
    height: 20px;
    position: absolute;
	position: center; 
    top: 8px;
    left: 2%;
    z-index: 2;
    cursor: pointer;
    transition: all .4s ease;
}

  .menu2 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 10px !important;
    margin-bottom: 15px;
  }

  .menu2 a {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0 10px 10px 0 !important;
    padding: 8px 12px;
  }
}
