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

:root {
    --primary: #303030;
    --bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    font-family: "Poppins", "SEGA LOGO FONT", "sans-serif";
    background-color: var(--bg);
    color: var(--primary);
}

/* Navbar start*/
.navbar {
    display: flex;
    z-index: 9999;
    background-color: #1c1d1d;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 7%;
    right: 0;
    left: 0;
    position: fixed;
}

.navbar .navbar-logo {
    height: 3rem;
    width: 25rem;
    display: flex;
    cursor: pointer;
}

.navbar .navbar-logo img {
    width: 11%;
    display: inline-block;
    margin: 0 4% 0.4rem;

    border-radius: 0.3rem;
}

.navbar .navbar-logo h1 {
    font-size: 1.8rem;
    word-spacing: 10px;
    color: #fb9630;
    font-weight: 300;
    font-family: "SEGA LOGO FONT";
    text-shadow: 1px 1px 3px rgba(182, 137, 91, 0.3);
}

.navbar .navbar-logo p {
    color: #fb9630;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 300;
    font-family: "Brush Script MT";
    text-shadow: 1px 1px 3px rgba(182, 137, 91, 0.3);
}

.navbar .navbar-nav a {
    color: #fff;
    display: inline-block;
    font-size: 1.2rem;
    margin: 0 0.8rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.3);
}

.navbar .navbar-nav a:hover {
    color: #ffbd2f;
}

.navbar .navbar-nav a::after {
    content: "";
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 0.1rem solid #ffbd2f;
    transform: scaleX(0);
    transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
    transform: scaleX(0.5);
}

.navbar .navbar-extra a {
    color: #fff;
    margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
    color: #ffbd2f;
}

#hamburger-menu {
    display: none;
}

.navbar .widget {
    height: 3rem;
    width: 15rem;
    background-color: #0db821;
    bottom: 8vh;
    border-radius: 1rem;
    position: fixed;
    right: 10%;
    cursor: pointer;
}

.navbar .widget a {
    width: 100%;
    height: 100%;
    font-size: 1.3rem;
    align-items: center;
    display: flex;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
    font-weight: 500;
    justify-content: center;
}

.navbar .widget .icon-wa {
    padding: 0.2rem;
    width: 15%;
}

/* Navbar Section end */

/* Hero Section start*/
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 10%;
    bottom: -1rem;
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 1) 10%,
            rgba(1, 1, 3, 1) 50%);
}

