
:root {
    --bg-color: #E8E5DD;
    --primary-color: #171717;
    --secondry-color: #6B665D;
    --heading-color: #d65a3a;
    --border: #c8c4ba;
    --cards: #E7E1D6;
    --card-surface: #F5F3ED;
    --tertiary: #918B81;
    --muted: #DCD9D1;
    --sucess: #58705C;
    --font-family: "DM Mono", monospace;
    --font-family-2: "poppins", sans-serif;
    --green: #5d8065;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
}



header {
    height: 50px;
    width: 100%;
    margin-top: 10px;
    font-family: var(--font-family);
    font-size: 14px;
}

header nav {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.text {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
}

.others {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 25px;
}

.created-date p {
    font-weight: 200;
}

.circle,
.circle-1 {
    background: var(--sucess);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.online-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}


.container {
    border: 1px solid var(--border);
    min-height: 100vh;
    width: 100%;
    margin-top: 10px;
    display: flex;
    align-items: stretch;
}

.side-bar {
    border-right: 1px solid var(--border);
    width: 20%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.side-text {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 25px;
    gap: 20px;
    font-family: var(--font-family);
}

.side-text p:nth-child(1) {
    font-size: 14px;
}

.side-text p:nth-child(2) {
    color: var(--secondry-color);
    font-size: 10px;
}

.side-navbar {
    flex: 1;
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.nav-items {
    width: 100%;
    padding-left: 25px;
    padding-top: 20px;
    font-family: var(--font-family);
    font-size: 11px;
}

.nav-items ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.nav-items ul li {
    list-style: none;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 13px 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 90%;
    color: var(--primary-color);
    font-family: var(--font-family);
    font-size: 11px;
    cursor: pointer;
}

.nav-items ul li.active,
.nav-items ul li:hover {
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
}

.user-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: var(--font-family);
    margin-top: auto;
    border-top: 1px solid var(--border);
}

.data {
    padding: 20px;
}

.user-info p:nth-child(1) {
    font-size: 12px;
    margin-bottom: 8px;
}

.user-info p:nth-child(2) {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.online-box-1 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--secondry-color);
    text-transform: uppercase;
}

.online-box-1 .circle-1 {
    height: 7px;
    width: 7px;
}


.container-body {
    height: 100%;
    width: 100%;
    min-width: 0;
}

.page {
    display: none;
    width: 100%;
}

.page.active-page {
    display: block;
}


.home-page  {
    height: 95%;
    width: 100%;
}

.body-text {
    min-height: 650px;
    width: 95%;
    margin: 40px auto 0;
    background: var(--card-surface);
    border: 1px solid var(--primary-color);
}

.main-nav {
    border-bottom: 1px solid var(--primary-color);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 10px;
    font-family: var(--font-family);
    color: var(--primary-color);
    font-weight: 500;
}

.icons {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.icons p {
    margin: 0;
    line-height: 1;
}

.square {
    border: 1px solid var(--primary-color);
    height: 5px;
    width: 5px;
}

.text-body {
    min-height: 450px;
    width: 90%;
    padding: 55px;
}

.text-body p:nth-child(1) {
    color: var(--tertiary);
    font-size: 12px;
    margin-bottom: 25px;
    font-family: var(--font-family);
}

.text-body h1 {
    font-size: 120px;
    line-height: 94px;
    letter-spacing: -7px;
    font-weight: 700;
    font-family: var(--font-family);
}

.hero-dsecripition {
    font-family: var(--font-family-2);
    font-size: 16px;
    line-height: 1.5;
    margin-top: 35px;
    color: #4e4b45;
    max-width: 450px;
}

.hero-btn {
    width: fit-content;
    margin-top: 30px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    color: white;
    padding: 14px 18px;
    font-family: var(--font-family);
    font-size: 10px;
    background-color: var(--primary-color);
    text-transform: uppercase;
}

.hero-btn a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-btn span {
    color: #ff7352;
    font-size: 10px;
}

.user-info-1 {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 25px;
}

.system-status {
    border: 1px solid var(--primary-color);
    background: var(--card-surface);
    min-height: 240px;
    width: 40%;
    margin-top: 60px;
}

.system-head {
    border-bottom: 1px solid var(--primary-color);
    height: 40px;
    padding: 0 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    font-family: var(--font-family);
    color: var(--primary-color);
}

.system-info {
    padding: 25px 25px;
    font-family: var(--font-family);
}

.system-available {
    display: flex;
    align-items: center;
    gap: 15px;
}

.circle-2 {
    background: var(--green);
    height: 30px;
    width: 30px;
    border-radius: 50%;
    flex-shrink: 0;
}

.system-available b {
    font-size: 17px;
}

.system-available p {
    color: var(--secondry-color);
    font-size: 13px;
    margin-top: 5px;
    font-family: var(--font-family-2);
}

.status-list {
    border-top: 1px solid var(--border);
    margin-top: 15px;
    padding-top: 15px;
}

.status-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.status-list span {
    color: var(--secondry-color);
    font-size: 12px;
}

.status-list strong {
    font-size: 12px;
    color: #111;
}

.feature-project {
    border: 1px solid var(--primary-color);
    min-height: 240px;
    width: 70%;
    margin-top: 60px;
    background-color: var(--card-surface);
}

.feature-head {
    min-height: 56px;
    width: 100%;
    text-transform: uppercase;
    border-bottom: 1px solid var(--primary-color);
    padding: 0 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-family);
    color: var(--primary-color);
}

.feature-body {
    min-height: 180px;
    width: 100%;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.number {
    width: 15%;
    display: flex;
    align-items: center;
}

.number h1 {
    margin: 0;
    font-size: 55px;
    line-height: 1;
    color: #dc5b3b;
    font-family: var(--font-family);
    font-weight: 400;
}

.project-desc {
    width: 60%;
}

.project-desc span {
    font-size: 13px;
    font-family: var(--font-family);
    display: block;
    margin-bottom: 5px;
}

.project-desc h2 {
    font-size: 42px;
    line-height: 1;
    margin: 0 0 25px;
    font-family: var(--font-family);
    font-weight: 700;
}

.project-desc p {
    font-size: 12px;
    font-family: var(--font-family);
    margin: 0;
    color: #666;
}

.btn-box {
    width: 15%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.btn-box button {
    width: 90px;
    height: 36px;
    border: 1px solid #222;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 10px;
    font-family: var(--font-family);
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-box button:hover {
    background: var(--primary-color);
    color: white;
}

.home-page .footer {
    margin-top: 20px;
}


.work-page .header,
.about-page .header,
.lab-page .header {
    padding: 0 40px;
}

.work-page .header p,
.about-page .header p,
.lab-page .header p {
    font-size: 10px;
    font-family: var(--font-family);
    margin: 20px 0 25px;
    color: var(--primary-color);
}

.work-page .header h1,
.about-page .header h1 {
    font-family: var(--font-family);
    font-weight: bolder;
    padding: 0;
    line-height: 1;
    font-size: 60px;
    margin-top: -20px;
}

.work-page .project {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.work-page .project-1 {
    border: 1px solid var(--primary-color);
    min-height: 650px;
    height: auto;
    width: 92%;
    margin: 20px auto 0;
    background-color: var(--card-surface);
}

.work-page .project-header {
    border-bottom: 1px solid var(--primary-color);
    min-height: 35px;
    background-color: var(--card-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 10px;
    text-transform: uppercase;
    font-family: var(--font-family);
}

.work-page .project-body-1 {
    min-height: 450px;
    background-color: var(--muted);
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-page .project-body-1 img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.work-page .project-description {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.work-page .project-description > div > h3 {
    font-size: 28px;
    font-family: var(--font-family);
    font-weight: 600;
    margin-top: 9px;
}

.work-page .project-description > div > p {
    font-size: 13px;
    max-width: 560px;
    color: var(--secondry-color);
    margin-top: 9px;
    font-family: var(--font-family-2);
}

.work-page .project-description > div > span {
    font-family: var(--font-family);
}

.work-page .project-box {
    display: flex;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.work-page .project-box span {
    border: 1px solid var(--border);
    padding: 7px 9px;
    font-size: 8px;
    text-transform: uppercase;
}

.work-page .project-2 {
    border: 1px solid var(--primary-color);
    background-color: var(--card-surface);
    min-height: 650px;
    width: 80%;
    position: relative;
    left: 50px;
    margin-top: 40px;
}

.work-page .footer,
.about-page .footer,
.lab-page .footer {
    border: 1px solid var(--primary-color);
    min-height: 40px;
    width: 100%;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.footer-name,
.footer-skill,
.footer-others {
    min-height: 40px;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 8px;
    color: var(--secondry-color);
    font-family: var(--font-family);
}


.about-page .info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.about-page .info-box {
    border: 1px solid var(--primary-color);
    min-height: 450px;
    width: 90%;
    background-color: var(--card-surface);
}

.about-page .info-header {
    border-bottom: 1px solid var(--primary-color);
    height: 30px;
    display: flex;
}

.about-page .info-box span {
    font-size: 9px;
    font-family: var(--font-family);
    padding: 10px 15px;
    text-transform: uppercase;
}

.about-page .my-info {
    min-height: 300px;
    width: 100%;
    margin-top: 20px;
    display: flex;
    padding: 50px;
    gap: 35px;
}

.about-page .name-box {
    max-width: 500px;
    font-size: 60px;
    font-family: var(--font-family);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -5px;
}

.about-page .my-des p {
    font-family: var(--font-family-2);
    color: var(--secondry-color);
    line-height: 2;
    max-width: 550px;
}

.about-page .others-btn {
    min-height: 50px;
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.about-page .others-btn span {
    border: 1px solid var(--primary-color);
    padding: 9px 13px;
    font-size: 9px;
    font-family: var(--font-family);
    text-transform: uppercase;
    margin-top: 10px;
}

/* LAB PAGE */

.lab-page .header h1 {
    font-family: var(--font-family);
    font-size: 70px;
    line-height: 1;
    margin-top: -20px;
}

.lab-page .projects {
    min-height: 500px;
    width: 100%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-page .project-box {
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
}

.lab-page .project-box-1,
.lab-page .project-box-2,
.lab-page .project-box-3,
.lab-page .project-box-4 {
    border: 1px solid var(--primary-color);
    height: 200px;
    width: calc(45% - 3px);
    background-color: var(--card-surface);
}

.lab-page .project-box-header {
    padding: 10px;
    font-family: var(--font-family);
    font-size: 9px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--primary-color);
    background-color: var(--card-surface);
}

.lab-page .project-body {
    font-family: var(--font-family);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 30px;
}

.lab-page .project-body h1 {
    word-spacing: -9px;
}

.lab-page .project-body p {
    color: var(--primary-color);
    font-size: 10px;
    margin-top: 10px;
}

.lab-page .view-btn {
    padding: 10px 20px;
    font-size: 9px;
    font-family: var(--font-family);
    border: 0;
    background-color: var(--primary-color);
    align-self: flex-start;
    margin-top: 10px;
    cursor: pointer;
}

.lab-page .view-btn a {
    text-decoration: none;
    color: #fff;
}


.contact-page .container-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.contact-page .contact-body {
    min-height: 600px;
    width: 90%;
    background-color: var(--primary-color);
    color: #fff;
}

.contact-page .contact-information {
    min-height: 400px;
    margin-top: 80px;
    padding: 50px;
}

.contact-page .contact-information span {
    font-size: 10px;
    color: #aaa;
    font-family: var(--font-family);
}

.contact-page .contact-information h1 {
    font-size: 8.5em;
    font-family: "Comfortaa", sans-serif;
    margin: 40px 0 70px;
    line-height: 0.9;
    letter-spacing: -9px;
    font-weight: 700;
}

.contact-page .typewriter {
    display: inline-block;
}

.contact-page .text-1 {
    font-family: var(--font-family-2);
    color: #aaa;
    font-size: 12px;
  position: relative;
  top: -100px;
  left: 50px;
    width: 100%;
    border-right: 5px solid var(--heading-color);
    padding-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s steps(18), cursor 0.4s step-end infinite alternate;
}

.contact-page .contact-box {
    min-height: 60px;
    width: 100%;
    margin-top: -50px;
    padding: 0 50px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-page .email a,
.contact-page .github a,
.contact-page .linkedin a {
    color: white;
    border: 1px solid #444;
    padding: 13px 18px;
    text-decoration: none;
    font-family: var(--font-family);
    font-size: 9px;
}

.contact-page .email a:hover,
.contact-page .github a:hover,
.contact-page .linkedin a:hover {
    background-color: white;
    color: var(--primary-color);
}

@keyframes cursor {
    50% {
        border-color: transparent;
    }
}

@keyframes typing {
    from {
        width: 0;
    }
}


.footer {
    border: 1px solid var(--primary-color);
    height: 40px;
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.footer-name,
.footer-skill,
.footer-others {
    /* border: 2px solid red; */
    height: 40px;
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 8px;
    color: var(--secondry-color);
    font-family: var(--font-family);

}


@media (max-width: 1024px) {

    .side-bar {
        width: 25%;
    }

    .side-text {
        padding-left: 15px;
        gap: 10px;
    }

    .nav-items {
        padding-left: 10px;
    }

    .nav-items ul li {
        width: 95%;
        padding: 12px 8px;
    }

    .text-body {
        padding: 35px;
    }

    .text-body h1 {
        font-size: clamp(55px, 8vw, 90px);
        line-height: 0.95;
        letter-spacing: -4px;
    }

    .user-info-1 {
        flex-wrap: wrap;
        gap: 20px;
    }

    .system-status,
    .feature-project {
        width: 100%;
        margin-top: 20px;
    }

    .work-page .project-1,
    .work-page .project-2 {
        width: 92%;
        min-height: auto;
    }

    .work-page .project-2 {
        left: 0;
    }

    .work-page .project-body-1 {
        min-height: 300px;
    }

    .work-page .project-body-1 img {
        max-height: 300px;
    }

    .about-page .my-info {
        padding: 30px;
        gap: 20px;
    }

    .about-page .name-box {
        font-size: 45px;
        letter-spacing: -3px;
    }

    .contact-page .contact-information h1 {
        font-size: clamp(55px, 8vw, 90px);
        letter-spacing: -4px;
    }
}


@media (max-width: 600px) {

    header {
        height: auto;
        margin-top: 5px;
        font-size: 10px;
    }

    header nav {
        height: 45px;
        padding: 0 12px;
    }

    .text {
        font-size: 11px;
    }

    .others {
        height: 45px;
        gap: 10px;
        font-size: 9px;
    }

    .container {
        min-height: 100vh;
        margin-top: 5px;
        padding: 0;
        gap: 0;
        flex-direction: column;
    }


    .side-bar {
        width: 100%;
        flex-shrink: 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .side-text {
        height: 40px;
        padding-left: 15px;
    }

    .side-navbar {
        margin-top: 0;
    }

    .nav-items {
        padding: 8px;
    }

    .nav-items ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5px;
    }

    .nav-items ul li {
        width: auto;
        padding: 10px;
        font-size: 9px;
    }

    .user-info {
        display: none;
    }

    .container-body {
        width: 100%;
        min-width: 0;
    }


    .text-body {
        min-height: auto;
        padding: 30px 20px;
    }

    .text-body p:nth-child(1) {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .text-body h1 {
        font-size: clamp(48px, 13vw, 75px);
        line-height: 0.95;
        letter-spacing: -3px;
        overflow-wrap: anywhere;
    }

    .hero-dsecripition {
        font-size: 13px;
        margin-top: 25px;
    }

    .hero-btn {
        margin-top: 20px;
        padding: 12px 14px;
    }

    .user-info-1 {
        padding: 0 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .system-status,
    .feature-project {
        width: 100%;
        min-height: auto;
        margin-top: 15px;
    }

    .system-info {
        padding: 20px 15px;
    }

    .feature-body {
        padding: 20px 15px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .number {
        width: 15%;
    }

    .number h1 {
        font-size: 35px;
    }

    .project-desc {
        width: 65%;
        min-width: 0;
    }

    .project-desc h2 {
        font-size: clamp(20px, 6vw, 30px);
        overflow-wrap: anywhere;
    }

    .btn-box {
        width: 100%;
        justify-content: flex-start;
    }


    .work-page .header,
    .about-page .header,
    .lab-page .header {
        padding: 0 20px;
    }

    .work-page .header p,
    .about-page .header p,
    .lab-page .header p {
        margin: 20px 0;
    }

    .work-page .header h1,
    .about-page .header h1 {
        font-size: clamp(35px, 9vw, 50px);
        line-height: 1;
        margin-top: 0;
    }

    .work-page .project-1,
    .work-page .project-2 {
        width: 92%;
        min-height: auto;
        margin: 20px auto 0;
        left: 0;
    }

    .work-page .project-body-1 {
        min-height: 180px;
        padding: 10px;
    }

    .work-page .project-body-1 img {
        max-height: 220px;
        width: 100%;
        object-fit: contain;
    }

    .work-page .project-description {
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .work-page .project-description > div > h3 {
        font-size: 22px;
    }

    .work-page .project-description > div > p {
        font-size: 12px;
    }

    .work-page .project-box {
        justify-content: flex-start;
    }


    .lab-page .header h1 {
        font-size: clamp(40px, 10vw, 55px);
        margin-top: 0;
    }

    .lab-page .projects {
        min-height: auto;
        margin-top: 20px;
    }

    .lab-page .project-box {
        min-height: auto;
        gap: 15px;
        padding: 0 15px;
    }

    .lab-page .project-box-1,
    .lab-page .project-box-2,
    .lab-page .project-box-3,
    .lab-page .project-box-4 {
        width: 100%;
        height: auto;
        min-height: 190px;
    }

    .lab-page .project-body {
        padding: 20px;
    }

    .lab-page .project-body h1 {
        font-size: clamp(18px, 5vw, 25px);
        word-spacing: -4px;
    }


    .about-page .info {
        margin-top: 20px;
        padding: 0 15px;
    }

    .about-page .info-box {
        width: 100%;
        min-height: auto;
    }

    .about-page .my-info {
        min-height: auto;
        padding: 25px 20px;
        margin-top: 0;
        flex-direction: column;
        gap: 25px;
    }

    .about-page .name-box {
        max-width: 100%;
        font-size: clamp(40px, 11vw, 55px);
        letter-spacing: -3px;
    }

    .about-page .my-des p {
        font-size: 13px;
        line-height: 1.8;
    }

    .about-page .others-btn {
        width: 100%;
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
        gap: 5px;
    }


    .contact-page .container-body {
        padding: 20px 0;
    }

    .contact-page .contact-body {
        width: 92%;
        min-height: auto;
        padding-bottom: 30px;
    }

    .contact-page .contact-information {
        min-height: auto;
        margin-top: 35px;
        padding: 25px 20px;
    }

    .contact-page .contact-information h1 {
        font-size: clamp(48px, 13vw, 70px);
        letter-spacing: -3px;
        line-height: 0.95;
        margin: 30px 0;
    }

    .contact-page .text-1 {
        position: static;
        display: inline-block;
        width: auto;
        max-width: 100%;
        font-size: 10px;
        border-right-width: 3px;
        padding-right: 5px;
    }

    .contact-page .typewriter {
        margin: 0 20px 30px;
        max-width: calc(100% - 40px);
    }

    .contact-page .contact-box {
        min-height: auto;
        margin-top: 0;
        padding: 0 20px;
        gap: 15px;
    }

    .contact-page .email a,
    .contact-page .github a,
    .contact-page .linkedin a {
        display: inline-block;
        padding: 12px;
        font-size: 9px;
    }


    .footer{
            margin-top: auto;
            width: 100%;
    }
    .work-page .footer,
    .about-page .footer,
    .lab-page .footer {
        min-height: auto;
        height: auto;
        margin-top: 25px;
        padding: 12px 8px;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-name,
    .footer-skill,
    .footer-others {
        width: auto;
        min-height: auto;
        height: auto;
        padding: 0;
        font-size: 7px;
    }
}


/* EXTRA SMALL PHONES */

@media (max-width: 380px) {

    .nav-items ul li {
        padding: 8px 6px;
        font-size: 8px;
    }

    .text-body {
        padding: 25px 15px;
    }

    .text-body h1 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .feature-body {
        padding: 15px 10px;
    }

    .work-page .project-description {
        padding: 14px;
    }

    .contact-page .contact-information h1 {
        font-size: 44px;
    }

    .footer-name,
    .footer-skill,
    .footer-others {
        font-size: 6px;
    }
}