@import url('https://fonts.cdnfonts.com/css/avenir-lt-std');

*, body {
    font-family: 'Avenir LT Std';
    margin: 0;
    font-weight: 350;
    scroll-behavior: smooth;
    /* display: none; */
}

h2 {
    font-size: 40px;
    font-weight: 600;
}

h3 {
    font-size: 26px;
    font-weight: 600;
}

nav {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

#brand {
    /* background-color: red; */
    text-align: center;
}

#logo {
    height: 100px;
}

#links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 30px;
    width: 100%;
}

.nav-links {
    font-size: 22px;
    margin-right: 50px;
    font-weight: 600;
    text-decoration: none;
    color: black;
}

#hambuger-container {
    display: none;
    align-items: center;
    /* z-index: 11; */
}

#hamburger {
    z-index: 11;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 25px;
}

.line {
    width: 30px;
    height: 3px;
    background-color: black;
    /* margin-top: 10px; */
}

.line:nth-child(2) {
    width: 25px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    /* background-color: red; */
    background-color: rgb(245, 237, 237);
    box-shadow: -8px 0 32px 0 rgba(0, 0, 0, 0.2);
    bottom: 0;
    /* display: none; */
    transform: translateX(150vw);
    transition: .5s ease;
    z-index: 10;
}

#mobile-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.mobile-links {
    font-size: 22px;
    /* margin-top: 20px; */
    font-weight: 600;
    text-decoration: none;
    color: black;
    padding: 20px;
    /* border: 1px solid rgba(121, 121, 121, 0.479); */
    width: calc(100% - 3px);
    text-align: center;
    border-left: 3px solid rgba(190, 190, 190, 0.288);
    /* box-sizing: border-box;                                              */

}

.mobile-links:hover {
    /* transform: translateX(5px); */
    /* padding-right: 25px; */
    background-color: rgba(190, 190, 190, 0.288);
    border-left: 3px solid #F54D4D;
}


.overlay {
    background-color: #00000049;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    visibility: hidden;
}

.show {
    visibility: visible;
}

.active-nav {
    transform: translateX(0);

}

#hero {
    display: flex;
    justify-content: space-between;
}

#img-container {
    /* display: flex; */
    /* justify-content: end; */
}

#hero-text {
    /* background-color: red; */
    padding: 30px;
}

#hero-text > h1 {
    font-size: 55px;
    font-weight: 600;
    width: 300px;
    line-height: 82px;
    font-style: normal;
}

#hero-img {
    width: 100%;
    /* height: 1000px; */
    /* display: block; */
}

#hero-desc {
    font-size: 26px;
    font-family: 200;
    line-height: 35.52px;
    width: 500px;
}

#hero-btn {
    padding: 14px 40px;
    background-color: #F54D4D;
    border-radius: 2px;
    color: white;
    font-size: 26px;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 6px 12px 12px rgba(0, 0, 0, 0.2);
}

#about {
    padding: 50px 30px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#veteran-img {
    width: 500px;
}

#about-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#about-desc {
    width: 100%;
    max-width: 700px;
    font-size: 24px;
}

#services {
    text-align: center;
    /* padding: ; */
}

#service-items {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
}

.service-item {
    /* background-color: blue; */
    display: flex;
    align-items: center;
    flex-direction: column;
}

.service-item-tab {
    width: 50vw;
    background-color: #F54D4D;
    margin: 15px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    cursor: pointer;
}

.service-item-tab > p {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.service-item-info {
    padding: 20px;
    width: calc(50vw + 40px);
    font-size: 24px;
    text-align: left;
    transition: .5s ease;
}

.service-item-info > img {
    width: 100%;
}

.collpased {
    display: none;
}

#service-spacer {
    width: 100%;
    max-width: 780px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 0px;
}

.spacer-line {
    height: 3px;
    width: 100%;
    background-color: #2776A3;
    margin: 0 10px;
}

#service-items > h3 {
    font-size: 32px;
    font-weight: 600;
    margin-top: 15px;
}

#custom-work-images {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(17, 5vw);
    /* margin: 40px; */
    margin-top: 20px;
    padding: 10vw;
    padding-top: 0;
    grid-gap: 3.2vw;
}

.custom-work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 6px 12px 12px rgba(0, 0, 0, 0.2);

}

.custom-work-item:nth-child(1) {
    grid-column: 1 / 5; 
    grid-row: 1 / 4;
}

.custom-work-item:nth-child(2) {
    grid-column: 5 / 13; 
    grid-row: 1 / 4;
}

.custom-work-item:nth-child(3) {
    grid-column: 1 / 8; 
    grid-row: 4 / 7;
}

.custom-work-item:nth-child(4) {
    grid-column: 8 / 13; 
    grid-row: 4 / 10;
}

.custom-work-item:nth-child(5) {
    grid-column: 1 / 8; 
    grid-row: 7 / 10;
}

.custom-work-item:nth-child(6) {
    grid-column: 1 / 6; 
    grid-row: 10 / 14;
}

.custom-work-item:nth-child(7) {
    grid-column: 6 / 13; 
    grid-row: 10 / 14;
}

