* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 400px;
    scroll-behavior: smooth;
}

#header {
    position: sticky;
    top: 0;
    z-index: 97;
}

.navbar {
    color: #070505;
    background-color: rgb(229, 227, 239);
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
}

.title {
    margin: 0;
    margin-right: auto;
    text-decoration: none;
    color: #110c0c;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 150;
    font-style: normal;
}

.nav-link {
    display: flex;
    color: #0d0c0c;
    padding-left: 20px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: x-large;
    text-decoration: none;
    font-family: "Manrope";
}

#filler-img {
    border-radius: 15px;
}

.navbar .icon {
    display: none;
    color: #0d0c0c;
    text-decoration: none;
    font-size: x-large;
    padding: 10px;
}

.footer-wrapper {
    width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

main,
.breaker {
    position: relative;
    z-index: 0;
    background: white;
}

.single-footer {
    width: 33%;
    float: left;
    text-align: left;
    color: #ffffff;
}

.single-footer .foot-link {
    display: flex;
    color: #fbf7f7;
    padding-left: 20px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: x-large;
    text-decoration: none;
    font-family: "Noto Sans Sundanese"
}

.single-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-footer ul li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 12px;
}

.single-footer .foot-link {
    padding-left: 0;
}

.about-body .breaker {
    width: 100%;
    height: 450px;
    display: flex;
}

.skill-body .breaker {
    width: 100%;
    height: 450px;
    display: flex;
}

.project-body .breaker {
    width: 100%;
    height: 250px;
    z-index: -1;
}

.ref-breaker {
    height: 35vw;
}

@media (max-height: 1000px) {
    .ref-breaker {
        height: vw
    }
}

.reference-body .breaker {
    width: 100%;
    height: 450px;
    z-index: -1;
}

.reference-box {
    display: flex;
    margin-right: 60%;
}

.reference-body .skill-title {
    margin-left: 20px;
}

.ref-box {
    background: rgba(255, 250, 250, 0.20);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 60vw;
    min-height: 10vw;
    max-width: calc(100% - 40px);
    padding: 20px;
    margin: 60px 26vw 20px 0px;
    gap: 20px;
}

.ref-box-title {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
    text-align: center;
}

.ref-box-text {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
}

.ref-box-left {
    background: rgba(255, 250, 250, 0.20);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    width: 500px;
    min-height: 300px;
    max-width: calc(100% - 40px);
    padding: 20px;
    margin: 60px 20px 20px 20px;
    gap: 20px;
    margin-left: 30vw;
}

.ref-box-title-left {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
    text-align: center;
}

.ref-box-text-left {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
}


.breaker {
    width: 100%;
    height: 250px;
    display: flex;
}

.ul {
    padding: 0;
    margin: 0;
}

.single-footer p {
    width: 70%;
}

main,
.breaker {
    position: relative;
    z-index: 2;
    background: white;
}

footer {
    width: 100%;
    height: 300px;
    position: fixed;
    bottom: 0;
    background-color: #142e4c;
    z-index: -1;
    padding-top: 25px;
}

.foot-title {
    font-family: "Montserrat";
    margin-bottom: 25px;
    font-weight: bolder;
    margin-top: 15px;
    margin-left: 8px;
}

.title-logo {
    display: flex;
}

.foot-maintitle {
    display: flex;
    font-family: "Montserrat";
    font-weight: bolder;
    margin-top: 15px;
}

.footer-description {
    font-family: "Google Sans";
    font-size: 15px;
    margin-left: 8px;
}

.logo {
    border-radius: 5px;
    height: 48px;
    width: 48px;
    margin: 5px;
}

.title.logo {
    display: flex;
    margin-left: 50px;
}

@media (max-height: 1030px) {
    .ref-breaker {
        display: block;
        height: vw;
    }
}

