* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    font-family: "Poppins", sans-serif;
}


/* HEADER */
@keyframes shine {
    0% {
        text-shadow: 0 0 10px white;
    }
    50% {
        text-shadow: 0 0 20px #f7f7f7;
    }
    100% {
        text-shadow: 0 0 10px white;
    }
}

.header {
    width: 100%;
    height: 100vh;
    background-image: url(images/header_img.png);
    background-size: cover;
    background-position: center;
    color: white;
    overflow-x: hidden;
}

.header__title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 2rem;
    animation: shine 2s infinite;
}

.main__heading {
    margin-bottom: 1rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
    width: 100%;
}

.nav__logo {
    margin-left: 2rem;
}

.nav__links {
    display: flex;
    align-items: center;
    list-style: none;
    margin-right: auto;
}

.nav__link--about {
    list-style: none;
    color: inherit;
    text-decoration: none;
}

.nav__item {
    margin-left: 4rem;
    font-weight: bold;
}

.order {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 1rem;
    margin-right: 2rem;
    height: 4rem;
    width: 8rem;
    background: rgb(144,18,24);
    background: linear-gradient(90deg, rgba(144,18,24,1) 0%, rgba(253,29,29,1) 50%, rgba(230,29,79,1) 100%); 
    border-radius: 1rem;
    cursor: pointer;
    transition-duration: 0.3s;
}

.order:hover {
    transform: translateY(-5px);
    transition-duration: 0.3s;
}

.order__text {
    padding-top: 0.7rem;
    padding-left: 2rem;
}

.order__span {
    margin-left: 0.2rem;
}

