@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

ul[class],
ol[class] {
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

ul[class],
ol[class] {
    list-style: none;
}

a:not([class]) {
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
}

img {
    max-width: 100%;
    display: block;
}

article>*+* {
    margin-top: 1em;
}

input,
button,
textarea,
select {
    font: inherit;
}

body {
    font-family: "Roboto", "Open Sans", sans-serif;
    font-size: 18px;
    line-height: normal;
    color: #000;
    background-color: #FFFFFF;
    background-image: radial-gradient(#CFCFCF 0.5px, transparent 0.5px);
    background-size: 20px 20px;
}

.wrapper {
    overflow: hidden;
}

.container {
    max-width: 1000px;
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.header {
    padding: 20px 0;
    background: #121212;
    color: #00BFFF;
}

.header .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header__logo {
    font-family: "Pacifico", cursive;
    font-size: 40px;
    text-shadow: 4px 4px 2px rgba(30, 144, 255, 0.6);
}

.header a {
    color: #FFFFFF;
    text-decoration: none;
}

.burger {
    display: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 15px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 3;
}

.main {
    padding: 50px 0;
}

.h1 {
    font-size: 32px;
    padding: 0 110px;
    font-weight: 700;
    position: relative;
}

.h2 {
    font-size: 28px;
    font-weight: 700;
}

.main .h1::before,
.order .h1::before {
    content: "";
    background-position: right center;
    width: 100px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%) scaleX(-1);
    transform: translateY(-50%) scaleX(-1);
}

.main .h1::before {
    background: url("../img/wave2.svg") no-repeat;
    -webkit-transform: translateY(-50%) rotate(180deg) scaleX(-1);
    transform: translateY(-50%) rotate(180deg) scaleX(-1);
    background-position: right center;
}

.main .h1::after,
.order .h1::after {
    content: "";
    background-position: left center;
    width: 100px;
    height: 40px;
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.main .h1::after {
    background: url("../img/wave2.svg") no-repeat;
}

.main__content,
.order__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.main__product {
    max-width: 350px;
    width: 100%;
    margin: 20px 0;
}

.main__text,
.main__description,
.h1,
.popup .popup__content .h2 {
    text-align: center;
}

.main__text p {
    padding-bottom: 15px;
}

.main__description {
    margin: 50px 0 0px;
}

.order {
    padding-bottom: 100px;
}

.order .h1::before {
    background: url("../img/wave.svg") no-repeat;
}

.order .h1::after {
    background: url("../img/wave.svg") no-repeat;
}

.order__price {
    font-size: 48px;
    padding: 10px 0;
}

.button {
    background-color: #00BFFF;
    font-size: 24px;
    font-weight: 700;
    border-radius: 30px;
    padding: 15px 30px;
    color: #fefefe;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.popup .popup__content form .form_button:hover {
    background-color: #1E90FF;
}

.popup .popup__content .success {
    display: none;
    background: #00BFFF;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 20px 0px 20px 0px;
    border: none;
}

.popup .popup__content .active+.success {
    display: block;
}

.popup {
    display: none;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 11;
}

.active {
    display: none;
}

.popup .container {
    max-width: 480px;
    width: 100%;
    position: absolute;
    top: 50%;
    right: 50%;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
}

.popup .popup__content .close {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.popup .popup__content .close:before,
.popup .popup__content .close:after {
    content: "";
    position: absolute;
    right: 50%;
    top: 50%;
    width: 2px;
    height: 20px;
    background-color: #333333;
}

.popup .popup__content .close:before {
    -webkit-transform: translate(0, -50%) rotate(135deg);
    transform: translate(0, -50%) rotate(135deg)
}

.popup .popup__content .close:after {
    -webkit-transform: translate(0, -50%) rotate(45deg);
    transform: translate(0, -50%) rotate(45deg)
}

.popup__content {
    padding: 30px;
    border-radius: 6px;
    position: relative;
    background: #fff
}

.popup .popup__content .h2 {
    text-transform: uppercase;
    padding-bottom: 20px;
}

.popup .popup__content form label {
    display: inline-block;
    color: #808080;
    width: 100%;
    margin-bottom: 2px;
}

.popup .popup__content form .name,
.popup .popup__content form .phone {
    color: #333333;
    width: 100%;
    border: 1px solid #666666;
    border-radius: 3px;
    padding: 0 10px;
    height: 48px;
    margin-bottom: 10px;
}

.popup .popup__content form .form_button {
    width: 100%;
    color: #fefefe;
    background-color: #00BFFF;
    height: 48px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 20px;
}

.footer {
    width: 100%;
}

.footer .cellar {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background: #FAF3E0;
    font-size: 16px;
    color: #1F1F1F;
    padding: 30px 0;
    text-align: center
}

.footer p {
    margin: 0 2px;
    padding: 0;
    text-align: center
}

.footer a {
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    margin: 0 2px;
    padding: 0
}

@media (max-width:540px) {
    .footer .cellar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }
}

ul {
    padding: 0;
}

ul li {
    list-style: none;
}

#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.85);
    color: white;
    padding: 20px;
    text-align: center;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 111;
}

#cookie-message {
    max-width: 80%;
    margin: 0 auto;
    font-size: 16px;
}

#cookie-message a {
    color: #E5E5E5;
    text-decoration: none;
}

