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

body {
    background-color: #E8EDDF;
    color: #333533;
    line-height: 1.6;
}

header {
    position: sticky;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    padding: 1.5rem;
    z-index: 1000;

    background: rgba(232, 237, 223, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-radius: 50px;
    border: 1px solid rgba(207, 219, 213, 0.85);
    box-shadow: 0 8px 32px rgba(36, 36, 35, 0.15);
}

header p {
    font-weight: bold;
    letter-spacing: 2px;
    color: #242423;
}

header p a {
    color: #242423;
    text-decoration: none;
}

section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.space{
    height: 10vh;
}

.start {
    position: relative;
    top: 0px;
    left: 0px;
    text-align: center;
    height: 70vh;
    justify-content: center;
    align-content: center;
}

.start h1 {
    font-size: 3rem;
    color: #242423;
}

.start a {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
}
.start p {
    margin-top: 12px;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: lowercase;
    color: #5f5f5f;
}

.start a img {
    height: 50px;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(8px); }
    100% { transform: translateY(0); }
}

.about h2 {
    margin-bottom: 1rem;
    color: #242423;
}

.about p {
    margin-bottom: 0.6rem;
    color: #333533;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background-color: #CFDBD5;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid #3335331f;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(36, 36, 35, 0.15);
}

.project-card h3 {
    margin-bottom: 0.5rem;
    color: #242423;
}

.project-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #333533;
}

.tag {
    display: inline-block;
    margin: 0.2rem 0.2rem 0 0;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 20px;
    background-color: #E8EDDF;
    color: #242423;
}

button {
    background-color: #ff90c0;
    color: #242423;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(36, 36, 35, 0.2);
}

button:disabled {
    background-color: #CFDBD5;
    color: #333533;
    cursor: not-allowed;
}

.contact h1 {
    margin-bottom: 1rem;
    color: #242423;
}

.contact a {
    color: #242423;
    text-decoration: underline;
}

footer {
    height: 80px;
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

footer p .left{
    text-align: left;
}
.right{text-align: right;}
footer p a{text-decoration: underline; color: #242423;}

@media (max-width: 480px) {
    .start p {
        font-size: 0.95rem;
        letter-spacing: 0.14em;
    }
}
@media screen and (max-width: 1024px) {
    header {
        top: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 1rem 1.2rem;
        border-radius: 35px;
    }

    .start h1 {
        font-size: 2.5rem;
    }

    .start p {
        font-size: 1rem;
    }

    .start a img {
        height: 45px;
    }

    section {
        padding: 0 1.2rem;
    }

    .projects {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    .project-card {
        padding: 1.2rem;
    }

    button {
        width: 100%;
        padding: 0.6rem 0;
    }
}

@media screen and (max-width: 768px) {
    .start h1 {
        font-size: 2.2rem;
    }

    .start p {
        font-size: 0.95rem;
    }

    .start a img {
        height: 40px;
    }

    .projects {
        grid-template-columns: 1fr !important;
        gap: 0.8rem;
    }

    .project-card {
        padding: 1rem;
    }

    button {
        font-size: 0.95rem;
    }

    footer {
        padding: 0 1rem;
    }

    .dektop {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .start h1 {
        font-size: 1.8rem;
    }

    .start p {
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    header p {
        font-size: 0.85rem;
    }

    .project-card h3 {
        font-size: 0.95rem;
    }

    .project-card p {
        font-size: 0.8rem;
    }

    .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .start a img {
        height: 35px;
    }

    footer {
        margin: 2rem auto;
        padding: 0 1rem;
    }
}

