html{
    overflow-x: hidden;
    width: 100%;
}

body{
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    position: relative;
}

/* Email Already Registered Modal Styles */
.email-exists-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(242, 219, 42, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.email-exists-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.email-exists-close-btn-div {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10001;
}

.email-exists-close-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: black;
    transition: all 0.2s ease;
}

.email-exists-close-btn:hover {
    background: #F2DB2A;
}

.email-exists-header {
    background: white;
    padding: 40px 40px 15px 40px;
    border-radius: 16px 16px 0 0;
    text-align: center;
    position: relative;
}

.email-exists-header h2 {
    font-family: 'Oswald', sans-serif;
    color: black;
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    padding-right: 0;
}

.email-exists-body {
    padding: 20px 40px 40px 40px;
    text-align: center;
}

.email-exists-body p {
    font-family: 'Roboto Slab', serif;
    color: #333;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 100;
    line-height: 1.6;
}

.email-exists-actions {
    padding: 20px 40px 40px 40px;
    text-align: center;
}

.email-exists-ok-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 16px;
    background-color: black;
    color: #F2DB2A;
    transition: all 0.3s ease;
}

.email-exists-ok-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Email Exists Modal Responsive */
@media (max-width: 768px) {
    .email-exists-modal-content {
        max-width: calc(100% - 20px);
    }

    .email-exists-header {
        padding: 35px 20px 12px 20px;
    }

    .email-exists-header h2 {
        font-size: 2.5rem;
        padding-right: 0;
    }

    .email-exists-body {
        padding: 15px 20px 30px 20px;
    }

    .email-exists-body p {
        font-size: 16px;
    }

    .email-exists-actions {
        padding: 15px 20px 30px 20px;
    }

    .email-exists-close-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .email-exists-modal-content {
        max-width: calc(100% - 10px);
    }

    .email-exists-header {
        padding: 30px 15px 10px 15px;
    }

    .email-exists-header h2 {
        font-size: 2.5rem;
        padding-right: 0;
    }

    .email-exists-body {
        padding: 15px 15px 25px 15px;
    }

    .email-exists-body p {
        font-size: 15px;
    }

    .email-exists-ok-btn {
        width: 100%;
        padding: 12px 20px;
    }

    .email-exists-close-btn {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
    }
}

/* Terms Modal Styles */
.terms-modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.terms-modal-content {
    background: white;
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 650px;
    max-height: none;
    position: relative;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.terms-close-btn-div {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
}

.terms-close-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: black;
    transition: all 0.2s ease;
}

