:root {
    --primary-color: #13274a;
    --secondary-color: #f6700d;
    --max-width: 1000px;
}

* {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

header {
    display: flex;
    gap: 15px;
    padding: 15px;
    align-items: center;
    max-width: var(--max-width);
    margin: auto;

    >span>img {
        height: 70px;
    }

    a {
        display: flex;
        gap: 10px;
        padding: 8px 16px;
        border-radius: 24px;
        font-size: x-large;
        color: var(--primary-color);
        text-decoration: none;
    }

    >div {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: 0;
        color: #666666;

        >span {
            display: flex;
            gap: 10px;
            justify-content: right;
        }
    }

    .selected {
        color: var(--secondary-color);
    }
}

main {
    margin: auto;
    display: flex;
    flex-direction: column;

    >div {
        padding: 50px;
    }
}

footer {
    background-color: var(--primary-color);
    color: whitesmoke;
    padding: 40px 0;
    padding-bottom: 10px;
    text-align: center;

    >div:first-child {
        max-width: var(--max-width);
        margin: auto;
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;

        div {
            display: flex;
            flex-direction: column;
            width: 30%;
            min-width: 200px;
            gap: 10px;
            background-color: var(--secondary-color);
            padding: 40px;
            border-radius: 16px;

            >span:first-child {
                font-size: larger;
                font-weight: bold;
                margin: 0 auto;
                margin-bottom: 10px;
            }

            >span {
                display: flex;
                gap: 15px;
                font-size: large;
                text-align: left;
                overflow-wrap: anywhere;

                >i {
                    color: var(--primary-color);
                }
            }
        }
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        font-size: large;
        margin: 20px auto;

        >a {
            text-decoration: none;
            color: whitesmoke;
        }
    }
}

.quote-btn {
    font-size: large;
    color: whitesmoke;
    background-color: var(--secondary-color);
    width: fit-content;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.color-text {
    color: var(--secondary-color) !important;
}

.chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    background: #2fbe4e;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 24px;
    font-size: large;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.main-content {

    background-image: url('img/truck-bg-dark_logo.jpg');
    background-size: cover;
    background-position: bottom;
    color: whitesmoke;

    >div {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        min-height: 500px;
        max-width: var(--max-width);
        margin: auto;

        >span:first-child {
            font-size: 48px;
        }

        >span {
            max-width: 500px;
            font-size: x-large;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
        }

        >a {
            margin-top: 40px;
        }
    }
}

.gurantee {
    background-color: rgb(247, 247, 247);
    color: rgb(66, 66, 66);

    >div {
        display: flex;
        flex-direction: column;
        max-width: var(--max-width);
        margin: auto;

        text-align: center;

        >div:first-child {
            display: flex;
            flex-direction: column;
            margin-bottom: 40px;
            gap: 5px;

            >span:first-child {
                font-size: xx-large;
                color: rgb(66, 66, 66);

                i {
                    color: var(--secondary-color);
                }
            }

            >span {
                color: rgb(105, 105, 105);
            }
        }

        >.features {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            font-size: large;
            color: #777777;
            text-align: left;

            >div {
                display: flex;
                width: 250px;
                padding: 30px;
                gap: 20px;
                align-items: center;
                border-right: 1px solid var(--secondary-color);

                .material-icons {
                    font-size: 48px;
                    color: var(--secondary-color);
                }

                >div {

                    >div:first-child {
                        font-size: large;
                        font-weight: bold;
                        color: #444444;
                    }

                    >div:nth-child(2) {
                        font-size: medium;
                        color: #666666;
                    }
                }

            }

            >div:last-child {
                border: none;
            }
        }

        .features:nth-child(even) {
            border-bottom: 1px solid var(--secondary-color);
        }
    }
}

.all-clients {
    padding: 50px 0;
    max-width: var(--max-width);
    margin: auto;

    >div:first-child {
        display: flex;
        flex-direction: column;
        gap: 5px;
        text-align: center;

        >span:first-child {
            font-size: xx-large;
            color: #444444;
        }

        >span {
            color: #777777;
        }
    }

    .clients {
        display: flex;
        margin-top: 40px;

        >img {
            margin: 20px;
            padding: 8px;
            height: 140px;
            background-color: white;
            box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, .14);
        }
    }

}

.services {
    background-image: url('img/warehouse_dark_small.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 10px;

    >div:first-child {
        display: flex;
        flex-direction: column;
        text-align: center;
        color: whitesmoke;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);

        >span:first-child {
            font-size: 36px;
        }

        >span {
            font-size: large;
        }
    }

    >div:last-child {
        display: flex;
        flex-wrap: wrap;
        max-width: var(--max-width);
        margin: auto;
        margin-top: 50px;
        gap: 20px;

        >div {
            margin: auto;
            overflow: hidden;
            background: rgba(243, 243, 243, 0.89);
            border-radius: 16px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);

            >img {
                width: 100%;
                height: 400px;
            }

            >div {
                display: flex;
                flex-direction: column;
                padding: 20px;
                max-width: 400px;
                gap: 15px;

                >span:first-child {
                    font-size: x-large;
                    font-weight: bold;
                    color: var(--secondary-color);
                }

                >span {
                    color: #444444;
                }

                >:last-child {
                    margin: 30px auto;
                }
            }
        }
    }
}

.about-us {
    background-color: var(--primary-color);
    gap: 0;

    >div {
        max-width: var(--max-width);
        margin: auto;
        border: 2px solid var(--secondary-color);
        border-radius: 16px;
        text-align: center;
        font-size: large;
        display: flex;
        padding: 50px;
        flex-direction: column;
        color: whitesmoke;


        >.color-text {
            font-size: xx-large;
            font-weight: bold;
        }
    }

    >img {
        display: block;
        width: 250px;
        border-radius: 24px;
        margin: 50px auto -20px auto;
    }
}


@media (max-width: 800px) {
    header {
        flex-direction: column;
        justify-content: center;

        >div {
            display: none;
        }
    }
    .about-us {
        padding: 10px;
    }

}

@media (max-width:1100px) {
    .features {
        border: none !important;

        >div {
            border: none !important;
        }
    }
}