.backgroundColor {
    background: #FDF6E3;
    justify-content: center;
}

/*NAVIGATION BAR*/
.header {
    background-color: #FDF6E3;
    color: #000; /* Changed to black for visibility */
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25); /* Add shadow effect */
    height: 100px;
}

.headerContainer {
    display: flex;
    justify-content: space-between; /* Center the content */
    align-items: center; /* Vertically center the items */
    width: 90%;
    height: 100%;
    margin: auto auto;
    padding: 0 20px;
}

.headerImage {
    width: auto;
    height: auto;
}

.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navItem {
    margin: 0 30px;
}

.navItem a {
    font-size: 26px;
    text-decoration: none;
    font-family: 'Fredoka one', serif;
    color: #555555;
    position: relative;
}

.navItem a:after {
    content: "";
    position: absolute;
    background-color: #d32f2f;
    height: 3px;
    width: 0%;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.navItem a:hover:after {
    width: 25%;
}

.navItem a:hover {
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.navItem a.active {
    color: black;
}

.navItem a.active:after {
    width: 25%;
}

.locationsButtonContainer {
    align-items: center;
    display: flex;
}

.locationsButton {
    background-color: #f44336 ;
    border: none;
    padding: 10px 20px;
    font-size: 26px;
    font-family: 'Fredoka one', serif;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a modern look */
    transition: background-color .4s ease, box-shadow .4s ease; /* Smooth transition for background and box-shadow */
    color: white;
    text-decoration: none;
}

.locationsButton:hover {
    background-color: #d32f2f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Increase shadow on hover for a raised effect */
    color: white;
    text-decoration: none;
}

/*HAMBURGER MENU*/
.hamburgerHeader {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
}

.hamburgerHeader span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

/*OVERLAY HEADER MENU SECTION*/
.overlayHeaderMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Transparent background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
}

.overlayHeaderMenu.active {
    transform: translateY(0);
}

.overlayHeaderMenu .closeOverlayHeader {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
}

.overlayHeaderNavList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.overlayHeaderNavListItem a {
    font-size: 26px;
    color: white;
    text-decoration: none;
    font-family: 'Fredoka one', serif;
}

.overlayHeaderNavListItem a:hover {
    text-decoration: none;
    color: white;
}

.overlayLocationsButtonContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

/*RESPONSIVENESS HAMBURGER MENU ON MOBILE*/
@media screen and (max-width: 480px) {
    .nav, .locationsButtonContainer {
        display: none;
    }

    .headerContainer {
        width: 100%;
        padding: 0 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburgerHeader {
        position: absolute;
        right: 20px;
        top: 20px;
        display: flex;
    }
    
    .navItem {
        display: none; /* Ensure nav items are hidden */
    }
}

@media screen and (min-width: 481px) and (max-width: 1200px) {
    .nav, .locationsButtonContainer {
        display: none;
    }

    .headerContainer {
        width: 100%;
        padding: 0 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburgerHeader {
        display: flex;
    }

    .navItem {
        display: none; /* Ensure nav items are hidden */
    }

    .overlayHeaderNavListItem a {
        font-size: 32px; /* Increase the font size for better readability */
    }

    .locationsButton {
        font-size: 32px; /* Increase the font size of the Locations button */
    }
}

/*PREVENTS SCROLLING ON OVERLAY*/
body.overlayActive {
    overflow: hidden;
}

/*MESSAGE BLACK BAR*/
.messageContent {
    text-align: center;
    color: #fff7f9;
    background-color: black;
    padding: 50px 0;
    font-family: 'Fredoka one', serif;
    width: 100%;
}

.messageContent h1 {
    font-size: 52px;
    width: 90%;
    margin: 0 auto;
}

.messageContent p {
    font-size: 26px;
    width: 90%;
    margin: 0 auto;
}


/*MESSAGEBOX AREA*/
.reviewLogo {
    padding: 0;
    margin: 35px auto 0 auto;
    display: block;
}

.reviewLogo img {
    margin-bottom: 50px;
    display: block;
}

.messageBox {
    margin: 150px auto;
    width: 90%; /* Adjust to be responsive */
    max-width: 1175px; /* Ensure it doesn't exceed 1175px */
    padding: 20px; /* Add padding for content spacing */
    box-sizing: border-box; /* Ensure padding is included in the width */
    background-color: white; /* Example background color */
    display: flex; /* Use flexbox for internal content */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center align children */
    animation: fadeIn 1s ease-out;
    border-radius: 15px;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.inputGroup, .textareaGroup, .selectGroup {
    margin-bottom: 30px;
    position: relative;
}

.messageBox input, textarea, select {
    width: 1000px;
    padding: 10px;
    outline: 0;
    border: 1px solid #C0C0C0;
    color: black;
    font-size: 16px;
    border-radius: 10px;
}



.checkboxArea {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    margin-top: -10px;
    cursor: auto;
    user-select: none;
    font-size: 20px;
    color: #555555;
    transition: color 0.3s ease;
}

.checkboxArea input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;

}

.customCheckbox {
    cursor: pointer;
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.checkboxArea:hover input ~ .customCheckbox {
    border-color: #888888;
}

.checkboxArea input:checked ~ .customCheckbox {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.customCheckbox:after {
    content: "";
    position: absolute;
    display: none;
}

.checkboxArea input:checked ~ .customCheckbox:after {
    display: block;
}

.checkboxArea .customCheckbox:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkboxArea input:focus ~ .customCheckbox {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}



/* CHANGES BORDER COLOR WHEN HOVERING */
.messageBox input:hover,
.messageBox textarea:hover,
.messageBox select:hover {
    border-color: #333; 
}

/* CHANGES BORDER COLOR WHEN SELECTED */
.messageBox input:focus,
.messageBox textarea:focus,
.messageBox select:focus {
    border-color: #333; 
}

.messageBox label {
    height: auto;
    position: absolute;
    left: 10px;
    top: 0;
    padding: 10px; /* Adjust horizontal padding */
    color: black;
    cursor: text;
    transition: 0.2s;
    background: none; /* Remove background from the label itself */
}

.messageBox label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Place background behind the text */
    padding: 0 5px; /* Match the label's padding */
    border-radius: 3px; /* Optional: Add some border radius for better aesthetics */
}

input:focus ~ label,
input:not(:placeholder-shown) ~ label,
textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
    top: -17px;
    font-size: 14px;
    background-color: white; /* Set desired background color */
    padding: 3px 7px; /* Match the label's padding */

}

input:focus ~ label::before,
input:not(:placeholder-shown) ~ label::before,
textarea:focus ~ label::before,
textarea:not(:placeholder-shown) ~ label::before {
    top: -17px;
    height: 14px; /* Adjust height to match the label's new position */
    background-color: white; /* Set desired background color */
    padding: 3% 7px; /* Match the label's padding */

}

/* REMOVES BACKGROUND COLOR CHANGE WHEN SELECTED AUTOFILL OPTION */
.messageBox input:-webkit-autofill,
.messageBox input:-webkit-autofill:hover,
.messageBox input:-webkit-autofill:focus,
.messageBox textarea:-webkit-autofill,
.messageBox textarea:-webkit-autofill:hover,
.messageBox textarea:-webkit-autofill:focus,
.messageBox select:-webkit-autofill,
.messageBox select:-webkit-autofill:hover,
.messageBox select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.messageBox button {
    width: 15%;
    height: 50px;
    border: none;
    padding: 0 20px;
    margin-bottom: 15px;
    border-radius: 30px;
    box-sizing: border-box; /* Include padding in the element's total width and height */
    font-size: 25px;
    background: #f44336;
    color: white;
    cursor: pointer;
    transition: background-color .4s ease, box-shadow .4s ease; /* Smooth transition for background and box-shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a modern look */
    font-family: 'Fredoka one', serif;
}

.messageBox button:hover {
    background: #d32f2f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Increase shadow on hover for a raised effect */
}

.messageBox h2, p {
    text-align: center;
}

.messageBox h2 {
    font-size: 35px;
}

.messageBox p {
    font-size: 20px;
}

.thankYouMessage {
    margin: 150px;
}

@media screen and (max-width: 1200px) {
    .messageBox input, .messageBox textarea, .messageBox select {
        width: 750px;
    }
    .messageBox button {
        width: 20%;
    }
    .thankYouMessage {
        margin: 100px 50px;
    }
}
@media screen and (max-width: 900px) {
    .messageBox input, .messageBox textarea, .messageBox select {
        width: 600px;
    }
    .messageBox button {
        width: 25%;
    }
    .thankYouMessage {
        margin: 80px 30px;
    }
}
@media screen and (max-width: 700px) {
    .messageBox input, .messageBox textarea, .messageBox select {
        width: 400px;
    }
    .messageBox button {
        width: 35%;
    }
    .thankYouMessage {
        margin: 60px 20px;
    }

}
/*MOBILE SIZE*/
@media screen and (max-width: 480px) {
    .messageBox input, .messageBox textarea, .messageBox select {
        width: 300px;
    }
    .messageBox button {
        width: 45%;
    }
    .thankYouMessage {
        margin: 40px 15px;
    }
}
@media screen and (max-width: 380px) {
    .reviewLogo img {
        width: 275px;
    }
}
@media screen and (max-width: 360px) {
    .messageBox input, .messageBox textarea, .messageBox select {
        width: 250px;
    }
    .reviewLogo img {
        width: 250px;
    }
    .messageBox button {
        width: 50%;
    }
    .thankYouMessage {
        margin: 30px 10px;
    }
}
@media screen and (max-width: 768px) {
    .messageContent h1,
    .careersSection h1  {
        font-size: 47px;
    }
    .messageContent p {
        font-size: 21px;
    }
}
@media screen and (max-width: 430px) {
    .messageContent h1,
    .careersSection h1  {
        font-size: 42px;
    } 
}

/*CAREERS BLACK BLOCK*/
.careersSection {
    text-align: center;
    color: #fff7f9;
    background-color: black;
    padding: 75px 0;
    margin-top: 115px;
    font-family: 'Fredoka one', serif;
}

.careersSection h1 {
    font-size: 50px;
    width: 90%;
    margin: 0 auto;
}
/*CAREERS TEXT*/
.careersContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.careersContent h1 {
    font-family: 'Fredoka one', serif;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: left;
}

.careersContent p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

.careersContent .section {
    margin-bottom: 50px; 
}

/*FOOTER AREA*/
footer {
    color: aliceblue;
    background: #1c2630;
    padding: 20px;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: aliceblue;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.footerCopyright p {
    color: aliceblue;
    font-size: 15px;
    margin: 10px 0;
    text-align: center;
}

.footerRow {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mt-3 {
    margin-top: 1rem;
}