#cookie-message a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    margin-top: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.cookie-button {
    background-color: #00BFFF;
    border: none;
    border-radius: 3px;
    padding: 10px;
    margin: 5px;
    color: #fefefe;
    cursor: pointer;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    max-width: 150px;
    font-size: 16px;
}

.cookie-button:hover {
    background-color: #1E90FF;
}

#advanced-settings {
    display: none;
    text-align: left;
    margin-top: 10px;
    max-width: 300px;
    margin: 0 auto;
}

.switch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 10px 0;
}

.switch input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.switch span {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-right: 10px;
}

@media screen and (max-width: 480px) {
    .cookie-button {
        padding: 10px;
        margin: 3px;
    }

    #cookie-message {
        font-size: 0.8rem;
    }
}

@media screen and (max-width:768px) {
    .burger {
        display: block;
    }

    .burger-line {
        width: 20px;
        height: 2px;
        background: #fff;
        position: absolute;
        top: 0;
        left: 0;
        -webkit-transition: all .5s;
        transition: all .5s
    }

    .burger-line:nth-of-type(2),
    .burger-line:nth-of-type(3) {
        margin-top: 9px;
    }

    .burger-line:nth-of-type(4) {
        margin-top: 18px;
    }

    .nav.open {
        top: 0;
        bottom: 0;
    }

    .nav .nav__wrapper {
        background-color: rgba(50, 50, 50, .6);
        max-width: 160px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: absolute;
        width: 100%;
        top: 50%;
        right: 0;
        -webkit-transform: translate(100%, -50%);
        transform: translate(100%, -50%);
        max-height: none;
        font-size: 0;
        overflow: hidden;
        -webkit-transition: .5s all;
        transition: .5s all;
        z-index: 2;
        padding: 12px;
    }

    .nav.open .container {
        height: 100%;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .nav.open .nav__wrapper {
        -webkit-transition: none;
        transition: none;
        -webkit-transform: translate(0%, -50%);
        transform: translate(0%, -50%);
        overflow: auto;
    }

    .nav.open .burger-line:nth-of-type(1),
    .nav.open .burger-line:nth-of-type(4) {
        display: none;
    }

    .nav.open .burger-line:nth-of-type(2) {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        background-color: #fff;
    }

    .nav.open .burger-line:nth-of-type(3) {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        background-color: #fff;
    }

    .nav nav a {
        font-size: 18px;
        color: #fff;
        margin: 0;
    }

    .h1 {
        font-size: 24px;
    }

    .main .h1::before,
    .order .h1::before,
    .main .h1::after,
    .order .h1::after {
        height: 30px;
    }
}