 /* Ensure the embed fills the entire viewport */
 html, body {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #1a1a1a;
}

p, h1, h2, h3, h4, h5, h6, label {
    color: #ffffff;
}

.btn {
    background-color: #fec325;
    color: #000;
}

.btn:hover {
    background-color: #fec325;
    opacity: 0.7;
    color: #000;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-top: 40px;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 20px;
    width: 100%; /* Set width to 100% */
    margin: 0; /* Remove margins */
    max-width: fit-content;

}

.form-container {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0px;
    box-sizing: border-box;
    color: #000;
}

.form-container img {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 20%;
    max-height: 20%;
    z-index: 1;
}

.form-container-background {
    display: flex;
    margin: 20px;
    padding: 20px;
    background-image: -webkit-linear-gradient(top, #fdb718, rgba(254, 195, 37, 0.5)), linear-gradient(to bottom, #fdb718, rgba(254, 195, 37, 0.5)), url("https://tdgardenapps.com/bruins-authentics/images/centennial-background.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    position: relative;
    margin-top:50px;
}

/* Style the form inputs and button */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="submit"],
.form-container select {
    width: 100%;
    margin-bottom: 10px;
    border: 0px solid #ffffff;
    border-bottom: 1px solid #fec325;
    border-radius: unset;
    box-sizing: border-box;
    background-color: transparent;
    color: rgb(255, 255, 255);
}

.form-container input[type="text"]:focus,
.form-container input[type="email"]:focus,
.form-container select:focus,
.form-container input[type="submit"]:focus {
    outline: none;
    border-bottom: 1px solid #ffffff;
    box-shadow: none;
}

.form-container input[type="submit"] {
    color: rgb(255, 255, 255);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-container input[type="text"]:hover,
.form-container input[type="email"]:hover,
.form-container input[type="submit"]:hover {
    background-color: transparent;
    color: rgb(255, 255, 255);
    font-weight: 400;
}

.form-container input[type="text"]::placeholder,
.form-container input[type="email"]::placeholder,
.form-container select::placeholder {
    color: rgb(255, 255, 255);
}

/* Target autofilled input fields */
.form-container input[type="text"]:-webkit-autofill,
.form-container input[type="email"]:-webkit-autofill,
.form-container select:-webkit-autofill {
    background-color: transparent !important;
}

.form-group {
    margin-bottom: 0rem;
}

.form-name {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    min-width: fit-content;
    width: 100%;
}

.form-name .form-group {
    width: calc(50% - 10px);
    margin-bottom: 10px;
}

.form-name .form-group:nth-child(1) {
    margin-right: 20px;
}

.youtubeEmbed {
    width: 50%; /* Adjust the width percentage as needed */
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    color: white;
}

.youtubeEmbedMobile {
 display:none;
}

.youtube-video {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
.youtubeEmbed p {
    color: white;
}

@media only screen and (max-width: 800px) {


    /* Adjust width to 100% when the screen size is 600px or smaller (typical mobile devices) */
    .container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    
    .tagboard-embed,
    .form-container {
        width: 100%;
        max-width: 100%;
        padding: 1px;

    }

    .tagboard-embed {
        margin-top: -100px;
        order: 1;
    }

    .form-container {
        order: 2;
        padding: 0px;
    }

    .form-container-background {
        padding: 0px 20px 20px 20px;
        border-radius: 0px;
        margin-top: 0px;
        margin: 0px;

    }

    .container {
        margin-right: 0px;
        margin-left: 0px;
        padding: 0px;
    }

    .form-container img {
        display: none;
    }

    /* Hide the video on mobile */
    .youtubeEmbed {
        display: none;
    }

    .youtubeEmbedMobile {
        display: block;

    }

    .youtube-video {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
}