html {
    box-sizing: border-box;
    background-color: #000000;
    scroll-behavior: smooth;
    transition: .3s;
}

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

::-webkit-scrollbar {
    width: 0;
}

body {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
}

main.light-theme {
    background-color: #fff;
    color: #BDAE82;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

/*Header style start */
header {
    display: flex;
    flex-wrap: nowrap;
    position: absolute;
    padding: 20px;
    top: 0;
    left: 0;
    width: 100%;
}

.header_active {
    position: fixed;
    background-color: #000000;
    transition: .2s linear;
    z-index: 999;
}

.header_burger {
    width: 50px;
    height: 28px;
    position: relative;
    display: none;
}

.burger_line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    position: absolute;
    left: 0;
}

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

.burger_line_first {
    top: 10px;
}

.burger_line_third {
    bottom: -10px;
}

.burger_line_second {
    top: 88%;
    transform: translateY(-50%);
}

.logo {
    width: 50px;
    height: 50px;
    background-image: url('images/icon/logo_header.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.3s linear;
}

.logo_header {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
}

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

.header_nav {
    margin-left: auto;
}

.header_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.header_item {
    margin-right: 23px;
    list-style-type: none;
}

.header_item:last-child {
    margin-right: 31px;
}

.header_link {
    font-family: 'Inter';
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 50px;
    /* identical to box height, or 250% */
    color: #FFFFFF;
    text-decoration: none;
    margin: 3px;

}


.switch-lg {
    display: flex;
    flex-wrap: nowrap;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: 0em;
    text-align: center;
    color: #BDAE82;

}

.russian {
    width: 22px;
    height: 50px;
    font-family: Inter;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 50px;
    /* identical to box height, or 250% */
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 7px
}

.russian:hover {
    color: #BDAE82;
}
.russian_active {
    color: #bdae82;
}

.english:hover {
    color: #FFFFFF;
}

.english {
    width: 22px;
    height: 50px;
    color: #BDAE82;
    text-decoration: none;
    margin-right: 10px;
}

.slash {
    width: 8px;
    height: 50px;
    margin: 0;
    margin-right: 5px;
}

.lg input[type=radio] {
    display: none;
}


.lg label {
    cursor: pointer;
    line-height: 50px;
    font-weight: bold;
    user-select: none;
}

.header_link:hover,
.header_link:focus,
.header_link:active {
    opacity: .65;
}

h1 {
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: bold;
    font-size: 60px;
    line-height: 120px;
    /* identical to box height, or 200% */
    color: #FFFFFF;
    margin: 0;
}

.hero {
    height: 910px;
    background: url('images/bg.jpg') no-repeat center;
    background-size: cover;
    padding-top: 250px;
    padding-left: 80px;
    margin: 0px;
}

.hero_wrapp {
    width: 500px;
    height: 330px;
}

.hero-title {
    font-family: Merriweather;
    font-style: normal;
    font-weight: bold;
    font-size: 60px;
    line-height: 120px;
    /* identical to box height, or 200% */
    color: #FFFFFF;
    margin: 0;
}

.hero-text {
    position: relative;
    bottom: 31px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 40px;
    /* or 200% */
    color: #FFFFFF;
    height: 120px;
    width: 470px;
    padding-top: 20px;
    margin-bottom: 40px;
}

.button-hero {
    position: relative;
    bottom: 26px;
    width: 220px;
    height: 55px;
    background-color: #BDAE82;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: center;
    cursor: pointer;
    border: 0;
}

.button-hero:hover {
    color: white;
}

.button-hero:before,
.button-hero:after {
    position: absolute;
    content: '';
    display: block;
    width: 140%;
    height: 100%;
    left: -20%;
    z-index: -1000;
    transition: all ease-in-out 0.5s;
    background-repeat: no-repeat;
}

.button-hero:before {
    display: none;
    top: -75%;
    background-image: radial-gradient(circle, rgb(228, 212, 68) 20%, transparent 20%), radial-gradient(circle, transparent 20%, #fff 20%, transparent 30%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, transparent 10%, #fff 15%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}

.button-hero:after {
    display: none;
    bottom: -75%;
    background-image: radial-gradient(circle, rgb(228, 212, 68) 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, transparent 10%, #fff 15%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%), radial-gradient(circle, #fff 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}

.button-hero:active {
    transform: scale(0.9);
    background-color: rgb(228, 212, 68);
    box-shadow: 0 2px 25px rgba(255, 0, 130, 0.2);
}

.button-hero.animate:before {
    display: block;
    animation: topBubbles ease-in-out 0.75s forwards;
}

.button-hero.animate:after {
    display: block;
    animation: bottomBubbles ease-in-out 0.75s forwards;
}

@keyframes topBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes bottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

/* Header style end */

/* Skills style start */
.skills-wrap {
    margin-top: 100px;
    max-width: 1440px;
    height: 482px;
    color: #FFFFFF;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

.theme {
    width: 45px;
    height: 45px;
}

.theme_body {
    width: 45px;
    height: 45px;
    margin-left: 10px;
}

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


.skills-items_title {
    width: 700px;
    height: 80px;
    margin-left: 349px;
    margin-top: 100px;
}

.skills-items {
    height: 242px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 34px;
}

.skill-item {
    grid-column: span 1;
    width: 320px;
    height: 240px;
    padding-top: 60px;
    margin-left: 10px;

}

.skills-wrap.light-theme {
    color: #000000;
}


.skills-icon {
    margin-left: 120px;
    width: 62px;
    height: 50px;
}

.skill-item_title {
    width: 280px;
    height: 40px;
    position: absolute;
    font-size: 1.3rem;
    text-align: center;
    margin-top: 55px;
}

.skill-disc {
    font-family: 'Inter';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0em;
    text-align: center;
    width: 280px;
    height: 72px;
    margin-top: 110px
}

/* Skills style end */

/* Portfolio style start */
.portfolio-title {
    width: 700px;
    height: 80px;
    margin-left: 368px;
}

.portfolio-btns {
    max-width: 895px;
    max-height: 55px;
    text-align: center;
    display: flex;
    flex-wrap: nowrap;
    padding-top: 61px;
    margin-left: 272px;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: center;
}

.button-portfolio {
    width: 220px;
    height: 55px;
    color: #BDAE82;
    background-color: transparent;
    border: 2px solid #BDAE82;
    margin-right: 7px;
    cursor: pointer;
}

.button-active {
    width: 220px;
    height: 55px;
    background-color: #BDAE82;
    cursor: pointer;
    color: #000000;

}

.button-active:hover {
    color: #BDAE82;
    background-color: #000000;
    border: 2px solid #BDAE82;
}

.button-portfolio:hover {
    color: #000000;
    background-color: #BDAE82;
}

.portfolio-items {
    width: 1400px;
    height: 1145px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding-left: 20px;
    padding-top: 112px;

}

.portfolio-item {
    margin-right: 25px;
    margin-bottom: 25px;
    width: 450px;
    height: 560px;
}

/*Portfolio style end */

/*Video style start */
.video-wrapp {
    max-width: 1440px;
    height: 945px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 214px;
}

.span {
    background-color: #000000;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.headline {
    font-family: 'Merriweather';
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 80px;
    letter-spacing: 0em;
    text-align: center;
    color: #BDAE82;
    margin: 0;
}

.title {
    width: 700px;
    height: 80px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background-image: linear-gradient(to top, #000 39px, #bdae82 39px, #bdae82 41px, #000 41px);
}

.title.light-theme {
    background-image: linear-gradient(to top, #fff 39px, #bdae82 39px, #bdae82 41px, #fff 41px);
}

.video-player {
    width: 1400px;
    height: 705px;
    margin-top: 60px;
    background-image: url('images/video/video-player.jpg');
}

.player {
    width: 129.86px;
    height: 130px;
    margin-top: 22%;
    margin-left: 45%;
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    background: url(images/icon/Play_hover.svg);
}

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

/*Video style end */

/*Price style start */
.price-wrapp {
    max-width: 1440px;
    height: 845px;
    padding-left: 20px;
    padding-right: 20px;

}

.price-title {
    margin-left: 351px;
}

.price-items {
    width: 1400px;
    height: 505px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 25px;
    margin-top: 60px;
}

.price-item-title.light-theme {
    color: #BDAE82;
}

.price-item {

    width: 450px;
    height: 505px;
    text-align: center;
    padding-left: 100px;
    padding-right: 90px;
    border: 3px solid #BDAE82;

}

.price-item-title {
    font-family: 'Merriweather';
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: 0em;
    color: #FFFFFF;
    margin-bottom: 0px;
    margin-top: 40px;
}

.price {
    color: #BDAE82;
    font-family: 'Merriweather';
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0em;
    margin-bottom: 16px;
}

.price-desk {
    font-family: 'Inter';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0em;
    text-align: center;
    color: #FFFFFF;
}

.price-order {
    display: block;
    width: 220px;
    height: 55px;
    background-color: #BDAE82;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0em;
    margin-top: 40px;
    margin-left: 11px;
    cursor: pointer;
    border: 0;
}

.price-order:hover {
    color: white;
}

/* Price style end */

/* Contacts style start */
.contacts-wrapp {
    background: url(images/contacts.jpeg);
    max-width: 1440px;
    height: 700px;
    display: flex;
    justify-content: flex-end;
    margin-top: -115px;
}

.contact-container {
    width: 450px;
    height: 445px;
    margin-top: 25px;
    margin-right: 20px;
}

.form {
    margin-top: 40px;
}

.contact-title {
    width: 450px;
    height: 80px;

}

.contacts-title {
    font-family: 'Merriweather';
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 80px;
    letter-spacing: 0em;
    text-align: left;
    color: #BDAE82;
}

.contact-input {
    width: 450px;
    height: 50px;
    margin-bottom: 20px;
}

input {
    background-color: transparent;
    border: 2px #BDAE82 solid;
    padding-left: 20px;
    color: #FFFFFF;

}

::placeholder {
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: left;
    color: #BDAE82;
}

.contact-input-message {
    width: 450px;
    height: 100px;
    background-color: transparent;
    border: 2px #BDAE82 solid;
    padding-left: 20px;
    color: #FFFFFF;
}

.button-contacts {
    width: 220px;
    height: 55px;
    background-color: #BDAE82;
    margin-top: 25px;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: center;
    cursor: pointer;
    border: 0;
}

.button-contacts:hover {
    color: white;
}

/* Contacts style end */

/* Footer style start */
.footer {
    max-width: 1440px;
    height: 150px;
}

.footer-wrapp {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 30px;
}

.footer-data {
    width: 182px;
    height: 50px;
    display: flex;
    flex-wrap: nowrap;
    color: #FFFFFF;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0em;
    text-align: left;
    margin-left: 20px;

}

.copyrite {
    margin-right: 20px;
}

.link-github,
.link-rss {
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Inter';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: 0em;
}

.link-github:hover,
.link-github:focus,
.link-github:active {
    opacity: .65;
}

.rss:hover,
.rss:focus,
.rss:active {
    opacity: .65;
}

.link-github {
    margin-left: 20px;
}


.rss {
    width: 211px;
    height: 50px;
    margin-left: 415px;
}

.social-list {
    width: 188px;
    height: 50px;
    display: flex;
    flex-wrap: nowrap;

}

.social-networks {
    list-style-type: none;
    display: flex;
    flex-wrap: nowrap;
    margin-left: 368px;
}

.social-link-inst {
    width: 32px;
    height: 27px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    margin-right: 20px;
    background-image: url('images/icon/inst.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

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

.social-link-fb {
    width: 32px;
    height: 27px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    margin-right: 20px;
    background-image: url('images/icon/fb.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

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

.social-link-tw {
    width: 32px;
    height: 23px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    margin-right: 20px;
    background-image: url('images/icon/tw.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

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

.social-link-prt {
    width: 32px;
    height: 27px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    margin-right: 20px;
    background-image: url('images/icon/printerest.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

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

/* Footer style end */


/* Media start */

@media screen and (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 0;
    }

    .header {
        padding-left: 8%;
        padding-right: 8%;
    }

    .hero {
        height: 590px;
        background-position: -5px -30px;
        background-size: auto 620px;
        padding-top: 18%;
        padding-left: 60px;
    }

    .switch-lg {
        padding-left: 69%;
        margin-right: 20px;
    }

    .russian {
        margin-left: 16px;
    }

    h1 {
        font-size: 32px;
        height: 32%;
    }

    .hero-text {
        width: calc(100% - 90px);
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0em;
        margin-bottom: 25px;
    }

    .header_burger {
        display: block;
    }

    .header_nav {
        width: 620px;
        height: 1024px;
        position: fixed;
        top: 0;
        left: 11%;
        z-index: 10;
        padding: 75px;
        background-color: #000000;
        transition: .2s all linear;
        transform: translateX(100%);

    }

    .header_nav_active {
        transform: translateX(12%);

    }

    .header_list {
        padding-top: 60px;
    }

    .header_item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .header_item:last-child {
        margin-bottom: 0;
    }

    .header_link {
        font-size: 35px;
        line-height: 73px;
    }

    .header_nav-close {
        width: 62px;
        height: 55px;
        position: absolute;
        top: 20px;
        bottom: 20px;
        z-index: 11;
        right: 11%;
    }

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


    .header_nav-close_line {
        display: block;
        height: 2px;
        background-color: #FFFFFF;
        position: absolute;
        top: 50%;
        width: 100%;
    }

    .header_nav-close_line:first-child {
        transform: translateY(-50%) rotate(45deg);
    }

    .header_nav-close_line:last-child {
        transform: translateY(-50%) rotate(-45deg);
    }

    .skills-wrap {
        margin-top: 80px;
    }

    .title {
        width: 364px;
        height: 80px;
    }

    .headline {
        font-size: 32px;
    }

    .skills {
        height: 729px;
    }

    .skills-items {
        padding-left: 30px;
        grid-template-columns: repeat(2, 1fr);
        grid-row: 2;
        height: 520px;
    }

    .skill-item {
        width: 300px;
        height: 224px;
        padding-top: 45px;

    }

    .skill-item_title {
        margin-top: 35px;
    }

    .skill-disc {
        margin-top: 90px;
        font-size: 18px;
        line-height: 22px;
    }

    .portfolio {
        height: 3870px;
    }

    .portfolio-btns {
        width: 454px;
        height: 115px;
        flex-wrap: wrap;
        margin-left: 21%;
        padding-top: 51px;
    }

    .portfolio-items {
        grid-template-columns: 1fr;
        grid-row: 6;
    }

    .button-portfolio {
        margin-bottom: 6px;
    }

    .portfolio-items {
        margin-top: 8%;
    }

    .portfolio-item {
        width: 450px;
        height: 560px;
        margin-left: 10%;
    }

    .video {
        height: 627px;
    }

    .video-wrapp {
        padding: 0;
        margin-top: 0;
    }

    .video-player {
        width: 900px;
        height: 418px;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 45px;
    }

    .player {
        width: 64, 62px;
        height: 64, 69px;
        background-size: 50%;
        background-repeat: no-repeat;
        margin-top: 20%;
        margin-left: 39%;

    }

    .price-wrapp {
        height: 1905px;
    }

    .price-items {
        grid-template-columns: 1fr;
        grid-row: 3;
        margin-top: 50px;
        grid-row-gap: 50px;
    }

    .price-item {
        margin-left: 11%;
        width: 420px;
        height: 505px;
    }

    .price {
        margin-bottom: 20px;
    }

    .price-order {
        width: 220px;
        height: 55px;
        margin-left: 0px;
    }

    .contacts {
        margin-top: 35px;
        height: 600px;
    }

    .contacts-wrapp {
        background-image: url('images/contactsad.jpeg');
        background-repeat: no-repeat;
        justify-content: center;
    }

    .contacts-title {
        font-size: 32px;
        padding-left: 32%;
    }

    .form {
        margin-top: 30px;
        padding-left: 10px;
    }

    .contact-input {
        background-color: #00000080;
    }

    .contact-input-message {
        background-color: #00000080;
    }

    .button-contacts {
        margin-left: 26%;
    }

    .footer-wrapp {
        flex-direction: column;
        justify-content: center;
        padding-top: 0;
    }

    .footer-data {
        align-self: center;
        margin-left: 0;
        height: 35px;
    }

    .copyrite {
        margin-top: 10px;
    }

    .data {
        margin-top: 10px;
    }

    .link-github {
        margin-top: 2px;
    }

    .git-p {
        margin-top: 10px;
    }

    .rss {
        margin-left: 36%;
    }

    .social-networks {
        margin-top: 15%;
        margin-left: 135%;
    }
}

/* Media end */