@media (max-width: 1150px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 30px;
        margin-top: 50px;
    }

    .title-logo {
        margin-bottom: 10px;
    }

    .single-footer {
        width: 100%;
    }

    .desc-div {
        width: 85vw;
        margin-bottom: 15px;
    }

    body {
        margin-bottom: 1000px;
    }

    footer {
        width: 100%;
        height: 750px;
        position: fixed;
        bottom: 0;
        background-color: #142e4c;
        z-index: -1;
        padding-top: 25px;
    }

    .about-body .breaker {
        width: 100%;
        height: 450px;
        display: flex;
    }

    .skill-body .breaker {
        width: 100%;
        height: 450px;
        display: flex;
    }

    .project-body .breaker {
        width: 100%;
        height: 250px;
        z-index: -1;
    }

    .reference-body .breaker {
        width: 100%;
        height: 450px;
        z-index: -1;
    }

    .breaker {
        width: 100%;
        height: 50px;
        display: flex;
    }

}

@media screen and (max-width: 380px) {
    .desc-div {
        font-size: 5px;
    }

    .foot-link {
        font-size: 5px;
    }

    .desc-div p {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .navbar a.nav-link {
        display: none;
    }

    .navbar .icon {
        display: block;
    }

    .navbar.responsive {
        position: sticky;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar.responsive .icon {
        position: absolute;
        right: 20px;
        top: 10px;
    }

    .navbar.responsive .title {
        margin-right: 0;
    }

    .navbar.responsive a.nav-link {
        display: flex;
        padding-left: 20px;
    }

    .foot-title {
        margin-left: 0;
    }
}

.foot-link {
    display: flex;
    color: #fbf7f7;
    padding-left: 20px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: x-large;
    text-decoration: none;
    font-family: Merriweather, serif;
    margin-left: 8px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 40px 80px;
    gap: 80px;
}

.hero-img {
    width: 650px;
    max-width: 50%;
    height: auto;
    display: block;
    object-fit: cover;
    border: 2px;
    border-style: solid;
    border-radius: 10px;
    border-color: rgb(52, 52, 149);
    box-shadow: 10px 10px 5px 5px rgb(141, 141, 193);
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
    font-family: manrope, serif;
    color: #070707;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.2;
    margin-bottom: 30px;
}

#lightbox1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#img1 {
    margin: 20px auto 0 auto;
    display: block;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#img2 {
    margin: 20px auto 0 auto;
    display: block;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#img3 {
    margin: 20px auto 0 auto;
    display: block;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#img4 {
    margin: 20px auto 0 auto;
   display: block;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#img1b {
    max-width: 90%;
    max-height: 90%;
}

#closeImg1 {
    margin-top: 10px;
    height: 38px;
    width: 38px;
    color: white;
    background-color: rgb(31, 30, 30);
    border-color: rgb(31, 30, 30);
    margin-bottom: 15px;
    cursor: pointer;
    z-index: 99;
    border: none;
    border-radius: 5px;
    font-size: large;
    font-weight: bold;
}

@keyframes slideRightAnimation {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.landing-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    justify-items: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.landing-about {
    width: 520px;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.43);
    background-color: #f6f4f4;
    padding: 1rem;
}

.landing-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 320px;
    object-fit: cover;
}

@media (max-width: 1050px) {
    .landing-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 570px) {
    .landing-about {
        width: 100%;
    }
    .landing-img {
        max-width: 100%;
    }
}

#landing-button {
    background-color: rgb(52, 52, 149);
    color: white;
    cursor: pointer;
    font-family: "Google Sans";
    border: none;
    border-radius: 8px;
    font-size: 20px;
    padding: 14px 32px;
    font-weight: bold;
    animation-name: slideRightAnimation;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: both;
    margin-right: 5vw;
}

.introduction {
    color: #070707;
    background-color: rgb(52, 52, 149);
    display: flex;
    flex-direction: column;
}

.ref-slider {
    position: relative;
    width: 650px;
    max-width: 100%;
    margin: auto;
    overflow: visible;
    margin-top: 10vw;
}

.ref-slides {
    width: 100%;
    height: 100%;
}

.ref-slide {
    display: none;
    background: rgba(255, 250, 250, 0.20);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

    width: 550px;
    max-width: calc(100% - 90px);

    height: auto;
    min-height: 200px;

    margin: 50px auto;
    padding: 20px;

    animation: fadeRefAnimation 1.3s ease;
}

.displayRefSlide {
    display: block;
}

.ref-slider .prev,
.ref-slider .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(52, 52, 149);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 25px;
    cursor: pointer;
    z-index: 10;
}

