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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: black;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8vw;
    z-index: 999;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar .logo {
    color: #fff;
    font-weight: 600;
    font-size: 2.1rem;
    text-decoration: none;
}

.navbar .logo span {
    color: #ffe001;
}

.navbar .menu-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    transition: 0.2s ease;
}

.navbar a:hover {
    color: #ffe001;
}

.hero-section {
    height: 100vh;

    display: flex;
    align-items: center;
    padding: 0 8vw;
    justify-content: space-evenly;
}

#home {
    background-image: url("https://lh3.googleusercontent.com/pw/ADCreHdJBNS40SsRaTxRiHJPMkJLrAHjmYrLYzyho4C-0irEH-ePAPC0fto_umiVc9hZvXYTD_AgmQPTS3MiVqNIDPv-P6bbbVJ-fBksIL7mwjot2Hjh-hrk6I9W7tkQ9l0Tf8qzgJB8RIYaodj-L_KCEjvR=w2352-h1207-s-no-gm?authuser=0");
    background-position: center;
    background-size: cover;
}

.content,
.content-image {
    max-width: 800px;
    margin: 0 auto;
    width: 50%;
    color: #fff;
}

.content-image {
    display: flex;
    align-items: center;
}

.content-image img {
    width: 60%;
    margin-left: 10%;
    animation: moveUpDown 2s infinite;
    border-radius: 25px;
}

@keyframes moveUpDown {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-section .content h2 {
    font-size: 3.5rem;
    max-width: 500px;
    line-height: 70px;
}

.hero-section .content h5 {
    font-size: 1.3em;
    max-width: 500px;
    margin-top: 5px;
}

.hero-section .content h5 span {
    color: #ffe001;
}

.hero-section .content p {
    font-weight: 300;
    max-width: 500px;
    margin-top: 15px;
}

.hero-section .content button {
    background: #fff;
    padding: 12px 30px;
    border: none;
    font-size: 1rem;
    border-radius: 6px;
    margin-top: 38px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
}

.hero-section .content button:hover {
    color: #000;
    background: #ffe001;
}

#close-menu-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    display: none;
}

#hamburger-btn {
    color: #fff;
    cursor: pointer;
    display: none;
}

@media (max-width: 790px) {
    header {
        padding: 10px;
        z-index: 999;
    }

    header.show-mobile-menu::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
    }

    .navbar .logo {
        font-size: 1.7rem;
    }

    #hamburger-btn,
    #close-menu-btn {
        display: block;
    }

    .navbar .menu-links {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 70px 40px 0;
        transition: left 0.2s ease;
    }

    header.show-mobile-menu .navbar .menu-links {
        left: 0;
    }

    .navbar a {
        color: #000;
    }

    .hero-section {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .hero-section .content h5 {
        font-size: 1.2em;
    }

    .hero-section .content h2 {
        font-size: 1.5rem;
    }

    .hero-section .content-image {
        width: 100%;
        margin-bottom: 3vh;
        display: flex;
        justify-content: center;
    }

    .content-image img {
        width: 55%;
        margin-left: 0;
    }

    .hero-section .content {
        text-align: center;
        width: 100%;
    }

    .hero-section .content :is(h2, p) {
        max-width: 100%;
    }

    .hero-section .content h2 {
        font-size: 2.3rem;
        line-height: 60px;
    }

    .hero-section .content button {
        padding: 9px 18px;
    }
}

/* About Me */
.main-content {
    height: 100vh;
    background-image: url("https://lh3.googleusercontent.com/pw/ADCreHeF4r3jqgdB9dj3J7INr0LLEhimUMDEnhDdnynveayrIgNF-qW-wM83uZquZAYkPsBzf5hSkQFGIkuvWH3AYwojjRfI3NwsM1vwkJ2hDnsSl5e4Bdw2g2YHE8RcF-cOLGrkq_ss2scSDXi3K7QJu_PA=w2352-h1207-s-no-gm?authuser=0");
    /* background-image: url("https://www.codingnepalweb.com/demos/create-responsive-coffee-website-html-css/hero-bg.jpg"); */
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8vw;
    justify-content: space-evenly;
    color: #fff;
}

.card-content {
    margin: 0 5vw;
    padding: 5vw;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.6px);
    -webkit-backdrop-filter: blur(4.6px);
    text-align: center;
}

.card-content h2 {
    padding-bottom: 12px;
}

.card-content p {
    margin-bottom: 12px;
}

.card-group {
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 33%);
    justify-content: center;
    width: 100%;
}

.card-flex {
    margin: 0.3em;
    padding: 2.5vw;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.6px);
    -webkit-backdrop-filter: blur(4.6px);
    text-align: center;
}

.card-flex h3 span {
    color: #ffe001;
}

/* Certificate */
#certificate {
    background-image: url("https://lh3.googleusercontent.com/pw/ADCreHdCN27SQIANjZtaTDtMcKODQwbYzoSnIKniI19cn_mGYUkNIXZu6SeGp-YVOcfxIMfgoImUxOh32PPRSOlaps_MT5eUPhbA4qMv6V-1vXGIjaMZJvPzXVzmr8ivLP5IH3nAaL4vOoQHq4Q8CHUPnO9k=w2352-h1207-s-no-gm?authuser=0");
    background-position: center;
    background-size: cover;
}

