@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap');

body {
    font-family: 'Quicksand', sans-serif !important;
}

.navbar {
    top: 25px;
    background: #FAFAFA;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
    height: 71px;
    border-radius: 8px;
    width: 82%;
    /* display: flex;
    flex-direction: row;
    padding: 0px;
    align-items: center;
    position: absolute;
    left: 258px; */
}

.navbar-toggler-icon{
    background-image: url('../images/icon/collapse button.png') !important;
}

.navbar-brand {
    font-family: 'Open Sans', sans-serif !important;
    color: #93B5C6 !important;
    font-size: 24px;
}

.navbar-nav a {
    font-weight: 500;
    color: #4F4F4F !important;
    font-size: 18px;
}

.nav-link {
    margin: 10px !important;
    padding-top: 10px;
}

.btn-primary {
    background: #93B5C6 !important;
    border: none;
    border-radius: 8px;
    padding: 14px 41px !important;
    color: #FAFAFA !important;
    font-size: 18px;
}

#home {
    margin-top: 100px;
}

#home .content {
    margin-top: 90px;
}

#home h1 {
    font-weight: 700;
    color: #4F4F4F !important;
    font-size: 48px;
}

#home h2 {
    font-weight: 700;
    color: #93B5C6;
    font-size: 40px;
}

#about {
    margin-top: 100px;
}

#about .content {
    margin-top: 90px;
}

#about h1 {
    font-weight: 700;
    color: #4F4F4F !important;
    font-size: 48px;
}

#about span {
    color: #93B5C6;
    font-weight: 700;
}

#about p {
    font-size: 18px;
    line-height: 22px;
    text-align: justify;
    color: #4F4F4F;
    margin-top: 16px;
}

#contact {
    margin-top: 100px;
}

#contact .content {
    margin-top: 30px;
}

#contact h1 {
    font-weight: 700;
    color: #4F4F4F !important;
    font-size: 48px;
}

#contact h2 {
    font-weight: 700;
    color: #93B5C6;
    font-size: 40px;
}

#contact p {
    font-size: 18px;
    margin-top: 90px;
}

.icon {
    align-items: center;
}

.icon a {
    /* width: 40px;
    height: 40px; */
    padding: 10px 12px;
    border-radius: 50%;
    background-color: #93B5C6;
    margin-top: 20px;
    /* text-align: center; */
    margin-right: 12px;
}

.icon a img {
    align-items: center;
    margin: auto;
}

/* portfolio */
.card, .owl-item {
    transition: all 1s ease-out;
    /* -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1, 1); */
}

.card__title a {
    text-decoration: none;
    color: #4F4F4F;
}

.owl-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.cards {
    margin-top: 100px;
    width: 100%;
    background-color: #fefefe;
}  

.card {
    display: flex;
    justify-content: center;
    height: 19em;
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
    opacity: 0.7;
    transform: scale(0.87);
    transition: transform 0.4s 0.5s ease-out, opacity 1s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 30% !important;
}

.wrap-btn {
    position: absolute;
    margin-top: 130px;
    left: 43%;
}

.wrap-btn a {
    margin-left: 20px;
}

.active .card {
    box-shadow: 0 0px 1em rgba(0, 0, 0, 0.2);
    transform: box-shadow 0.3s ease, transform 0.1s 0.4s ease-in, opacity 0.4s ease;
}

.card__content {
    display: flex;
    align-items: center;
    text-align: center;
    color: #4F4F4F;
    opacity: 1;
}


.active .card__content {
    opacity: 1;
    transition: opacity 0.4s ease;
}

.card__title {
    display: inline-block;
    font-size: 18px;
    overflow: hidden;
    font-weight: 600;
    margin-left: 200px;
}

.card__title span {
    display: inline-block;
    animation: slide-up 0.4s 0s ease both;
}

.center.active .card__title span, .center.active.cloned:last-child .card__title span {
    opacity: 1;
    animation: slide-down 0.4s 0.4s ease both;
    transition: transform 0.3s 0.4s ease, opacity 0.3s ease;
}

.center .card {
    opacity: 1;
    transform: scale(1);
}

.center .card:hover {
    box-shadow: 0 8px 16px -5px rgba(0, 0, 0, 0.4);
}

/* .owl-item:nth-of-type(1n) .card {
    background-color: #ff527b;
}

.owl-item:nth-of-type(2n) .card {
    background-color: #ffcc8f;
}

.owl-item:nth-of-type(3n) .card {
    background-color: #ff8f2f;
}

.owl-item:nth-of-type(4n) .card {
    background-color: #2480fe;
} */

/* .owl-theme .owl-dots .owl-dot span {
    width: 4em;
    height: 4px;
    margin: 0 0.5em;
    background: #FFE3E3;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 0.2s ease;
    border-radius: 0;
} */

/* .owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #93B5C6;
} */

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translate3d(0, -120%, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0%, 0);
    }
}
@keyframes slide-up {
    0% {
        opacity: 1;
        transform: translate3d(0, 0%, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, -120%, 0);
    }
}


@media (max-width: 991px) {

    .navbar {
        top: 0;
        background: #FAFAFA;
        box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
        height: 71px;
        width: 100%;
        border-radius: 0;
    }

    .navbar-collapse {
        background: #FAFAFA;
        margin-top: 17px;
        padding: 20px;
        box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.25);
        z-index: 9999;
    }
}   