.terms-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.terms-header {
    background: linear-gradient(135deg, #F2DB2A 0%, #e6c824 100%);
    padding: 30px 40px 25px 40px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.terms-header h2 {
    font-family: 'Oswald', sans-serif;
    color: black;
    margin-bottom: 10px;
    font-size: 2rem;
    font-weight: 700;
}

.terms-header p {
    font-family: 'Roboto Slab', serif;
    color: black;
    margin-bottom: 0;
    font-weight: 100;
    font-size: 16px;
}

.terms-content {
    padding: 30px 40px;
    overflow-y: auto;
    max-height: calc(85vh - 400px);
}

.terms-section {
    margin-bottom: 25px;
    padding: 25px;
    background: #fafafa;
    border-radius: 12px;
    border-left: 4px solid #F2DB2A;
}

.terms-section h3 {
    font-family: 'Oswald', sans-serif;
    color: black;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.terms-summary p, .privacy-summary p {
    font-family: 'Roboto Slab', serif;
    color: #333;
    margin-bottom: 12px;
    font-weight: 100;
}

.terms-summary ul, .privacy-summary ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-summary li, .privacy-summary li {
    margin-bottom: 8px;
    color: #333;
    font-family: 'Roboto Slab', serif;
    font-weight: 100;
}

.terms-link {
    color: black;
    background-color: #F2DB2A;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.terms-link:hover {
    background-color: #e6c824;
    transform: translateY(-1px);
    text-decoration: none;
}

.terms-agreement {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #F2DB2A 0%, #e6c824 100%);
    border-radius: 12px;
}

.terms-checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: black;
    font-size: 16px;
}

.terms-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 22px;
    width: 22px;
    background-color: white;
    border: 2px solid black;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.terms-checkbox-container:hover input ~ .checkmark {
    background-color: #f8f8f8;
}

.terms-checkbox-container input:checked ~ .checkmark {
    background-color: black;
    border-color: black;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.terms-checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.terms-checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid #F2DB2A;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.terms-decline-btn, .terms-accept-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.terms-decline-btn {
    background-color: #666;
    color: white;
}

.terms-decline-btn:hover {
    background-color: #555;
    transform: translateY(-1px);
}

.terms-accept-btn {
    background-color: black;
    color: #F2DB2A;
    opacity: 0.5;
}

.terms-accept-btn:enabled {
    opacity: 1;
}

.terms-accept-btn:enabled:hover {
    background-color: #333;
    transform: translateY(-1px);
}

/* Terms Modal Responsive */
@media (max-width: 768px) {
    .terms-modal-container {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
        overflow-x: hidden;
    }

    .terms-modal-content {
        max-width: 100%;
        width: calc(100% - 20px);
        margin: 0 auto;
        max-height: none;
        overflow: visible;
        box-sizing: border-box;
    }

    .terms-content {
        max-height: calc(90vh - 350px);
    }
    .terms-header {
        padding: 25px 20px 20px 20px;
        position: relative;
    }
    .terms-header h2 {
        font-size: 1.6rem;
        padding-right: 40px;
    }
    .terms-header p {
        font-size: 14px;
    }
    .terms-content {
        padding: 20px;
    }
    .terms-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    .terms-section h3 {
        font-size: 1.2rem;
    }
    .terms-summary p, .terms-summary li {
        font-size: 14px;
    }
    .terms-agreement {
        padding: 20px;
        margin: 20px 0;
    }
    .terms-checkbox-container {
        font-size: 14px;
        padding-left: 30px;
    }
    .terms-actions {
        flex-direction: column;
        gap: 10px;
    }
    .terms-decline-btn, .terms-accept-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 15px;
    }
    .terms-close-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .terms-close-btn-div {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .terms-modal-container {
        padding: 5px;
        padding-top: 10px;
        overflow-x: hidden;
    }

    .terms-modal-content {
        max-width: 100%;
        width: calc(100% - 10px);
        margin: 0 auto;
        overflow: visible;
        box-sizing: border-box;
    }

    .terms-content {
        max-height: calc(90vh - 320px);
    }
    .terms-header {
        padding: 20px 15px 15px 15px;
        position: relative;
    }
    .terms-header h2 {
        font-size: 1.4rem;
        padding-right: 35px;
    }
    .terms-content {
        padding: 15px;
    }
    .terms-section {
        padding: 15px;
    }
    .terms-section h3 {
        font-size: 1.1rem;
    }
    .terms-summary p, .terms-summary li, .privacy-summary p, .privacy-summary li {
        font-size: 13px;
    }
    .terms-agreement {
        padding: 15px;
    }
    .terms-checkbox-container {
        font-size: 13px;
    }
    .terms-close-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    .terms-close-btn-div {
        top: 12px;
        right: 12px;
    }
}
/* Welcome */
.welcome-container{
    position: relative;
}
.welcome-png{
    width: 75%;
    height: auto;
    margin-bottom: 3%;
    margin-right: 5%;
    float:right;
}
.title-text-container{
    position:absolute;
    margin-top: 12%;
    margin-left: 25%;
}
.title-text{
    font-family: 'Oswald';
    font-size: 6rem;
}
.welcome-text-container{
    position: absolute;
    margin-top: 24%;
    margin-left: 33%;
    
}
.welcome-text{
    font-family: 'Roboto Slab';
    font-weight: 100;
    font-size: 3.5rem;
    text-decoration: none;
}

/* Word animation styles */
.word {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
    text-decoration: none;
}

.word-1 {
    animation-delay: 1s;
}

.word-2 {
    animation-delay: 2s;
}

.word-3 {
    animation-delay: 3s;
}

.word-4 {
    animation-delay: 3s;
}

.sprk-word {
    color: #F2DB2A;
    animation: fadeIn 0.8s ease-out 3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes colorChange {
    to {
        color: #F2DB2A;
    }
}
.about-nav{
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 5;
    padding-right: 10px;
}

.join-btn-container{
    position: absolute;
    margin-top: 35%;
    margin-left: 42%;
    display: flex;
    align-items: center;
}
.join-now{
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 65px;
    padding-right: 65px;
    font-family: "Roboto Slab";
    font-weight: 100;
    font-size: 1.55rem;
    background-color: #F2DB2A;
    color: black !important;
    border: 2px #F2DB2A solid;
    border-radius: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.join-now:hover{
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: black !important;
}

.join-now:active,
.join-now:focus,
.join-now:visited{
    color: black !important;
    outline: none;
}

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

.about-us-icon{
    font-size: 2.5rem;
    color: black;
    cursor: pointer;
    transition: color 0.3s ease;
}

.about-us-icon:hover{
    color: #F2DB2A;
}

.about-us-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-family: 'Roboto Slab';
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
}

.about-us-container:hover .about-us-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: white;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 150px;
}

.dropdown-item {
    padding: 12px 20px;
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    color: black;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #eee;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #F2DB2A;
}

.dropdown-item:first-child {
    border-radius: 6px 6px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 6px 6px;
}

/* FAQ Modal */
.faq-modal-container {
    width: 60%;
    max-width: 700px;
    max-height: 85vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 0 0 2px black;
    display: flex;
    flex-direction: column;
}

.faq-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.faq-close-btn-div {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
}

.faq-close-btn {
    background-color: white;
    border: 1px black solid;
    border-radius: 5px;
    padding: 5px 10px;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    color: black;
    transition: background-color 0.3s ease;
}

.faq-close-btn:hover {
    background-color: #F2DB2A;
}

.faq-text-container {
    width: 100%;
    flex: 1;
    padding: 50px 40px 40px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.faq-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: black;
    text-align: center;
}

.faq-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #F2DB2A;
    margin-top: 30px;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    border-left: 4px solid #F2DB2A;
}

.faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: black;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-answer {
    font-family: 'Roboto Slab', serif;
    font-weight: 100;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.faq-footer {
    font-family: 'Roboto Slab', serif;
    font-weight: 100;
    font-size: 1rem;
    text-align: center;
    margin-top: 30px;
    color: #333;
}

.faq-footer a {
    color: #F2DB2A;
    text-decoration: underline;
}

.faq-footer a:hover {
    color: black;
}

/* FAQ Modal Responsive */
@media (max-width: 768px) {
    .faq-modal-container {
        width: 90%;
        max-height: 85vh;
    }

    .faq-text-container {
        padding: 45px 25px 30px 25px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .faq-item {
        padding: 15px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-modal-container {
        width: 95%;
    }

    .faq-text-container {
        padding: 40px 20px 25px 20px;
    }

    .faq-title {
        font-size: 1.7rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.85rem;
    }
}


/* Sign-Up Modal */
.modal-container {
    width: 50%;
    height: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid black;
    border-radius: 15px;
    z-index: 9999;
}
.modal-photo-container{
    width: 100%;
    height: 350px;
    position: relative;
    order: 1;
}
.modal-photo-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    display: block;
}

.join-form{
    width: 100%;
    order: 2;
    border-radius: 0 0 15px 15px; 
    background-color: white;
    border-radius: 15px;
    text-align: center;
    
}
.close-btn-div{
    position: absolute;
    top: 15px;
    right: 15px;
    width: auto;
    z-index: 10000;
}
.close-btn{
    background-color: white;
    border: 1px white solid;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald';
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    color: black !important;
}

.close-btn:hover{
    background-color: #F2DB2A;
    text-decoration: none;
    color: black !important;
}

.close-btn:active,
.close-btn:focus,
.close-btn:visited{
    color: black !important;
    outline: none;
}

.modal-title{
    width: 100%;
    font-family: 'Roboto Slab';
    font-weight: 100;
    font-size: 1.4rem;
    clear: right;
    padding-top: 25px;
}

#user-name, #user-email{
    width: 80%;
    font-family: 'Oswald';
    color: #989898;
    margin: 4%;
    border: 2px black solid;
    border-radius: 5px;
    padding: 3px;
}

#user-name:focus, #user-email:focus{
    outline: none;
    border-color: #F2DB2A;
}
#check-maker, #check-consumer{
    width: 15%;
    zoom: 2.75;
    accent-color: #F2DB2A;
}

