/* Google Fonts - Roboto Slab */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap");

* {
    font-family: "Roboto Slab", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #ffffff;
}

nav {
    background-color: #382806;
    width: 100%;
}

.container-fluid {
    background-color: #382806;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
}

.container-fluid .navbar-nav .nav-item .nav-link {
    color: #c8b57a;
}

.container-fluid .navbar-nav .nav-item .nav-link:hover {
    color: #ffffff;
}

.our-company {
    color: #ffff;
    text-align: center;
    padding: 11%;
    text-shadow: 2px 2px 8px #000000;
    background-image: url('Pt Kayu Mas Abadi/gudang1.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

footer {
    background-color: #382806;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

footer .icons,
footer .menu {
    position: relative;
    display: flex;
    justify-content: center;
    margin-left: -30px;
    width: 100%;
    height: auto;
    list-style: none;
}

footer .icons li a {
    font-size: 2em;
    color: rgb(144, 144, 144);
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    height: auto;
    list-style: none;
}

.social-icons:hover {
    background-color: #524323;
    border-radius: 50%;
}

.tulisan {
    font-size: x-large;
}

html {
    scroll-behavior: smooth;
    font-size: calc(10px + 0.390625vw);
}

.go-top-btn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    border-radius: 50%;
    cursor: pointer;
    height: 40px;
    width: 40px;
    background: #575757;
    border: 3px solid #000000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

.go-top-btn:hover {
    opacity: 1;
}

.go-top-btn img {
    width: 30px;
    height: 30px;
}

.content .KMA {
    background-color: #382806;
    width: 100%;
    height: auto;
}

.content {
    background-image: url('Pt Kayu Mas Abadi/37.jpg');
    background-size: 100%;
    padding-bottom: 20px;
}

.KMA h1{
    text-align: center;
    width: 100%;
    padding: 2%;
    color: #ffffff;
    margin-top: -8px;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

.container {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    color: #ffffff;
    animation: movedown 1s linear forwards;
    opacity: 0;
}

@keyframes movedown {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.text-box {
    padding: 20px 30px;
    background: #575757;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
}

.left-container {
    left: -25%;
}

.right-container {
    left: 25%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100;
    background: #575757;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
}

@keyframes moveline {
    0% {
        height: 0;
    }

    100% {
        height: 100%;
    }
}

.text-box h2 {
    font-weight: 600;
}

.text-box small {
    display: inline-block;
    margin-bottom: 15px;
}

.text-box p {
    text-align: justify;
}

.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #575757;
    right: -14px;
}

.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #575757;
    left: -14px;
}

.container:nth-child(1) {
    animation-delay: 0s;
}

.container:nth-child(2) {
    animation-delay: 1s;
}

.container:nth-child(3) {
    animation-delay: 2s;
}

.container:nth-child(4) {
    animation-delay: 3s;
}

.container:nth-child(5) {
    animation-delay: 4s;
}

.container:nth-child(6) {
    animation-delay: 5s;
}

.container:nth-child(7) {
    animation-delay: 6s;
}

@media screen and (max-width: 600px) {
    .timeline {
        margin: 50px auto;
    }

    .timeline::after {
        left: 31px;
    }

    .container {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .text-box {
        font-size: 13px;
    }

    .text-box small {
        margin-bottom: 10px;
    }

    .right-container, .left-container {
        left: 0;
    }

    .left-container-arrow, .right-container-arrow {
        border-right: 15px solid #382806;
        border-left: 0;
        left: -14px;
    }
}