/* image slider */
.mySlides {
    display: none;
}
.slides-image {
    vertical-align: middle;
    max-width: 450px;
}

.slideshow-container {
    width: 100%;
    position: relative;
    margin: auto;
}
/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 48%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: black;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
/* Position the button */
.prev {
    left: 0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(0.9px);
    -webkit-backdrop-filter: blur(0.9px);
}
/* Caption text */
.text {
    padding: 8px 12px;
    width: 100%;
    text-align: center;
}

.text a,
.numbertext p {
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.2em;
}

/* Number text (1/3 dll) */
.numbertext {
    padding: 8px 12px;
    top: 0;
}
/* Tanda Titik Foto */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #000;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.active,
.dot:hover {
    background-color: #ffe001;
}
/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}
@-webkit-keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
/* Responsive View */
@media (min-width: 800px) {
    .slides-image {
        max-width: 500px;
    }
}

@media only screen and (max-width: 300px) {
    .prev,
    .next,
    .text {
        font-size: 11px;
    }
}

/* form */
.form-container {
    min-height: 100vh;
    width: 100%;
    background-image: url("https://lh3.googleusercontent.com/pw/ADCreHfUhxU0otqr4fJ7LB1Y3J1K12LLUBmmerbhE9DLKaYxuvH024eCF9pxgqRYkphFpzNTVOyIRL6nT94moGCbCzvHavoqOhhwVfm5mNsDUi790NtsxNQ6CnvY1Iu0mYZQ0cOj2x_TSbAGb8_iZje-EogK=w1080-h554-s-no-gm?authuser=0");
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.form {
    max-width: 1400px;
    width: 85%;
    border-radius: 6px;
    padding: 20px 60px 30px 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4.6px);
    -webkit-backdrop-filter: blur(4.6px);
}
.form .form-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form .form-content .left-side {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative;
}
.form-content .left-side::before {
    content: "";
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ffe001;
}
.form-content .left-side .details {
    margin: 14px;
    text-align: center;
}
.form-content .left-side .details i {
    font-size: 30px;
    color: #ffe001;
    margin-bottom: 10px;
}
.form-content .left-side .details .topic {
    font-size: 18px;
    font-weight: 500;
}
.form-content .left-side .details .text-details {
    font-size: 14px;
    color: #fff;
}
.form .form-content .right-side {
    width: 75%;
    margin-left: 75px;
}
.form-content .right-side .topic-text {
    font-size: 23px;
    font-weight: 600;
    color: #ffe001;
}
.right-side .input-box {
    height: 50px;
    width: 100%;
    margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    background: #fff;
    border-radius: 6px;
    padding: 0 15px;
    resize: none;
}
.right-side .message-box {
    min-height: 110px;
}
.right-side .input-box textarea {
    padding-top: 6px;
}
.right-side .button {
    display: inline-block;
    margin-top: 12px;
}
.right-side .button input[type="submit"] {
    color: #000;
    font-size: 18px;
    outline: none;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    background: #ffe001;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button input[type="button"]:hover {
    background: #ffe001;
}

@media (max-width: 950px) {
    .form {
        width: 90%;
        padding: 30px 40px 40px 35px;
    }
    .form .form-content .right-side {
        width: 75%;
        margin-left: 55px;
    }
}
@media (max-width: 820px) {
    .form {
        margin: 40px 0;
    }
    .form .form-content {
        flex-direction: column-reverse;
    }
    .form .form-content .left-side {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .form .form-content .left-side::before {
        display: none;
    }
    .form .form-content .right-side {
        width: 100%;
        margin-left: 0;
    }
}

/* Dot Loader */
.loader {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4.6px);
    -webkit-backdrop-filter: blur(4.6px);
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    border-radius: 6px;
    z-index: 99;
}

.dots {
    width: 9.6px;
    height: 9.6px;
    border-radius: 50%;
    clip-path: inset(-36px);
    color: #ffe001;
    box-shadow:
        -48px 12px,
        -48px 12px,
        -48px 12px;
    transform: translateY(-12px);
    animation: dots-ejq2atsm 1.2s infinite linear;
}

@keyframes dots-ejq2atsm {
    16.67% {
        box-shadow:
            -48px 12px,
            -48px 12px,
            15.2px 12px;
    }

    33.33% {
        box-shadow:
            -48px 12px,
            0px 12px,
            15.2px 12px;
    }

    40%,
    60% {
        box-shadow:
            -15.2px 12px,
            0px 12px,
            15.2px 12px;
    }

    66.67% {
        box-shadow:
            -15.2px 12px,
            0px 12px,
            48px 12px;
    }

    83.33% {
        box-shadow:
            -15.2px 12px,
            48px 12px,
            48px 12px;
    }

    100% {
        box-shadow:
            48px 12px,
            48px 12px,
            48px 12px;
    }
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    width: 100%;
    background: #000;
    color: #fff;
}

footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.5rem;
    padding: 60px;
}

.footer-row .footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
}

.footer-col .links {
    margin-top: 20px;
}

.footer-col .links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-col .links li a {
    text-decoration: none;
    color: #fff;
}

.footer-col .links li a:hover {
    color: #fff;
}

.footer-col p {
    margin: 20px 0;

    max-width: 300px;
}

@media (max-width: 768px) {
    footer {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    footer .footer-row {
        padding: 20px;
        gap: 1rem;
    }
}