.label-checkbox{
    font-family: 'Oswald';
    font-size: 1rem;
    margin-left: -13px;
}
#submit-btn{
    width: 60%;
    padding: 1.5%;
    border: 2px solid black;
    background-color: white;
    border-radius: 12px;
    font-family: 'Oswald';
    margin-top: 3%;
    color: black !important;
    cursor: pointer;
}
#submit-btn:hover{
    background-color: #F2DB2A;
    color: black !important;
}
#submit-btn:active,
#submit-btn:focus,
#submit-btn:visited{
    color: black !important;
    outline: none;
}
.hide{
    display: none !important;
}

.overlay{
    position:fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(242, 219, 42, 0.3);
    z-index: 9998;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

.about-overlay{
    position:fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(242, 219, 42, 0.3);
    z-index: 9998;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* About Us Modal */
.about-modal-container {
    width: 60%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    z-index: 9999;
    background-image: url('../images/porch_swing.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 2px black;
}

.about-modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.about-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 1;
}

.about-close-btn-div {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10000;
}

.about-close-btn {
    background-color: white;
    border: 1px white solid;
    border-radius: 5px;
    padding: 5px 10px;
    font-family: 'Oswald';
    cursor: pointer;
    color: black;
}

.about-close-btn:hover {
    background-color: #F2DB2A;
}

.about-image-container {
    display: none;
}

.about-image {
    display: none;
}

.about-text-container {
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 50px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.about-title {
    font-family: 'Oswald';
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-text {
    font-family: 'Roboto Slab';
    font-weight: 100;
    font-size: 1rem;
    line-height: 1.4;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    max-width: 85%;
    margin-bottom: 10px;
}

/* Confirmation/Error Page */

/* Center confirmation page content + footer vertically - MOBILE/TABLET ONLY */
@media (max-width: 1024px) {
    body.confirmation-page {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .confirmation-container {
        flex-shrink: 0 !important;
        margin-top: -120px !important;
    }

    body.confirmation-page footer {
        position: static !important;
        margin-top: 20px !important;
        flex-shrink: 0 !important;
        width: 100% !important;
    }

    hr.footer-line {
        width: 85% !important;
        min-width: 85% !important;
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    body.confirmation-page footer hr.footer-line {
        width: 85% !important;
    }
}

/* Center confirmation page content + footer vertically - SMALL LAPTOP (1025-1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    body.confirmation-page {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 100vh !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .confirmation-container {
        flex-shrink: 0 !important;
        margin-top: -100px !important;
    }

    .confirmation-img-div {
        padding-top: 80px !important;
    }

    .confirmation-text-div {
        margin-top: -10% !important;
    }

    .confirmation-text {
        font-size: 2.8rem !important;
    }

    hr.footer-line {
        width: 85% !important;
        min-width: 85% !important;
        max-width: 85% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.confirmation-page footer {
        position: static !important;
        margin-top: 20px !important;
        flex-shrink: 0 !important;
    }
}

.confirmation-img-div, .error-img-div{
    width: 100%;
    height: 100%;
}

.confirmation-img-div, .error-img-div{
    width: 100%;
    height: 100%;
}

.confirmation-img-div img, .error-img-div img{
    height: 75%;
    width: 75%;
    object-fit: cover;
    padding-left: 10%;
    padding-top:5%;
}
.confirmation-text-div, .error-text-div{
    margin-top: -15%;
    margin-bottom: 12%;
}
.confirmation-text, .error-text{
    font-family: 'Roboto Slab';
    font-weight: 100;
    color: black;
    font-size: 2.2rem;
    margin-left: 7%;
    text-align: center;
}
.home-btn-div{
    position: relative;
}
.back-home-btn{
    width: 20%;
    padding: 1%;
    border: solid  #F2DB2A;
    background-color:  #F2DB2A;
    border-radius: 12px;
    font-family: 'Oswald';
    font-size: 1.5rem;
    float: right;
    margin-right: 20%;
    margin-top:-6%;
    margin-bottom: 4%;
}
.back-home-btn:hover{
    border: 3px solid #f2DB2A;
    background-color: white;
    
}

/* Media Responsiveness */
@media (max-width: 399px){
    /* Swap logo for mobile version */
    .welcome-png{
        content: url('../images/mainlogo-mobile.png');
        width: 80%;
        margin: 0 auto;
        float: none;
        display: block;
        margin-top: 3%;
        object-fit: contain;
        object-position: center;
        transform: translateX(-15%);
    }

    /* Convert to flexbox layout */
    .welcome-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 5% 5% 5%;
    }

    .welcome-logo{
        order: 1;
        width: 100%;
        text-align: center;
    }

    .title-text-container{
        position: static;
        order: 2;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .title-text{
        font-size: 3.5rem;
        margin: 0;
    }

    .welcome-text-container{
        position: static;
        order: 3;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .welcome-text{
        font-size: 1.5rem;
        margin: 0;
    }

    .join-btn-container{
        position: static;
        order: 4;
        margin: 1% 0 1% 0;
        display: flex;
        justify-content: center;
    }

    .join-now{
        font-size: 1rem;
        padding: 10px 30px;
        border: 2px solid #F2DB2A;
        border-radius: 10px;
    }

    /* Position lightning bolt for mobile */
    .about-nav{
        top: 15px;
        right: 7%;
        padding-right: 0;
    }

    .about-us-icon{
        font-size: 2.75rem !important;
    }

    /* Make body flex container to position footer */
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .confirmation-text{
        font-size: 1.5rem;
    }

    .confirmation-img-div img{
        height: 95%;
        width: 95%;
        padding-right: 15%;
        padding-left: 10%;
        padding-top: 5%;
    }

    .confirmation-text-div{
        margin-top: 2%;
        margin-bottom: 12%;
    }
    .error-text{
        font-size: 0.6rem;
    }
    .back-home-btn{
        font-size: 0.35rem;
    }

    .modal-container{
        width: 95%;
        height: auto;
        max-height: 90vh;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%);
        flex-direction: column;
        position: fixed;
        overflow-y: auto;
    }

    .modal-photo-container{
        display: block;
        width: 100%;
        height: 180px;
        order: 1;
        position: relative;
    }

    .modal-photo-container img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        padding: 0;
    }

    .join-form{
        order: 2;
        border-radius: 0 0 15px 15px;
    }

    .close-btn-div{
        position: absolute;
        top: 10px;
        right: 10px;
        width: auto;
        z-index: 10;
    }

    .close-btn{
        background-color: white;
        border: 1px white solid;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        width: 28px;
        height: 28px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .modal-title{
        font-size: 1rem;
        padding-top: 15px;
    }
    #user-name, #user-email{
        width: 85%;
        margin: 3%;
        font-size: 0.9rem;
    }
    #submit-btn{
        margin-bottom: 2%;
        color: black !important;
    }
    .footer-text{
        font-size: 18px !important;
    }
    i{
        font-size: 12px !important;
    }
    .copyright-text{
        font-size: 6px !important;
        margin-left: 70% !important;
    }
    .label-checkbox{
        font-size: .75rem;
    }
    .about-modal-container{
        width: 95%;
        height: 70%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .about-title{
        font-size: 1.5rem;
    }
    .about-text{
        font-size: 0.85rem;
        line-height: 1.3;
    }
    footer{
        position: static;
        width: 100%;
        margin-top: auto;
        padding: 10px 0;
    }
}
@media (min-width: 400px) and (max-width: 499px){
    /* Swap logo for mobile version */
    .welcome-png{
        content: url('../images/mainlogo-mobile.png');
        width: 80%;
        margin: 0 auto;
        float: none;
        display: block;
        margin-top: 3%;
        object-fit: contain;
        object-position: center;
        transform: translateX(-15%);
    }

    /* Convert to flexbox layout */
    .welcome-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 5% 5% 5%;
    }

    .welcome-logo{
        order: 1;
        width: 100%;
        text-align: center;
    }

    .title-text-container{
        position: static;
        order: 2;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .title-text{
        font-size: 4rem;
        margin: 0;
    }

    .welcome-text-container{
        position: static;
        order: 3;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .welcome-text{
        font-size: 1.8rem;
        margin: 0;
    }

    .join-btn-container{
        position: static;
        order: 4;
        margin: 1% 0 1% 0;
        display: flex;
        justify-content: center;
    }

    .join-now{
        font-size: 1.1rem;
        padding: 12px 35px;
        border: 2px solid #F2DB2A;
        border-radius: 10px;
    }

    /* Position lightning bolt for mobile */
    .about-nav{
        top: 15px;
        right: 7%;
        padding-right: 0;
    }

    .about-us-icon{
        font-size: 2.75rem !important;
    }

    /* Make body flex container to position footer */
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .join-btn-container{
        margin-bottom: 0% !important;
    }

    .confirmation-text{
        font-size: 1.8rem;
    }

    .confirmation-img-div img{
        height: 95%;
        width: 95%;
        padding-right: 15%;
        padding-left: 10%;
        padding-top: 5%;
    }

    .confirmation-text-div{
        margin-top: 2%;
        margin-bottom: 12%;
    }
    .error-text{
        font-size: 0.6rem;
    }
    .back-home-btn{
        font-size: 0.5rem;
    }

    .modal-container{
        width: 95%;
        height: auto;
        max-height: 90vh;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%);
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-photo-container{
        display: block;
        width: 100%;
        height: 200px;
        order: 1;
    }

    .modal-photo-container img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        padding: 0;
    }

    .join-form{
        order: 2;
        border-radius: 0 0 15px 15px;
    }

    .modal-title{
        font-size: 1rem;
        padding-top: 15px;
    }
    #user-name, #user-email{
        width: 85%;
        margin: 3%;
        font-size: 0.9rem;
    }
    #submit-btn{
        margin-bottom: 2%;
        color: black !important;
    }
    .footer-text{
        font-size: 1.2rem;
    }
    i{
        font-size: 1rem !important;
    }
    .copyright-text{
        margin-left: 70% !important;
        font-size: 8px !important;
    }
    .about-modal-container{
        width: 90%;
        height: 65%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .about-title{
        font-size: 1.8rem;
    }
    .about-text{
        font-size: 0.9rem;
        line-height: 1.3;
    }
    footer{
        position: static;
        width: 100%;
        margin-top: auto;
        padding: 12px 0;
    }
}
@media(min-width: 500px) and (max-width:699px){
    /* Swap logo for mobile version */
    .welcome-png{
        content: url('../images/mainlogo-mobile.png');
        width: 75%;
        margin: 0 auto;
        float: none;
        display: block;
        margin-top: 3%;
        object-fit: contain;
        object-position: center;
        transform: translateX(-15%);
    }

    /* Convert to flexbox layout */
    .welcome-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 5% 5% 5%;
    }

    .welcome-logo{
        order: 1;
        width: 100%;
        text-align: center;
    }

    .title-text-container{
        position: static;
        order: 2;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .title-text{
        font-size: 4.5rem;
        margin: 0;
    }

    .welcome-text-container{
        position: static;
        order: 3;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .welcome-text{
       font-size: 2.2rem;
       margin: 0;
    }

    .join-btn-container{
        position: static;
        order: 4;
        margin: 1% 0 1% 0;
        display: flex;
        justify-content: center;
    }

    .join-now{
        padding: 12px 40px;
        font-size: 1.2rem;
        border: 2px solid #F2DB2A;
        border-radius: 10px;
    }

    /* Position lightning bolt for mobile */
    .about-nav{
        top: 15px;
        right: 7%;
        padding-right: 0;
    }

    .about-us-icon{
        font-size: 2.75rem !important;
    }

    /* Make body flex container to position footer */
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .confirmation-text{
        font-size: 2rem;
    }

    .confirmation-img-div img{
        height: 95%;
        width: 95%;
        padding-right: 15%;
        padding-left: 10%;
        padding-top: 5%;
    }

    .confirmation-text-div{
        margin-top: 2%;
        margin-bottom: 12%;
    }
    .error-text{
        font-size: 0.9rem;
    }
    .back-home-btn{
        font-size: 0.75rem;
    }

    .modal-container{
        width: 95%;
        height: auto;
        max-height: 90vh;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%);
        flex-direction: column;
        overflow-y: auto;
    }

    .modal-photo-container{
        display: block;
        width: 100%;
        height: 220px;
        order: 1;
    }

    .modal-photo-container img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        padding: 0;
    }

    .join-form{
        order: 2;
        border-radius: 0 0 15px 15px;
    }

    .modal-title{
        font-size: 1rem;
        padding-top: 15px;
    }
    #user-name, #user-email{
        width: 85%;
        margin: 3%;
        font-size: 0.9rem;
    }
    #submit-btn{
        margin-bottom: 2%;
        color: black !important;
    }
    .footer-text{
        font-size: 1.3rem;

    }
    i{
        font-size: 24px !important;
    }
    .copyright-text{
        font-size: 8px! important;
        margin-left: 75% !important;
    }
    .about-modal-container{
        width: 85%;
        height: 60%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .about-title{
        font-size: 1.9rem;
    }
    .about-text{
        font-size: 0.95rem;
        line-height: 1.35;
    }
    footer{
        position: static;
        width: 100%;
        margin-top: auto;
        padding: 12px 0;
    }
}

/* Mobile Landscape */
@media (max-width: 932px) and (orientation: landscape) {
    /* Use mobile logo and vertical layout */
    .welcome-png{
        content: url('../images/mainlogo-mobile.png');
        width: 35%;
        margin: 0 auto;
        float: none;
        display: block;
        margin-top: 5%;
        object-fit: contain;
        object-position: center;
        transform: translateX(-15%);
    }

    /* Convert to flexbox vertical layout like mobile portrait */
    .welcome-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 5% 3% 5%;
    }

    .welcome-logo{
        order: 1;
        width: 100%;
        text-align: center;
    }

    .title-text-container{
        position: static;
        order: 2;
        margin: 3% 0 1% 0;
        text-align: center;
    }

    .title-text{
        font-size: 2.5rem;
        margin: 0;
    }

    .welcome-text-container{
        position: static;
        order: 3;
        margin: 1% 0 2% 0;
        text-align: center;
    }

    .welcome-text{
        font-size: 1.3rem;
        margin: 0;
    }

    .join-btn-container{
        position: static;
        order: 4;
        margin: 2% 0 3% 0;
        display: flex;
        justify-content: center;
    }

    .join-now{
        padding: 8px 20px;
        font-size: 0.9rem;
        border: 1px solid #F2DB2A;
        border-radius: 8px;
    }

    /* Make body flex container */
    body {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    footer{
        position: static;
        width: 100%;
        padding: 10px 0;
        margin-top: auto;
    }

    .footer-text{
        font-size: 1rem;
    }

    i{
        font-size: 0.9rem !important;
    }

    .copyright-text{
        font-size: 0.5rem !important;
    }
}

@media(min-width: 1200px){
    body {
        overflow-y: auto;
    }

    #user-name, #user-email{
        margin: 2% 4%;
    }

    #submit-btn{
        margin-top: 2%;
        margin-bottom: 30px;
        color: black !important;
    }

    .modal-title{
        padding-top: 20px;
    }
}

