@import url('https://fonts.googleapis.com/css2?family=Bellota:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Marck+Script&family=Oswald:wght@200..700&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.text-logo {
  font-family: 'Marck Script';
  float: left;
  padding: 12px 20px;
  font-size: 26px;
  font-weight: 300;
  color: #000;
  border-radius: .1em 2em .1em 2em;
  filter: drop-shadow(0 0 10px black);
  background: linear-gradient(
    -45deg,
    rgb(255, 242, 0) 0%,
    #ffb300 100%
  );
  text-decoration: none;
}

ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #33333300;

}

ul.topnav li {
  float: left;
}
ul.topnav li a {
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 22px;
 
}

ul.topnav li a.active{
  color: #fc0;
}

ul.topnav li a.active:hover{
  background: rgba(0, 0, 0, 0);
}

ul.topnav li a:hover {
  background-color: rgba(255, 204, 0, 0.81) ;
  /* backdrop-filter: blur(8.1px);
  -webkit-backdrop-filter: blur(8.1px); */
}
ul.topnav li.icon {
  display: none;
}
@media screen and (max-width: 680px) {
  #menu-icon {
    font-size: 20px;
    color: #000;
  }
  ul.topnav li:not(:first-child) {
    display: none;
  }
  ul.topnav li.icon {
    float: right;
    display: inline-block;
    right: 0;
    background-color: rgba(255, 204, 0);
  }
}
@media screen and (max-width: 680px) {
  ul.topnav.responsive {
    position: relative;
    right: 0;
  }
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
  ul.topnav.responsive li a#logout_nav {
    display: block;
    text-align: center;
    position: relative;
  }

}

/* Header и Навигация */
.header {
  font-family: "Oswald";
  font-size: 1em;
  background: rgba(0, 0, 0, 0.57);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.6px);
  -webkit-backdrop-filter: blur(7.6px);
  color: #fff;
  filter: drop-shadow(0 0 10px,#000);
  padding: 0.1em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

#logout_nav{
  background: linear-gradient(
    -45deg,
    rgb(255, 242, 0) 0%,
    #ffb300 100%
  );
  color: #000;
  border-radius: .4em;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8.1px);
  -webkit-backdrop-filter: blur(8.1px);
  position: absolute;
  right: 0;
}
#logout_nav:hover{
  background-color: rgba(255, 204, 0, 0.548);
  color: #ffffff;
}

#username{
  background: linear-gradient(45deg, #ff9100 33%, #fc0 66%, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4em;
  color: #fc0;
  font-family: 'Oswald';
  font-weight: 400;
  
}

/* .nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 50px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ccc;
} */

