* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(52, 67, 128, 0.7)), url(background.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.logo a {
    text-decoration: none;
    font-size: 27px;
    color: #fff;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    text-shadow: 1px 1px 5px white;
    transition: 1s;
}

.logo a:hover {
    color: #f44336;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    margin: 5px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box p {
    font-size: 30px;
}

.text-box h1 {
    font-size: 55px;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 15px 35px;
    margin-top: 20px;
    font-size: 20px;
    background: transparent;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    opacity: 0.8;

}

nav .fa {
    display: none;
}

@media(max-width: 850px) {
    .nav-links ul li {
        display: none;
    }

    .text-box h1 {
        font-size: 40px;
    }

}

/* ABOUT */

.about {
    width: 80%;
    margin: 50px auto;
    font-size: 20px;
    text-align: justify;
    text-align: center;
}

.about h1 {
    font-size: 36px;
    font-weight: 60;
}

.about p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
    padding: 10px;
    text-align: justify;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.about-col {
    flex-basis: 31%;
    border-radius: 10%;
    margin-bottom: 5%;
    box-sizing: border-box;
    padding: 20px 12px;
    transition: 0.5s;
}

.about-col p {
    text-align: justify;
}

.about-col:hover,
.about h1:hover,
.feature h1:hover,
.products h1:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.about a {
    color: green;
    text-decoration: none;
    transition: 0.8s;
}

.about a:hover {
    color: purple;
}


/* FEATURE */
.container {
    display: flex;
    flex-wrap: wrap;
}

@media(max-width:1200px) {
    .container {
        flex-direction: column;
    }
}

.feature {
    margin: auto;
    text-align: center;
    padding: 50px;
    margin: 50px;
    border: 1px solid green;
    border-radius: 20px;
}

.bagian-row {
    margin: 1px auto;
    flex: 1;
}

.bagian-col {
    padding: 30px;
}

.bagian-col h3 {
    color: rgb(61, 212, 61);
}

.bagian-col p {
    font-size: 16.5px;
    font-family: 'Times New Roman', Times, serif;
}

.feature h1 {
    font-size: 35px;
    font-weight: 60;
}

.bagian-col h3 {
    padding: 20px;
}

.bagian-col img {
    width: 100px;
}

.bagian-col p {
    text-align: justify;
    line-height: 30px;
}

/* AKHIR FEATURE */

/* PRODUCTS */
.products {
    margin: auto;
    text-align: center;
    padding: 50px;
    margin: 50px;
    border: 1px solid blueviolet;
    border-radius: 20px;
}

.products h1 {
    font-size: 36px;
    font-weight: 60;
    margin-bottom: 50px;
}

.products img {
    width: 50%;
    border-radius: 8px;
    box-shadow: 1px 1px 12px grey;
}

.product-row {
    width: 100%;
    display: flex;
    padding-bottom: 10px;
}

.contact-us {
    padding: 8px;
    border: 1px solid rgb(190, 182, 182);
    width: 50%;
    margin: 25px auto;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.5s;
}

.contact-us a {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    color: black;
    width: 100%;
}

.contact-us:hover {
    border: 1px solid #f44336;
    background: #f44336;
    opacity: 0.8;
}

@media(max-width: 1000px) {
    .product-row {
        flex-direction: column;
        padding-bottom: 37px;
    }
}

.col {
    padding: 10px;
    flex: 1;
    justify-content: center;
}

.col h2 {
    border: 1px solid grey;
    box-shadow: 1.5px 1px 1px grey;
    padding: 7px;
    border-radius: 20px;
    margin: 0 0 15px 0;
    transition: 0.8s;
    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.col p {
    text-align: justify;
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
    align-items: center;
}

@media(max-width: 600px) {

    .feature,
    .products {
        text-align: center;
        margin: auto;
        border: none;
    }

    .products img {
        width: 80%;
    }

    .row {
        flex-direction: column;
    }

    .row .footer-col {
        border: none;
        box-shadow: none;
    }

    .text-box h1 {
        font-size: 30px;
    }

    .text-box p {
        font-size: 20px;
    }

    .bagian-col p {
        font-size: 15px;
        font-family: 'Times New Roman', Times, serif;
    }

    .about p {
        font-size: 15px;
    }

    .col p {
        font-size: 18px;
    }

    .contact-us {
        width: 50%;
    }
}

@media(max-width: 1000px) {
    .contact-us {
        padding: 10px;
    }
}

/* AKHIR PRODUCTS */

footer {
    height: 550px;
    background-color: rgb(59, 59, 59);
    color: rgb(233, 232, 232);
    margin: 0 auto;
}

footer .footer-title {
    padding-top: 20px;
    text-align: center;
}

.footer-title h1 {
    font-size: 35px;
}

.footer-title p {
    font-size: 20px;
}

footer .row {
    margin-top: 5%;
    display: flex;
    justify-content: center;
}

.footer-col {
    font-size: 20px;
    text-align: justify;
    flex-basis: 50%;
    margin-bottom: 5%;
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid black;
    box-shadow: 1.5px 1px 1px black;
    border-radius: 5px;
}

.footer-col h3 {
    font-size: 21px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.footer-col p {
    font-size: 18px;
}

.copyright {
    font-size: 15px;
    color: #fff;
    background-color: rgb(19, 18, 18);
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.footer-col img {
    width: 28px;
    float: left;
    margin: 18px 30px 0 0;
}
