@charset "utf-8";
/* CSS Document */

       /* Body */
        body {
			margin: 0;
            padding: 0;
            font-family: "Arpona";
            background-color: #E0E0E0;
            font-size: 16px;
            color: #2D3440;
        }

        /* Main Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            max-width: 80%;
        }

        /* Grid */
        .main-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
		
		/* Column 3 After Submissions Close */
		/* 
		.column3 {
			position: relative;
			margin: 0;
			top: 20%;
			left: 0%;
		} 
		*/
			.column2 {
			position: relative;
			margin: 0;
			top: 15%;
			left: 0%;
		} 
        /* Section Styles */
        .header {
            color: #ffffff;
            display: inline;
            justify-content: center;
            align-items: center;
            margin-top: 15%;
        }
		
		.DonateJSON-Container {
			margin: auto;
			
		}
		
		.fest-sub-guide {
			margin: auto;
			padding: 0px;
		}

        /* Main Content divs */
        .main-content div {
            padding: 10px;
        }

        /* Footer */
        .footer {
            color: #0F58DF;
            padding: 10px 100px ;
            text-align: center;
			
        }

        /* Hyperlinks */
        a {
            color: #0F58DF;
            text-align: center;
        }
		h1 {
			text-align: center;
            font-size: 70px;
			text-transform: uppercase;
            color: #0F58DF;
		}
        /* Header 4 */
        h4 {
            text-align: center;
            font-size: 25px;
            color: #0F58DF;
        }

        /* Header 5 */
        h5 {
            text-align: center;
            font: "Alegreya Sans SC";
            font-size: 40px;
            color: #D9E250;
            text-transform: uppercase;
        }

        /* Save the Date JSON */
        .save-the-date {
            padding: 20px;
        }
		
		.buytickets {
			transform: scale(80%);
			margin: -20px;
		}
		
        /* Flashing Hyperlinks */
        @keyframes flash {
            0% { color: #0F58DF; }
            50% { color: #D9E250; }
            100% { color: #0F58DF; }
        }

        /* Hyperlink Animation on Hover */
        a:hover {
            animation: flash 0.5s infinite;
        }
		
        .important-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
			position: relative;
        }
		
		.important-buttons img {
			max-height: 40px;
		}

        .important-buttons a {
            margin: 0 10px;
            transition: transform 0.3s ease;
        }

        /* Wiggle social icons on hover */
        .important-buttons a:hover {
            animation: wiggle .7s ease infinite;
        }

        /* Keyframes for the wiggle animation */
        @keyframes wiggle {
            0% {
                transform: rotate(-4deg);
            }
            50% {
                transform: rotate(4deg);
            }
            100% {
                transform: rotate(-4deg);
            }
        }
		/* Flashing effect for buttons on hover */
        .button:hover {
            animation: flash 0.5s infinite;
        }

        /* CSS for button text */
        .button {
            font-family: "Arpona";
            background-color: #D9E250;
			margin: 10px;
			padding: 5px 10px;
            color: #402D34;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            font-size: 18px;
        }

        .button:hover {
            background-color: #0F58DF;
        }
		

    /* The Email List Modal (background) */
		
	.join-button {
		position: fixed;
		z-index: 1;
      	top: 0;
      	left: 0;
      	margin: 0px;
		}
    .email-list-modal {
      display: none; /* Hidden by default */
      position: fixed; /* Stay in place */
      z-index: 1; /* Sit on top */
      left: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
      background-color: rgb(0,0,0); /* Fallback color */
      background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
      padding-top: 60px;
    }

    /* The Email List Modal Content/Box */
    .email-modal-content {
      background-color: #D9E250;
      margin: 5% auto; /* 5% from the top and centered */
      padding: 20px;
      border: 0px solid #888;
      width: 20%; /* Could be more or less, depending on screen size */
      max-width: 500px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	  border-radius: 20px;
	
    }
		.email-modal-content label {
			text-align: center;
		}
		.email-modal-content input {
			font-family: "Arpona";
			background-color: #F7EDE2;
			border: none;
			font-size: 18px;
			margin:
		}
		
		.email-modal-content button {
			font-family: "Arpona";
			color: #D9E250;
			background-color: #402D34;
			border: none;
			text-transform: uppercase;
			font-weight: 700;
			font-size: 18px;
			width: 50%;
			margin: auto;
			cursor: pointer;
			
		}
		
		.email-modal-content button:hover {
			background-color: #0F58DF;
			animation: flash 1s  ease infinite;
		}
    /* The Close Button */
    .close2 {
      color: #402D34;
      float: right;
      font-size: 16px;
      font-weight: bold;
    }

    .close2:hover,
    .close2:focus {
      color: #0F58DF;
      text-decoration: none;
      cursor: pointer;
    }

    form {
      display: flex;
      flex-direction: column;
    }
    label, input, button {
      margin-bottom: 10px;
    }
		
        /* CSS for Modal Button text */
        .button2 {
            font-family: Arpona;
            display: inline-block;
            padding: 10px 50px;
            margin: 10px;
            background-color: #402D34;
            color: #D9E250;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            font-size: 24px;
        }
		
		        .button2:hover {
            background-color: #0F58DF;
        }

        /* CSS for alert message */
        .alert {
            background-color: #402D34;
			color: #ffffff;
            border: 0px solid #ccc;
            padding: 10px 20px;
            border-radius: 5px;
            position: absolute;
			top: 100%;
			left: 0;
			z-index: 10;
        }
		/* Tome Asset*/
		.tome {
		margin: auto;
		width:200px;
		}
		
		.tome img {
			width: 200px;
			transition: transform 0.3s ease;
			
		}

        .tome img:hover {
            animation: tomewiggle 1s  ease infinite;
        }
		
        /* Keyframes for the wiggle animation */
        @keyframes tomewiggle {
            0% {
                transform: rotate(-2deg) scale(1);
            }
            50% {
                transform: rotate(2deg) scale(1.05);
            }
            100% {
                transform: rotate(-2deg) scale(1);
            }
        }
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: none;
            background-color: rgb(0,0,0);
            background-color: rgba(0,0,0,0.8);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Modal Content */
        .modal-content {
            background-color: #D9E250;
            margin: 1% auto;
            padding: 20px;
            max-width: 1000px;
			text-align: center;
			border-radius: 120px;
			box-shadow: 0px 0px 50px;
        }
		
		.modal-content img {
			width: 50%;
		}
		
		.modal-content iframe {
			width: 100%;
			height: 500px;
		}

        /* Proceed to Website */
        .close1 {
            color: #402D34;
            font-size: 12px;
            font-weight: bold;
			background: none;
			text-align: center;
			display: block;
			
        }

        .close1:hover,
        .close1:focus {
            color: #0F58DF;
            text-decoration: none;
            cursor: pointer;
			background: none;
        }
		/* Full Site Style Adjustment for Mobile Devices */
        @media (max-width: 1030px) {
            .main-content {
                grid-template-columns: 1fr;
            }

            .main-content > div:nth-child(2) {
                order: auto;
            }
			
			.modal-content {
				width: 80%;
				max-height: 60%;
				
			}
			
			.column {
				padding-top: 250px;
			}
			
			.modal-content img {
				width: 95%;
			}
			
			.modal-content h1 {
				font-size:25px;
			
			}
			
			.modal-content iframe {
			display: none;
			}
			
			.email-modal-content  {
				width: 70%;
			}
        }

/* Film Program Tables */
#programs table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
  background: #fff; /* pop out from grey background */
}

#programs th,
#programs td {
  border: 0px solid #ccc;
  padding: 10px;
  text-align: left;
}

#programs th {
  background: #0F58DF;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

#programs tr:nth-child(even) {
  background: #f9f9f9;
}

#programs tr:hover {
  background: #D9E250;
  transition: background 0.2s ease;
}

#programs h2 {
  text-align: center;
  font-size: 32px;
  color: #402D34;
  margin-top: 40px;
}

/* Film Program Tables - Responsive Adjustments */
@media (max-width: 600px) {
  /* Hide Duration and City columns */
  #programs th:nth-child(3), /* Duration */
  #programs td:nth-child(3),
  #programs th:nth-child(4), /* City */
  #programs td:nth-child(4) {
    display: none;
  }

  /* Optional: make table font smaller for mobile */
  #programs table {
    font-size: 14px;
  }
}

/* Tooltip container for rows */
.has-tooltip {
  position: relative;
  cursor: pointer;
}

/* Tooltip text */
.has-tooltip::after {
  content: attr(data-desc);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 125%; /* appear above the row */
  background: #402D34;
  color: #D9E250;
  padding: 8px;
  border-radius: 5px;
  width: 300px; /* adjust width as needed */
  white-space: pre-wrap; /* wraps long text */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 100;
}

/* Show tooltip on row hover */
.has-tooltip:hover::after {
  opacity: 1;
}
