* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
body {
    font-family: sans-serif;
    /* height: 900vh; */
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    background-color: #fff;
    color: #000;
    font-family: sans-serif;
}
.logo img {
    width: 100%;
    height: auto;
}
.logo {
   width: 159px;
    height: 65px;
}

nav {
    width: 30%;
    max-width: 500px;
    margin-right: 80px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

nav ul li a {
    color: #000;
    font-size: 14px;
    text-decoration: none;
}

nav .logo {
    display: none;
}

.navbar h2 {
    display: none;
}

.desktop-nav-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    height: 100vh;
    padding: 25px;
    background-color: #fff;
    color: #000;
    z-index: 100;
    transform: translateX(-400px);
    width: 400px;
    transition: .20s ease-in-out;
}

.desktop-nav-container .logo {
    margin-top: 30px;
    height: 50px;
}

.desktop-nav-content {
    margin-top: -20px;
}

.desktop-nav-content p {
    line-height: 30px;
    margin-top: 15px;
}

.desktop-nav-content h1 {
    font-size: 22px;
    margin-top: 20px;
    color: #fed300;
}

.desktop-nav-container h2 {
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav-content a {
    color: #ffffff;
    text-decoration: underline;
    font-size: 18px;
}

.handle {
    display: flex;
    justify-content: space-between;
    width: 150px;
}

.handle a {
    border: 1px solid #000;
    width: 8px;
    height: 8px;
    margin-top: 20px;
}

.desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 300px;
    align-items: center;
}

.desktop-nav .track-button {
    width: 70%;
    background-color: #fed300;
    padding: 20px;
    border: none;
    font-size: 15px;
    font-weight: 600;
}

.mobile-hamburger {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border: none;
    width: 30px;
    position: relative;
    background-color: #000;
    transition: .25s ease-in-out;
    cursor: pointer;
}

.mobile-hamburger div {
    width: 100%;
    background-color: #000;
    height: 2px;
    cursor: pointer;
}

.mobile-hamburger div:nth-child(1) {
    position: absolute;
    top: 0px;
    width: 40%;
    right: 0;
    background-color: #000;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.mobile-hamburger:hover div:nth-child(1) {
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border: none;
    width: 30px;
    position: relative;
    background-color: transparent;
    transition: .25s ease-in-out;
    cursor: pointer;
}

.hamburger div {
    width: 100%;
    background-color: #000;
    height: 2px;
    cursor: pointer;
}

.hamburger div:nth-child(1) {
    position: absolute;
    top: 0px;
    width: 40%;
    right: 0;
    background-color: #000;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.hamburger:hover div:nth-child(1) {
    width: 100%;
}

.desktopNavEnable {
    transform: translateX(0);
    position: fixed;
}

.text {
    width: 80%;
    margin: auto;
}

