@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");

@font-face {
    font-family: "Haettenschweiler";
    src: url("../fonts/Haettenschweiler.ttf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    background-color: #fefefe;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #fff;
}

.img-ratio-3-1 {
    position: relative;
    padding-bottom: 33.33%;
}

.img-ratio-3-1 img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}

p {
    line-height: 1.5;
}

.fw-500 {
    font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-3 {
    font-weight: 700;
}

.display-5 {
    font-size: calc(1.05rem + 2.1vw) !important;
    font-weight: 500;
}

.logo h1 {
    font-size: 3.75rem;
    font-weight: normal;
    color: rgb(138, 8, 8);
    font-family: "Haettenschweiler", sans-serif;
}

.rounded-4 {
    border-radius: 0.5rem;
}
.rounded-5 {
    border-radius: 1rem;
}

.text-shadow-1 {
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
}
.text-shadow-2 {
    text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}
.text-shadow-3 {
    text-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
}

.bg-blur {
    background: rgba(255, 255, 255, 0.18);
}

.btn-danger {
    background-color: rgb(138, 8, 8);
    border-color: rgb(138, 8, 8);
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger:focus {
    background-color: rgb(168, 12, 12);
    border-color: rgb(168, 12, 12);
}

.btn-outline-danger {
    color: rgb(138, 8, 8);
    border-color: rgb(138, 8, 8);
}

.btn-outline-danger:hover,
.btn-outline-danger:active,
.btn-outline-danger:focus {
    background-color: rgb(168, 12, 12);
    border-color: rgb(168, 12, 12);
}

.card {
    border: none;
}

.card-cover {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 190px;
    overflow: hidden;
}

.card-body {
    position: relative;
    padding: 0.5rem;
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.1;
    white-space: normal;
    overflow: hidden;
}

.card-body::before,
.card-body::after {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    height: 100%;
    top: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(0, -50%);
    overflow: hidden;
    transition: 0.4s ease-out;
}

.card-body::before {
    left: -15px;
}

.card-body::after {
    right: -15px;
}

.card .card-hover {
    display: flex;
    flex: 1 1 auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: inherit;
    border: none;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s ease-out;
}

.card:hover {
    filter: grayscale(100%);
}

.card:hover .card-hover {
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
}

.card:hover .card-body::before {
    left: 0;
}

.card:hover .card-body::after {
    right: 0;
}

.horizontal-scroll {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: none;
}

.horizontal-scroll .scroll-item {
    display: inline-block;
    margin-right: 1.5rem;
    text-decoration: none;
}

#cubeTransition {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    transform-style: preserve-3d;
}

#cubeTransition .content {
    min-height: 100%;
    width: 100%;
    padding-top: 4rem;
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    display: none;
}

.nav .nav-item .nav-link,
.nav-contact .nav-link {
    color: #fff;
    font-weight: 400;
}

.services .nav .nav-item .nav-link,
.services .nav-contact .nav-link {
    color: #000;
}

.nav-contact .nav-link {
    font-size: 0.813rem;
}

.nav .nav-item .nav-link.active {
    font-weight: 700;
    color: rgb(138, 8, 8);
}

.visible {
    display: block !important;
}

.form-control {
    background-color: transparent;
}

.home {
    background: url(../assets/Home\ Page.jpg) no-repeat center center;
    background-size: cover;
}

.services {
    background: url(../assets/Services.jpg) no-repeat center center;
    background-size: cover;
}

.company {
    background-color: #000;
    background: url("../assets/Our\ Company.jpg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.7) 100%
        ),
        url("../assets/Our\ Company.jpg") no-repeat center center;
    background-size: cover;
}

.contact {
    background-color: #000;
    background: url("../assets/Contact.jpg") no-repeat center center;
    background-size: cover;
}

.sea-freight {
    background-color: #000;
    background: url("../assets/Sea\ Freight.jpg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 100%
        ),
        url("../assets/Sea\ Freight.jpg") no-repeat center center;
    background-size: cover;
}

.air-freight {
    background-color: #000;
    background: url("../assets/Air\ Freight.jpg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 100%
        ),
        url("../assets/Air\ Freight.jpg") no-repeat center center;
    background-size: cover;
}

.inland-trucking {
    background-color: #000;
    background: url("../assets/Inland\ Trucking.jpg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 100%
        ),
        url("../assets/Inland\ Trucking.jpg") no-repeat center center;
    background-size: cover;
}

.custom-clearance {
    background-color: #000;
    background: url("../assets/Customs\ Clearance.jpg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 100%
        ),
        url("../assets/Customs\ Clearance.jpg") no-repeat center center;
    background-size: cover;
}

.warehousing {
    background-color: #000;
    background: url("../assets/Warehousing.jpeg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 100%
        ),
        url("../assets/Warehousing.jpeg") no-repeat center center;
    background-size: cover;
}

.consulting {
    background-color: #000;
    background: url("../assets/Consulting.jpg") no-repeat center center;
    background: linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.85) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0.85) 100%
        ),
        url("../assets/Consulting.jpg") no-repeat center center;
    background-size: cover;
}

.rotateCubeTopOut {
    transform-origin: 50% 100%;
    animation: rotateCubeTopOut 0.75s ease-in;
}

.rotateCubeTopIn {
    transform-origin: 50% 0%;
    animation: rotateCubeTopIn 0.75s ease-in;
}

.rotateCubeBottomOut {
    transform-origin: 50% 0%;
    animation: rotateCubeBottomOut 0.75s ease-in;
}

.rotateCubeBottomIn {
    transform-origin: 50% 100%;
    animation: rotateCubeBottomIn 0.75s ease-in;
}

@keyframes rotateCubeTopOut {
    50% {
        animation-timing-function: ease-out;
        transform: translateY(-50%) translateZ(50px) rotateX(45deg);
    }

    100% {
        transform: translateY(-100%) translateZ(0) rotateX(90deg);
    }
}

@keyframes rotateCubeTopIn {
    0% {
        transform: translateY(100%) translateZ(0) rotateX(-90deg);
    }

    50% {
        animation-timing-function: ease-out;
        transform: translateY(50%) translateZ(50px) rotateX(-45deg);
    }
}

@keyframes rotateCubeBottomOut {
    50% {
        animation-timing-function: ease-out;
        transform: translateY(50%) translateZ(50px) rotateX(-45deg);
    }

    100% {
        transform: translateY(100%) translateZ(0) rotateX(-90deg);
    }
}

@keyframes rotateCubeBottomIn {
    0% {
        transform: translateY(-100%) translateZ(0) rotateX(90deg);
    }

    50% {
        animation-timing-function: ease-out;
        transform: translateY(-50%) translateZ(50px) rotateX(45deg);
    }
}

#bullets {
    position: absolute;
    width: 100%;
    bottom: 20px;
    padding: 0;
    margin: 0;
    text-align: center;
}

#bullets li {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 3px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#bullets li:hover {
    background: rgba(255, 255, 255, 0.8);
}

#bullets li.active {
    cursor: default;
    background: #fff;
}

@media (max-width: 991.98px) {
    .card-cover {
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .bullets li {
        margin: 0 6px;
    }

    .nav .nav-item .nav-link,
    .nav-contact .nav-link {
        padding: 0.5rem;
        font-size: 0.65rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .card-body {
        font-size: 1rem;
    }
}
