body {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    /* font-family: 'Fira Sans', sans-serif; */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


*,
*:before,
*:after {
    box-sizing: border-box;
}


h1,h2,h3,h4,h5,h6 {
    margin: 0;
}

h5 {
    text-align: justify;
}

h1 {
    /* font-family: 'Nunito', sans-serif; */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


/* intro */
.intro {
    display: flex;
    flex-direction:column;
    justify-content: space-evenly;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg,rgb(102, 151, 110), rgb(255, 255, 255));
    -webkit-backdrop-size: cover;
    background-size: cover;
}

.intro_inner {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;

    text-align:center;
}


.intro_titel {
    color:rgb(126, 126, 126);
    background-color: white;
    border-radius: 30px;
    height: 150px;
    font-size: 80px;
    font-weight: 700;
    text-shadow: none;
}


.intro_titel:after {
    content: "";
    display: block;
    width: 500px;
    height: 8px;
    margin: 5px auto 60px;

    background-color: rgb(126, 126, 126);
}


/* Header */
.header {
    width: 100%;
    padding-top: 30px;
    position: absolute;
    top: 0;
    left: 0px;
    right: 0px;
    z-index: 10000;
    max-width: 100%;
}

.header_logo {
    font-weight: 700;
    left: 5px;
}

.header_img {
    max-width: 100%;
    left: 5%;
}

.header_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* nav */
.nav {
    font-size: 26px;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.nav_link {
    display: inline-block;
    vertical-align: top;
    margin: 0 15px;
    position: relative;

    color: rgb(255, 255, 255);
    text-decoration: none;
    
    transition: color .1 linear;
}

.nav_link:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;

    background-color: rgb(0, 170, 0);
    opacity: 0;

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;

    transition: opacity .1s linear;
}

.nav_link:hover {
    color: rgb(0, 170, 0);
}

.nav_link:hover:after {
   opacity: 1;
}

/* ==================== DROPDOWN ==================== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-link {
  position: relative;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 30px;
  overflow: hidden;
  margin: 0;
  padding: 0 0 5px 0;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: rgb(0, 170, 0);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/*section*/
.section {
    padding: 80pz 0;

}


.section_header {
    width: 100%;
    max-width: 950px;
    margin: 0 auto 40px;

    text-align: center;
}


.section_suptitle {
    /* font-family: 'Prata', serif; */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 44px;
    margin: 20px auto;

    color: #333;
}


.section_title {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 30px auto;
    /* font-family: 'Prata', serif; */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    color: #333;
}

.section_title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 30px auto;

    background-color: #333;
}

.section_text {
    color: #333;
    font-size: 20px;
    /* font-family: 'Georgia', sans-serif; */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/*tv*/

.tv {
    display: flex;
    justify-content: space-evenly;
    margin-top: 80px;

}

.tv_item {
    width: 380px;
    position: relative;
}

.tv_img img {
    display: block;
    max-width: 100%;
}

.tv_text {
    width:100%;
    color: #333;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.tv_name {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 30px auto;
    /* font-family: 'Prata', serif; */
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    

    color: #333;
}

.tv_name::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 30px auto;

    background-color: #333;
}

/* price button */

.price{
    font-size: 29px;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 3%;
}

.pr_but{
    display: inline-block;
    vertical-align: top;
    margin: 0 15px;
    position: relative;

    color: rgb(0, 170, 0);
    text-decoration: none;
    
    transition: color .1 linear;
    border-radius: 30px;
    border: #333;
    /* border-style: outset; */
    padding: 10px;
    box-shadow: 0px 0px 8px black;

}
.pr_but:hover {
    color: rgb(4, 104, 4);
}

.pr_but:hover:after {
   opacity: 1;
}
/*footer*/

.footer {
    padding-top: 65px;

    background-color: rgb(51, 51, 51);
}

.footer_inner{
    padding-bottom: 65px;
    padding-left: 10px;
}

.footer_logo {
    margin-bottom: 30px;

    font-size: 46px;
    font-weight: 700;
    color: rgb(128, 128, 128);
}


.footer_social-header {
    padding-bottom: 15px;

    font-size: 20px;
    color: rgb(128, 128, 128);
    
}
.footer_social-network {
    padding-top: 3px;
    padding-bottom: 10px;

    font-size: 15px;
    color: rgb(128, 128, 128);
}

