* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.3s ease;
    scroll-behavior: smooth;
    color: rgb(255, 255, 255);
}

section {
    min-height: 100vh;
    padding: 0 50px;
}

.text {
    text-align: center;
    position: relative;
    padding: 25px 0;
    font-size: 3rem;
    padding-top: 70px;
}

.text:before {
    position: absolute;
    content: "";
    margin: 0 0 0 -15px;
    width: 64px;
    height: 32px;
    box-shadow: rgba(196, 55, 55, 0.5) 3px 3px inset;
}

.text::after {
    position: absolute;
    bottom: 25px;
    content: "";
    margin: 0 0 0 -45px;
    width: 64px;
    height: 32px;
    box-shadow: rgba(196, 55, 55, 0.5) 3px 3px;
}

.card {
    border-radius: 10px;
    font-size: 1.2rem;
    margin: 0 10px;
    padding: 25px;
    box-shadow: rgba(206, 216, 225, 1) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;
}

.navbar a:hover,
.active {
    border-bottom: 2px solid #fff;
    /* background: rgba(255, 255, 255, 0.1); */
}

.mobile:hover,
.bio button:hover,
.sosial a:hover,
.kontak button:hover,
.form-group input:hover,
.form-group textarea:hover,
.form-group input:focus,
.form-group textarea:focus {
    outline: 1px solid #fff;
    box-shadow: rgba(206, 216, 225, 1) 0 0 2px 0px inset, rgba(255, 255, 255, 0.5) 0 0 2px 1px inset;
}

/* =========== HEADER ================ */

header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    background: linear-gradient(270deg, rgb(202, 157, 157) -70%, rgb(127, 166, 255) 100%);
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 32px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 500;
    padding-left: 15px;
}

.navbar ul {
    display: inline-flex;
    list-style: none;
}

.navbar a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    display: block;
    padding: 15px;
    text-transform: capitalize;
    transition: none;
}


.mobile {
    opacity: 0;
    color: rgb(0, 0, 0);
    margin-right: -40px;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
}

/* =========== Home ================ */

.home {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: linear-gradient(320deg, rgba(196, 55, 55, 0.5) 0%, rgba(0, 75, 251, 0.5) 100%);
    /* background: #8a99bc to black; */
}

.home img {
    width: 30vw;
}

.bio p {
    font-size: 2.8rem;
    font-weight: 600;
}

.bio span {
    font-size: 2.4rem;
}

.bio button {
    display: block;
    cursor: pointer;
    font-size: 1.6rem;
    color: white;
    background: transparent;
    border: none;
    margin: 0;
    margin: 30px auto;
    padding: 4px 75px;
    border-radius: 8px;
    box-shadow: rgba(206, 216, 225, 1) 0 0 2px 0px inset, rgba(255, 255, 255, 0.5) 0 0 2px 1px inset, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 5px 3px 3px;
}


/* =========== PROFILE =========== */

.profile {
    background: linear-gradient(220deg, rgba(196, 55, 55, 0.5) 0%, rgba(0, 75, 251, 0.5) 100%);
}

.biodata {
    text-align: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 50px;
}

.biodata ul {
    border-bottom: 2px solid white;
    list-style: none;
}

.biodata li {
    font-size: 1.4rem;
    line-height: 2;
}

.biodata img {
    width: 30vw;
    transform: scaleX(-1);
    margin-left: 50px;
}

.biodata h3 {
    text-align: center;
    font-size: 1.8rem;
    padding: 20px 0 30px;
}

.pendidikan {
    font-size: 1.2rem;
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid white;
    position: relative;
}

.pendidikan:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    left: -11px;
    top: 0;
    background: #fff;
    border: 2px solid rgba(0, 75, 251, 0.5);
}

/* ======== skill =========*/
.skill {
    background: linear-gradient(320deg, rgba(196, 55, 55, 0.5) 0%, rgba(0, 75, 251, 0.5) 100%);
}

.skill i {
    font-size: 5rem;
}

.skill .programer {
    min-height: 60vh;
    display: flex;
    flex-wrap: wrap;

}

.skill .programer div {
    margin: 20px auto;
}

.skill img {
    height: 150px;
}

.skill h3 {
    font-size: 1.6rem;
    text-align: center;
}

/* ========= projek ==========*/

.projek {
    background: linear-gradient(220deg, rgba(196, 55, 55, 0.5) 0%, rgba(0, 75, 251, 0.5) 100%);
}

.projek .item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.projek img {
    width: 100%;
}

.projek h3 {
    padding: 10px 0;
}


/* ========= kontak ==========*/

.kontak {
    background: linear-gradient(320deg, rgba(196, 55, 55, 0.5) 0%, rgba(0, 75, 251, 0.5) 100%);
}

.kontak h3 {
    text-align: center;
    padding: 25px 0 10px;
    font-size: 1.6rem;
    /* padding-top: 70px; */
}

.kontak .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.maps {
    margin-top: 40px;
    width: 100%;
    height: 300px;
}

.sosial {
    display: flex;
    justify-content: center;
}

.sosial a {
    border-radius: 50%;
    margin: 20px 5px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(206, 216, 225, 1) 0 0 2px 0px inset, rgba(255, 255, 255, 0.5) 0 0 2px 1px inset, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 5px 3px 3px;
}

.sosial img {
    width: 32px;
}


.form-group {
    display: grid;
}

.form-group input,
.form-group textarea {
    font-size: 1.2rem;
    padding: 10px;
    margin: 5px 0 10px;
    border-radius: 5px;
    border: none;
    background: transparent;
    overflow: hidden;
    box-shadow: rgba(206, 216, 225, 1) 0 0 2px 0px inset, rgba(255, 255, 255, 0.5) 0 0 2px 1px inset, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 5px 3px 3px;
}


.kontak button {
    display: block;
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
    background: transparent;
    border: none;
    margin-top: 20px;
    padding: 8px 50px;
    border-radius: 8px;
    box-shadow: rgba(206, 216, 225, 1) 0 0 2px 0px inset, rgba(255, 255, 255, 0.5) 0 0 2px 1px inset, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 5px 3px 3px;
}




/* ========= footer ==========*/

footer {
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    /* border-top: 1px solid rgb(192, 192, 192); */
    background: linear-gradient(220deg, rgba(196, 55, 55, 0.5) 0%, rgba(17, 79, 223, 0.5) 170%);

}

footer a {
    text-decoration: none;
    color: black;
}

footer a:hover {
    color: white;
}

/* // Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    section {
        padding: 0 10px;
    }

    .projek .item {
        grid-template-columns: 1fr !important;
    }

    .home img {
        width: 65vw !important;
    }

    .skill img {
        width: 150px;
        height: auto;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    header {
        display: block;
        border-bottom: 1px solid white;
    }

    .mobile {
        opacity: 1;
    }

    .navbar {
        display: none;
    }

    .navbar ul {
        display: block;
        text-align: center;
    }

    .biodata {
        margin: 0 10px;
    }

    .projek .item {
        grid-template-columns: 1fr 1fr;
    }


    .kontak .row {
        grid-template-columns: 1fr;
    }


    .kontak h3 {
        text-align: start;
    }

    .home {
        flex-direction: column;
        text-align: center;
    }

    .home img {
        width: 50vw;
    }

    /* .text, */
    .biodata {
        font-size: 90%;
    }

    .biodata img {
        display: none;
    }
}