@media(min-width: 700px) and (max-width: 1199px){
    body {
        overflow-y: auto;
    }

    .modal-container{
        width: 70% !important;
        height: auto !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        flex-direction: column !important;
        position: fixed !important;
    }

    .modal-container:not(.hide){
        display: flex !important;
    }

    .modal-photo-container{
        display: block !important;
        width: 100% !important;
        height: 280px !important;
        order: 1;
        position: relative;
        padding: 0 !important;
    }

    .modal-photo-container img{
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
        padding: 0 !important;
    }

    .join-form{
        order: 2;
        width: 100% !important;
        border-radius: 0 0 15px 15px;
        padding-bottom: 30px;
    }

    #submit-btn{
        margin-bottom: 20px;
        color: black !important;
    }

    .close-btn-div{
        position: absolute !important;
        top: 15px;
        right: 15px;
        width: auto;
        z-index: 10;
    }

    .close-btn{
        background-color: white;
        border: 1px white solid;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        padding: 0;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

@media(min-width: 700px) and (max-width: 1024px) and (orientation: portrait){
    /* Swap logo for mobile version */
    .welcome-png{
        content: url('../images/mainlogo-mobile.png');
        width: 70%;
        margin: 0 auto;
        float: none;
        display: block;
        margin-top: 3%;
        object-fit: contain;
        object-position: center;
        transform: translateX(-15%);
    }

    /* Convert to flexbox layout */
    .welcome-container{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 5% 5% 5%;
    }

    .welcome-logo{
        order: 1;
        width: 100%;
        text-align: center;
    }

    .title-text-container{
        position: static;
        order: 2;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .title-text{
        font-size: 5.5rem;
        margin: 0;
    }

    .welcome-text-container{
        position: static;
        order: 3;
        margin: 0.5% 0 0.5% 0;
        text-align: center;
    }

    .welcome-text{
       font-size: 2.8rem;
       margin: 0;
    }

    .join-btn-container{
        position: static;
        order: 4;
        margin: 1% 0 1% 0;
        display: flex;
        justify-content: center;
    }

    .join-now{
        padding: 14px 45px;
        font-size: 1.5rem;
        border: 2px solid #F2DB2A;
        border-radius: 12px;
    }

    /* Position lightning bolt for tablet */
    .about-nav{
        top: 18px;
        right: 25px;
        padding-right: 10px;
    }

    .about-us-icon{
        font-size: 3rem !important;
    }

    /* Make body flex container to position footer */
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    /* Tablet confirmation page sizing */
    .confirmation-text{
        font-size: 2.5rem;
    }

    .confirmation-img-div img{
        height: 95%;
        width: 95%;
        padding-right: 15%;
        padding-left: 10%;
        padding-top: 5%;
    }

    .confirmation-text-div{
        margin-top: 2%;
        margin-bottom: 12%;
    }

    footer{
        position: static;
        width: 100%;
        margin-top: auto;
        padding: 15px 0;
    }
}

@media(min-width: 1025px) and (max-width: 1200px){
    body {
        overflow-y: auto;
    }

    .title-text{
        font-size: 4rem;
    }
    .welcome-text-container{
        margin-top: 27%;;
    }
    .welcome-text{
        font-size:2rem;
    }
    .join-now{
        padding-left: 35px;
        padding-right: 35px;
        font-size: 1rem;
    }
    .about-us-btn{
        padding-left: 35px;
        padding-right: 35px;
        font-size: 1rem;
    }
    .join-btn-container{
        gap: 13px;
    }
    .join-btn-container{
        margin-top: 38%;
    }
    i, .footer-text{
        font-size: 1.5rem !important;
    }
    .confirmation-text {
        font-size: 2.5rem;
    }

    .confirmation-img-div img{
        height: 95%;
        width: 95%;
        padding-right: 15%;
        padding-left: 10%;
        padding-top: 5%;
    }

    .confirmation-text-div{
        margin-top: 2%;
        margin-bottom: 12%;
    }

    .error-text{
        font-size: 1.25rem;
    }
    .back-home-btn{
        font-size: 1rem;
    }
    .modal-photo-container{
        display: flex;
        width: 100%;
        height: 40%;
    }
    .modal-photo-container img{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .label-checkbox{
        font-size: 0.85rem !important;
    }
    #check-maker, #check-consumer{
        width: 12% !important;
    }
}
/* Tablets - Landscape and Large */
@media(min-width: 1025px) and (max-width: 1200px){
    body {
        overflow-y: auto;
    }

    .title-text{
        font-size: 5rem;
    }
    .welcome-text{
        font-size: 3rem;
    }
    .join-now{
        padding-left: 45px;
        padding-right: 45px;
    }
    .about-us-btn{
        padding-left: 45px;
        padding-right: 45px;
    }
    .error-text{
        font-size: 1.8rem;
    }
    .label-checkbox{
        font-size: 0.80rem !important;
        padding-left: 1%;
    }
}


/* Laptops */
/* @media(min-width: 1201px) and (max-width:1600px){

} */

/* Desktops */
@media(min-width: 1601px){
    body {
        overflow-y: auto;
    }

    .title-text-container{
       margin-top: 14%;
    }
    .confirmation-text{
        font-size: 4rem;
    }
    .error-text{
        font-size:3rem;
    }
}
/* Partial Footer */
footer{
    height: 7%;
    
}
.footer-line{
    width: 85%;
    border: 1.5px solid black;
    border-radius: 5px;
}
.footer-section{
    text-align: center;
}

.footer-text{
    color: black;
    font-family: "Roboto Slab";
    font-weight: 100;
}
.icons{
    width: 100%;
    text-align: center;
    margin-top: 1%;
}
i{
    padding: 5px;
    font-size: 2rem;
    color: black;
}

i:hover {
    color: #F2DB2A;
    font-size: 2.25rem;
}
.copyright-text{
    width: 100%;
    margin-left: 85%;
    color: black;
    font-size: .75rem;
    margin-top: 5%;
    font-family: "Roboto Slab";
    font-weight: 100;
}