.custom-work-item:nth-child(8) {
    grid-column: 8 / 13; 
    grid-row: 14 / 18;
}

.custom-work-item:nth-child(9) {    
    grid-column: 1 / 7; 
    grid-row: 14 / 18;
}

#testimonials > h2 {
    text-align: center;
    font-size: 30px;
    margin-top: 70px;
    margin-bottom: 20px;
    font-weight: lighter;
}

#testimonials-container {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    margin: 50px 25px;
    /* padding: 1vw 50px;/ */
}

.testimonial {
    width: 500px;
    background-color: white;
    padding: 20px;
    box-shadow: 4px 8px 16px rgba(0, 0, 0, 0.2);
    margin: 25px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.quote-icon {
    font-size: 50px;
    fill: #4C4B50;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 24px;
}

.bottom {
    /* display: flex; */
    /* flex-direction: column; */

    /* align-items: center; */

    /* make div stay on the bottom */

}

.seperator {
    width: 100px;
    height: 2px;
    background-color: #2776A3;
    margin: 20px 0px;
    display: inline-block;
}

.testimonial-author {
    font-size: 18px;
    font-weight: 400;
    color: #4C4B50;
}

#contact {
    text-align: center;
}

#email {
    padding: 20px;
}

.contact-item {
    margin: 35px 0px;
}

.contact-item > h3 {
    margin-bottom: 10px;
}

.contact-link {
    font-size: 23px;
    color: #F54D4D;
    word-wrap: break-word;
}

#social-btns {
    display: flex;
    justify-content: space-evenly;
    margin-top: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background-color: #2776A3;
    padding: 7px;
    border-radius: 50%;
    box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#fb-icon {
    height: 100%;
}

footer {
    background-color: #F54D4D;
    padding: 18px;
}

#large-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

#footer-cities {
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
}

#footer-logo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer-logo > p {
    color: white;
}

#bbb-image {
    display: flex;
    justify-content: right;
}

#bbb-image > img {
    border-radius: 12px;
}

#mobile-footer-logo {
    align-items: center;
    flex-direction: column;
    display: none;
}

#mobile-footer-logo > p {
    color: white;;
}

@media only screen and (max-width: 950px) {
    #showcase-items {
        margin: 20px;
        grid-gap: 3.0vw;
    }

    .service-item-tab {
        width: 70vw;
        background-color: #F54D4D;
        margin: 15px;
        display: flex;
        justify-content: space-between;
        padding: 20px;
        cursor: pointer;
    }

    .service-item-info  {
        width: 70vw;
        padding: 20px;
    }

    /* .service-item-text > p {
        font-size: 24px;
        width: calc(70vw + 40px);
    } */

    #veteran-img {
        /* width: 100%; */
        width: 400px;
    }

    #logo {
        height: 70px;
    }

    .nav-links {
        font-size: 18px;
        margin-right: 40px;
    }

    #large-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    #footer-logo {
        display: none;
    }

    #mobile-footer-logo {
        display: flex;
    }
}

@media only screen and (max-width: 1000px) {
    #testimonials-container {
        display: flex;  
        align-items: center;
        flex-direction: column;
        padding: 50px 25px;
    }

    .testimonial {
        max-width: 500px;
        width: 100%;
    }

    #hero-text > h1 {
        font-size: 45px;
        font-weight: 600;
        width: 200px;
        line-height: 62px;
    }
    
    #hero-desc {
        font-size: 23px;
        font-family: 200;
        line-height: 35.52px;
        width: 300px;
    }
}

@media only screen and (max-width: 800px) {
    #showcase-items {
        grid-template-columns: repeat(2, 1fr);
        margin: 20px;
        grid-gap: 3.2vw;
    }

    #about {
        padding: 50px 30px;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        /* width: 100%; */
    }
    #about-header {
        text-align: center;
    }
}

@media only screen and (max-width: 700px) {
    #hero {
        flex-direction: column-reverse;
    }

    #hero-text > h1 {
        width: 70%;
    }
    
    #hero-desc {
        width: 100%;
    }
}

@media only screen and (max-width: 675px) {
    #links {
        display: none;
    }

    #hambuger-container {
        display: flex;
    }
}

@media only screen and (max-width: 600px) {
    #custom-work-images {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
        grid-gap: 20px;
        padding: 20px;
    }

    .custom-work-item:nth-child(1),
    .custom-work-item:nth-child(2),
    .custom-work-item:nth-child(3),
    .custom-work-item:nth-child(4),
    .custom-work-item:nth-child(5),
    .custom-work-item:nth-child(6),
    .custom-work-item:nth-child(7),
    .custom-work-item:nth-child(8),
    .custom-work-item:nth-child(9) {
        grid-column: unset;
        grid-row: unset;
    }

    .service-item-tab {
        width: 85vw;
        background-color: #F54D4D;
        margin: 15px;
        display: flex;
        justify-content: space-between;
        padding: 20px;
        cursor: pointer;
    }

    .service-item-info  {
        width: 85vw;
    }
}