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

html{
    scroll-behavior: smooth;
}

header{
    width: 100%;
    height: 140px;
    position: absolute;
    top: 0%;
}

.inner-header{
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}

.logo{
    height: 100%;
}

.nav{
    display: flex;
}

.nav a{
    margin-left: 40px;
    color: white;
    font-size: 1.4rem;
    transition: color ease .3s;
    font-family: sans-serif;
}

.nav a:hover{
    color: rgb(255, 197, 111);
}


.hero-image{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: auto;
    background-image: url("images/Hero-pic.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


.hero-text{
    width: 70%;
    margin-top: 140px;
    text-align: center;
    font-family: sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: rgb(255, 246, 206);
    animation: textAnimation 1s forwards 0s ease-out;
}

@keyframes textAnimation{
    0%{
        transform: rotate(0) scale(0.8);
        opacity: 0;
        }
    100%{
        transform: rotate(0) scale(1);
        opacity: 1;
        }
}

.hero-image button{
    margin-top: 40px;
    height: 60px;
    width: 140px;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
    border: none;
    border-radius: 40px;
    font-family: sans-serif;
    font-size: 1rem;
    transition: ease .8s;
    cursor: pointer;
}

.hero-image button:hover{
    background-color: rgb(160, 113, 44);
}

.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: auto;
    background-color: rgb(255, 223, 175);
}

.catalogue{
    font-family: sans-serif;
    color: rgb(46, 28, 28);
    text-align: center;
    margin-top: 60px;
}

.razdel{
    font-family: sans-serif;
    color: rgb(46, 28, 28);
    text-align: center;
    margin-top: 40px;
    font-weight: 500;
}

.products{
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    font-family: sans-serif;
    margin: auto;
    width: 100%;
}

.product{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    background-color: rgb(255, 211, 146);
    border: rgb(88, 88, 88) 1px solid;
    width: 400px;
    height: 460px;
    align-self: center;
}


.product img{
    width: 100%;
    height: auto;
}

.product-text{
    color: rgb(65, 35, 35);
    font-size: .8rem;
}

.razdel{
    font-size: 2rem;
}

.backbtn{
    display: flex;
    justify-content: flex-end;
}

.btn{
    color: white;
    border: 1px solid rgb(34, 25, 25);
    text-align: center;
    height: 60px;
    background-color: rgb(53, 30, 30);
    width: 120px;
    margin-bottom: 40px;
    margin-top: 40px;
    margin-right: 40px;
    border-radius: 30px;
    font-size: 1.2rem;
    transition: ease 0.4s;
    box-shadow: rgb(24, 17, 17) 8px 8px 20px;
    cursor: pointer;
}

.btn:hover{
    background: rgb(34, 25, 25);
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(53, 30, 30);
    color: white;
    font-family: sans-serif;
    text-align: center;
    width: 100%;
    height: 120px;
}

@media only screen and (max-width: 1400px) {
    header{
        height: 120px;
    }

    .hero-text{
        font-size: 2rem;
        width: 80%;
    }

    .nav a{
        font-size: 1.5rem;
        margin-left: 24px;
    }

    .razdel{
        font-size: 1.8rem;
    }
  }

@media only screen and (max-width: 1000px) {
    header{
        height: 120px;
    }

    .hero-text{
        font-size: 2rem;
        width: 80%;
    }

    .nav a{
        font-size: 1rem;
        margin-left: 20px;
    }

    .razdel{
        font-size: 1.8rem;
    }
  }

@media only screen and (max-width: 800px) {
    header{
        height: 100px;
    }

    .hero-text{
        font-size: 1.5rem;
        width: 80%;
    }

    .nav a{
        font-size: 1rem;
        margin-left: 16px;
    }

    .razdel{
        font-size: 1.8rem;
    }
  }

@media only screen and (max-width: 600px) {
    header{
        height: 100px;
    }

    .hero-text{
        font-size: 1.2rem;
        width: 80%;
    }

    .nav a{
        font-size: .8rem;
        margin-left: 10px;
    }

    .razdel{
        font-size: 1.5rem;
    }
  }