.shine:hover {
    a:hover { text-shadow: 0 0 5px #ff0000; }
}

.nav__link:link,
.nav__link:visited {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* OUR PRODUCTS */
.red-block {
    background: rgb(51,2,9);
    background: linear-gradient(90deg, rgba(51,2,9,1) 0%, rgba(210,5,5,1) 100%);
    text-align: center;
    padding: 10px;
    height: 5rem;
}

.red-block p {
    color: white;
    font-size: 3rem;
    margin-top: 0.7rem;
}


.item__layer {
    display: flex;
    height: 50vh;
}

.item__layer img {
    transition: transform 0.3s ease-in-out, border-radius 0.3s ease-in-out;
}

.item__layer img:hover {
    transform: scale(1.1);
    border-radius: 5rem;
}

.item__layer:not(:hover) img {
    transform: scale(1);
    border-radius: 0;
    transition: transform 2s ease-in-out, border-radius 2s ease-in-out;
}

.img__left {
    flex-grow: 2;
    max-width: 50%;
    width: 50%;
}

.desc__right {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    font-size: 2rem;
}


.img__right {
    flex-grow: 2;
    max-width: 50%;
    width: 50%;
}

.desc__left {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    font-size: 2rem;
}

.copyright {
    align-self: flex-end;
}

/* FOOTER */
.footer {
    position: relative;
    background: rgb(51,2,9);
    background: linear-gradient(90deg, rgba(51,2,9,1) 0%, rgba(210,5,5,1) 100%);
    padding: 3rem 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer__nav {
    list-style: none;
}

.footer__item {
    margin-bottom: 2rem;
    margin-left: 20rem;
    margin-top: 3rem;
}

.footer__link {
    text-decoration: none;
    font-size: 1rem;
    color: white;
}

.copyright__link {
    color: white;
}

/* EMAIL FORM */
.container {
    margin-right: 20rem;
}

.contact__us {
    font-weight: 600;
    margin-left: 2.7rem;
}

.styled__input {
    margin: 1rem 0;
    position: relative;
    border-radius: 10px;
}

.styled__input label {
    position: absolute;
    pointer-events: none;
}

input, textarea {
    border-radius: 4px;
}

.input-container {
    margin: 0;
}

.btn__large {
    padding: 2rem 3rem;
    border-radius: 60px;
    display: inline-block;
    background-color: bisque;
    color: red;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    height: 1rem;
}

.btn__large:hover {
    background-color: rgb(248, 157, 37);
}

.submit__text {
    transition-duration: 0.2s;
    position: relative;
    display: block;
}

.btn__large:hover .submit__text {
    padding-top: 3px;
    transition-duration: 0.2s;
}


.column__1 {
    margin-left: 1.7rem;
}

textarea {
    resize: none;
}

/* MODAL */
.modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    width: auto;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: rgb(144,18,24);
    background: linear-gradient(90deg, rgba(144,18,24,1) 0%, rgba(253,29,29,1) 50%, rgba(230,29,79,1) 100%);
    z-index: 999;
    transition: all 0.5s;
    border-radius: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 100;
    transition: all 0.5s;
}

.modal__header {
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.modal__items {
    display: flex;
    flex-direction: column;
    width: 80rem;
    max-width: 90%;
    background-color: white;
    border-radius: 0.5rem;
    padding: 1rem;
}

.modal__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
}

.modal__item--amount {
    margin-left: 4rem;
    max-width: 4rem;
}

.modal__item * {
    width: 100%;
}

.modal__item:hover {
    background-color: rgb(199, 199, 199);
}

.modal__item--img {
    width: 10rem;
    height: 7rem;
    border-radius: 4px;
    margin-right: 1rem;
    margin-left: 1rem;
}

.modal__price--class {
    position: relative;
    right: -38.5%;
    color: white;
}

.modal__price {
    margin-top: auto;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    margin-right: 1rem;
    align-self: flex-end;
    color: white;
}


.modal__amount {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.modal__amount--ks {
    margin-right: 6rem;
}

.modal__amount button {
    width: 1rem;
}

.modal__amount div {
    margin-left: 0.5rem;
}


.modal__cart {
    margin-right: 0.3rem;
}

.modal__cart--text {
    width: 7rem;
    height: 1.5rem;
}

.modal__cart-payment {
    height: 2rem;
    width: 13rem;
    margin-top: 0.5rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
    align-self: flex-end;
    border: none;
    border-radius: 0.3rem;
}

.btn--close-modal {
    font-family: inherit;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.hidden {
    visibility: hidden;
    opacity: 0;
    display: none;
}

.back__btn {
    position: absolute;
    left: 1rem;
    z-index: 1000;
}

.back__btn--btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: rgb(144, 18, 24);
    cursor: pointer;
}

.back__btn--link {
    text-decoration: none;
}

.cart__heading {
    text-align: left;
    font-size: 2.5rem;
    color: rgb(144, 18, 24);
    margin-left: 6rem;
    width: 8rem;
}

.cart__container {
    position: relative;
    display: flex;
}
.hidden-cart {
    visibility: hidden;
    display: none;
}

.container__items {
    margin-top: 5rem;
    margin-right: 9rem;
}

.container__heading {
    text-align: center;
    font-size: 2rem;
    color: rgb(144, 18, 24);
}

.cart__items {
    display: flex;
    flex-direction: column;
    width: 36rem;
}

.cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 100%;
    margin: 0 auto;
}

.cart__item--name {
    font-size: 1.2rem;
}

.cart__item--img {
    width: 7rem;
    height: 5rem;
    border-radius: 4px;
    margin-right: 1rem;
}

.cart__item--quantity,
.cart__item--price {
    font-size: 1rem;
    margin-right: 1rem;
}

.cart__delete {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgb(144, 18, 24);
    cursor: pointer;
    margin-left: 1rem;
}

.cart__delete:hover {
    color: rgb(230, 29, 79);
}

.left__side {
    margin-top: 5rem;
    margin-right: 8rem;
    position: relative;
    flex-grow: 1;
}

.cart__payment,
.cart__person,
.cart__location,
.cart__finish {
    margin-bottom: 2rem;
}

.payment__heading,
.person__heading,
.location__heading {
    text-align: center;
    font-size: 1.8rem;
    color: rgb(144, 18, 24);
    margin-bottom: 1rem;
}

.payment,
.payment__method {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dot {
    height: 0.5rem;
    width: 0.5rem;
    background-color: rgb(144, 18, 24);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.payment__img {
    width: 3rem;
    height: 3rem;
    border-radius: 30%;
}

.payment__method {
    cursor: pointer;
}

.payment__method:hover {
    opacity: 0.8;
}

.selected {
    border: 2px solid red;
    border-radius: 50%;
}

.person__form {
    display: flex;
    flex-direction: column;
}

.person__form label {
    margin-top: 1rem;
    font-size: 1rem;
    color: rgb(144, 18, 24);
}

.person__form input {
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid rgb(144, 18, 24);
    font-size: 1rem;
}

.finish__btn {
    text-align: center;
    margin-top: 2rem;
}

.finish__btn--btn {
    background: rgb(144, 18, 24);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.finish__btn--btn:hover {
    background: rgb(230, 29, 79);
}

.total__price,
.selected__payment {
    text-align: center;
    font-size: 1.5rem;
    color: rgb(144, 18, 24);
    margin-bottom: 1rem;
}

@media screen and (max-width: 720px) {
    .header__title {
        font-size: 1.5rem;
    }

    .nav__logo {
        margin-left: 0.8rem;
        font-size: 1rem;
    }
    
    .nav__item {
        margin-left: 1rem;
        font-size: 0.7rem;
    }

    .order {
        margin-right: 0.5rem;
        height: 3rem;
        width: 6rem;
    }

    .red-block {
        height: 3rem;
    }

    .red-block p {
        color: white;
        font-size: 2rem;
    }

    .item__layer {
        height: 25vh;
    }

    .desc__right {
        font-size: 1rem;
    }

    .desc__right p {
        width: 10rem;
        margin-left: 1rem;
    }
    
    .desc__left {
        font-size: 1rem;
    }

    .desc__left p {
        width: 10rem;
        margin-left: 1rem;
    }

    .footer__item {
        margin: 0;
        margin-bottom: 3rem;
    }

    .container {
        margin: 0;
    }

    .contact__us {
        margin: 0;
        margin-left: 0.3rem;
    }

    .styled__input input {
        width: 8rem;
    }

    .styled__input textarea {
        width: 8rem;
    }

    .column__1 {
        margin: 0;
    }

    .column__3 {
        margin: 0;
    }

    .btn__large {
        width: 8.3rem;
        height: 3rem;
        padding: 0;
        padding-top: 2rem;
    }

    .copyright {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 15rem;
        margin-bottom: 1rem;
    }

    .modal {
        max-width: 95%;
    }

    .modal__items {
        display: flex;
        flex-direction: column;
        max-width: 95%;
    }

    .modal__items {
        max-width: 90%;
        padding: 0.5rem;
        padding-top: 1rem;
    }

    .modal__item--img {
        width: 5rem;
        height: 4rem;
        margin: 0;
    }

    .modal__item--amount {
        display: none;
    }

    .modal__price {
        margin-right: 10rem;
    }

    .modal__amount--ks {
        margin: 0;
    }

    .modal__cart {
        margin: 0;
    }

    .modal__cart--text {
        width: 4rem;
        height: 2rem;
        font-size: 0.6rem;
    }

    .modal__item--name {
        font-size: 1rem;
    }

    .cart__heading {
        font-size: 2rem;
        width: 14rem;
        margin-left: 5rem;
        margin-top: 0.5rem;
    }

    .cart__container {
        flex-direction: column;
    }

    .container__items {
        margin: 0;
        margin-top: 3rem;
    }

    .cart__item {
        width: 85%;
    }

    .cart__item--name {
        font-size: 1rem;
    }

    .left__side {
        margin-right: 1rem;
        margin-left: 1rem;
    }

}