.hero {
    background-image: url(../img/flexo.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.hero .content {
    padding: 1.4rem 2%;
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/opacity/see-through */
    border-radius: 0.5rem;
    position: absolute;
    max-width: 80%;
}

.hero .content h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: 100;
    letter-spacing: 5px;
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: "SEGA LOGO FONT";
    text-shadow: 1px 1px 3px rgba(254, 254, 255, 0.3);
}

.hero .content marquee {
    font-size: 2rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: 400;
    color: #ffbd2f;
    text-shadow: 1px 1px 3px rgba(255, 189, 47, 0.4);
    border-radius: 15px;
    margin-bottom: 2rem;
    /* mix-blend-mode: difference; */
}

.hero .sosmed {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero .sosmed a {
    height: 3rem;
    width: 3rem;
    border: 1px solid #666;
    color: #fff;
    margin: 0.3rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero .sosmed .a1 {
    background-color: #3b5998;
}

.hero .sosmed .a2 {
    background-color: #00aced;
}

.hero .sosmed .a3 {
    background-color: #c13584;
}

.hero .sosmed a:hover {
    color: #b6895b;
    border: 1px solid #b6895b;
}

/* Hero Section end */

/* Service start */
.service,
.work {
    padding: 5rem 5% 1rem;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.3);
}

.service h1,
.work h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.service .services {
    display: flex;
}

.service p {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
}

.service .box1,
.service .box2,
.service .box3,
.service .box4,
.service .box5,
.service .box6,
.service .box7 {
    width: 45vw;
    height: 10px;
    position: relative;
    background-color: #cecece;
    margin-bottom: 0.7rem;
}

.service .box1::after {
    content: "";
    width: 90%;
    height: 10px;
    position: absolute;
    background-color: #f44336;
}

.service .box2::after {
    content: "";
    width: 80%;
    height: 10px;
    position: absolute;
    background-color: #2196f3;
}

.service .box3::after {
    content: "";
    width: 70%;
    height: 10px;
    position: absolute;
    background-color: #ffca28;
}

.service .box4::after {
    content: "";
    width: 90%;
    height: 10px;
    position: absolute;
    background-color: #f06292;
}

.service .box5::after {
    content: "";
    width: 80%;
    height: 10px;
    position: absolute;
    background-color: #ffa000;
}

.service .box6::after {
    content: "";
    width: 90%;
    height: 10px;
    position: absolute;
    background-color: #303f9f;
}

.service .box7::after {
    content: "";
    width: 90%;
    height: 10px;
    position: absolute;
    background-color: #27ae60;
}

.service .content-service {
    margin-left: 3%;
    flex-wrap: wrap;
}

.service .content-service .services1 {
    display: flex;
    margin-bottom: 1rem;
}

.service .services img {
    height: 70px;
    width: 70px;
    padding: 2% 3%;
}

.service .content-service .p1 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.service .content-service .p2 {
    font-size: 1rem;
    font-weight: 500;
    text-indent: 30px;
}

/* Service end */

/* work start */
.work {
    background-color: #f1f1f1;
}

.work .p-judul {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 0.5rem;
}

.work .content-work1 {
    display: flex;
    justify-content: center;
}

.work .work1 {
    text-align: center;
    margin-top: 3rem;
    width: 35vw;
    padding: 1rem 1%;
}

.work .work1 img {
    width: 8rem;
    height: 8rem;
}

.work .work1 .p1 {
    word-spacing: 5px;
    margin: 2rem 0 1rem;
    font-weight: bold;
    font-size: 1.4rem;
}

.work .work1 .p2 {
    font-weight: 300;
    font-size: 1.1rem;
    text-align: center;
}

.content-work2 {
    background-image: url(../img/00.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

.content-work2 .work2-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(1, 1, 3, 0.7);
}

.content-work2 .work2-content {
    width: 40vw;
    height: 200px;
    color: #fff;
    text-align: center;
    align-items: center;
}

.content-work2 .work2-box h2 {
    font-size: 3rem;
    margin-top: 50px;
}

.content-work2 p {
    font-size: 1.5rem;
}

/* work end */

/* Portfolio start */
.portfolio {
    padding: 5rem 5% 1rem;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.3);
}

.portfolio h1,
.portfolio h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    word-spacing: 5px;
}

.portfolio h1 span {
    font-family: "SEGA LOGO FONT";
    font-weight: 500;
    font-size: 1.8rem;
    word-spacing: 5px;
}

.portfolio .p1 {
    font-size: 1.1rem;
    font-weight: 300;
    text-align: center;
    margin: 0 7% 1rem;
}

.portfolio .p1 span {
    font-weight: bold;
}

.img-container ul,
.produk-container ul,
.about-container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.img-container ul::after,
.produk-container ul::after,
.about-container ul::after {
    content: "";
    display: table;
    clear: both;
}

.img-container ul li,
.produk-container ul li,
.about-container ul li {
    margin: 15px;
}

.img-container ul li:nth-child(1n + 11),
.produk-container ul li:nth-child(1n + 13) {
    max-height: 0;
    opacity: 0;
    margin-bottom: -3rem;
    transition: 0.2s ease-in;
}

.img-container .img-box {
    position: relative;
    border-radius: 1rem;
    width: 350px;
    height: 250px;
    box-shadow: 0 0 1rem #b6895b;
    overflow: hidden;
    display: flex;
    transition: 0.5s ease;
}

.produk-container .produk-box {
    position: relative;
    border-radius: 1rem;
    width: 250px;
    height: 250px;
    box-shadow: 0 0 1rem #000000;
    overflow: hidden;
    display: flex;
    transition: 0.5s ease;
}

.img-container .img-box:hover,
.produk-container .produk-box:hover,
.about-container .img-about:hover {
    transform: scale(1.1);
}

.img-container .img-box img,
.produk-container .produk-box img,
.about-container .img-about img {
    width: 100%;
    object-fit: cover;
}

.img-container .img-box .content-img,
.produk-container .produk-box .content-img,
.about-container .img-about .content-about {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), var(--primary));
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: 0.5s ease;
}