.back_img {
    background-image: url(https://cndlogisticsid.com/wp-content/uploads/2020/10/side-image04.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(.3px);
    padding: 1rem;
    height: 80vh;
}
.back_img h1 {
    color: white;
    font-size: 85px;
    font-weight: 900;
    margin-top: 6rem;
}
.back_img p {
    color: #fff;
    font-size: 19px;
    width: 548px;
    line-height: 1.3;
    margin-top: 1rem;
}

.box-1 {
    border: 1px solid gray;
    padding: 1.3rem;
    width: 80%;
    margin: auto;
    margin-top: 6rem;
    padding-top: 2rem;
    position:relative;
}
.box-1:hover {
    transform: translateY(-25px);
    border-color: transparent;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
    z-index: 1;
}
.box-1:hover + .box-1:before {
    opacity: 1;
}
.box-1:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 30px;
    top: 35px;
    background: url(https://cndlogisticsid.com/wp-content/themes/qesco/images/dot-pattern.png);
    background-size: auto 11px;
    z-index: -1;
    opacity: 0;
    -webkit-transition: all .35s ease-in-out;
    -moz-transition: all .30s ease-in-out;
    -ms-transition: all .30s ease-in-out;
    -o-transition: all .30s ease-in-out;
    transition: all .30s ease-in-out;
}
.padding {
    margin-top: 1rem;
}
.padding-2 {
    margin-top: 2rem;
}

.none {
    display: none;
}

.box-1 p {
    font-size: 25px;
    font-weight: 600;
    width: 50%;
}

.box-1 hr, .box-2 hr, .box-3 hr, .box-4 hr {
    margin-top: 1.2rem;
    width: 20%;
}
.circle {
    background: #fff2b2;
    border: 1px solid #fff2b2;
    border-radius: 40px;
    margin-top: -3rem;
    height: 10vh;
    width: 18%;
}

.box-1 img {
    margin-top: 2rem;
    width: 18%;
}
.com {
    background: whitesmoke;
    margin-top: 6rem;
}
.side {
    padding: 1rem;
    padding-top: 5rem;
}
.side h1, .pl h1, .cost h1, .cargo h1 {
    font-weight: 800;
    padding-bottom: 1rem;
}
.side p, .pl p, .cost p, .cargo p {
    color: gray;
    font-size: 19px;
    line-height: 1.5;
}
.butt button {
    background: orange;
    border: none;
    font-size: 17px;
    font-weight: 700;
    margin-top: 2rem;
    padding: 1.2rem;
    width: 40%;
}
.side-img, .image, .cost-img {
    text-align: center;
}
.side-img img {
    width: 93%;
}

.image img {
    margin-top: -1rem;
    width: 93%;
}

.pl {
    background: whitesmoke;
    margin-top: 6rem;
    padding: 1rem;
    padding-top: 5rem;
}
.pl ul {
    font-size: 18px;
    line-height: 2;
    padding: 1rem;
}

.rail {
    background: black;
    color: white;
    margin-top: 6rem;
    padding: 1rem;
    padding-top: 5rem;
}

.cost-img img {
    margin-top: 3rem;
    width: 100%;
}
.glog img {
    width: 100%;
    margin-top: -0.2rem;
}
.wise {
    text-align: center;
    margin-top: 5rem;
}
.wise img {
    width: 10%;
}
.wise h1 {
    padding-bottom: 1rem;
    font-weight: 800;
    font-size: 26px;
}
.guage {
    text-align: center;
    padding-top: 3rem;
}
.gua {
    text-align: center;
}
.gua img {
    width: 95%;
}
.guag-1 img {
    width: 95%;
}
.guag-2 img {
    width: 95%;
}
.guag-3 img {
    width: 95%;
}
.guage h2 {
    margin-top: 2rem;
}
.guage p {
    font-size: 19px;
    margin: auto;
    margin-top: 1rem;
    line-height: 1.4;
    width: 80%;
}
.contact {
    background: #fed300;
    width: 95%;
    margin: auto;
    margin-top: 8rem;
    padding: 2rem;
}
.contact h1 {
    font-size: 35px;
    font-weight: 800;
    padding-bottom: 1rem;
}
.contact p {
    font-size: 18px;
    width: 80%;
}
.button button {
    background: black;
    border: none;
    color: white;
    margin-top: 1rem;
    padding: 2rem;
    width: 95%;
}
footer {
    background-color: #212223;
    color: #ffffff;
    padding: 100px 20px 0px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-content {
    display: flex;
    width: 50%;
    justify-content: space-between;
}

.footer-content .contactt {
    width: 62%;
}

.footer-content .contactt h2 {
    font-size: 18px;
    font-weight: 500;
}

.footer-content .contactt a {
    color: #ffffff;
    text-decoration: underline;
    display: block;
    margin-top: 10px;
}

.footer-content .contactt address {
    margin-top: 30px;
    font-size: 15px;
    line-height: 25px;
    font-style: normal;
}

.footer-content .contactt address span {
    display: block;
}

.footer-content .contactt h1,
.footer-content .quick-link h1,
.email-form h1 {
    font-size: 18px;
    margin-bottom: 30px;
}

.footer-content .quick-link {
    width: 35%;
}

.footer-content .quick-link ul {
    margin-top: 15px;
}

.footer-content .quick-link {
    position: relative;
}

.footer-content .quick-link li a {
    font-size: 15px;
    color: #ffffff;
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-content .quick-link li::before {
    content: ">";
    position: absolute;
    left: -15px;
}

.email-form {
    width: 33%;
}

.email-form form input:nth-child(1) {
    display: block;
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
}

.email-form form input:nth-child(2) {
    display: block;
    width: 150px;
    padding: 20px;
    background-color: #fed300;
    border: none;
    margin-bottom: 10px;
}

.email-form form input:nth-child(1)::placeholder {
    font-size: 15px;
}

.copyright {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid gray;
    padding: 30px 0;
}

.copyright h1 {
    font-size: 15px;
    font-weight: 400;
}

@media screen and (max-width:1200px) {
    .track-button {
        display: none;
    }

    .desktop-nav {
        width: 50px;
    }
}
@media screen and (max-width:990px) {
    header {
        padding: 20px 40px;
    }

    .desktop-nav {
        width: 250px;
    }

    .track-button {
        display: block;
        width: 100%;
    }

    .mobile-hamburger {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 12px;
        border: none;
        width: 30px;
        margin-left: calc(100% - 600px);
        position: relative;
        background-color: transparent;
        transition: .25s ease-in-out;
        cursor: pointer;
    }

    .hamburger {
        display: none;
    }

    .navbar.mobileNavEnable {
        display: flex;
        transform: translateX(0);
    }

    .navbar {
        position: fixed;
        width: 80%;
        flex-direction: column;
        justify-content: space-between;
        height: 100vh;
        top: 0;
        left: 0;
        padding: 30px;
        background-color: #fff;
        color: #000;
        transform: translateX(-600px);
        transition: .20s ease-in-out;
        z-index:999;
    }

    .navbar .logo {
        display: block;
        height: 44px;
        width: 220px;
    }

    .navbar ul {
        flex-direction: column;
        /* margin-top: 70px; */
        gap: 10px;
    }

    .navbar ul li a {
        font-size: 20px;
    }

    .navbar h2 {
        display: block;
        font-size: 12px;
        color:#000;
    }
    footer {
        padding: 100px 100px 0 100px !important;
    }

    .footer-container {
        flex-direction: column;
        row-gap: 50px;
    }

    .footer-content {
        width: 100% !important;
    }

    .footer-content .contactt {
        width: 43% !important;
    }

    .footer-content .quick-link {
        width: 52% !important;
    }

    .email-form {
        width: 100% !important;
    }
}
@media screen and (max-width:769px) {
    
    .back_img h1 {
        font-size: 53px;
    }
    .text {
        width: 100%;
        margin: auto;
    }
    .back_img p {
        width: 100%;
    }
    .desktop-nav {
        display: none;
    }

    .mobile-hamburger {
        margin-left: 0;
    }

    .navbar {
        width: calc(100% -100px);
        transform: translateX(-1000px);
    }
    footer {
        /*padding: 100px 20px 0px 20px;*/
        padding: 1rem !important;
    }
    .footer-content {
        flex-direction:column;
    }
}
@media (min-width: 1022px) {
    .img_flex {
        display: flex;
        gap: 2%;
        width: 92%;
        margin: auto;
    }
    .block {
        display: none;
    }
    .none {
        display: block;
    }
    .none-2 {
        display: block;
        width: 100%;
    }
    .box-1 {
        border: 1px solid gray;
        padding: 1.3rem;
        /*height: 45vh;*/
        width: 33%;
        margin: auto;
        margin-top: 6rem;
        padding-top: 2rem;
    }

    .box-2 {
        border: 1px solid gray;
        padding: 1.3rem;
        width: 33%;
        margin: auto;
        margin-top: 6rem;
        padding-top: 2rem;
        height: 45vh;
    }

    .box-3 {
        border: 1px solid gray;
        padding: 1.3rem;
        width: 33%;
        margin: auto;
        margin-top: 6rem;
        height: 45vh;
        padding-top: 2rem;
    }

    .box-4 {
        border: 1px solid gray;
        padding: 1.3rem;
        width: 33%;
        margin: auto;
        height: 45vh;
        margin-top: 6rem;
        padding-top: 2rem;
    }

    .box-1 img {
        margin-top: 5rem;
        width: 25%;
    }

    .box-2 img {
        margin-top: -12rem;
        width: 5%;
    }

    .box-3 img {
        margin-top: -31rem;
        width: 5%;
    }
    
    .box-4 img {
        margin-top: -47rem;
        width: 5%;
    }
    .box-1 p {
        width: 100%;
    }
    .circle {
        width: 25%;
    }
    .com {
        display: flex;
        width: 100%;
    }
    .service {
        display: flex;
        width: 100%;
    }
    .side {
        width: 65%;
        padding: 5rem;
    }
    .side-img img{
        width: 100%;
        margin-top: 0rem;
    }
    .image img {
        margin-top: -0.2rem;
        width: 100%;
    }
    .pl {
        width: 63%;
        padding: 5rem;
        margin-top: -0.9rem;
    }
    .side h1 {
        font-size: 42px;
        width: 60%;
    }
    .supply p {
        width: 95%;
    }
    .butt button {
        margin-top: 2rem;
    }
    .rail {
        margin-top: -0.1rem;
        margin-bottom: -1rem;
        height: 183vh;
    }
    .flex {
        display: flex;
    }
    .cost {
        width: 65%;
        padding: 5rem;
    }
    .cost-img img {
        margin-top: -4.9rem;
        width: 102%;
    }
    .logis {
        display: flex;
    }
    .glog img {
        width: 107%;
    }
    .cargo {
        width: 65%;
        padding: 5rem;
        padding-bottom: 0rem;
    }
    .pro {
        display: flex;
    }
    .guag-1 img {
        width: 70%;
    }
     .contact {
        display: flex;
        justify-content: space-between;
     }
     .contact {
        padding: 5rem;
     }
     .contact h1 {
        font-size: 45px;
     }
     .button button {
        margin-top: 7rem;
        width: 100%;
     }
}
