@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: "Roboto" , sans-serif ;
    box-sizing: border-box;
}
.head{
    display: flex;
    justify-content: space-between;
    background: #000;
    padding: 10px 20px;
}
.head__menu{
    display: flex;
    align-items: center;
}
.head__logo-img{
    width: 100px;
    height: 100px; 
}
.head__list{
    display: flex;
    list-style: none;
    gap: 2rem;
    text-transform: uppercase;
    font-size: 2rem;
}
.head__link{
    color: bisque;
    text-decoration: none;
}
.head__link:hover{
    text-decoration: underline;
}

.hero__section,
.about__section{
    display: grid;
    justify-content: center;
    gap: 3rem 1rem;
    place-items: center;
    margin-top: 1rem;
    padding: 2rem;
}
.hero__button,
.form__button{
    background: #86642f;
    padding: 0.6rem 2rem;
    border-radius: 0.7rem;
    cursor: pointer;
    color: aliceblue;
    display: inline-block;
    text-align: center;
}
.hero__subtitle{
    padding: 0 10rem;
}
.hero__button:hover,
.form__button:hover{
    transform: scale(1.05);
    transition: transform 0.2s ease;
}
.about__section{
    background: rgb(238, 238, 236);
    row-gap: 2rem; 
}

.about__text{
    padding: 0 5rem;
}
.footer{
    background: #000;
    color: aliceblue;
    display: flex;
    justify-content: center;
    padding: 2rem;
}
.about__description{
    padding-top: 2rem;
}
.cat__section{
    background: rgb(238, 238, 236);
}
.cat__menu{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    padding: 4rem 7rem;
    gap: 1rem;
   
}
.cat__item{
    box-shadow: 10px 5px 20px rgba(0, 0, 0, 0.5);
    border-radius: 5rem;
    overflow: hidden;
    width: 300px;
    height: 300px;
    
}
.cat__img{
    width: 300px;
    height: 300px;
    border-radius: 5rem;
    object-fit: cover; 
}
.cat__item:hover .cat__img {
    transform: scale(1.05);
    box-shadow: 0 20px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.feedback__form{
    display: grid;
    justify-items: center;
    padding: 5rem;
    box-sizing: border-box;
    background-image: url(img/1639416738_1-abrakadabra-fun-p-oboi-dlya-pk-memi-1.png);
    background-size: cover;
    filter: brightness(80%);
    
    
}
.feedback__form input{
    width: 40%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.7;
}
.feedback__form textarea{
    width: 40%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.7;
    resize: none;
}



@media (max-width: 1123px){
    .cat__menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    }
}
@media (max-width: 855px){
    .cat__menu {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 2rem;
    }
}

@media (max-width: 768px) {
  .head {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

 .head__list {
    flex-direction: column;
    gap: 1rem;
    font-size: 1.5rem;
    align-items: center;
  }

  .head__logo-img {
    width: 80px;
    height: 80px;
  }
  .hero__title {
    font-size: 1.5rem;
    text-align: center;
  }

  .hero__subtitle {
    font-size: 1rem;
    text-align: center;
    padding: 0 1rem;
  }

  .hero__button {
    font-size: 1rem;
  }
.about__section {
    font-size: 1rem;
    padding: 1rem 3rem;
    text-align: center;
}
.footer{
    padding: 1rem;
}
}
@media(max-width: 500px){
    .cat__menu {
    display: grid;
    gap: 2rem;
    padding: 1rem;
    }
    .cat__item{
    width: 200px;
    height: 200px;
    }
    
}
