* {
    box-sizing: border-box;
}

:root {
    --color-gold: #bdae82;
    --color-black: #000;
    --font1: 60px;
    --font2: 40px;
}

html {
    scroll-behavior: smooth;
    /*Чтобы прокрутка происходила плавно*/
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    max-width: 1440px;
    /*ограничивает ширину контента на больших экранах*/
    margin: 0 auto;
    /*центрирует контейнер по горизонтали*/
    padding: 0;
    /*добавляет внутренние отступы по бокам, необходимые для того, чтобы контент не прилипал к краям при уменьшении ширины экрана.*/
}

a {
    color: #ffffff;
    text-decoration: none;
}

.header {
    width: 100%;
    background: transparent;
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    height: 90px;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 90px;
    font-size: 20px;
    line-height: 50px;
}

.header-container a:hover {
    color: #bdae82;
    transform: scale(1.2);
}

.logo {
    margin-top: 20px;
    margin-right: auto;
}

.logo:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

.nav-list {
    display: flex;
    list-style: none;
    line-height: 50px;
    transition: all .5s;
    cursor: pointer;
}

.nav-item {
    padding: 0 15px;
}

.switch-lng {
    margin-left: 15px;
    line-height: 50px;
}

.switch-lng-span {
    margin: 0 4px;
}

