:root {
    --font-size-menu: 18px;
    --font-weight-menu: bold;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    position: relative;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

nav {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50px 50px 50px 50px;
    height: 100px;
    width: 80%;
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 9999;
}

.mobile-nav {
    display: none;
}

.logo {
    padding: 18px 40px;
}

/* Navigation Menu */
.menu {
    text-align: right;
    color: #eee;
    overflow: hidden;
    padding: 22px 40px;
}

/* Navigation Links */
.menu a {
    float: right;
    font-size: var(--font-size-menu);
    font-weight: var(--font-weight-menu);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #eee;
    transition: 0.2s ease-out;
}

/* Subnavigation Menu */
.subnav {
    float: right;
    overflow: hidden;
    padding: 14px 16px;
    font-size: var(--font-size-menu);
    font-weight: var(--font-weight-menu);
    cursor: pointer;
    transition: 0.2s ease-out;
}

/* Subnav Content Position Absolute */
.subnav-content {
    display: none;
    position: absolute;
    top: 78px;
    right: 8px;
    background-color: rgba(255, 255, 255, 0.911);
    width: 80%;
    z-index: 1;
    border-radius: 0 0 50px 50px;
    padding: 20px;
}

/* Subnav Content Links */
.subnav-content a {
    float: left;
    color: #171717;
    text-decoration: none;
}

/* Hover Navigation Links */
.menu a:hover,
.subnav:hover {
    background-color: rgba(0, 51, 255, 0.4);
    border-radius: 45px;

}

/* Hover Subnav Content */
.subnav-content a:hover {
    background-color: transparent;
    margin-top: -10px;
}

/* Display Subnav Content when the mouse over it */
.subnav:hover .subnav-content {
    display: block;
}

.banner {
    position: relative;
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin-top: -100px;
    padding: 0;
    z-index: -1;
}

.product {
    margin-top: 50px;
    margin-bottom: 50px;
}

.card {
    background-color: rgba(255, 255, 255, 0.198);
    color: #eee;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 20px;
    border: transparent;
    border-radius: 80px 80px 80px 0px;
    transition: 0.2s ease-out;
    /* -webkit-box-shadow: 4px 3px 16px 0px rgba(82, 82, 82, 0.32);
    box-shadow: 4px 3px 16px 0px rgba(82, 82, 82, 0.32); */
}

.card:hover {
    margin-top: -10px;
    border-radius: 80px 0px 80px 80px;
}

footer {
    margin-top: 20px;
    color: #eee;
    padding: 50px;
    font-weight: 400;
    font-size: 15px;
    background-color: #0f0f0f;
    background-image: url("../img/45-degree-fabric-dark.png");
}

footer a {
    text-decoration: none;
    color: #eee;
}

footer .title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 8px;
}

footer span.footmenu {
    display: block;
    margin-bottom: 5px;
}

footer span.footmenu img {
    border-radius: 20px;
    margin-bottom: 10px;
}

footer a:hover {
    color: crimson;
}

.credit {
    background-color: #000000;
    background-image: url("../img/xv.png");
    padding: 20px;
    text-align: center;
    color: #eee;
}

.credit a {
    text-decoration: none;
    color: #eee;
}

/* Responsive Iframe */
.wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* END Responsive Iframe */

.parallax1 {
    margin-top: -50px;
    margin-bottom: -20px;
    padding-top: 5px;
    padding-bottom: 50px;
    /* The image used */
    background-image: url('../img/parallax1.jpg');
    height: min-content;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax2 {
    margin-top: -50px;
    margin-bottom: -20px;
    padding-top: 5px;
    padding-bottom: 50px;
    /* The image used */
    background-image: url('../img/parallax2-black.jpg');
    height: min-content;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.btn-floating {
    position: fixed;
    width: 75px;
    height: 75px;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    z-index: 999;
    border-radius: 0px 100px 100px 100px;
}

.btn-floating img {
    position: relative;
    top: 15px;
    left: 15px;
}

.pulse {
    animation: pulse-animation 0.8s infinite;
}

.cta {
    background-image: url('../img/dirt-road.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin-bottom: 50px;
    padding: 20px;
}

.cta .btn-cta {
    text-decoration: none;
    color: #eee;
    padding: 10px 30px;
    font-size: 25px;
    font-weight: bold;
    background-color: #c30000;
    border-radius: 50px;
    z-index: 8;
    animation: btn 0.5s infinite;
}

.cta img {
    position: relative;
    animation: go 2s infinite;
}

.model {
    padding-bottom: 30px;
}

.model img {
    width: 400px;
    margin-top: 80px;
    margin-bottom: 50px;
}

.model .model-name {
    margin-top: -80px;
}

.model .model-name a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 20px 50px;
    background-color: rgba(0, 51, 255, 0.486);
    border-radius: 80px 0px 80px 80px;
    cursor: pointer;
}

.model .model-name a:hover {
    color: #ffffff;
}

.btn-floating-mobile {
    display: none;
}

.banner-mobile {
    display: none;
}

.product-mobile {
    display: none;
}

.sidenav {
    display: none;
}

/* Scroll Menu */
.scroll-samping{
    overflow-x: scroll;
    white-space: nowrap;
    /* Hide Scrollbar IE, Edge, Firefox */
    -ms-overflow-style: none; /* IE & Edge*/
    scrollbar-width: none; /* Firefox */
}

.scroll-samping::-webkit-scrollbar{
    /* Hide Scrollbar Chrome, Safari, Opera */
    display: none;
}
/* END Scroll Menu */

/* Transition */
.fadeInAtas{
    animation-name: fadeInAtas;
    animation-duration: 1s;
}

.fadeInKiri{
    animation-name: fadeInKiri;
    animation-duration: 1s;
}

.fadeInKanan{
    animation-name: fadeInKanan;
    animation-duration: 1s;
}

.fadeInBawah{
    animation-name: fadeInBawah;
    animation-duration: 1s;
}

.fadeIn{
    animation-name: fadeIn;
    animation-duration: 3s;
}
/* End Transition */

/* Animation */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 255, 38, 0.886);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 255, 21, 0);
    }
}

