/* Базовые стили */
@font-face {
    font-family: "Montserrat";
    src: url(/fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;

}

.section {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 4rem;
}

h1 span {
    font-size: 7rem;
}

h2 {
    font-size: 3.2rem;
    margin-bottom: 2.4rem;
    text-align: center;
}

h3 {
    font-size: 3rem;
}

ul,
ol {
    padding-left: 2rem;
}

p,
a,
b,
li {
    font-size: 2rem
}

a {
    color: #ff5e00;
}

.content-flex {
    display: flex;
    align-items: center;
}

.img-content {
    max-width: 50%;
    padding: 1.5rem;
}

.img-content img {
    width: 100%;
    border-radius: 2rem;
}

.text-content {
    max-width: 50%;
}

.darker {
    background: #f1f1f1;
}

/* Базовые стили */
header {
    background-color: #1b1b1b;
    color: #fff;
    padding: .5rem 0;
}

header#header {
    padding: .5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff5e00;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    opacity: 0;
    transition: all .3s;
}

.header.hide {
    opacity: 1;
}

/* hero begin*/
#hero {
    color: #fff;
    text-align: center;
    clip-path: border-box;
    height: 100vh;
    position: relative;
}

#hero::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 0, 0.82);
    z-index: 10;
}

#hero video {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

#hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

#hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta_btn_area {
    position: absolute;
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5rem;
}

.cta-button {
    display: inline-block;
    background-color: #ff5e00;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 1.5rem;
    transition: all 0.3s;
    font-size: 2.2rem;

}

.cta-button:hover {
    background-color: #ffffff;
    color: #ff5e00;
    box-shadow: 3px 7px 5px;
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 3px 1px 5px;
}

.title_area {
    position: relative;
    z-index: 20;
    margin-top: 25rem;

}

.tag_area {
    margin-bottom: 1.5rem;
}

/* hero end*/

/* About */

#benefits img {
    max-width: 30%;
}

#benefits p {
    text-align: center;
}

ul li {
    font-size: 18px;
    margin: 10px 0;
}

#reviews blockquote {
    font-style: italic;
    font-size: 18px;
    margin: 20px auto;
    max-width: 600px;
    color: #555;
}

details {
    margin: 10px 0;
    cursor: pointer;
}

summary {
    font-weight: bold;
    font-size: 2.2rem;
}

label {
    display: block;
    margin-bottom: 5px;
}

/* review block*/
.review_block {
    background: #d5d5d5;
    padding: 1rem;

    border-radius: 1.5rem;
}

.name_area span {
    font-size: 2.4rem;
    font-weight: bold;
}

.rating_area span {
    font-size: 2rem;
    color: #ff5e00;
}

.fa-star:before {
    font-size: 2rem;
    color: #ff5e00;
}

.fa-heart:before {
    color: red;
    font-size: 2rem;
}

.date_area span {
    font-size: 1.5rem;
    font-weight: bold;
}

/*slide*/
.slick-slide {
    margin: 0 1rem;
}

.slick-prev:before,
.slick-next:before {
    color: #ff5e00;
    font-size: 2rem;
}

/*testimonials*/
.reviews_container {
    display: flex;
}


/* collection */
.collection_block {
    padding: 0 2rem;
    background: #e1e1e1;
    border-radius: 1.5rem;
}

.collection_block .img_area img {
    max-width: 50%;
    margin: 0 auto;
}

.collection_block .name_area {
    text-align: center;
    min-height: 5.2rem;
}

h4 {
    font-size: 1.6rem
}

.more_area {

    text-align: center;
}

.more_area span {
    font-size: 1.4rem;
}

.price_area span {
    color: #028900;
    font-size: 2rem;
    font-weight: bold;
}

.tag_area {
    min-height: 15.6rem;
}

.tag_area span {
    display: inline-block;
    background: #028900;
    padding: .5rem 1rem;
    border-radius: 1.5rem;
    margin: .5rem 0;
    font-size: 1.2rem;
    color: #fff;

}

