@import url('https://cdn.jsdelivr.net/npm/@fontsource/inter@5.1.1/index.css');

: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-description {
    font-weight: 700;
    font-family: var(--font-family);
    font-size: 16px;
    color: rgba(0, 0, 0, 0.9);
    margin-top: 10px;
    margin-bottom: 20px;
}

.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;
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 35px;
    border-radius: 20px;
    width: 80%;
    max-width: 820px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-body {
    flex-grow: 1;
    overflow-y: visible;
}

.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: 700;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.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-top: 10px;
    margin-left: 0;
    margin-bottom: 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;
}

.event-photo img {
    width: 60%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .modal-header p {
        font-size: 20px;
    }

    .m-info {
        font-size: 14px;
    }

    .form input {
        padding: 10px 20px;
        font-size: 14px;
    }

    .next {
        padding: 10px 30px;
        font-size: 14px;
    }

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

@media (min-width: 1360px) {
}

@media (max-width: 540px) {
    #container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .seat {
        width: 80%;
        padding: 10px;
        border: 1px solid #ccc;
        text-align: center;
        background-color: #f9f9f9;
    }
    header .nav-menu {
        display: none;
    }
    .mob {
        display: block;
    }
    .container {
        margin: 10px 2%;
    }
    .hero {
        margin: 3px 5%;
    }
    footer {
        padding: 12px 5%;
    }
    header {
        padding: 12px 5%;
    }
    .step-title {
        font-size: 10px;
    }
    .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;
    }
    .modal-content {
        padding: 11px;
        width: calc(100% - 30px) !important;
        margin: 100px auto;
    }

    .modal-header {
        margin-bottom: -10px;
    }

    .modal-header p {
        font-size: 18px;
    }

    .m-info {
        margin-bottom: 5px;
        font-size: 15px;
    }

    .form {
        padding: 10px;
    }

    .form .title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .form input {
        padding: 10px 15px;
        font-size: 14px;
        width: 100%;
    }

    .flex-inp {
        margin-top: 10px;
        gap: 10px;
        flex-direction: column;
        width: 200%;
    }

    .next {
        margin-top: 15px;
        margin-bottom: 15px;
        padding: 10px 20px;
        font-size: 15px;
        width: 100%;
    }

    .modal-body {
        overflow-y: auto;
        max-height: 70vh;
    }

    .event-photo img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}
