* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Karla', sans-serif;
}

a {
    text-decoration: none;
}

::selection {
    background-color: #000;
    color: #fff;
}

img {
    display: block;
}

p,
h1,
h2,
h3,
h4 {
    margin: 0;
}

.container {
    width: 940px;
    margin: 0 auto;
}

.flex-row-end {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.flex-column-start {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: flex-start;
}

.flex-row-start-aligin {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.nav {
    height: 80px;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 112px 1fr 92px;
    grid-template-rows: 1fr;
    gap: 20px 20px;
    grid-template-areas: ". . .";
    align-items: center;
}

.nav__links {
    color: #1D1F2E;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 22px;
    position: relative;
}

.nav__links:nth-last-child(1) {
    margin-right: 0;
}

.nav__links:after {
    display: block;
    content: "";
    background-color: rgb(255, 179, 15);
    height: 1px;
    width: 0%;
    right: 100%;
    left: -40%;
    position: absolute;
    transition: width .3s ease-in-out;
    transform: translateX(40%);
}

.nav__links:hover:after,
.nav__links:focus:after {
    width: 100%;
}

.shop {
    position: relative;
}

.shop:after {
    display: block;
    content: "";
    background-color: rgb(255, 179, 15);
    height: 1px;
    width: 100%;
    position: absolute;
    margin-top: 28px;
}

.shop p {
    color: #1D1F2E;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 10px;
}

.shop p:nth-last-child(1) {
    margin: 0;
    background-color: #1D1F2E;
    border-radius: 50%;
    padding: 2px 6px;
    color: white;
}

.inner {
    width: 1380px;
    height: 530px;
    position: relative;
    background-color: #050827;
    background-image: url(../img/inner.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.inner h4 {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.inner h1 {
    color: #fff;
    font-weight: 400;
    font-size: 47px;
    line-height: 60px;
    margin: 10px 0;
}

.inner p {
    color: #fff;
    font-weight: 400;
    font-size: 17px;
    line-height: 30px;
}

.inner a div {
    background-color: white;
    color: #1D1F2E;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    text-transform: uppercase;
    padding: 0 25px;
    transform: translateY(40px);
}

.title__grid {
    text-align: center;
}

.title__grid h3 {
    color: #1D1F2E;
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    margin: 123px 0 0 0;
}

.title__grid p {
    color: #1d1f2ecb;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    margin: 16px 0;
}

.title__grid a {
    color: #A25F4B;
    font-weight: 400;
    font-size: 15px;
    line-height: 28px;
    margin: 20px 0;
    position: relative;
}

.title__grid a::after {
    display: block;
    cursor: default;
    content: "";
    background-color: #a25f4bb0;
    height: 2px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 21px;
}

.title__line {
    margin: 100px;
}

.title__line div {
    width: 30px;
    height: 2px;
    background-color: #ECECED;
    display: block;
    content: "";
}

.title__line h4 {
    color: #1D1F2E;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 15px;
}

.grid__two {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 480px 480px;
    grid-template-rows: 653px;
    gap: 0px 0px;
    grid-template-areas: ". .";
    justify-content: center;
}

.grid__two__card {
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    transition: all .3s;
}

.grid__two__card:hover {
    -webkit-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}

.grid__two__card p {
    font-size: 20px;
    font-weight: 400;
    color: #1D1F2E;
    line-height: 30px;
    margin: 35px 0 0 0;
}

.grid__two__card b {
    font-size: 16px;
    font-weight: 400;
    color: #1d1f2eb2;
    line-height: 28px;
    margin: 5px 0 0 0;
}

.grid__two__card h4 {
    font-size: 19px;
    font-weight: 400;
    color: #A25F4B;
    line-height: 32px;
    margin-right: 10px;
}

.grid__two__card strike {
    font-size: 16px;
    font-weight: 400;
    color: #1d1f2eb2;
    line-height: 28px;
}

.grid__product {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 317px 317px 317px;
    grid-template-rows: 497px 497px 497px;
    gap: 50px 0px;
    grid-template-areas: ". . ." ". . ." ". . .";
}

.two__column__grid {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 460px 460px;
    grid-template-rows: 273px;
    gap: 20px 20px;
    grid-template-areas: ". .";
}

.grid__photo {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 280px 160px;
    grid-template-rows: 140px 140px;
    gap: 10px 20px;
    grid-template-areas: "img ." "img .";
}

.photo {
    grid-area: img;
}

.grid__text__column__two {
    padding: 0 60px;
}

.grid__text__column__two h4 {
    text-transform: uppercase;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 2px;
    color: #1D1F2E;
}

.grid__text__column__two p {
    font-size: 16px;
    line-height: 28px;
    color: #1d1f2eb9;
}

.grid__text__column__two a div {
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    background-color: #1D1F2E;
    padding: 4px 24px;
    width: 173px;
    height: 36px;
    text-transform: uppercase;
}

.grid__text__column__two h3 {
    font-size: 36px;
    line-height: 50px;
    color: #1D1F2E;
}

.parall {
    width: 100%;
    margin: 130px 0;
}

#parallax .parallax {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 340px;
    background-image: url(../img/frame.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.grid__cofein {
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: 1fr;
    gap: 20px 20px;
    grid-template-areas: ". . .";
    margin-bottom: 200px;
}

.grid__cofein__card h3 {
    font-size: 20px;
    line-height: 32px;
    color: #1D1F2E;
}

.grid__cofein__card p {
    font-size: 16px;
    line-height: 28px;
    color: #1d1f2ea6;
}

.grid__cofein__card b {
    font-size: 12px;
    line-height: 28px;
    color: #1d1f2e;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.entry {
    background-color: #1D1F2E;
    width: 1380px;
    height: 327px;
    padding: 80px;
}

.entry__line {
    margin: 4px;
}

.entry__line div {
    width: 30px;
    height: 2px;
    background-color: #ECECED;
    display: block;
    content: "";
}

.entry__line h4 {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 15px;
}

.entry__text__input h3 {
    font-size: 36px;
    line-height: 50px;
    color: #fff;
    text-align: center;
    margin: 15px 0 25px 0;
}

.entry__input__btn {
    background-color: #fff;
    color: #000;
    padding: 18px 25px;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 18px;
    letter-spacing: 2px;
    border: 1px solid #1D1F2E;
}

.entry__text__input input {
    width: 350px;
    height: 54px;
    outline: none;
    border: none;
    margin-right: 10px;
    background-color: transparent;
    border: 1px solid #2F303E;
}

.entry__text__input input::placeholder {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    line-height: 18px;
    letter-spacing: 2px
}

.footer {
    margin-top: 100px;
    display: grid;
    grid-auto-columns: 1fr;
    grid-template-columns: 258px 146px 146px 293px;
    grid-template-rows: 1fr;
    grid-template-areas: ". . . .";
    justify-items: end;
    justify-content: start;
    align-items: start;
}

.footer__colums a {
    font-size: 13px;
    line-height: 22px;
    color: #1d1f2eaf;
    margin-top: 10px;
}

.footer__colums a:nth-child(2) {
    margin-top: 22px;
}

.footer__colums h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 18px;
    color: #1D1F2E;
}

.footer__colums p {
    font-size: 14px;
    line-height: 22px;
    color: #1d1f2eaf;
    margin-top: 22px;
}

.footer__colums h2 {
    font-size: 23px;
    line-height: 36px;
    color: #1D1F2E;
    margin-top: 20px;
    font-weight: 400;
}

@media all and (max-width: 1440px) {
    .inner {
        width: 940px;
    }
    .entry {
        width: 940px;
    }
}

@media all and (min-width: 1000px) {
    .toogle {
        display: none;
    }
}

#menu-toggle {
    position: absolute;
    visibility: hidden;
    z-index: -100;
}

@media all and (max-width: 1000px) {
    .nav--header {
        transition: max-height .25s ease;
        overflow: hidden;
        max-height: 0;
        width: 100%;
        flex-direction: column;
    }
     ::-webkit-scrollbar {
        width: 0;
        height: 10px;
    }
     ::-webkit-scrollbar-track {
        background: #353535;
    }
     ::-webkit-scrollbar-thumb {
        background-color: #000;
    }
    .toogle {
        height: 40px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }
    .inner {
        width: 860px;
    }
    .inner p {
        width: 400px;
        text-align: center;
    }
    .grid__two {
        grid-template-areas: " . " " . ";
        grid-template-columns: 460px;
        justify-content: center;
    }
    .grid__product {
        grid-template-areas: " . . " " . . " " . . ";
        grid-template-columns: 320px 320px;
        justify-content: center;
    }
    .two__column__grid {
        grid-template-areas: " . " " . ";
        grid-template-columns: 460px;
        justify-content: center;
        justify-items: center;
    }
    .grid__text__column__two {
        padding: 0;
    }
    .grid__cofein {
        grid-template-areas: " . " " . " " . ";
        grid-template-columns: 300px;
        justify-content: center;
    }
    .entry {
        width: 600px;
    }
    .footer {
        justify-items: start;
        gap: 60px 60px;
        margin-bottom: 40px;
        width: 540px;
        justify-content: space-between;
        grid-template-columns: 300px 300px;
        grid-template-rows: 1fr;
        grid-template-areas: ". . " ". .";
    }
    .container {
        width: 700px;
    }
}

@media all and (max-width: 740px) {
    .container {
        width: 580px;
    }
}

@media all and (max-width: 660px) {
    .container {
        width: 460px;
    }
    .grid__product {
        grid-template-areas: " .  ";
        grid-template-columns: 320px;
        justify-content: center;
    }
    .entry {
        width: 500px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .footer {
        justify-items: start;
        gap: 30px 30px;
        margin-bottom: 40px;
        display: grid;
        justify-content: center;
        grid-template-columns: 300px;
        grid-template-rows: 1fr;
        grid-template-areas: ".";
    }
    .inner {
        width: 500px;
    }
    .title__line {
        margin: 50px 0;
    }
}

@media all and (max-width: 540px) {
    .container {
        width: 380px;
    }
    .grid__product {
        grid-template-areas: " .  ";
        grid-template-columns: 320px;
        justify-content: center;
    }
    .entry {
        width: 500px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .footer {
        justify-items: start;
        gap: 30px 30px;
        margin-bottom: 40px;
        display: grid;
        justify-content: center;
        grid-template-columns: 300px;
        grid-template-rows: 1fr;
        grid-template-areas: ".";
    }
    .inner {
        width: 380px;
    }
    .title__grid {
        width: 280px;
        margin: 0 auto;
    }
    .grid__two {
        justify-items: center;
        grid-template-rows: 460px;
    }
    .grid__photo {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }
    .grid__photo img {
        width: 200px;
    }
    .two__column__grid {
        display: flex;
    }
    .grid__text__column__two {
        width: 300px;
    }
    .grid__cofein {
        margin-bottom: 40px;
    }
    .grid__two__card {
        height: 300px;
        width: 300px;
        margin-bottom: 180px;
    }
    .grid__two__card img {
        width: 300px;
    }
    h4 {
        text-align: center;
    }
    .title__line {
        margin: 0;
    }
    .entry__line h4 {
        margin: 0 4px;
        font-size: 11px;
    }
    .entry__line div {
        width: 12px;
        height: 2px;
        background-color: #ECECED;
        display: block;
        content: "";
    }
    .inner p {
        width: 280px;
    }
    .title__line {
        margin: 50px 0;
    }
    .title__line h4 {
        margin: 0 4px;
    }
    .title__line div {
        display: none;
    }
    .entry__input {
        display: flex;
        flex-direction: column;
    }
    .entry__line div {
        display: none;
    }
    .entry {
        width: 340px;
        height: 400px;
    }
    .entry__text__input input {
        width: 300px;
        margin: 0 0 10px 0;
    }
    .entry__text__input input::placeholder {
        font-size: 10px;
    }
    .entry__text__input h3 {
        font-size: 24px;
    }
    .entry__text__input a {
        width: 100%;
        text-align: center;
    }
}

@media all and (max-width: 420px) {
    .container {
        width: 280px;
    }
    .grid__product {
        grid-template-areas: " .  ";
        grid-template-columns: 320px;
        justify-content: center;
    }
    .entry {
        width: 500px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .footer {
        justify-items: start;
        gap: 30px 30px;
        margin-bottom: 40px;
        display: grid;
        justify-content: center;
        grid-template-columns: 300px;
        grid-template-rows: 1fr;
        grid-template-areas: ".";
    }
    .inner {
        width: 280px;
    }
    .inner h1 {
        font-size: 30px;
    }
    .inner p {
        font-size: 14px;
        line-height: 16px;
        padding: 20px;
    }
    .title__grid {
        width: 280px;
        margin: 0 auto;
    }
    .title__grid h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    .title__grid p {
        font-size: 14px;
        line-height: 1.3;
    }
    .grid__two {
        justify-items: center;
        grid-template-rows: 460px;
    }
    .grid__photo {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
    }
    .grid__photo img {
        width: 200px;
    }
    .two__column__grid {
        display: flex;
    }
    .okno {
        width: 200px;
        overflow: hidden;
    }
    .grid__cofein {
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
    }
    .grid__two {
        width: 180px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    .grid__two__card {
        height: 180px;
        width: 180px;
        margin-bottom: 180px;
    }
    .grid__two__card img {
        width: 180px;
    }
    .grid__product {
        width: 180px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-content: center;
        align-items: center;
    }
    h4 {
        text-align: center;
    }
    .title__line {
        margin: 0;
    }
    .entry__line h4 {
        margin: 0 4px;
        font-size: 11px;
    }
    .entry__line div {
        width: 12px;
        height: 2px;
        background-color: #ECECED;
        display: block;
        content: "";
    }
    .inner p {
        width: 280px;
    }
    .title__line {
        margin: 50px 0;
    }
    .title__line h4 {
        margin: 0 4px;
    }
    .title__line div {
        display: none;
    }
    .entry__input {
        display: flex;
        flex-direction: column;
    }
    .entry__line div {
        display: none;
    }
    .entry {
        width: 100%;
        height: 400px;
    }
    .entry__text__input input {
        width: 300px;
        margin: 0 0 10px 0;
    }
    .entry__text__input input::placeholder {
        font-size: 10px;
    }
    .entry__text__input h3 {
        font-size: 24px;
    }
    .entry__text__input a {
        width: 100%;
        text-align: center;
    }
    .two__column__grid {
        display: flex;
        flex-direction: column;
        align-content: center;
        align-items: center;
        width: 200px;
        margin: 0 auto;
    }
    .grid__text__column__two {
        width: 100%;
    }
    .grid__text__column__two h3 {
        font-size: 30px;
        line-height: 1;
        margin-bottom: 12px;
    }
    .grid__text__column__two p {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .none {
        display: none;
    }
}

@media all and (max-width:440px) {
    .horizontal-scroll-wrapper {
        height: 520px;
        margin: 50px auto;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .horizontal-scroll-wrapper>div {
        display: block;
    }
    .squares>div {
        background-color: #fff;
        height: 380px;
        margin: 20px auto;
    }
    .grid__cofein {
        display: none;
    }
    .grid__product {
        display: none;
    }
    .shadow {
        box-shadow: 0px 0px 19px 6px rgba(0, 0, 0, 0.2) inset;
    }
}

@media all and (min-width:440px) {
    .horizontal-scroll-wrapper {
        display: none;
    }
}

.overlay {
    /* background-image: url(../img/inner.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 260%; */
    height: 100vh;
    position: fixed;
    z-index: 9999999999999999;
    display: flex;
    background-color: rgb(0, 0, 0);
    overflow-x: hidden;
    transition: 0.5s ease-in-out;
    flex-direction: row;
    width: 0;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    z-index: 99999999999999999999;
    display: flex;
    background-color: #000;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.overlay a {
    font-size: 34px;
    color: #ffffff;
    display: block;
    transition: .4s;
}

.overlay .closebtn {
    position: absolute;
    width: 100%;
    height: 100vh;
}

.overlay__link {
    color: white;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.overlay__link:after {
    display: block;
    content: "";
    background-color: #fff;
    height: 2px;
    width: 0%;
    right: 100%;
    left: -30%;
    position: absolute;
    transition: width .3s ease-in-out;
    transform: translateX(30%);
}

.overlay__link:hover:after,
.overlay__link:focus:after {
    width: 100%;
}

.overlay__link:before {
    display: block;
    content: "";
    background-color: #fff;
    height: 2px;
    width: 0%;
    left: 120%;
    position: absolute;
    transition: width .3s ease-in-out;
    transform: translateX(-120%);
}

.overlay__link:hover:before,
.overlay__link:focus:before {
    width: 100%;
}