.ref-slider .prev {
    left: 0;
}

.ref-slider .next {
    right: 0;
}

@keyframes fadeRefAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.slider {
    position: relative;
    width: 70vw;
    max-width: 100%;
    margin: auto;
    overflow: visible;
}

.slide {
    display: none;
    background: rgba(255, 250, 250, 0.20);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

    width: 65vw;
    max-width: calc(100% - 90px);

    height: auto;
    min-height: 200px;

    margin: 50px auto;
    padding: 20px;

    animation: fadeRefAnimation 1.3s ease;
}

.displaySlide {
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(52, 52, 149);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 25px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.introduction-title {
    text-align: center;
    margin: 30px 0;
    color: #FFFFFF;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 150;
    font-style: normal;
}

.progress-container {
    background-color: #f1f1f1;
    border-radius: 16px;
}

.progress-bar {
    width: 85%;
    background-color: #38ce28;
    border-radius: 16px;
    padding: 4px 0;
    text-align: center;
    color: rgb(253, 253, 253);
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;

    width: min(1400px, calc(100% - 40px));
    margin: 40px auto;
}


.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-top-box {
    background: #e0e0e0;
    padding: 20px;
    border-radius: 14px;
    height: 250px;
    margin: 30px 30px 0px 30px;
    width: 820px;
    max-width: calc(100% - 60px);
    box-shadow: 20px 20px 25px #a3a3a3,
        -20px -20px 25px #ffffff;
    display: flex;
    align-items: flex-start;
}

.project-desc {
    font-family: "Google Sans";
    font-size: 1.1rem;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo {
    height: 48px;
    width: 48px;
    margin: 5px;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.project-title {
    margin: 7px 0 10px 15px;
    font-family: "Manrope";
    flex-basis: 100%;
}

.project-title-s {
    margin: 0 0 10px 15px;
    font-family: "Manrope";
    flex-basis: 100%;
}

.project-box {
    background: #e0e0e0;
    padding: 20px;
    border-radius: 14px;
    height: 250px;
    width: 400px;
    max-width: calc(100% - 40px);
    box-shadow: 20px 20px 25px #a3a3a3,
        -20px -20px 25px #ffffff;
    display: flex;
    margin-bottom: 20px;
}

.skill-box {
    background: rgba(255, 250, 250, 0.20);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

    width: 100%;
    min-height: 250px;

    padding: 20px;

    display: flex;
    flex-direction: column;

    overflow-wrap: break-word;

    margin: 0;
}


.skill-content {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.title-container {
    display: flex;

}

.icon {
    padding-bottom: 10px;
    height: 58px;
    width: 58px;
}

.title-container.svg {
    float: right;
}

.skill-title {
    margin: 0px 0px 0px 0px;
    font-family: "Manrope";
}

.skill-text {
    font-family: "Manrope";
    line-height: 1.5;
}

.box-text {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
}

.box-title {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
    text-align: center;
}

@keyframes fadeAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.introduction-text {
    color: #070707;
    text-align: center;
    margin: 0 35em 50px 35em;
    border-radius: 15px;
    background: rgba(255, 250, 250, 0.88);
    backdrop-filter: blur(38px) saturate(262%);
    -webkit-backdrop-filter: blur(38px) saturate(262%);
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.text {
    font-family: "Manrope";
    margin: 15px;
}

.contact-align {
    width: 100%;
}

.contact-text {
    font-family: Merriweather, serif;
    text-decoration: none;
    color: #000000;
    text-align: left;
    font-size: 2vw;
    margin-left: 25px
}

#goals {
    white-space: pre-line;
    line-height: 1.6;
}

#language-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 10px 35px 10px 16px;
  border: none;
  border-radius: 25px;

  background-color: rgb(52, 52, 149);
  color: white;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, white 50%),
    linear-gradient(135deg, white 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 10px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

#language-select:focus {
  outline: none;
}

#language-select option {
  background: white;
  color: black;
}

.lang-sel {
    font-family: "Manrope";
}

.text-container {
    display: inline-block;
    width: 100%;
    overflow: hidden;
    text-align: left;
}

.text-ani {
    border-right: 5px;
    margin: 20px;
    font-size: 10vw;
}

.skill-body .skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-body .skill-box {
    background: rgba(255, 250, 250, 0.20);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

    width: 100%;
    min-height: 300px;
    max-width: calc(100% - 40px);

    padding: 20px;
    display: flex;

    margin: 60px 20px 20px 20px;
    gap: 20px;
}

.skill-body .skill-title {
    margin: 0px 0px 0px 0px;
    font-family: "Manrope";
}

.skill-body .box-text {
    margin: 20px 20px 0px 20px;
    position: relative;
    font-family: "Manrope";
}

@media (max-width: 775px) {

    .skill-body .skills {
        grid-template-columns: 1fr;
        gap: 20px;

        width: calc(100% - 20px);
        margin: 20px auto;
    }

    .skill-body .skill-box {
        margin: 0;
        min-height: auto;

        flex-direction: column;

        max-width: 100%;
    }

    .skill-body .skill-title {
        font-size: 1.5rem;
        word-break: break-word;
    }

    .skill-body .box-text {
        margin: 15px 0 0 0;

        font-size: 0.95rem;
        line-height: 1.5;

        word-break: break-word;
    }

}

@media (max-width: 1800px) {
    .hero {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .hero-img {
        width: 100%;
        max-width: 400px;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .contact-text {
        text-align: center;
    }

    .text-container {
        text-align: center;
    }

    #landing-button {
        width: fit-content;
    }

    .introduction-text {
        margin: 0 25% 50px 25%;
    }

    .foot-title {
        flex-direction: column;
        margin-right: auto;
    }
}

@media (max-width: 670px) {
    .ref-slider {
        position: relative;
        width: 100%;
        max-width: 350px;
        height: 1000px;
        margin: auto;
        overflow: hidden;
    }

    .ref-slides {
        width: 100%;
        height: 100%;
    }

    .ref-slide {
        width: calc(100% - 90px);
        min-height: 400px;
        height: auto;
        margin: 20px auto;
        padding: 20px;
    }

    .slider {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto;
        padding: 20px 0 40px 0;
        margin-top: 30px;
        overflow: hidden;
    }

    .slide {
        width: calc(100% - 90px);
        min-height: 400px;
        height: auto;
        margin: 20px auto;
        padding: 20px;
    }

    .box-title {
        font-size: 1.5rem;
        margin: 10px 0 15px 0;
    }

    .box-text {
        font-size: 1rem;
        margin: 15px 5px 0 5px;
        line-height: 1.5;
    }

    .prev,
    .next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }

    .introduction-text {
        margin: 0 20px 50px 20px;
    }

    .skill-box {
        flex-direction: column;
    }

    .text-ani {
        font-size: 5vw;
    }

    .contact-text {
        text-align: center;
        font-size: 15px;
    }

    .text-container {
        text-align: center;
    }

    .project-desc {
        font-size: 12px;
    }

    .foot-link {
        font-size: large;
        padding-left: 0;
    }

    .foot-title {
        font-size: x-large;
    }

}

@media (max-width: 1000px) {

    .skills {
        grid-template-columns: 1fr;
        width: calc(100% - 20px);
        gap: 15px;
    }

    .skill-box {
        padding: 16px;
    }

    .box-text {
        font-size: 0.95rem;
    }
}

body.lightbox-open .breaker {
    display: none;
}

@media (max-width: 470px) {
    .project-top-box {
        background: #e0e0e0;
        padding: 20px;
        border-radius: 14px;
        height: 350px;
        width: 100%;
        max-width: calc(100% - 40px);
        box-shadow: 20px 20px 25px #a3a3a3,
            -20px -20px 25px #ffffff;
        display: flex;
        margin: 20px 20px 20px 20px;
    }

    .project-box {
        background: #e0e0e0;
        padding: 20px;
        border-radius: 14px;
        height: 350px;
        width: 100%;
        max-width: calc(100% - 40px);
        box-shadow: 20px 20px 25px #a3a3a3,
            -20px -20px 25px #ffffff;
        display: flex;
        margin: 0 20px 20px 20px;
    }

    .breaker {
        display: none;
    }
}

#goals {
    margin-bottom: 10px;
}