.img-container .img-box:hover .content-img,
.produk-container .produk-box:hover .content-img,
.about-container .img-about:hover .content-about {
    transform: translateY(0);
}

.img-container .content-img h4 {
    color: #fb9630;
    text-align: center;
    font-size: 2rem;
}

.produk-container .content-img h4 {
    color: #fb9630;
    text-align: center;
    font-size: 1.6rem;
}

.img-container .btn,
.produk-container .btn {
    display: block;
    background: #b6895b;
    color: var(--primary);
    cursor: pointer;
    text-align: center;
    border-radius: 2rem;
    font-size: 1.2rem;
    width: 150px;
    margin: 1.5rem auto 0;
    line-height: 45px;
    font-weight: 700;
}

.img-container .btn:hover,
.produk-container .btn:hover {
    box-shadow: 0 0 1rem #fb9630;
}

.img-container .btn .btn2,
.produk-container .btn .btn2 {
    display: none;
}

.img-container #btn-profile,
.produk-container #btn-produk {
    display: none;
}

.img-container #btn-profile:checked~ul li:nth-child(1n + 7),
.produk-container #btn-produk:checked~ul li:nth-child(1n + 9) {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 0;
    transition: 0.5s ease;
}

.img-container #btn-profile:checked~label .btn2,
.produk-container #btn-produk:checked~label .btn2 {
    display: block;
}

.img-container #btn-profile:checked~label .btn1,
.produk-container #btn-produk:checked~label .btn1 {
    display: none;
}

.portfolio h2 {
    margin-top: 3rem;
}

.slider {
    width: 98.7vw;
    height: 45vh;
    overflow: hidden;
}

.slides {
    width: 300%;
    height: 100%;
    display: flex;
}

.slides input {
    display: none;
}

.slide {
    width: 98.7vw;
    height: 100%;
    background-color: #000000;
    transition: 1s;
}

.slider h3 {
    font-family: "sega logo font";
    text-align: center;
    letter-spacing: 5px;
    margin-top: 5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 500;
    color: #ffffff;
}

.slider p {
    color: #ffbd2f;
    font-size: 1.3rem;
    padding: 0 20%;
    text-align: center;
    text-shadow: 0.5px 0.5px 1px rgb(251, 194, 35);
}

/* navigasi-manual */
.navigasi-manual {
    position: absolute;
    margin-top: -5vh;
    display: flex;
    width: 98.7vw;
    justify-content: center;
}

.manual-btn {
    border: 1px solid #ffbd2f;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child) {
    margin-right: 15px;
}

.manual-btn:hover {
    background: #ffbd2f;
}

#radio1:checked~.first {
    margin-left: 0;
}

#radio2:checked~.first {
    margin-left: -33%;
}

#radio3:checked~.first {
    margin-left: -66.5%;
}

/* automatis slider */
.navigasi-auto {
    position: absolute;
    justify-content: center;
    display: flex;
    margin-top: 40vh;
    width: 98.7vw;
}

.navigasi-auto div {
    border: 1px solid #ffbd2f;
    padding: 8px;
    border-radius: 10px;
    transition: 1s;
}

.navigasi-auto div:not(:last-child) {
    margin-right: 15px;
}

#radio1:checked~.navigasi-auto .auto-btn1 {
    background: #ffbd2f;
}

#radio2:checked~.navigasi-auto .auto-btn2 {
    background: #ffbd2f;
}

#radio3:checked~.navigasi-auto .auto-btn3 {
    background: #ffbd2f;
}

/* Portfolio end */

/* About start */
.about,
.contact {
    padding: 5rem 5% 2rem;
}

.about h1,
.contact h1 {
    text-align: center;
    font-size: 2.5rem;
    word-spacing: 5px;
    text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.3);
}

.about p,
.contact p {
    text-align: center;
    padding: 0 7%;
    font-size: 1rem;
}

.about-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container .about-box {
    padding: 1rem 0;
    width: 320px;
}