.btn_area {
    margin-bottom: 2rem;
    text-align: center;
}

#portfolio h3 {
    margin-bottom: 2rem;
}

/* pricing */
#pricing p {
    text-align: center;
}

/*  */
#contacts h3 {
    margin: 2rem 0;
}

/*footer*/

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
}

/*  */
.burger-checkbox {
    position: absolute;
    visibility: hidden;
}

.burger {
    position: relative;
    z-index: 1;
    cursor: pointer;
    display: block;
    position: relative;
    border: none;
    width: 20px;
    height: 20px;
    left: 0;
    border-radius: 50px;
    padding: 13px;
}

.burger::before,
.burger::after {
    content: '';
    left: 0;
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: #ffffff;
}

.burger::before {
    top: 0;
    box-shadow: 0 11px 0 #ffffff;
    transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}

.burger::after {
    bottom: 0;
    transition: bottom .3s .15s, transform .3s;
}

.burger-checkbox:checked+.burger::before {
    top: 11px;
    transform: rotate(45deg);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0);
    transition: box-shadow .15s, top .3s, transform .3s .15s;
}

.burger-checkbox:checked+.burger::after {
    bottom: 11px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .15s;
}

.menu-list {
    top: 0;
    left: 0;
    position: absolute;
    display: grid;
    gap: 12px;
    padding: 42px 0;
    margin: 0;
    background: #ff5e00;
    list-style-type: none;
    transform: translateX(-100%);
    transition: .3s;
    width: 200px;
}

.menu-item {
    display: block;
    padding: 8px;
    color: white;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, .2)
}

.burger-checkbox:checked~.menu-list {
    transform: translateX(0);
}

.menu {
    background: #00000078;
    padding: 20px;
    width: 64px;
    border-radius: 50px;
    height: 64px;
}

#burger {
    display: none;
}
/*  */
.slick-dots li button:before {
    color:#ff5e00;
}

.review_link {
    display:inline-block;
    color:unset;
    text-decoration: none;
}
.footer_ul {
    list-style: none;
}
.footer_ul b{
    font-size: 1.3rem;
}
.footer_ul .fab {
    font-size: 2.2rem;
}
.footer_ul a {
    text-decoration: none;
}
h2 a {
    font-size:3.2rem;
    text-decoration: none;
}
.o_link:hover{
    
    transition: all .2s;
    border-radius: 10px;
    box-shadow: 3px 1px 5px;
    padding: 5px;
}
/* adaptive */
@media screen and (max-width:1260px) {
    .container {
        max-width: 740px;
        margin: 0 auto;
    }

    nav ul li a {
        font-size: 1.4rem;
    }

    .title_area {
        margin-top: 15rem;
    }
    .cta-button {
        font-size: 1.4rem;
    }
    #benefits img {
        max-width:58%;
    }
    #services .content-flex {
        display:grid;
    }
    #services .text-content,.img-content {
        max-width: 100%;
    }
    #services .img-content {
        order:2;
    }
    #reviews p{
        font-size: 1.6rem;
    }
    .tag_area span {
        padding:.1rem .1rem;
    }
}

@media screen and (max-width:799px) {
    * {
        font-size: 7px;
    }

    .container {
        max-width: 400px;
        margin: 0 auto;
    }

    #descMenu {
        display: none;
    }

    header {
        background: transparent;
    }

    #burger {

        display: block;
    }

    .title_area {
        margin-top: 5rem;
    }
    .cta-button {
        font-size: 2rem;
    }
    .content-flex {
        display:grid;
    }
    .text-content,.img-content {
        max-width: 100%;
    }
    #about .img-content {
        order:1;
    }
    #about .text-content {
        order:2;
    } 
    .tag_area span {
        padding: .5rem 1rem;
    }
    .more_area {
        min-height:9rem;
    }
}

@media screen and (max-width:500px) {
    * {
        font-size: 5px;
    }

    .container {
        max-width: 300px;
        margin: 0 auto;
    }

    #burger {
        margin-left: 0;
    }
}

/*  */