@font-face {
    font-family: 'Helvetica Now Text';
    src: url('fonts/helveticanowtext-bold-demo.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('fonts/helveticanowtext-bolditalic-demo.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('fonts/helveticanowtext-black-demo.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Now Text';
    src: url('fonts/helveticanowtext-blackitalic-demo.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

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

:root {
    --hover-button-color: #b2155a;
    --clicked-button-color: #cc1b6a;
}

body {
    font-family: Roboto, serif;
    min-height: 300vh;
    position: relative;
}

body.page-404 {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    background-image: radial-gradient(rgba(0, 0, 0, 0.1) 0.8px, rgba(255, 255, 255, 0.1) 0.8px);
    background-size: 16px 16px;
    background-position: 0 0;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

h1 {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 72px;
    text-align: center;
    margin-bottom: 50px;
    user-select: none;
}

.icon.nav-icon {
    display: none;
}

.navbar {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    padding: 8px 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    max-width: 1500px;
    width: 95%;
    z-index: 1000;
}

.navbar-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
    user-select: none;
}

.navbar-links a {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-size: 16px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: color 0.5s ease-in-out;
}

.navbar-links a:hover {
    color: var(--hover-button-color);
}

.navbar-links a.active {
    transform: scale(2);
    color: var(--clicked-button-color);

}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    width: auto;
    user-select: none;

}

.logo a {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 30px;
    text-decoration: none;
    color: #333;
    transition: color 0.5s ease-in-out;
    text-align: center;
    user-select: none;

}

.logo a:hover {
    color: var(--hover-button-color);
}

.category {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.category.tall {
    min-height: 200vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.category-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.category-container p {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 30px;
}

.site404category p {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 30px;
}

html {
    scroll-behavior: smooth;
}

.welcomeText {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.text404 {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.text404 h1{
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 110px;
    text-align: left !important;
    margin-bottom: 10px;
    white-space: nowrap;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: color 0.85s ease-in-out;
    color: #000000;
}

.text404 h2{
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 55px;
    text-align: left !important;
    margin-bottom: 10px;
    white-space: nowrap;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: color 0.85s ease-in-out;
    color: #000000;
}

.text404 p {
    text-align: left !important;
}

.text404 h1:hover {
    color: var(--hover-button-color);
}

.text404 .subtitle {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 35px;
    color: #000000;
    margin-top: 70px;
    text-align: left !important;
    transition: color 0.85s ease-in-out;
    user-select: none;
}

.text404 .subtitle:hover {
    color: var(--hover-button-color);
}

.text404 .subtitle:hover .text-button {
    color: #000000;
}

.site404category .site404category h1 {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 80px;
    text-align: left !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site404category {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.welcomeText h1 {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 75px;
    text-align: left !important;
    margin-bottom: 10px;
    white-space: nowrap;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: color 0.85s ease-in-out;
    color: #000000;
}

.welcomeText h1:hover {
    color: var(--hover-button-color);
}

.welcomeText .subtitle {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 35px;
    color: #000000;
    margin-top: 70px;
    text-align: left !important;
    transition: color 0.85s ease-in-out;
    user-select: none;
}

.welcomeText .subtitle:hover {
    color: var(--hover-button-color);
}

.welcomeText .subtitle:hover .text-button {
    color: #000000;
}

.text-button:hover {
    color: #000000;
}

.text-button {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 35px;
    background: none;
    border: none;
    color: var(--hover-button-color);
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-decoration: none;
    transition: color 0.85s ease-in-out;
    user-select: none;
}

.category-container h1 {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 70px;
    text-align: left !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.home-container {
    display: flex;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-image {
    flex-shrink: 0;
}

.portfolio-image img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.85s ease-in-out;
    user-select: none;
}

.portfolio-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px var(--hover-button-color);
}

.github-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.75s ease-in-out;
}

.github-logo:hover {
    transform: scale(1.1);
}


.github-logo img {
    width: 40px;
    height: 40px;
    user-select: none;

}

.contact-title {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 80px;
    text-align: center;
    user-select: none;
    transition: color 0.85s ease-in-out;
    margin-bottom: 70px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-title:hover {
    color: var(--hover-button-color);
}

.contact {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 0 0 auto;
    min-width: 320px;
}

.contact-info-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: all 0.5s ease-in-out;
    height: 300px;
}

.contact-info-box:hover {
    box-shadow: 0 25px 60px rgba(178, 21, 90, 0.25);
    border-color: rgba(178, 21, 90, 0.4);
    transform: translateY(-5px);
}

.email-section,
.socials-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-panel h2 {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    text-align: left;
    user-select: none;
    transition: color 0.5s ease-in-out;
    margin: 0;
    color: #222;
}

.contact-info-panel h2:hover {
    color: var(--hover-button-color);
}

.contact-info-panel p {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    text-align: left;
    user-select: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    margin: 0;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.contact-info-panel p:hover {
    color: var(--hover-button-color);
    background: rgba(178, 21, 90, 0.08);
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
    flex: 1;
    max-width: 550px;
}

.contact-container p {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 20;
    font-size: 30px;
}

.input-field {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    border-radius: 20px;
    width: 100%;
    height: 55px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0 22px;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.input-field:hover {
    border-color: rgba(178, 21, 90, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.65);
}

.input-field:focus {
    outline: none;
    border-color: var(--hover-button-color);
    box-shadow: 0 0 0 4px rgba(178, 21, 90, 0.12), 0 12px 28px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.7);
}

.input-field::placeholder {
    color: rgba(51, 51, 51, 0.45);
    font-weight: 600;
}

.input-label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 22px;
    color: #222;
    user-select: none;
    transition: color 0.3s ease-in-out;
}

.input-label:hover {
    color: var(--hover-button-color);
}

.label-text {
    display: block;
}

.input-text-field {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    border-radius: 20px;
    width: 100%;
    min-height: 140px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 18px 22px;
    color: #333;
    transition: all 0.3s ease-in-out;
    vertical-align: top;
    resize: vertical;
    max-height: 500px;
}

.input-text-field:hover {
    border-color: rgba(178, 21, 90, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.65);
}

.input-text-field:focus {
    outline: none;
    border-color: var(--hover-button-color);
    box-shadow: 0 0 0 4px rgba(178, 21, 90, 0.12), 0 12px 28px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.7);
}

.input-text-field::placeholder {
    color: rgba(51, 51, 51, 0.45);
    font-weight: 600;
}

.submit-button {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 900;
    font-size: 18px;
    border-radius: 20px;
    width: 100%;
    height: 58px;
    background: rgba(178, 21, 90, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(178, 21, 90, 0.9);
    box-shadow: 0 10px 25px rgba(178, 21, 90, 0.35);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    user-select: none;
}

.submit-button:hover {
    background: var(--hover-button-color);
    border-color: var(--hover-button-color);
    box-shadow: 0 15px 35px rgba(178, 21, 90, 0.45);
    transform: translateY(-3px);
}

.submit-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(178, 21, 90, 0.3);
}

.submit-button:disabled {
    background: rgba(150, 150, 150, 0.5);
    border-color: rgba(150, 150, 150, 0.6);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.form-result {
    font-family: "Helvetica Now Text", monospace;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    padding: 18px 22px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

.form-result.show {
    opacity: 1;
    max-height: 200px;
}

.form-result.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1.5px solid rgba(34, 197, 94, 0.5);
    color: #16a34a;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.15);
}

.form-result.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1.5px solid rgba(239, 68, 68, 0.5);
    color: #dc2626;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}


@media (max-width: 1150px) {
    .welcomeText h1 {
        font-size: 60px;
    }

    .text404 h1 {
        font-size: 60px;
    }

    .portfolio-image img {
        width: 350px;
        height: 435px;
    }

    .category-container {
        padding: 0 35px;
    }

    .site404category {
        padding: 0 35px;
    }
}

@media (max-width: 1000px) {

    .navbar {
        padding: 10px 20px;
        position: fixed;
        flex-wrap: wrap;
        align-items: center;
    }

    .logo a {
        font-size: 22px;
    }

    .icon.nav-icon {
        display: block;
        margin-left: auto;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
        margin-top: 15px;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-links a {
        font-size: 18px;
    }

    .logo img {
        height: 32px;
    }

    .home-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .welcomeText {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .welcomeText h1 {
        font-size: 40px;
        text-align: left !important;
        white-space: normal;
        margin-bottom: 5px;
    }

    .welcomeText .subtitle {
        font-size: 20px;
        text-align: left;
        margin-top: 30px;
    }

    .text404 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .text404 h1 {
        font-size: 40px;
        text-align: left !important;
        white-space: normal;
        margin-bottom: 5px;
    }

    .text404 .subtitle {
        font-size: 20px;
        text-align: left;
        margin-top: 30px;
    }

    .text-button {
        font-size: 20px;
    }

    .portfolio-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .portfolio-image img {
        width: 280px;
        height: 350px;
    }

    .category {
        justify-content: center;
    }

    .category-container {
        padding: 0 20px;
        margin: 0 auto;
    }

    .site404category {
        padding: 0 20px;
        margin: 0 auto;
    }

    .category-container h1 {
        text-align: left !important;
        font-size: 45px;
    }

    .site404category h2 {
        text-align: left !important;
        font-size: 20px;
    }

    .site404category h1 {
        text-align: left !important;
        font-size: 45px;
    }

    .github-logo {
        width: 50px;
        height: 50px;
    }

    .github-logo img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
        width: 90%;
    }

    .logo a {
        font-size: 18px;
    }

    .navbar-links a {
        font-size: 16px;
    }

    .logo img {
        height: 28px;
    }

    .welcomeText h1 {
        font-size: 28px;
        white-space: nowrap;
    }

    .welcomeText .subtitle {
        font-size: 16px;
        margin-top: 20px;
    }

    .text404 h1 {
        font-size: 28px;
        white-space: nowrap;
    }

    .text404 .subtitle {
        font-size: 16px;
        margin-top: 20px;
    }

    .text-button {
        font-size: 16px;
    }

    .category-container h1 {
        font-size: 35px;
    }

    .site404category h2 {
        font-size: 20px;
    }

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

    .portfolio-image img {
        width: 240px;
        height: 300px;
    }
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    text-decoration: none;
    color: #333;
}

.social-icon:hover {
    background: var(--hover-button-color);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(178, 21, 90, 0.3);
    border-color: var(--hover-button-color);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1000px) {
    .contact-title {
        font-size: 56px;
        margin-bottom: 50px;
    }

    .contact {
        flex-direction: column;
        gap: 35px;
        align-items: center;
    }

    .contact-info-panel {
        width: 100%;
        max-width: 550px;
        min-width: auto;
    }

    .contact-container {
        width: 100%;
        max-width: 550px;
        align-items: stretch;
    }

    .contact-info-box {
        padding: 35px;
        gap: 25px;
    }

    .input-label {
        font-size: 20px;
    }

    .input-field {
        height: 52px;
        font-size: 15px;
    }

    .input-text-field {
        min-height: 120px;
        font-size: 15px;
    }
}

@media (max-width: 680px) {
    .contact-title {
        font-size: 45px;
        margin-bottom: 35px;
    }

    .contact {
        gap: 30px;
    }

    .contact-info-panel {
        max-width: 100%;
    }

    .contact-container {
        max-width: 100%;
    }

    .contact-info-box {
        padding: 28px;
        gap: 22px;
    }

    .contact-info-panel h2 {
        font-size: 22px;
    }

    .contact-info-panel p {
        font-size: 17px;
        padding: 6px 10px;
    }

    .input-label {
        font-size: 19px;
        gap: 10px;
    }

    .input-field {
        height: 50px;
        font-size: 15px;
        padding: 0 18px;
    }

    .input-text-field {
        min-height: 110px;
        font-size: 15px;
        padding: 15px 18px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .contact {
        gap: 25px;
    }

    .contact-info-box {
        padding: 24px;
        gap: 20px;
    }

    .email-section,
    .socials-section {
        gap: 12px;
    }

    .contact-info-panel h2 {
        font-size: 20px;
    }

    .contact-info-panel p {
        font-size: 16px;
        padding: 6px 10px;
    }

    .social-links {
        gap: 15px;
        margin-top: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .input-label {
        font-size: 18px;
        gap: 8px;
    }

    .input-field {
        height: 48px;
        font-size: 15px;
        padding: 0 16px;
    }

    .input-text-field {
        min-height: 100px;
        font-size: 15px;
        padding: 14px 16px;
    }
}