/* Секции */
.section {
  padding: 2em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home {
  background: url("images/mainimage1.png") no-repeat center center fixed;
  /* background-position: center center;
  background-repeat: no-repeat; */
  background-size: cover;
  height: 100vh;
  
}

.home h1 {
  filter: drop-shadow(1px 1px 1px black);
  font-size: 5em;
  font-family: "Marck Script";
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.4em;
}

.home h1 .housespan {
  color: #fc0;
}

.home p {
  line-height: 3rem;
  filter: drop-shadow(1px 1px 1px black);
  font-size: 2em;
  font-family: "Marck Script";
  color: #dadada;
  text-align: center;
}

.menu{
  /* background-color: #f7f7f7; */
  display: flex;
  justify-content: flex-start;
  /* background-image: url("images/fon-menu.png"); */
  background:
    linear-gradient(rgba(0, 0, 0, 0) 5px, transparent 300px),
    linear-gradient(45deg, transparent 74px, transparent 75px, #929292ab 75px, #ffffff 76px, transparent 77px, transparent 109px),
    rgba(106, 106, 106, 0.092);
    background-size: 9px 109px, 200px 100px,100% 6px, 10px 10px, 10px 10px;
    /* background-position: 0px 0px, 0px 0px,  0px 0px, 0px 0px,  0px 0px; */
  
}

.menu h2{
  /* color: #fc0;
  filter: drop-shadow(0 0 1px black);
  font-size: 4em;
  margin-bottom: .3em;
  font-family: 'Marck Script';
  text-align: center; */
  color: #000;
    display: flex;    
    justify-content: center;
    font-size: 3.4em;
    font-family: "Oswald";
  background-size: 10px 30px;
  text-align: center;
  line-height: .8em;
  margin-bottom: 1em;
}

.menu p{
  background-color: #f8f8f8d7;
  font-size: 1.2em;
  font-family: 'Oswald';
  text-align: center;
}

.about {
  /* background-color: #f7f7f7; */
  display: flex;
  justify-content: flex-start;
  /* background-image: url("images/fon-about.png"); */
  background:
  linear-gradient(rgba(0, 0, 0, 0) 5px, transparent 300px),
  linear-gradient(45deg, transparent 74px, transparent 75px, #929292ab 75px, #ffffff 76px, transparent 77px, transparent 109px),
  rgba(106, 106, 106, 0.092);
  background-size: 9px 109px, 200px 100px,100% 6px, 10px 10px, 10px 10px;
}

.contact {
  background-color: #fff;
  display: flex;
  justify-content: flex-start;
  background-image: url("images/fon-contact.png");
}

.about .text{
    
}

.about .text h2{

}

.about .text p{
   
}

.about h3{
  margin-top: .3em;
  font-size: 1.6em;
  color: #fc0;
  filter: drop-shadow(2px 2px 0 #000000d6);
  font-family: 'Oswald';
  margin-bottom: 20px;
  text-align: center;
}

.about h2{
  color: #000;
  display: flex;    
  justify-content: center;
  font-size: 3.4em;
  font-family: "Oswald";
  background-size: 10px 30px;
  text-align: center;
  line-height: .8em;
  margin-bottom: 1em;

}

/* Меню Грид */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4em;
  padding: 1em;
}

.menu-item {
  height: 36rem;
  width: 25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.861);
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
  border-radius: 20px;
  padding: 10px;
  transition: .3s ease-out;
}

.menu-item:hover{
  transform: scale(1.02);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
  background-color: rgb(255, 255, 255);
}



.menu-item h3{
  margin-top: 1em;
  font-size: 1.6em;
  font-family: 'Oswald';
  /* margin-bottom: 20px; */
  text-align: center;
}
.menu-item h3 span{
  background: linear-gradient(45deg, #ffa600 33%, #fc0 66%, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 20px auto;
  /* filter: drop-shadow(1px 0px 0 black); */
  
}

.menu-item img {
  margin-top: 3em;
  border: 2px solid #fc0;
  border-radius: 10px;
  filter: drop-shadow(0 0 2px #ffb300);
  height: 16em;
  width: 17em;
  object-fit: cover;
  margin-bottom: 10px;
}
.menu-item h4{
  font-size: 1.3em;
  margin-top: auto;
  /* border: 2px solid #fc0;
  border-radius: 1em; */
  padding: 0.2em;
  
}

.menu-item h4 span:after { content: ' \20BD'; }
.menu p{
  padding: 25px;
}

@media (max-width: 1068px) {
  .menu-item {
    height: 30em;
    width: 20em;

  }
  .menu-item img {
    margin-top: .1em;
    height: 15em;
    width: 15em;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }

}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .menu-item h3{
    margin-top: .1em;
    font-size: 1.4em;
    line-height: 10px;
  }
  .menu-item {
    height: 30em;
    width: 20em;

  }
  .menu-item img {
    margin-top: 2em;
    height: 15em;
    width: 15em;
  }


  .home h1 {
    font-size: 4em;
    line-height: 1em;
    margin-bottom: 40px;
  }
  .home p {
    font-size: 1.7em;
    line-height: 1.3em;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr ;
  }
  .about-grid .text1{
    grid-column: 1;
  }
  .about-grid .text1{
    grid-column: 1;
  }
  .about-grid .text1{
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .home h1 {
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 40px;
  }
  .home p {
    font-size: 1.7em;
    line-height: 2.2rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .about-grid{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  
  .about-grid .text1{
    grid-column: 1;
  }
  .about-grid .text1{
    grid-column: 1;
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
  }
  .nav li {
    margin-bottom: 10px;
  }
}

.continue{
  font-family: "Oswald";
  font-size: 2em;
  padding-top: 2em; 
  color: #000;
  text-decoration:none;
}
.continue:hover{
  color:#fc0;
}





.about-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(3,1fr);
  padding: 10px;
  gap: 10px; 
}

.about-grid .imgbox1 {
  grid-column: 1;
  grid-row: 1;
  background-color: #767676ab;
  
}
.about-grid .imgbox2 {
  grid-column: 2;
  grid-row: 2;
  background-color: #767676ab;
  
}
.about-grid .imgbox3 {
  grid-column: 1;
  grid-row: 3;
  background-color: #767676ab;
}

.text1{
  grid-column: 2;
  grid-row: 1; 
  padding: 10px; 
}
.text2{
  grid-column: 3;
  grid-row: 2; 
  padding: 10px; 
}
.text3{
  grid-column: 2;
  grid-row: 3; 
  padding: 10px; 
}
.text p{
  font-family: 'Marck Script';
  font-weight: 600;
  font-size: 1.6em;
  padding-bottom: 20px;
}
.text h2{
  font-family: 'Marck Script';
  font-weight: 800;
  font-size: 2em;
  color: #fc0;
  filter: drop-shadow(0 0 4px black);
}

/* Футер */
/* .footer {
  background-color: #333;
  color: #fff;
  padding: 1em;
  text-align: center;
} */

.footer{
  background:#000;
  padding:30px 0px;
  font-family: 'Play', sans-serif;
  text-align:center;
  font-family: "Oswald";
  }
  
  .footer .row{
  width:100%;
  margin:1% 0%;
  padding:0.6% 0%;
  color:gray;
  font-size:0.8em;
  }
  
  .footer .row a{
  text-decoration:none;
  color:gray;
  transition:0.5s;
  }
  
  .footer .row a:hover{
  color:#fc0;
  }
  
  .footer .row ul{
  width:100%;
  }
  
  .footer .row ul li{
  display:inline-block;
  margin:0px 30px;
  }
  
  .footer .row a i{
  font-size:2em;
  margin:0% 1%;
  }
  
  @media (max-width:720px){
  .footer{
  text-align:center;
  padding:5%;
  }
  .footer .row ul li{
  display:block;
  margin:10px 0px;
  text-align:left;
  }
  .footer .row a i{
  margin:0% 3%;
  
  }
  }


.shine-botton-text{
  font-family: "Oswald";
  font-size: 1.6em;
  font-weight: 500;
  box-shadow: 0 0 2px #ffffff63;  
  color: #000;
}

.shine-button {
  background: linear-gradient(
    -45deg,
    rgb(255, 242, 0) 0%,
    #ffb300 100%
  );
  text-decoration: none;
  width: 20rem;
  height: 5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid #000;
  border-radius: 8px;
  transition: .5s ease-in-out;
  margin-top: auto;
}
.shine-button:before {
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .5));
  height: 20rem;
  width: 10rem;
  position: absolute;
  top: -10%;
  left: -24rem;
  transform: skewX(-45deg);
}
.shine-button:hover {
  background: linear-gradient(
    -45deg,
    rgb(255, 242, 0) 0%,
    #ffb300 100%
  );
  color: #ffffff;
  cursor: pointer;
}
.shine-button:hover:before {
  left: 20rem;
  transition: 1.2s ease-in-out;
}