:root {
--main_color_navy: #24476b;
--main_color_navy_dark: #17324d;
--main_color_blue: #5b86b5;
--main_color_yellow: #e9b949;
--main_color_text: #2f3f52;
--main_color_border: #cdbf9f;
--main_color_paper: #f6efe1;
--main_color_red: #c8372d;
--main_color_note: #f3e3b3;
}

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

html {
 scroll-behavior: smooth;
}

body {
font-family: "Poppins", Arial, sans-serif;
background-image: linear-gradient(rgba(226, 240, 248, 0.80), rgba(226, 240, 248, 0.80)), url("img/flower.jpg"), url("img/p.jpg");
background-position: center center, right center, left center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-color: #e2f0f8;
color: var(--main_color_text);
line-height: 1.4;
}
ul {
list-style: none;
}

a {
text-decoration: none;
color: inherit;
}

img {
max-width: none;
display: block;
}

button {
font-family: inherit;
background: none;
border: none;
cursor: pointer;
}

.header {
position: relative;
z-index: 5;
display: flex;
align-items: center;
justify-content: space-between;
padding: 24px 8%;
}

.logo {
display: flex;
flex-direction: row-reverse;
align-items: center;
font-family: "Caveat", "Comic Sans MS", cursive;
font-size: 44px;
font-weight: 600;
color: var(--main_color_navy);
}

.logo img {
width: 120px;
height: auto;
margin: -36px -36px -36px -34px;
}

.nav ul {
display: flex;
gap: 40px;
}

.nav a {
font-size: 18px;
color: var(--main_color_navy);
padding-bottom: 4px;
transition: color 0.2s;
}

.nav li:nth-child(1) a {
border-bottom: 3px solid var(--main_color_navy);
}

.nav a:hover {
color: var(--main_color_blue);
}

.ticket-page {
padding: 50px 20px 100px;
text-align: center;
}

.ready {
font-family: "Caveat", "Comic Sans MS", cursive;
font-size: 44px;
color: var(--main_color_navy);
}

.ticket {
width: 90%;
max-width: 640px;
margin: 24px auto;
background: var(--main_color_paper);
border: 2px solid var(--main_color_border);
border-radius: 14px;
text-align: left;
overflow: hidden;
box-shadow: 0 6px 16px rgba(36, 71, 107, 0.3);
}

.ticket-head {
display: flex;
align-items: center;
gap: 14px;
padding: 18px 22px;
border-bottom: 1px solid var(--main_color_border);
}

.ticket-head img {
width: 110px;
margin: -25px -15px -25px -20px;
}

.ticket-head h3 {
font-size: 24px;
color: #1d1d1d;
}

.ticket-grid {
display: grid;
grid-template-columns: 1fr 1fr;
}

.cell {
padding: 14px 22px;
border-bottom: 1px solid var(--main_color_border);
}

.cell span {
font-size: 13px;
font-weight: 600;
color: var(--main_color_navy);
}

.cell p {
font-family: "Caveat", "Comic Sans MS", cursive;
font-size: 30px;
line-height: 1.2;
}

.ticket-foot {
padding: 14px;
background: var(--main_color_red);
color: #ffffff;
text-align: center;
font-size: 16px;
}

.ticket-note {
width: 170px;
margin: 30px auto;
padding: 14px;
background: var(--main_color_note);
font-family: "Caveat", "Comic Sans MS", cursive;
font-size: 24px;
transform: rotate(-5deg);
}

.footer {
padding: 24px;
background: var(--main_color_navy);
color: #ffffff;
text-align: center;
font-size: 14px;
}