@font-face {
    font-family: 'bamboo_handregular';
    src: url('bamboohand-webfont.woff2') format('woff2'),
    url('bamboohand-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'bamboo_handregular', 'Arial', 'sans-serif';
}
.center {
    text-align: center;
}

.container {
    width: 400px;
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.login-box {
    margin: 0;
    padding: 0;
    text-align: center;
}

.remember {
    margin: 0;
    padding: 0;
    padding-top: 5px;
    padding-left: 100px;
    padding-bottom: 20px;
    text-align: left;
}

h1 {
    font-size: 24px;
    margin-top: 20px;
    font-weight: bold;
    margin-bottom: 0.67em;
    display: block;
    line-height: normal;
    color: inherit;
}

h3 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
    margin-bottom: 0.67em;
    display: block;
    line-height: normal;
    color: inherit;
}

h4 {
    font-size: 14px;
    margin-top: 10px;
    font-weight: bold;
    margin-bottom: 0.67em;
    display: block;
    line-height: normal;
    color: inherit;
}

.error-box {
    padding: 0;
    margin: 0;
    color: red;
    font-weight: bold;
}

.valid-box {
    padding: 0;
    margin: 0;
    color: green;
    font-weight: bold;
}

.screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

select {
    font-size: 20px;
    color: #333;
    border-radius: 20px;
    border: 1px solid #32CD32;
    padding: 10px;
    margin: 10px;
}

input[type="tel"], input[type="text"], input[type="password"], input[type="email"] {
    font-size: 20px;
    color: #333;
    border-radius: 20px;
    border: 1px solid #32CD32;
    width: 250px;
    padding: 10px;
    margin: 10px;
}

input::placeholder {
    color: grey;
    font-style: italic;
}

button {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    color: black;
    font-weight: bold;
}

textarea {
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
    width: 300px;
}

button img {
    display: block;
    width: 80px;
    height: 80px;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    }

.button {
    margin: 10px;
    padding: 20px 40px;
    font-size: 18px;
    text-align: center;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}

.button-visible {
    background-color: darkgreen;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    border-style: solid;
    border-color: red;
    padding: 5px;
    cursor: pointer;
}

#profilePicture {
    opacity: 0;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.profileLabel {
    background-color: darkgreen;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    border-style: solid;
    border-color: red;
    padding: 5px;
    cursor: pointer;
}

#menu-top {
    position: absolute;
    top: 0;
    left: 0;
}

table td {
    padding: 10px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* Styling for forgotten password section */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: grid;
    place-items: center;
}

.popup {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*Styling for custom checkbox (increase mobile usability)*/

/* Style for the label which also acts as the outer container */
.checkbox-label {
    display: inline-flex;
    align-items: center; /* Aligns checkbox and text vertically */
    padding: 10px; /* Padding around the label for a larger touch area */
    cursor: pointer; /* Indicates that the label is clickable */
    /*Below is to prevent blinking cursor on tag*/
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard syntax */
}

/* Hide the default checkbox */
.checkbox {
    display: none;
}

/* Style for the custom checkbox */
.custom-checkbox {
    display: inline-block;
    width: 30px; /* Width of the custom checkbox */
    height: 30px; /* Height of the custom checkbox */
    margin-right: 10px; /* Space between the checkbox and the label text */
    background-color: darkgreen;
    border: 2px solid grey; /* Border of the checkbox */
    border-radius: 4px; /* Optional: for rounded corners */
    position: relative; /* Positioning context for the pseudo-element */
}

/* Style for when the checkbox is checked */
.checkbox:checked + .custom-checkbox {
    background-color: #007bff;
    border-color: #007bff;
}

/* Style to display an image within the custom checkbox when checked */
.checkbox:checked + .custom-checkbox:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/santa_checked.jpg'); /* Replace with your image URL */
    background-size: cover; /* Resize the background image to cover the entire content area */
}

.form-container {
    width: 400px;
    margin: auto;
}

.top-container {
    display:flex;
}

.top-container-questions {
    display:flex;
    flex-direction: column;
}

.form-container .left-align {
    text-align: left;
    margin-left: 35px;
}

#SecretSanta {
    max-width: 400px;
    margin: auto;
}

    #previewContainer {
        margin-top: 20px;
        margin-right: 10px;
        display: flex;
        flex-direction: column;
}
    
    #imagePreview {
        max-height: 100px; /* Adjust as needed */
        width: auto;
        object-fit: contain;
    }

#button-holder {
        display: flex;
        align-items: flex-start; /* Aligns the submit button with the top of the image preview */
        margin-top: 30px;
        margin-left: 35px;
    }

#bottom-container {
    display: flex;
    flex-direction: row;
    align-items: center; /* Aligns items to the start of the container */
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 350px;
}

#profile_picture {
    position: relative;
    display: inline-block;
}

/*CSS to create snowflake effect*/

#snowflakeContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1000; /* Adjust z-index to be above your content */
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    animation-name: fall;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

#countdownStage1, #countdownStage2, #countdownStage3 {
    font-size: 22px;
    text-align: center;
    padding: 20px;
    width: 280px;
    margin-left: 15px;
}

#countdownStage2 {
    font-size: 34px;
}

#countdownStage3 {
    font-size: 26px;
}

.info-holder {
    color: white;
    background-color: mediumaquamarine;
    border-radius: 15px;
    border-color: grey;
    border-style: solid;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 30px;
}

.info-holder-questions {
    color: white;
    background-color: mediumaquamarine;
    border-radius: 15px;
    border-color: grey;
    border-style: solid;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 30px;
}

.item-container {
    text-align: left;
    width: 200px;
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two columns of equal width */
    gap: 10px; /* Optional: adds space between grid items */
}

#profileShow {
    flex-direction: column;
}

#useCurrentContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.naughty-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    border-width: 5px;
    border-style: solid;
    border-color: red;
    padding: 10px;
}

.naughty-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.naughty-box a {
    color: inherit;
    text-decoration: none;
}

.shadow-effect {
    box-shadow: 0px 0px 10px #000; /* Horizontal offset, vertical offset, blur radius, color */
}

.elf-container {
    position: relative;
    display: inline-block;
}

.elf-container img {
    display: block;
    height: 50px;
}

.overlay-circle {
    position: absolute;
    top: 33px;
    left: 30px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 5px 5px;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
}

table {
    border-collapse: collapse; /* This ensures that the borders of the cells collapse into a single border */
    width: 100%; /* Adjust as needed */
}

tr {
    border: 3px solid #000; /* This applies the border to each row */
}

td {
    padding: 8px; /* Adjust padding as needed */
}