@font-face {
    font-family: human-academy;
    src: url("fonts/Head-Human-Academy-Italic/headhuman3d.ttf");
}

@font-face {
    font-family: stacker;
    src: url("fonts/stacker/Stacker.ttf");
}

@font-face {
    font-family: blinkhead;
    src: url("fonts/blinkhead/BlinkHead-Stripes.ttf");
}

@font-face {
    font-family: jura;
    src: url("fonts/Jura/Jura-VariableFont_wght.ttf");
}

@font-face {
    font-family: fredoka;
    src: url("fonts/Fredoka/Fredoka-VariableFont_wdth,wght.ttf");
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-size: 20px;
    font-family: jura;
    background-image: url('images/d2i_background.png');
    background-size: cover; /* Optional, to cover the entire page */
    background-repeat: no-repeat; /* Optional, to stop repeating the image */    
    width: 100vw;
}

.header {
    text-align: center;
}

.content {
    text-align: center;   /* Centers the text horizontally */
    width: 100vw;
}

.content h1, .content h2 {
    margin: 0; /* Removes default margin */
}

.content h2 {
    margin-top: 5px; /* Adds a smaller margin for spacing */
}

h2 {
    font-family: fredoka;
    font-size: 55px;
    background: linear-gradient(to bottom, #F9B1DA, azure);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-family: stacker;
    font-size: 70px;
    color: azure;
    text-shadow: 0 0 2px azure; /* Even less intense glow effect */
}

h1 .special-number {
    font-family: 'blinkhead';
    font-size: 80px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

input[type="text"], textarea {
    margin-top: 10px;
    margin-bottom: 10px;
}

.container {
    position: relative;
    display: flex;
}

.left-column {
    width: 10%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center text alignment */
}

.right-column {
    width: 10%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center text alignment */
}

.main-content {
    width: 65%;
    padding: 15px;
}

.image-button img {
    width: 150px; /* Adjust the size of the button as needed */
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease; /* Add transition for smooth scaling */
}

.image-button img:hover {
    transform: scale(1.1); /* Scale up the image slightly on hover */
}

.image-button-helper img {
    width: 50px; /* Adjust the size of the button as needed */
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease; /* Add transition for smooth scaling */
}

.image-button-helper img:hover {
    transform: scale(1.1); /* Scale up the image slightly on hover */
}

.popup-box {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; /* Adjust the width as needed */
    padding: 20px;
    background-color: white;
    border: 3px solid #F9B1DA;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: display 0.5s ease-in-out;
}

.popup-box-img {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px; /* Adjust the width as needed */
    padding: 20px;
    background-color: white;
    border: 3px solid #F9B1DA;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: display 0.5s ease-in-out;
}

/* Show the popup box when the target is clicked */
#wherePopupBox:target,
#whenPopupBox:target,
#foodPopupBox:target,
#drinkPopupBox:target,
#d2iPopupBox:target,
#yourStylePopupBox:target,
#costumePartyPopupBox:target,
#y2kPopupBox:target{
    display: block;
}

.close-button {
    display: block; /* Block element to function like a button */
    background: none;
    border: none;
    font-size: 20px;
    text-align: right;
    cursor: pointer;
    color: #aaa;
    text-decoration: none;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-button:hover {
    color: #000;
}


/* Popup Box Styles */
.popup-box-img {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px; /* Adjust the width as needed */
    padding: 20px;
    background-color: white;
    border: 3px solid #F9B1DA;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: display 0.5s ease-in-out;
}

.popup-box-img:target {
    display: block; /* Show when targeted */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
}



/* Popup content-specific styles */
.popup-content-img img {
    width: 850px; /* You can specify width and height for the img here */
    height: auto;
    display: block;
    margin: 0 auto;
    z-index: 1; /* Ensure this is above the overlay */
}


.banner {
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4));
    padding: 20px;
    border-radius: 8px; /* Optional: rounded corners */
    margin: 20px;
    position: relative; /* Allows for absolute positioning of the icon */
}

.banner-content {
    flex: 1;
    text-align: center; /* Centers the text within the flex container */
}

.banner-text {
    color: white; /* Text color */
    font-size: 30px; /* Adjust as needed */
}

.image-button-helper {
    position: absolute;
    right: 20px; /* Positions the icon to the right */
}

.messages-box {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    width: 95%;
    margin: 10px auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-height: 300px; /* Adjust the height as needed */
    overflow-y: scroll; /* Adds scrolling for overflow content */
    align-items: center;
}


.message {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    margin: 10px 0;
}

.message:last-child {
    border-bottom: none;
}