.footer_social-network a {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;

    color: rgb(128, 128, 128);
    font-size: 230%;
}


.signicher {
    padding-top: 3px;
    padding-bottom: 10px;

    font-size: 15px;
    color: rgb(128, 128, 128);
    font-weight: 300;
}


.signicher a {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;

    color: rgb(128, 128, 128);
    font-size: 18px;
}

/* mobile */
.burger_icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 28px;
    cursor: pointer;
}

.burger_icon span {
    background-color: #333;
    height: 4px;
    width: 100%;
    transition: all 0.3s ease;
}

.nav_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav_list li {
    margin: 0 15px;
}

/*MOBILE*/
@media only screen and (max-width: 500px) {

    .pr_but {
        text-align: center;
        font-size: 25px;
    }

    .app {
        flex-direction: column;
        align-items: center;
    }

    .app_item {
        width: 90%;
    }

    /* nav mobile*/
    .nav {
        font-size: 25px;
        display: none;
    }

    /*section mobile*/
    .section_suptitle {
        font-size: 35px;
    }

    .section_title {
        font-size: 38px;
    }

    .custom-btn {
        width: 100%;
    }

    .header_img {
        max-width: 90%;
        margin: 10% 5%;
    }

    .burger_icon {
        display: flex;
    }

    .nav.active .nav_link {
        animation: slideDown 0.3s ease forwards;
    }

    /* Задержка для каждой ссылки */
    .nav.active .nav_link:nth-child(1) { animation-delay: 0s; }
    .nav.active .nav_link:nth-child(2) { animation-delay: 0.1s; }
    .nav.active .nav_link:nth-child(3) { animation-delay: 0.2s; }
    .nav.active .nav_link:nth-child(4) { animation-delay: 0.3s; }
    .nav.active .nav_link:nth-child(5) { animation-delay: 0.4s; }
    .nav.active .nav_link:nth-child(6) { animation-delay: 0.5s; }
    .nav.active .nav_link:nth-child(7) { animation-delay: 0.6s; }
    .nav.active .nav_link:nth-child(8) { animation-delay: 0.7s; }
    .nav.active .nav_link:nth-child(9) { animation-delay: 0.8s; }
    .nav.active .nav_link:nth-child(10) { animation-delay: 0.9s; }

    /* Ключевые кадры для анимации */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header_inner {
        flex-direction: column;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav_link {
        color: #333;
        opacity: 0;
    }

    .burger_icon.active span:nth-child(1) {transform: rotate(45deg) translate(7px, 7px);}
    .burger_icon.active span:nth-child(2) {opacity: 0;}
    .burger_icon.active span:nth-child(3) {transform: rotate(-45deg) translate(9px, -9px);}

    .intro {
        height: 30ch;
        transition: height 0.9s ease;
    }

    .intro.active {
        height: 85vh;
    }

    .nav.active .nav_link {
        animation: slideDown 0.3s ease forwards;
    }

    /* Задержка для каждой ссылки */
    .nav.active .nav_link:nth-child(1) { animation-delay: 0s; }
    .nav.active .nav_link:nth-child(2) { animation-delay: 0.1s; }
    .nav.active .nav_link:nth-child(3) { animation-delay: 0.2s; }
    .nav.active .nav_link:nth-child(4) { animation-delay: 0.3s; }
    .nav.active .nav_link:nth-child(5) { animation-delay: 0.4s; }
    .nav.active .nav_link:nth-child(6) { animation-delay: 0.5s; }
    .nav.active .nav_link:nth-child(7) { animation-delay: 0.6s; }
    .nav.active .nav_link:nth-child(8) { animation-delay: 0.7s; }
    .nav.active .nav_link:nth-child(9) { animation-delay: 0.8s; }
    .nav.active .nav_link:nth-child(10) { animation-delay: 0.9s; }

    /* Ключевые кадры для анимации */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header_inner {
        flex-direction: column;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        opacity: 1;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        width: 90vw;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin: 10px 0 0 0;
        opacity: 1;
    }

    .dropdown-menu a {
        white-space: unset;
    }
}