@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600&family=Manrope:wght@200;400;500&display=swap');

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

body {
    background-color: #0A0A0A;
    color: #FFFFFF;
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

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

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 5%;
    flex-wrap: wrap;
    gap: 20px;
}

header p {
    font-family: "Bebas Neue", sans-serif;
    color: #C7C7C7;
    font-size: 2rem;
}

header ul {
    display: flex;
    gap: 24px;
    list-style: none;
}

header a {
    text-decoration: none;
    color: #C7C7C7;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    transition: color 0.3s;
}

header a:hover {
    color: #D3E97A;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    gap: 40px;
    flex-wrap: wrap-reverse;
}

.header-text {
    flex: 1;
    min-width: 300px;
}

.header-text h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.header-text p {
    color: #C7C7C7;
    font-size: 18px;
    margin-bottom: 30px;
}

.action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action button {
    background-color: #D3E97A;
    color: #0A0A0A;
    padding: 0 32px;
    height: 55px;
    border: 1px solid #D3E97A;
    border-radius: 30px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}

.action button:hover {
    transform: scale(1.05);
    background-color: transparent;
    color: #D3E97A;
}

.action img {
    width: 40px;
    transition: transform 0.3s;
}

.action img:hover {
    transform: scale(1.1);
}

.image-me {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.image-me img {
    max-width: 100%;
    border-radius: 10px;
}

.projects-featured {
    padding: 0 5%;
    margin-top: 60px;
    margin-bottom: 40px;
}

.projects-featured h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.projects-featured p {
    color: #C7C7C7;
    font-size: 18px;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 0 5%;
}

.card {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    background: #111;
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(211, 233, 122, 0.15);
}

.card img {
    width: 50%;
    border-radius: 8px;
    object-fit: cover;
}

.project-content {
    flex: 1;
}

.project-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.project-content p {
    color: #C7C7C7;
    font-weight: 200;
    margin-bottom: 24px;
}

table {
    width: 100%;
    color: #C7C7C7;
    margin-bottom: 24px;
}

table hr {
    border: none;
    border-top: 1px solid #333;
    margin: 10px 0;
}

.links-projects {
    display: flex;
    gap: 20px;
    align-items: center;
}

.links-projects a {
    color: #D3E97A;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s;
}

.links-projects a:hover {
    opacity: 0.8;
}

.about-me {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-me h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.inforamtion-me h2 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 16px;
}

.inforamtion-me p {
    color: #C7C7C7;
    font-weight: 200;
    margin-bottom: 30px;
    max-width: 800px;
}

.inforamtion-me a {
    color: #D3E97A;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid #D3E97A;
    padding-bottom: 2px;
}

.footer {
    padding: 60px 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    background-color: #111;
}

.left {
    flex: 1;
    min-width: 300px;
}

.left h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 16px;
}

.left p {
    color: #C7C7C7;
    margin-bottom: 10px;
}

.left a {
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid #D3E97A;
}

.social-media {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.end p {
    color: #555;
    font-size: 14px;
}

.right {
    flex: 1;
    min-width: 300px;
}

.right input,
.right textarea {
    width: 100%;
    background-color: #1A1A1A;
    border: none;
    padding: 16px;
    color: #FFFFFF;
    border-radius: 8px;
    margin-top: 8px;
    margin-bottom: 20px;
    font-family: "Manrope", sans-serif;
}

.right textarea {
    height: 150px;
    resize: vertical;
}

.right button {
    background-color: #D3E97A;
    color: #0A0A0A;
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.right button:hover {
    background-color: #b8cc66;
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
    }

    header p {
        font-size: 1.5rem;
        margin: 0;
    }

    header ul {
        margin: 0;
        padding: 0;
    }

    .card {
        flex-direction: column; 
    }
    
    .card img {
        width: 100%;
    }
    
    table tr {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel-item img {
        height: 300px; 
    }

    .about-me {
        padding: 40px 5%;
    }

    .information-me h2 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 5%;
    }
    
    .left {
        display: flex;
        flex-direction: column;
        align-items: center; 
    }
}

.hidden-element {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show-element {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-out {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out !important;
}

.arrow-button {
    cursor: pointer;
    transition: transform 0.5s ease, color 0.5s ease , width 0.5s ease, height 0.5s ease;
    color: #C7C7C7;
}
.arrow-button:hover {
    width: 50px;
    height: 50px;
    color: #D3E97A;
}
.carousel-item img {
    height: 700px;
    object-fit: cover;
    object-position: top;
}