@media (min-width: 1024px) {

    html {
        height: 100%;
        width: 100%;
        font-family: sans-serif;
    }

    body {
        padding: 0px;
        margin: 0px;
    }

    .topnav {
        position: fixed;
        width: 100%;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        height: 90px;
        background-color: black;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .topnav a {
        color: #fffcfc;
        text-align: center;
        padding: 1.8rem 1.2rem;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
    }

    .topnav a::before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .topnav a:hover::before {
        transform: scaleX(1);
    }

    .nav-left {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        width: 18%;
        height: 90%;
    }

    .navLogo {
        width: auto;
        height: 90%;
        object-fit: contain;
        cursor: pointer;
        padding-left: 3rem;
    }

    .nav-center {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        background-color: black;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .nav-center a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        padding: 1.2rem 0.8rem;
    }

    .nav-center a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 5px;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-center a:hover::before {
        transform: scaleX(1);
    }

    .user-info {
        display: none;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        cursor: pointer;
        width: 30%;
        height: 60px;
    }

    .user-logo {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .flex-spacer {
        flex-grow: 1;
    }

    .user-name {
        color: white;
        font-size: 1rem;
        white-space: nowrap;
    }

    .user-line {
        border-left: 1px solid white;
        height: 30px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        background-color: #1a1a1a;
        color: white;
        padding: 1rem 1rem 1rem 1rem;
        border-radius: 7px;
        min-width: 10rem;
        z-index: 3;
    }

    .user-info:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu p {
        font-size: 1rem;
        padding: 0.4rem 0;
        cursor: pointer;
        margin-left: 1rem;
    }

    .dropdown-menu p:hover {
        color: rgb(149, 129, 18);
    }

    .myRides {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
        margin-top: 3%;
    }

    .storedLocations {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userPayments {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userInvoices {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .accountInformation {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .nav-right {
        display: flex;
        gap: 0rem;
        background-color: black;
        padding-right: 1.5rem;
        align-items: flex-start;
    }

    .mobile-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .book-a-ride-button {
        background-color: #a71717;
        cursor: pointer;
        color: white;
        border: none;
        text-align: center;
        font-size: 16px;
        width: 120px;
        height: auto;
        float: right;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .book-a-ride-button:hover {
        background-color: #6d1b15;
    }

    .sign-in-button {
        background-color: black;
        cursor: pointer;
        color: white;
        border-style: solid;
        float: right;
        text-align: center;
        width: 100px;
        height: 44px;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        font-size: 16px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .sign-in-button:hover {
        background-color: white;
        color: #000000;
    }

    .beforeTop {
        width: 100%;
        height: 10vh;
    }

    .topSection {
        position: relative;
        width: 100%;
        height: 80vh;
        overflow: hidden;
    }

    .topImageSection {
        background-image: url("images/test 12.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 80vh;
        position: relative;
    }

    .topOverlay {
        position: absolute;
        top: 50%;
        left: 3%;
        color: white;
        flex-direction: column;
        align-items: flex-start
    }

    .topText1 {
        font-size: 4.5rem;
        font-weight: 550;
        margin: 0 0 1rem 0;
        max-width: 60%;
    }

    .topLine1 {
        width: 50%;
        border: 1px solid white;
        margin: 0;
    }

    .mainPage {
        padding: 4rem 2rem;
        background-color: white;
        text-align: center;
    }

    .mainText1 {
        color: black;
        font-weight: bold;
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
    }

    .mainText2 {
        color: black;
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .mainBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
    }

    .customer-service,
    .business-accounts,
    .meetings-and-events,
    .corporate-headquarters {
        background-color: rgb(233, 233, 233);
        width: 300px;
        height: 330px;
        border: 2px groove rgb(236, 235, 235);
        border-radius: 7px;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }

    .customer-service:hover,
    .business-accounts:hover,
    .meetings-and-events:hover,
    .corporate-headquarters:hover {
        background-color: #cacaca;
        border-color: #000000;
    }

    .mainText3 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .mainLine {
        width: 30%;
        border: 1px solid rgb(177, 150, 0);
        margin: 0.5rem auto;
        margin-top: 2rem;
    }

    .mainText4 {
        color: black;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        font-weight: lighter;
    }

    .number-in-box {
        color: white;
        background-color: black;
        border: 1px solid black;
        border-radius: 2px;
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
        cursor: pointer;
        margin-top: 0.5rem;
        font-weight: lighter;
    }

    .formPage {
        padding: 4rem 2rem;
        background: url(/images/home.jpg) no-repeat center center;
        background-size: cover;
    }

    .form {
        max-width: 1300px;
        margin: auto;
        background-color: rgba(0, 0, 0, 0.717);
        padding: 3rem 2rem;
        border-radius: 6px;
        border: 1px groove white;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .formText1 {
        color: white;
        font-size: 3.5rem;
        margin-bottom: 0.1rem;
        margin-top: 0.1rem;
        margin-left: 2rem;
    }

    .formText2 {
        color: white;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        max-width: 1200px;
        margin-left: 2rem;
    }

    .form div {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-left: 1rem;
    }

    input,
    textarea {
        font-size: 1.3rem;
        border: 1px groove white;
        border-radius: 5px;
        padding: 1.2rem 1.2rem;
        box-sizing: border-box;
        background-color: white;
        color: black;
    }

    .support-first-name,
    .support-last-name,
    .email,
    .phone-number {
        flex: 1 1 300px;
    }

    .support-first-name::placeholder,
    .support-last-name::placeholder,
    .email::placeholder,
    .phone-number::placeholder,
    .message::placeholder {
        color: rgb(150, 150, 150);
    }

    .message::placeholder {
        font-size: 1.4rem;
    }

    textarea.message {
        width: 100%;
        min-height: 140px;
        resize: vertical;
        margin-left: 1rem;
        font-size: 1.3rem;
    }

    .submit-button {
        align-self: flex-start;
        background-color: rgb(135, 115, 0);
        color: white;
        font-size: 1.8rem;
        border: 1px groove black;
        padding: 0.75rem 2rem;
        border-radius: 5px;
        cursor: pointer;
        letter-spacing: 2px;
        margin-left: 2rem;
        font-weight: lighter;
    }

    .submit-button:hover {
        background-color: rgb(162, 138, 1);
        border-color: white;
    }

    .socialDiv {
        background-color: #fff;
        padding: 4rem 2rem;
    }

    .socialBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .socialBox1,
    .socialBox2,
    .socialBox3,
    .socialBox4 {
        background-color: black;
        color: white;
        width: 310px;
        height: 330px;
        border: 2px groove rgb(236, 235, 235);
        border-radius: 7px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-sizing: border-box;
        gap: 1rem;
    }

    .sLogo1,
    .sLogo2,
    .sLogo3,
    .sLogo4 {
        width: 60px;
        height: auto;
        margin-left: 2rem;
        margin-top: 1rem;
    }

    .sText1,
    .sText2,
    .sText3,
    .sText4 {
        font-size: 2rem;
        font-weight: bold;
        margin-left: 2rem;
        margin-bottom: 1rem;
    }

    .sText3 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .social-media-box {
        margin-top: auto;
        padding: 1rem 3rem;
        background-color: black;
        color: white;
        border: 1px groove rgb(255, 255, 255);
        border-radius: 2px;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 1rem;
        margin-left: 2rem;
    }

    .socialBoxes .socialBox2 button.social-media-box,
    .socialBoxes .socialBox3 button.social-media-box {
        padding: 1rem 4rem;
    }

    .social-media-box:hover {
        background-color: white;
        color: black;
    }

    .bottomPage {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 2rem;
        background-color: rgb(229, 229, 229);
        gap: 2rem;
    }

    .bottomPage-text {
        flex: 1 1 10%;
        margin-left: 10rem;
    }

    .bottomText1 {
        color: black;
        font-size: 2.8rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .bottomText2 {
        color: black;
        font-size: 1.5rem;
        font-weight: lighter;
        margin-bottom: 0.5rem;
    }

    .bottomText3 {
        color: black;
        font-size: 1.2rem;
        font-weight: lighter;
        margin-bottom: 1rem;
        max-width: 800px;
    }

    .bottomButton {
        color: white;
        background-color: black;
        text-align: center;
        font-size: 1.8rem;
        border-radius: 4px;
        border: none;
        padding: 1rem 3rem;
        cursor: pointer;
        margin-top: 1rem;
        font-weight: lighter;
    }

    .bottomImg {
        flex: 1 1 30%;
        max-width: 400px;
        width: 60vh;
        height: 30vh;
        object-fit: contain;
    }

    .end {
        background-color: rgb(0, 0, 0);
        width: 100%;
        padding: 2rem 1rem;
        color: white;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-line-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .logo-line {
        flex: 1;
        border: 1px solid white;
    }

    .middleLogo {
        width: 6rem;
        height: auto;
        cursor: pointer;
    }

    .footer-wrapper {
        background-color: black;
        color: #fff;
        padding: 2rem 1rem;
        box-sizing: border-box;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        gap: 0rem;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-logo-slogan {
        text-align: left;
        margin-bottom: 2rem;
        flex: 1 1 250px;
        line-height: 2;
        cursor: pointer;
        margin-left: 2rem;
    }

    .underLogo {
        width: 13rem;
        height: auto;
        margin-bottom: 1.5rem;
    }

    .text5,
    .text6,
    .text7 {
        font-size: 0.8125rem;
        margin: 0.2rem 0;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
        line-height: 1;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .icon {
        width: 1.8rem;
        height: auto;
    }

    .contact-text {
        font-size: 1.0625rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.1rem;
        text-align: left;
        flex: 3 1 600px;
    }

    .footer-group {
        display: flex;
        flex-direction: column;
        line-height: 0.4;
        font-size: 0.875rem;
        cursor: pointer;
        color: rgb(150, 150, 150);
    }

    .group-title {
        margin-top: 2rem;
        font-size: 1.0625rem;
        cursor: pointer;
        margin-bottom: 1.5rem;
        color: rgb(255, 255, 255);
    }

    .social-media {
        display: flex;
        gap: 0.8rem;
        margin-top: 3rem;
    }

    .social-icon {
        width: 1.7rem;
        height: auto;
    }

    .end-line {
        border: 1px solid #fff;
        margin: 1rem 0;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        font-size: 0.875rem;
    }

    .last-text-left {
        margin-left: 2rem;
    }

    .last-text-right {
        margin-right: 2rem;
        gap: 2rem;
        word-spacing: 1.7rem;
    }

}

@media (width: 1024px) {

    .topnav {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .navLogo {
        padding-left: 1rem;
        height: 70%;
    }

    .nav-center {
        gap: 0.4rem;
    }

    .nav-center a {
        font-size: 0.875rem;
        padding: 1rem 0.5rem;
    }

    .nav-right {
        flex-direction: row;
        flex-shrink: 0;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        padding-right: 0.5rem;
        margin-right: 0.5rem;
    }

    .book-a-ride-button,
    .sign-in-button {
        width: auto;
        white-space: nowrap;
    }

    .beforeTop {
        height: 8vh;
    }

    .underLogo {
        display: block;
    }

    .footer-contact {
        align-items: end;
        margin-top: -7rem;
    }

    .footer-grid {
        gap: 0.2rem;
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

}

@media (min-width: 1025px) and (max-width: 1280px) {

    .topText1 {
        font-size: 4rem;
    }

    .customer-service,
    .business-accounts,
    .meetings-and-events,
    .corporate-headquarters {
        width: 260px;
    }

    .socialBox1,
    .socialBox2,
    .socialBox3,
    .socialBox4 {
        width: 280px;
    }

    .sText1,
    .sText2,
    .sText3,
    .sText4 {
        font-size: 1.7rem;
    }

    .sText3 {
        font-size: 1.5rem;
    }

    .socialBoxes .socialBox1 button.social-media-box {
        padding: 1rem 3rem;
    }

    .socialBoxes .socialBox2 button.social-media-box {
        padding: 1rem 3.5rem;
    }

    .socialBoxes .socialBox3 button.social-media-box {
        padding: 1rem 3rem;
    }

    .socialBoxes .socialBox4 button.social-media-box {
        padding: 1rem 2.5rem;
    }

    .footer-grid {
        gap: 0.2rem;
    }

    .footer-group:nth-child(5) {
        margin-left: 39rem;
        margin-top: -4rem;
    }

    .social-media {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1366px) and (max-width: 1439px) {

    .beforeTop {
        height: 8vh;
    }

    .customer-service,
    .business-accounts,
    .meetings-and-events,
    .corporate-headquarters {
        width: 280px;
    }

    .socialBox1,
    .socialBox2,
    .socialBox3,
    .socialBox4 {
        width: 300px;
    }

    .footer-grid {
        gap: 0.2rem;
    }

    .social-media {
        margin-bottom: 13rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        width: 100%;
    }

}

@media (min-width: 1440px) {

    .beforeTop {
        height: 8vh;
    }

    .social-media {
        margin-bottom: 13rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        width: 100%;
    }
}

@media (min-width: 1920px) {

    .user-info {
        width: 18%;
    }

    .beforeTop {
        height: 8vh;
    }
}

@media (max-width: 1023px) {

    html {
        height: 100%;
        width: 100%;
        font-family: sans-serif;
    }

    body {
        padding: 0px;
        margin: 0px;
    }

    .topnav {
        position: fixed;
        width: 100%;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.5rem;
        height: 90px;
        background-color: black;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .topnav a {
        color: #fffcfc;
        text-align: center;
        padding: 1.8rem 1.2rem;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
    }

    .topnav a::before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .topnav a:hover::before {
        transform: scaleX(1);
    }

    .nav-left {
        display: flex;
        align-items: center;
        flex: 0 0 auto;
        width: 18%;
        height: 90%;
    }

    .navLogo {
        width: auto;
        height: 90%;
        object-fit: contain;
        cursor: pointer;
        padding-left: 3rem;
    }

    .nav-center {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        flex-wrap: wrap;
        background-color: black;
        flex-grow: 1;
        justify-content: flex-end;
    }

    .nav-center a {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        position: relative;
        padding: 1.2rem 0.8rem;
    }

    .nav-center a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 5px;
        left: 0;
        background-color: white;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-center a:hover::before {
        transform: scaleX(1);
    }

    .user-info {
        display: none;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        cursor: pointer;
        width: 30%;
        height: 60px;
    }

    .user-logo {
        height: 40px;
        width: 40px;
        border-radius: 50%;
        object-fit: cover;
    }

    .flex-spacer {
        flex-grow: 1;
    }

    .user-name {
        color: white;
        font-size: 1rem;
        white-space: nowrap;
    }

    .user-line {
        border-left: 1px solid white;
        height: 30px;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        background-color: #1a1a1a;
        color: white;
        padding: 1rem 1rem 1rem 1rem;
        border-radius: 7px;
        min-width: 10rem;
        z-index: 3;
    }

    .user-info:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu p {
        font-size: 1rem;
        padding: 0.4rem 0;
        cursor: pointer;
        margin-left: 1rem;
    }

    .dropdown-menu p:hover {
        color: rgb(149, 129, 18);
    }

    .myRides {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
        margin-top: 3%;
    }

    .storedLocations {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userPayments {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .userInvoices {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .accountInformation {
        text-decoration: block;
        display: block;
        padding: 1% 10%;
    }

    .nav-right {
        display: flex;
        gap: 0rem;
        background-color: black;
        padding-right: 1.5rem;
        align-items: flex-start;
    }

    .mobile-menu {
        display: none;
    }

    .hamburger {
        display: none;
    }

    .book-a-ride-button {
        background-color: #a71717;
        cursor: pointer;
        color: white;
        border: none;
        text-align: center;
        font-size: 16px;
        width: 120px;
        height: auto;
        float: right;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .book-a-ride-button:hover {
        background-color: #6d1b15;
    }

    .sign-in-button {
        background-color: black;
        cursor: pointer;
        color: white;
        border-style: solid;
        float: right;
        text-align: center;
        width: 100px;
        height: 44px;
        padding: 12px;
        margin: 10px;
        margin-top: 8px;
        font-size: 16px;
        border-radius: 3px;
        transition-duration: 0.4s;
    }

    .sign-in-button:hover {
        background-color: white;
        color: #000000;
    }

    .end {
        background-color: rgb(0, 0, 0);
        width: 100%;
        padding: 2rem 1rem;
        color: white;
        text-align: center;
        box-sizing: border-box;
    }

    .footer-line-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .logo-line {
        flex: 1;
        border: 1px solid white;
    }

    .middleLogo {
        width: 6rem;
        height: auto;
        cursor: pointer;
    }

    .underLogo {
        width: 13rem;
        height: auto;
        margin-bottom: 1.5rem;
    }

    .footer-wrapper {
        background-color: black;
        color: #fff;
        padding: 2rem 1rem;
        box-sizing: border-box;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        gap: 0rem;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-logo-slogan {
        text-align: left;
        margin-bottom: 2rem;
        flex: 1 1 250px;
        line-height: 2;
        cursor: pointer;
        margin-left: 2rem;
    }

    .text5,
    .text6,
    .text7 {
        font-size: 0.8125rem;
        margin: 0.2rem 0;
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
        line-height: 1;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .icon {
        width: 1.8rem;
        height: auto;
    }

    .contact-text {
        font-size: 1.0625rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.1rem;
        text-align: left;
        flex: 3 1 600px;
    }

    .footer-group {
        display: flex;
        flex-direction: column;
        line-height: 0.4;
        font-size: 0.875rem;
        cursor: pointer;
        color: rgb(150, 150, 150);
    }

    .group-title {
        margin-top: 2rem;
        font-size: 1.0625rem;
        cursor: pointer;
        margin-bottom: 1.5rem;
        color: rgb(255, 255, 255);
    }

    .social-media {
        display: flex;
        gap: 0.8rem;
        margin-top: 3rem;
    }

    .social-icon {
        width: 1.7rem;
        height: auto;
    }

    .end-line {
        border: 1px solid #fff;
        margin: 1rem 0;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        font-size: 0.875rem;
    }

    .last-text-left {
        margin-left: 2rem;
    }

    .last-text-right {
        margin-right: 2rem;
        gap: 2rem;
        word-spacing: 1.7rem;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .topnav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        position: relative;
        box-sizing: border-box;
    }

    .topnav a::before {
        display: none;
    }

    .nav-left {
        width: auto;
        justify-content: flex-start;
        padding-bottom: 0;
        height: auto;
    }

    .navLogo {
        height: 70px;
        padding-left: 0;
    }

    .nav-center {
        display: block
    }

    .nav-center a {
        display: none;
    }

    .user-info {
        margin-left: auto;
        width: 45%;
    }

    .nav-right {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 25px;
        position: relative;
        margin-right: 1rem;
    }

    .hamburger span {
        background: white;
        position: absolute;
        height: 3px;
        width: 100%;
        left: 0;
        transition: all 0.3s ease;
    }

    .hamburger span:nth-child(1) {
        top: 0;
    }

    .hamburger span:nth-child(2) {
        top: 10px;
    }

    .hamburger span:nth-child(3) {
        top: 20px;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        width: 96vw;
        background-color: rgb(213, 213, 213);
        padding: 1rem;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        z-index: 5;
        align-items: flex-start;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        padding: 0.75rem 0;
        font-size: 1.3rem;
        text-align: left;
        margin-left: 4rem;
        letter-spacing: 0.3rem;
        border-bottom: 1px solid #000000;
        width: 80%;
        margin-bottom: 0.5rem;
        text-indent: 2rem;
    }

    .mobile-menu a:hover {
        background-color: #979797;
        border-radius: 5px;
    }

    .nav-right2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
        background-color: rgb(213, 213, 213);
        width: 90%;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        width: 89%;
        max-width: none;
        font-size: 1.3rem;
        padding: 0.75rem 0;
        text-align: left;
        border: none;
        letter-spacing: 0.2rem;
        margin-left: 4rem;
        border-bottom: 1px solid #000000;
        margin-bottom: 0.5rem;
        text-indent: 2rem;
    }

    .nav-right2 .book-a-ride-button {
        color: rgb(0, 0, 0);
        background-color: rgb(213, 213, 213);
        margin-top: -0.3rem;
    }

    .nav-right2 .sign-in-button {
        color: rgb(0, 0, 0);
        background-color: rgb(213, 213, 213);
        margin-top: -0.05rem;
        padding-bottom: 2.3rem;
    }

    .beforeTop {
        width: 100%;
        height: 0vh;
    }

    .topSection {
        position: relative;
        width: 100%;
        height: 70vh;
        overflow: hidden;
    }

    .topImageSection {
        background-image: url("images/test 12.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 70vh;
        position: relative;
    }

    .topOverlay {
        position: absolute;
        top: 40%;
        left: 3%;
        color: white;
        flex-direction: column;
        align-items: flex-start
    }

    .topText1 {
        font-size: 4rem;
        font-weight: 550;
        margin: 0 0 1rem 0;
        max-width: 70%;
    }

    .topLine1 {
        width: 60%;
        border: 1px solid white;
        margin: 0;
    }

    .mainPage {
        padding: 4rem 2rem;
        background-color: white;
        text-align: center;
    }

    .mainText1 {
        color: black;
        font-weight: bold;
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
    }

    .mainText2 {
        color: black;
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }

    .mainBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
    }

    .customer-service,
    .business-accounts,
    .meetings-and-events,
    .corporate-headquarters {
        background-color: rgb(233, 233, 233);
        width: 300px;
        height: 330px;
        border: 2px groove rgb(236, 235, 235);
        border-radius: 7px;
        padding: 1.5rem 1rem;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }

    .customer-service:hover,
    .business-accounts:hover,
    .meetings-and-events:hover,
    .corporate-headquarters:hover {
        background-color: #cacaca;
        border-color: #000000;
    }

    .mainText3 {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .mainLine {
        width: 30%;
        border: 1px solid rgb(177, 150, 0);
        margin: 0.5rem auto;
        margin-top: 2rem;
    }

    .mainText4 {
        color: black;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        font-weight: lighter;
    }

    .number-in-box {
        color: white;
        background-color: black;
        border: 1px solid black;
        border-radius: 2px;
        font-size: 1.3rem;
        padding: 0.5rem 1rem;
        cursor: pointer;
        margin-top: 0.5rem;
        font-weight: lighter;
    }

    .formPage {
        padding: 4rem 2rem;
        background: url(/images/home.jpg) no-repeat center center;
        background-size: cover;
    }

    .form {
        max-width: 1300px;
        margin: auto;
        background-color: rgba(0, 0, 0, 0.717);
        padding: 3rem 2rem;
        border-radius: 6px;
        border: 1px groove white;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .formText1 {
        color: white;
        font-size: 3.5rem;
        margin-bottom: 0.1rem;
        margin-top: 0.1rem;
        margin-left: 2rem;
    }

    .formText2 {
        color: white;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        max-width: 1200px;
        margin-left: 2rem;
    }

    .form div {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-left: 1rem;
    }

    input,
    textarea {
        font-size: 1.3rem;
        border: 1px groove white;
        border-radius: 5px;
        padding: 1.2rem 1.2rem;
        box-sizing: border-box;
        background-color: white;
        color: black;
    }

    .support-first-name,
    .support-last-name,
    .email,
    .phone-number {
        flex: 1 1 280px;
    }

    .support-first-name::placeholder,
    .support-last-name::placeholder,
    .email::placeholder,
    .phone-number::placeholder,
    .message::placeholder {
        color: rgb(150, 150, 150);
    }

    .message::placeholder {
        font-size: 1.4rem;
    }

    textarea.message {
        width: 100%;
        min-height: 140px;
        resize: vertical;
        margin-left: 1rem;
        font-size: 1.3rem;
    }

    .submit-button {
        align-self: flex-start;
        background-color: rgb(135, 115, 0);
        color: white;
        font-size: 1.8rem;
        border: 1px groove black;
        padding: 0.75rem 2rem;
        border-radius: 5px;
        cursor: pointer;
        letter-spacing: 2px;
        margin-left: 2rem;
        font-weight: lighter;
    }

    .submit-button:hover {
        background-color: rgb(162, 138, 1);
        border-color: white;
    }

    .socialDiv {
        background-color: #fff;
        padding: 4rem 2rem;
    }

    .socialBoxes {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .socialBox1,
    .socialBox2,
    .socialBox3,
    .socialBox4 {
        background-color: black;
        color: white;
        width: 310px;
        height: 330px;
        border: 2px groove rgb(236, 235, 235);
        border-radius: 7px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-sizing: border-box;
        gap: 1rem;
    }

    .sLogo1,
    .sLogo2,
    .sLogo3,
    .sLogo4 {
        width: 60px;
        height: auto;
        margin-left: 2rem;
        margin-top: 1rem;
    }

    .sText1,
    .sText2,
    .sText3,
    .sText4 {
        font-size: 2rem;
        font-weight: bold;
        margin-left: 2rem;
        margin-bottom: 1rem;
    }

    .sText3 {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .social-media-box {
        margin-top: auto;
        padding: 1rem 3rem;
        background-color: black;
        color: white;
        border: 1px groove rgb(255, 255, 255);
        border-radius: 2px;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 1rem;
        margin-left: 2rem;
    }

    .socialBoxes .socialBox2 button.social-media-box,
    .socialBoxes .socialBox3 button.social-media-box {
        padding: 1rem 4rem;
    }

    .social-media-box:hover {
        background-color: white;
        color: black;
    }

    .bottomPage {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 2rem;
        background-color: rgb(229, 229, 229);
        gap: 2rem;
    }

    .bottomPage-text {
        flex: 1 1 10%;
        margin-left: 3rem;
    }

    .bottomText1 {
        color: black;
        font-size: 2.8rem;
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .bottomText2 {
        color: black;
        font-size: 1.5rem;
        font-weight: lighter;
        margin-bottom: 0.5rem;
    }

    .bottomText3 {
        color: black;
        font-size: 1.2rem;
        font-weight: lighter;
        margin-bottom: 1rem;
        max-width: 800px;
    }

    .bottomButton {
        color: white;
        background-color: black;
        text-align: center;
        font-size: 1.8rem;
        border-radius: 4px;
        border: none;
        padding: 1rem 3rem;
        cursor: pointer;
        margin-top: 1rem;
        font-weight: lighter;
    }

    .bottomImg {
        flex: 1 1 30%;
        max-width: 400px;
        width: 60vh;
        height: 30vh;
        object-fit: contain;
        display: none;
    }

    .underLogo {
        display: none;
    }

    .footer-contact {
        align-items: end;
        margin-top: -4rem;
        margin-right: 2rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 0rem;
        margin-top: -1rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-bottom: 1rem;
        font-size: 0.5rem;
        word-break: break-word;
        white-space: normal;
    }

    .footer-grid {
        margin-left: 2rem;
        margin-bottom: 2rem;
    }

    .last-text-left {
        margin-left: 1rem;
    }

    .last-text-right {
        margin-left: 1rem;
        word-spacing: 1rem;
    }
}

@media (min-width: 320px) and (max-width: 767px) {

    .mobile-menu a {
        margin-left: 2rem;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        margin-left: 2rem;
    }

    .user-info {
        position: absolute;
        top: 100%;
        left: 0;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }

    .user-logo {
        height: 30px;
        width: 30px;
    }

    .dropdown-menu {
        left: 0;
    }

    .topSection {
        height: 50vh;
    }

    .topImageSection {
        height: 50vh;
    }

    .topOverlay {
        top: 40%;
        left: 5%;
    }

    .topText1 {
        font-size: 2.7rem;
        max-width: 80%;
    }

    .mainText1 {
        font-size: 2.5rem;
    }

    .formText1 {
        font-size: 3rem;
        margin-bottom: 0.1rem;
        margin-top: 0.1rem;
        margin-left: 2rem;
    }

    textarea.message {
        margin-left: 0rem;
    }

    .submit-button {
        margin-left: 1rem;
    }

    .bottomPage-text {
        margin-left: 1rem;
    }

    .footer-contact {
        margin-top: 4rem;
        margin-bottom: -2rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 8.9rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        font-size: 0.5rem;
        word-break: break-word;
        white-space: normal;
        margin-right: 2rem;
    }

    .last-text-right {
        margin-left: 4rem;
    }
}

@media (min-width: 390px) and (max-width: 414px) {

    .mobile-menu a {
        margin-left: 2rem;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        margin-left: 2rem;
    }

    .footer-contact {
        margin-bottom: 1rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 6.7rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-bottom: -1rem;
        font-size: 0.5rem;
        word-break: break-word;
        white-space: normal;
        margin-right: 1rem;
    }

    .footer-group:nth-child(2) {
        margin-left: 0rem;
    }

    .footer-group:nth-child(4) {
        margin-left: 0rem;
    }

    .social-media {
        margin-left: 0rem;
    }

    .last-text-right {
        margin-left: 2.2rem;
    }
}

@media (width: 414px) {

    .footer-contact .contact-item:first-of-type {
        margin-right: 8rem;
    }

    .footer-contact .contact-item:nth-child(2) {
        margin-bottom: 0rem;
    }

}

@media (width: 412px) {

    .footer-contact .contact-item:first-of-type {
        margin-right: 8rem;
    }

    .footer-contact .contact-item:nth-child(2) {
        margin-bottom: 0rem;
    }

}

@media (width: 360px) {

    .formText1 {
        font-size: 3rem;
    }

    .formText2 {
        font-size: 1.4rem;
    }


    .support-first-name,
    .support-last-name,
    .email,
    .phone-number {
        width: 220px;
        flex: 1 1 auto;
    }

    .bottomPage-text {
        margin-left: 1rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 4.8rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-right: 0.1rem;
    }

    .footer-group:nth-child(2) {
        margin-left: 0rem;
    }

    .footer-group:nth-child(4) {
        margin-left: 0rem;
    }

    .last-text-right {
        margin-left: 0.6rem;
        gap: 0.1rem;
    }
}

@media (max-width: 320px) {

    .navLogo {
        height: 60px;
    }

    .mobile-menu a {
        margin-left: 1rem;
    }

    .nav-right2 .book-a-ride-button,
    .nav-right2 .sign-in-button {
        margin-left: 1rem;
    }

    .user-info {
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    .formPage {
        display: none;
    }

    .bottomPage-text {
        margin-left: 1rem;
    }

    .footer-logo-slogan {
        margin-left: 1rem;
    }

    .footer-contact .contact-item:first-of-type {
        margin-right: 3.3rem;
    }

    .footer-contact .contact-item:nth-of-type(2) {
        margin-right: 0.1rem;
    }

    .footer-grid {
        margin-left: -3rem;
    }

    .footer-group:nth-child(1) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(2) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(3) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(4) {
        margin-left: 4rem;
    }

    .footer-group:nth-child(5) {
        margin-left: 4rem;
    }

    .social-media {
        margin-left: 0rem;
        margin-top: 2rem;
        margin-bottom: 0rem;
    }

    .last-text-right {
        font-size: 0.8rem;
        margin-left: 0.6rem;
        gap: 1rem;
        word-spacing: 0.5rem;
    }

}