.switch-lng-btn.active {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

.theme {
    margin: 22px;
    padding-top: 15px;
    background-image: url(./assets/svg/dark.svg);
    background-repeat: no-repeat;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

.theme:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

.thema:active {
    /* background-image: url(./assets/svg/light.svg); */
    background-color: white;
    color: black
}

.container-menu {
    display: none;
}

.hero {
    width: 100%;
    background-image: url('./assets/img/header-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    height: 910px;
    margin-top: -90px;
}

.hero-container {
    width: 500px;
    height: 330px;
    margin: 0 860px 330px 80px;
    padding-top: 250px;
    background-color: transparent;
}

.hero-title {
    font-family: Merriweather;
    font-style: normal;
    font-weight: bold;
    font-size: 60px;
    line-height: 120px;
    margin: 0;
    /* margin-bottom: 10px; */
}

.hero-text {
    font-family: Inter;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 40px;
    width: 470px;
    height: 120px;
    margin-bottom: 35px;
    padding-top: 10px;
}

.hero-btn {
    display: inline-block;
    width: 220px;
    height: 55px;
    background: #BDAE82;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 40px;
    transition: all .5s;
    border: none;
}

.hero-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.main {
    width: 100%;
}

.skills {
    min-height: 395px;
}

.title {
    width: 50%;
    height: 65px;
    background-image: linear-gradient(to top, #000 39px, #bdae82 39px, #bdae82 41px, #000 41px);
    margin: 115px auto 40px;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

.section-title {
    color: var(--color-gold);
    font: 700 40px Merriweather, serif;
    padding: 0 20px;
    width: fit-content;
    background-color: black;
    margin: 0;
}

.skills-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skills-item {
    width: 320px;
    height: 240px;
    padding: 20px;
    text-align: center;
}

h4 {
    margin: 35px 0 25px;
    font-size: 20px;
    line-height: 40px;
    font-weight: bold;
    text-align: center;
}

p {
    font-size: 18px;
    line-height: 36px;
}

.skills-img {
    margin-bottom: 10px;
}

.portfolio {
    width: 100%;
    min-height: 1400px;
    margin-top: -25px;
}

.seasons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
}

.seasons-item {
    width: 220px;
    height: 55px;
    font-size: 20px;
    line-height: 40px;
    border: solid 1px #BDAE82;
    margin: 0 2.5px;
    background-color: black;
    color: #BDAE82;
    transition: all .5s;
    cursor: pointer;
}

.seasons-item:hover {
    color: #ffffff;
    background-color: #BDAE82
}

.seasons-item.active {
    color: #000;
    background-color: #bdae82;
}

#seasons-imgs {
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row-reverse;
    justify-content: space-around;
    margin-top: -15px;
}

.portfolio-image {
    margin: 12px;
    height: 560px;
    width: 450px;
}

.video {
    width: 100%;
    margin-top: -20px;
}

.video-player {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.video-source {
    width: 100%;
}

.play-hover {
    position: absolute;
    cursor: pointer;
    background: url(./assets/img/Play_hover.png);
    background-size: contain;
    background-repeat: no-repeat;
    border: 0;
    transition: 0.3s;
    height: 130px;
    width: 130px;
    transition: all .5s;
}

.play-hover:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

.price {
    width: 100%;
    margin: -22px 0 90px;
}

.price-items {
    display: flex;
    justify-content: space-evenly;
    padding: 15px 0 0;
    flex-wrap: wrap;
}

.price-item {
    max-width: 450px;
    height: 505px;
    border: solid 3px #BDAE82;
    margin: 5px;
}

.price-name {
    font-family: Merriweather;
    font-size: 28px;
    line-height: 56px;
    text-align: center;
    margin: 43px auto 20px;
    font-weight: bold;
}

.price-number {
    font-family: Merriweather;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    color: #BDAE82;
    margin-bottom: 20px;
}

.price-description {
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    margin: 0;
}

.price-btn {
    font-size: 20px;
    margin: 40px 115px 43px;
    background-color: #BDAE82;
    width: 220px;
    height: 55px;
    border: none;
    transition: all .5s;
}

.price-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.contacts {
    background-image: url(./assets/img/contacts.jpg);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 700px;
    color: #BDAE82;
    display: flex;
    justify-content: flex-end;
}

.contacts-form {
    display: flex;
    flex-wrap: wrap;
    margin: 60px 20px 0 0;
    width: 450px;
    height: 445px;
    padding-top: 50px;
}

.contact-title {
    font-family: Merriweather;
    font-size: 40px;
    line-height: 80px;
    margin-bottom: 40px;
}

.contacts-email,
.contacts-phone {
    width: 450px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border: solid 2px #BDAE82;
    font-size: 20px;
    line-height: 40px;
    padding-left: 15px;
    margin-bottom: 20px;
}

.contacts-msg {
    font-family: Inter;
    width: 450px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    border: solid 2px #BDAE82;
    font-size: 20px;
    line-height: 40px;
    color: #BDAE82;
    margin-bottom: 30px;
    padding-left: 15px;
}

textarea::placeholder,
input::placeholder {
    font-family: inherit;
    color: #bdae82;
    font-size: 20px;
    padding-left: 10px;
}

.contacts-btn {
    width: 220px;
    height: 55px;
    font-family: Inter;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    color: #000000;
    background-color: #BDAE82;
    border: none;
    cursor: pointer;
    transition: all .5s;
}

.contacts-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #bdae82;
    transition: background-color 0s ease-in-out 9000s;
}

.footer {
    width: 100%;
    height: 150px;
    font-size: 20px;
    line-height: 50px;
}

.footer-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    transition: all .5s;
}

.git-link {
    margin: 0 15px;
}

.social-media-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

.social-media-links a {
    padding: 0 15px;
}

.footer-items a:hover {
    filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

button:hover,
button:focus {
    box-shadow: 0 0 0 5px #bdae82;
    animation: pulse 1s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #bdae82;
    }
}

@media (max-width: 768px) {
     :root {
        --font1: 40px;
        --font2: 32px;
    }
    body {
        overflow-x: hidden;
    }
    .nav-list {
        display: none;
    }
    .logo {
        margin-left: 40px;
    }
    .switch-lng {
        margin-right: 115px;
    }
    .switch-lng-span {
        margin: 0 10px;
    }
    .theme {
        margin: 22px 107px 22px -66px;
    }
    .container-menu {
        display: block;
        justify-content: flex-end;
        flex-direction: column;
        position: absolute;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        margin-right: 55px;
    }
    .container-menu input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0;
        /* hide this */
        z-index: 2;
        /* and place it over the hamburger */
        -webkit-touch-callout: none;
    }
    .container-menu span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: white;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;
        background-color: #bdae82 !important;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
    }
    .container-menu span:first-child {
        transform-origin: 0% 0%;
    }
    .container-menu span:nth-last-child(2) {
        transform-origin: 0% 100%;
    }
    .container-menu input:checked~span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: white;
    }
    .container-menu input:checked~span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }
    .container-menu input:checked~span:nth-last-child(2) {
        opacity: 1;
        transform: rotate(-45deg) translate(0, -1px);
    }
    .menu-list {
        position: absolute;
        width: 620px;
        height: 1024px;
        margin: -100px 0 0 0;
        padding: 127px;
        padding-top: 125px;
        right: -100px;
        background: black;
        font-size: 32px;
        line-height: 64px;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translate(100%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    }
    .menu-list li {
        padding: 10px 0;
    }
    .menu-list li:hover {
        transform: scale(1.2);
        margin-left: 30px;
    }
    .container-menu input:checked~ul {
        transform: scale(1.0, 1.0);
        opacity: 1;
    }
    .hero {
        background-image: url('./assets/img/header-tablet-bg.jpg');
        background-position: center;
        width: 768px;
        height: 590px;
    }
    .hero-container {
        margin-left: 60px;
    }
    .hero-title {
        font-family: Merriweather;
        font-size: 32px;
        line-height: 64px;
        margin-top: -85px;
    }
    .hero-text {
        font-size: 20px;
        line-height: 24px;
        width: 390px;
        height: 72px;
        margin: 15px 0 50px 0;
    }
    .hero-btn {
        margin-top: 20px;
    }
    .title {
        font-family: Merriweather;
        font-style: normal;
        font-weight: bold;
        font-size: 32px;
        line-height: 40px;
        margin: 97px auto 20px;
    }
    .skills-items {
        justify-content: space-evenly;
    }
    .skills-item {
        margin-bottom: 23px;
    }
    .title.portfolio {
        margin-top: 40px;
    }
    h4 {
        margin: 20px 0 22px;
    }
    p {
        font-size: 18px;
        line-height: 22px;
    }
    .seasons {
        flex-wrap: wrap;
        width: 80%;
        margin: 86px 0 51px 78px;
    }
    .seasons-item {
        margin: 5px;
    }
    .portfolio-image {
        max-width: 450px;
        width: 100%;
        height: auto;
    }
    */ .video-player {
        padding: 0;
        margin-top: 70px;
    }
    .video-source {
        background-image: url(./assets/video/video-player\ tablet.jpg);
    }
    .play-hover {
        width: 65px;
        height: 65px;
    }
    .price {
        margin: 109px 0 56px;
    }
    .price-items {
        padding: 0;
    }
    .price-item {
        border: solid 2px #BDAE82;
        margin: 26px 0;
    }
    .price-btn {
        margin: 44px 97px 37px;
    }
    .contacts {
        background-image: url(./assets/img/contacts-tablet.jpg);
        background-position: center 0;
        height: 600px;
        display: flex;
        justify-content: center;
    }
    .contacts-form {
        margin: 45px 0 0 0;
        padding: 0;
    }
    .contact-title {
        font-family: Merriweather;
        font-weight: bold;
        font-size: 32px;
        line-height: 64px;
        padding: 13px 0 0 133px;
    }
    .contacts-btn {
        /* display: block; */
        margin: 0 auto;
    }
    .footer-items {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-size: 20px;
        line-height: 24px;
        padding-top: 25px;
    }
    .contacts-email,
    .contacts-phone,
    .contacts-msg {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .seasons {
        margin: 0 auto 20px;
    }
    .menu-list {
        font-size: 30px;
        line-height: 40px;
        width: 100%;
        padding: 125px 240px 28px;
    }
}

@media (max-width: 320px) {
    .logo {
        margin-left: 20px;
    }
    .switch-lng {
        margin-right: 100px;
    }
    .switch-lng-span {
        margin: 0 5px;
    }
    .section-title {
        font-size: 30px;
    }
    .contact-title {
        padding-left: 50px;
    }
    .menu-list {
        font-size: 20px;
    }
}