@import url('https://fonts.cdnfonts.com/css/inter');

:root {
    --font-family: "Inter", sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: var(--font-family);
}

a {
    font-family: var(--font-family);
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

button {
    cursor: pointer;
    transition: 0.3s;
}

input {
    box-sizing: border-box;
    outline: none;
}

header {
    border-bottom: 1px solid #f1f1f1;
    padding: 12px 10%;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.05);
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 20%;
}

.location-box {
    display: flex;
    flex-direction: row-reverse;
    width: 20%;
}

.location {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.location p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #000;
    transition: 0.3s;
}

.location p:hover {
    color: #9e9e9e;
}

.nav-menu {
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #000;
}

.nav-menu a:hover {
    color: #9e9e9e;
}

.hero {
    margin: 60px 10%;
}

.hero h1 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    margin: 0;
    margin-bottom: 34px;
}

.hero p {
    font-family: var(--font-family);
    font-weight: 400;
    margin: 0;
    font-size: 16px;
}

.container {
    margin: 60px 10%;
}

.events {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.event {
    width: 32%;
}

.event .photo-block {
    border-radius: 15px;
    width: 100%;
}

.event .photo-block img {
    width: 100%;
}

.event .title {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
    margin-top: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
}

.event .desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 25px;
}

.event button {
    margin-bottom: 50px;
    border-radius: 15px;
    padding: 15px;
    width: 100%;
    border: 2px solid transparent;
    background: #fff709;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #000;
}

.event button:hover {
    border: 2px solid #000;
}

.kupon2 {
    width: 100%;
}

.kupon2 img {
    border-radius: 15px;
    width: 100%;
}

h2 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 32px;
    padding-top: 34px;
    margin-bottom: 34px;
}

.step-title {
    border-radius: 9px;
    padding: 15px 20px;
    background: #fff709;
    width: fit-content;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}

.step {
    width: 24%;
}

.instruction {
    display: flex;
    justify-content: space-between;
}

.step .desc {
    margin-top: 25px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

footer {
    margin-top: 150px;
    padding: 12px 10%;
    background: #f1f1f1;
    display: flex;
    justify-content: space-between;
}

footer p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
}







.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}


.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 35px;
    border-radius: 20px;
    width: 80%;
    max-width: 820px;
    position: relative;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    color: #000;
}
.m-info {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
}

.close {
    transition: 0.3s;
    cursor: pointer;
}
.form {
    border-radius: 10px;
    padding: 20px;
    background: #f1f1f1;
}
.form .title {
    margin-top: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
}
.form input {
    border-radius: 20px;
    padding: 12px 25px;
    border: none;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    width: 80%;
}
.flex-inp {
    margin-top: 20px;
    width: 80%;
    display: flex;
    justify-content: space-between;
}
.form .flex-inp input {
    width: 49%;
}
.next {
    margin-left: calc(100% - 290px);
    margin-top: 20px;
    border-radius: 15px;
    padding: 15px 50px;
    background: #fff709;
    border: 2px solid transparent;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
}
.next:hover {
    border: 2px solid black;
}

.close:hover,
.close:focus {
    opacity: 0.5;
}
.mob {
    display: none;
}
.mob .nav-menu {
    width: 100%;
    justify-content: start;
    gap: 10px;
    flex-wrap: wrap;
}
.mob .nav-menu a {
    padding: 10px;
    background: #fff709;
    border: 1px solid transparent;
}
.mob .nav-menu .active{
    padding: 10px;
    background: #fff709;
    border: 1px solid black;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 1025px) and (min-width: 810px) {
    .container {
        margin: 60px 5%;
    }
    .hero {
        margin: 60px 5%;
    }
    footer {
        padding: 12px 5%;
    }
    header {
        padding: 12px 5%;
    }
    .step-title {
        font-size: 15px;
    }
}
@media (max-width: 810px) and (min-width: 540px) {
    header .nav-menu {
        display: none;
    }
    .mob {
        display: block;
    }
    .container {
        margin: 60px 5%;
    }
    .hero {
        margin: 60px 5%;
    }
    footer {
        padding: 12px 5%;
    }
    header {
        padding: 12px 5%;
    }
    .step-title {
        font-size: 15px;
    }
    .event {
        width: 49%;
    }
    .instruction {
        flex-wrap: wrap;
    }
    .step {
        width: 49%;
    }
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    footer.logo {
        display: none;
    }
}

@media (max-width: 990px) {
    .sc-main-container {
        flex-direction: column;
    }
    #container {
        max-height: 410px;
        overflow: scroll;
    }
    .sc-right-container {
        margin-left: 0 !important;
        width: 450px !important;
        display: flex;
        flex-direction: column-reverse;
    }
    .sc-cart {
        width: 100% !important;
    }
    .sc-legend {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    .modal-content {
        width: 470px !important;
    }
    .sc-main-container {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }
    .form input {
        width: 100%;
    }
    .flex-inp {
        width: 100%;
        gap: 20px;
        flex-direction: column;
    }
    .form .flex-inp input {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .location-box {
        width: max-content;
    }
    header .nav-menu {
        display: none;
    }
    .mob {
        display: block;
    }
    .container {
        margin: 60px 5%;
    }
    .hero {
        margin: 60px 5%;
    }
    footer {
        padding: 12px 5%;
    }
    header {
        padding: 12px 5%;
    }
    .step-title {
        font-size: 15px;
    }
    .event {
        width: 100%;
    }
    .instruction {
        flex-wrap: wrap;
    }
    .step {
        width: 100%;
    }
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    footer.logo {
        display: none;
    }
    #container {
        max-height: 70vh !important;
    }
    .sc-map {
        margin-left-e: -50px;
        margin-bottom-e: 70px;
        rotate-e: 90deg;
        display: flex;
        align-items: flex-start;
    }
    .modal-content {
        border-radius: 0 !important;
        padding: 20px;
        height: 100vh;
        width: calc(100% - 40px) !important;
        margin: 0;
    }
    .sc-right-container {
        width: 100% !important;
        
    }
    .sc-cart-btn-submit {
        padding: 15px !important;
        height: max-content !important;
    }
}