@charset "UTF-8";

  /*
  My custom styles
  */
@font-face {
  font-family: 'Vinnytsia New City';
  src: url("./fonts/VinnytsiaNewCity-Regular.woff2") format("woff2"), url("/fonts/VinnytsiaNewCity-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Vinnytsia New City';
  src: url("./fonts/VinnytsiaNewCity-Bold.woff2") format("woff2"), url("./fonts/VinnytsiaNewCity-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Vinnytsia';
  src: url("./fonts/VinnytsiaOldCity-Regular.woff2") format("woff2"), url("./fonts/VinnytsiaOldCity-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html, body {
  font-family: "Vinnytsia New City", sans-serif;
  animation: fadeIn 0.3s ease-in-out forwards;
  color:black;
  margin-top: 0;
  -webkit-font-smoothing: antialiased;
}
.field-error {color: red;font-weight: bold;} /* validation error */

#myVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1; /* Place it behind other elements */
}

/* Navbar section */
.navbar {
  position: fixed; /* Fixed positioning */
  left: 0; /* Align to the left edge of the viewport */
  right: 0; /* Stretch to the right edge of the viewport */
  background-image: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 50%, /* White color until 30% */
    rgba(255, 255, 255, 0) 100% /* Gradually transitions to transparent */
  );
  z-index: 10;
  line-height: 2; 
  padding: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-container img{
  width: 4vw; /* Make the logo responsive and relatively larger */
  min-width: 30px; /* Minimum width */
  height: auto; /* Maintain aspect ratio */
  flex-shrink: 0;
}
.logo-container img {
  width: 14vw; /* Make the logo responsive and relatively larger */
  min-width: 80px; /* Minimum width */
  height: auto; /* Maintain aspect ratio */
  flex-shrink: 0;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-grow: 1; /* Allow nav-links to take up available space */
  flex-shrink: 1; /* Allow shrinking if needed */
  justify-content: center;
  display: flex;
  gap: 1%;
  font-size: 22px;
}

.nav-links li a {
  min-width: max-content;
  flex: 1;
  color: black;
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.nav-links li a span {
  position: absolute;
  background-color: #000000;
  transition: all 0.4s ease;
}

/* Top Border */
.nav-links li a::before {
  content: '';
  position: absolute;

  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: left; /* Starts from the top left */
  transition: transform 0.4s ease;
}

/* Bottom Border */
.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: #000000;
  transform: scaleX(0);
  transform-origin: right; /* Starts from the bottom right */
  transition: transform 0.4s ease;
}

/* Left Border */
.nav-links li a span:first-child {
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  transform: scaleY(0);
  transform-origin: bottom; /* Starts from the bottom left */
  transition: transform 0.4s ease;
}

/* Right Border */
.nav-links li a span:last-child {
  top: 0;
  bottom: 0;
  right: 0;
  width: 2px;
  transform: scaleY(0);
  transform-origin: top; /* Starts from the top right */
  transition: transform 0.4s ease;
}

/* Hover Effects */
.nav-links li a:hover::before {
  transform: scaleX(1);
  transform-origin: right; /* Retracts to the right */
}

.nav-links li a:hover::after {
  transform: scaleX(1);
  transform-origin: left; /* Retracts to the left */
}

.nav-links li a:hover span:first-child {
  transform: scaleY(1);
  transform-origin: top; /* Retracts to the top */
}

.nav-links li a:hover span:last-child {
  transform: scaleY(1);
  transform-origin: bottom; /* Retracts to the bottom */
}

/* forms */
#form{
  width: 50%;
  height: 50%;
}

input{
  color: black;
}
label, input, textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
}
form {
width: 30em;
}
.form-control {
margin-bottom: 1em;
}
textarea {
min-height: 5em;
}
.form-control input,
.form-control textarea {
padding: 0.5em;}
input[type="checkbox"] {
display: inline-block;
width: auto; /* Override the width: 100%; rule */
margin-right: 0.5em; /* Add some space between the checkbox and the label */
}

.checkbox label {
display: inline-block; /* This will align the label next to the checkbox */
width: auto; /* Override the width: 100%; rule */
}

/* Media query for screens with a max-width of 650px */
@media (max-width: 650px) {
  .navbar {
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between; /* Space out logo and cart container */
  }

  .logo-container {
    flex-basis: auto; /* Allow logo container to adjust its size */
    flex-grow: 1; /* Allow it to grow if needed */
    order: 1; /* Ensure logo container comes first */
  }

  .cart-container {
    flex-basis: auto; /* Allow cart container to adjust its size */
    flex-grow: 0; /* Prevent it from growing */
    order: 2; /* Place cart container after logo container */
    align-self: flex-start; /* Align to the start (right side in this case) */
  }

  .nav-links {
    flex-direction: column; /* Stack the links vertically */
    align-items: center; /* Center the links */
    width: 100%; /* Full width for the vertical layout */
    order: 3; /* Ensure nav-links come after the logo and cart container */
  }
}

#nav-placeholder{
width: 100%;
height: 8vh;
}

/* Responsive Grid */
.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

/* Overlay segment */
.c{
  text-align: center;
}
p{
  text-align: left;
  font-size: 20px;
}
h1{
  text-align: center;
  font-size: 40px;
}
h3{
  text-align: center;
  font-size: 30px;
}
.detailsContent img { /* centering all images */
  display: block;
  margin: 0 auto;
  width: 85%;
  height: auto;
}
.detailsContent li{
  font-size: 18px;
  margin-bottom: 12px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px); /* Apply blur effect */
    z-index: 15;
}

.overlay-content {
    background-color: white;
    padding: 20px;
    max-height: 80%;
    overflow-y: auto;
}


.close {
  width: 60px;
  height: 60px;
  position: absolute;
  top: 5px;
  right: 10px;
  background: #00000000;
  border-radius: 50%;
  box-shadow: 0 0 20px -5px rgba(255, 255, 255, 0.5);
  transition: 0.25s ease-in-out;
  cursor: pointer;
  animation: fade-in 0.5s ease-out 0.25s both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(1.5);
  }
}

.close .circle path {
  stroke: rgba(255, 255, 255, 1);
  fill: none;
  stroke-width: 1px;
  stroke-linecap: round;
  animation: progress 0.5s ease-out 0.25s both;
}

@keyframes progress {
  from {
    stroke-dasharray: 0 100;
  }
}

.close span {
  display: block;
  width: 10px; 
  height: 2px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 20px -5px rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: absolute;
  transition: 0.25s ease-in-out;
  animation: slide-in 0.5s ease-in-out 0.25s both;
}

@keyframes slide-in {
  from {
    width: 0;
  }
}

.close span:nth-child(1) {
  top: 20px;
  left: 21px;
  transform: rotate(45deg);
  transform-origin: top left;
}

.close span:nth-child(2) {
  top: 20px;
  right: 21px;
  transform: rotate(-45deg);
  transform-origin: top right;
}

.close span:nth-child(3) {
  bottom: 20px;
  left: 21px;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

.close span:nth-child(4) {
  bottom: 20px;
  right: 21px;
  transform: rotate(45deg);
  transform-origin: bottom right;
}

.close:hover {
  background: #0000008e;
}

.close:hover span {
  width: 15px;
}
/* End of overlay segment */

/* Shopping Cart CSS */
.tickets {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.ticket {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px;
  text-align: center;
  width: 200px;
}

button.add-to-cart {
  background-color: #0074cc;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.cart {
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 20px;
  text-align: center;
}

.cart ul {
  list-style-type: none;
  padding: 0;
}

.cart li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.cart p {
  font-weight: bold;
}