@keyframes go {
    0% {
        left: 0px;
    }

    20% {
        left: 50px;
        transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg);
        -moz-transform: rotate(-30deg);
    }

    30% {
        left: 150px;
        transform: skew(10deg);
        -webkit-transform: skew(10deg);
        -moz-transform: skew(10deg);
    }

    40% {
        left: 300px;
        transform: skew(10deg);
        -webkit-transform: skew(10deg);
        -moz-transform: skew(10deg);
    }

    80% {
        left: 500px;
    }

    100% {
        left: 0px;
    }
}

@keyframes btn {
    0% {
        font-size: 25px;
    }

    50% {
        font-size: 30px;
    }

    100% {
        font-size: 25px;
    }
}

@keyframes fadeInAtas {
    from{
        opacity: 0;
        transform: translateY(-25px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInKiri {
    from{
        opacity: 0;
        transform: translateX(-25px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInKanan {
    from{
        opacity: 0;
        transform: translateX(25px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInBawah {
    from{
        opacity: 0;
        transform: translateY(25px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from{
        opacity: 0;
    }

    to{
        opacity: 1;
    }
}
/* End Animation */

swiper-container {
    width: 100%;
    height: 100%;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tablet 768 to Mobile 320 */
@media screen and (max-width: 768px) {
    @keyframes btn {
        0% {
            font-size: 20px;
        }
    
        50% {
            font-size: 25px;
        }
    
        100% {
            font-size: 20px;
        }
    }

    .cta .btn-cta {
        text-decoration: none;
        color: #eee;
        padding: 10px 30px;
        font-size: 20px;
        font-weight: bold;
        background-color: #c30000;
        border-radius: 50px;
        z-index: 8;
        animation: btn 0.5s infinite;
    }

    nav {
        display: none;
    }

    .mobile-nav {
        display: block;
        background-color: #fff;
        border-radius: 30px 0px 0px 30px;
        padding: 10px 10px;
        position: fixed;
        bottom: 70px;
        right: -5px;
        z-index: 99;
        color: crimson;
        font-weight: bold;
    }

    .btn-floating {
        display: none;
    }

    .btn-floating-mobile {
        display: block;
        height: 50px;
        background-color: #14ab35;
        text-align: center;
        border-radius: 50px;
        margin-bottom: 5px;
    }

    .btn-floating-mobile span {
        color: #fff;
        display: inline-block;
        margin-top: 10px;
    }

    a {
        text-decoration: none;
    }

    .fix-btn {
        position: fixed;
        bottom: 0px;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 99;
        width: 90%;
    }

    .credit {
        padding-bottom: 70px;
    }

    .cta {
        display: none;
    }

    .banner {
        display: none;
    }

    .banner-mobile {
        display: block;
    }

    .product {
        display: none;
    }

    .product-mobile {
        display: block;
        margin-top: 80px;
        margin-bottom: 50px;
    }

    .card {
        display: inline-block;
        background-color: rgba(255, 255, 255, 0.198);
        color: #eee;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-right: 5px;
        margin-left: 5px;
        padding: 20px;
        border: transparent;
        border-radius: 50px 50px 50px 0px;
        transition: 0.2s ease-out;
        /* -webkit-box-shadow: 4px 3px 16px 0px rgba(82, 82, 82, 0.32);
        box-shadow: 4px 3px 16px 0px rgba(82, 82, 82, 0.32); */
    }
    
    .card:hover {
        margin-top: -10px;
        border-radius: 80px 0px 80px 80px;
    }

    .card img {
        width: 120px;
    }

    .card p {
        text-align: center;
    }

    footer {
        font-size: 12px;
    }

    footer .title {
        font-size: 15px;
    }

    .kolom-footer {
        margin-bottom: 20px;
    }

    footer img {
        width: 250px;
    }

    .sidenav {
        display: block;
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 9999;
        top: 0;
        right: 0;
        background-color: #010f50;
        background-image: url('../img/bg-sidemenu.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 100px;
        text-align: left;
    }

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #ffffff;
        display: block;
        transition: 0.3s;
    }

    .sidenav a:hover{
        color: #c6c6c6;
        font-weight: bold;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 50px;
        font-size: 15px;
        margin-left: 50px;
        background-color: #fff;
        border-radius: 30px 0px 0px 30px;
        padding: 10px 10px;
        right: -5px;
        color: crimson;
        font-weight: bold;
    }

    .sidenav-product {
        display: none;
    }

    .sidenav-card {
        width: 85%;
        margin-left: 32px;
        margin-bottom: -2px;
    }

    .sidenav-card a span {
        font-size: 18px;
        margin-left: 30px;
    }
}