.about-container .img-about {
    width: 320px;
    height: 350px;
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 0 1rem #000000;
    overflow: hidden;
    display: flex;
    transition: 0.5s ease;
    border: 0.2rem solid #fb9630;
}

.about-container h2 {
    font-size: 1.4rem;
    color: #fb9630;
    padding: 0 5%;
    text-align: center;
}

.about li {
    margin-bottom: 2rem;
}

.content-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.about .p1 {
    margin: 2rem 0 0.3rem;
    font-size: 1rem;
}

.about .p2 {
    font-size: 1.5rem;
}

/* About end */
/* Contact */
.contact h2 {
    font-family: "sega logo font", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
    margin: 2rem 0 2rem;
    color: var(--primary);
}

.content-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact h3 {
    text-align: left;
    font-size: 1.4rem;
    font-weight: bold;
}

.contact-box li i {
    color: #fb9630;
    font-size: 1.8rem;
}

.list-box {
    display: flex;
    width: 100%;
    height: auto;
    margin: 0.4rem 0;
    align-items: center;
}

.contact-box {
    max-width: 30rem;
    text-align: left;
    list-style: none;
}

.contact-box p {
    text-align: left;
    padding: 0 2%;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    display: flex;
    padding: 1rem 9%;
    justify-content: space-between;
    background: var(--primary);
    align-items: center;
    flex-wrap: nowrap;
}

.footer p {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer p span {
    color: #fb9630;
    margin: 0 0.3rem;
    font-size: 1.2rem;
}

.footer-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: left;
    padding: 0.3rem;
    background: #fb9630;
    border-radius: 0.8rem;
    transition: 0.5s ease;
}

.footer-icon a:hover {
    box-shadow: 0 0 1rem #fb9630;
}

.footer-icon a i {
    font-size: 2.4rem;
    color: var(--primary);
}

/* Media Queries */
/* Laptop */
@media (max-width: 1366px) {
    html {
        font-size: 80%;
    }

}

@media (max-width: 999px) {
    html {
        font-size: 75%;
    }

    .navbar .navbar-nav a {
        font-size: 1rem;
        padding: 0;
        margin: 0.3rem;
    }

    .about-container,
    .about-box {
        flex-wrap: wrap;
    }

    .produk-container {
        padding: 0 1%;
    }
}

/* Tablet */
@media (max-width: 786px) {
    html {
        font-size: 75%;
    }

    #hamburger-menu {
        display: inline-block;
    }

    .navbar .navbar-nav {
        position: absolute;
        top: 100%;
        right: -100%;
        background-color: var(--primary);
        width: 17rem;
        height: 100vh;
        transition: 0.3s;
    }

    .navbar .navbar-nav.active {
        right: 0;
    }

    .navbar .navbar-nav a {
        color: var(--bg);
        display: block;
        margin: 1rem;
        padding: 0.5rem;
        font-size: 1.6rem;
    }

    .navbar .navbar-nav a::after {
        transform-origin: 0 0;
    }

    .navbar .navbar-nav a:hover::after {
        transform: scaleX(0.2);
    }

    .hero .content h1 {
        font-size: 2rem;
    }

    .service .services,
    .work2-box,
    .about-container,
    .about-box {
        flex-wrap: wrap;
    }

    .hero::after {
        margin-top: 110%;
    }

    .service .content-service {
        margin-top: 5rem;
    }

    .service .box1,
    .service .box2,
    .service .box3,
    .service .box4,
    .service .box5,
    .service .box6,
    .service .box7 {
        width: 85vw;
    }

    .work .content-work1,
    .work .content-work2 {
        flex-wrap: wrap;
    }

    .work .content-work2 .work2 {
        width: 45vw;
    }

    .slider p {
        padding: 0 5%;
    }

    .footer p {
        font-size: 1rem;
    }

    .footer p span {
        font-size: 1.1rem;
    }

    .footer {
        padding: 0.5rem 5%;
    }

    .hero img {
        width: 250%;
        height: 100%;
    }
}

/* Mobile Phone */
@media (max-width: 450px) {
    html {
        font-size: 70%;
    }

    .hero img {
        width: 100%;
        height: 100%;
    }
}