@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

#Obrigado{
    color: #211f2b;
}

body{
    background-color: #211f2b;
    color: white;
    overflow-x: hidden;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

#header{
    width: 80%;
    height: 100px;
    border-radius: 2%;
    border-color: azure;
}

#menu{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    gap: 50px;
    margin: 0 auto;
}

#menu-button{
    background-color: #211f2b;
    color: white;
    text-decoration: none;
    align: center;
    font-family: 'Google Sans Code', monospace;
}



#presentation{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

#presentation h1 {
    margin: 5px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(45deg, #87CEEB, #E0F6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
    transition: all 0.3s ease;
}

#presentation h1:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

#presentation h1:first-child {
    font-size: 2.5rem;
    font-weight: 600;
    color: #E0F6FF;
    -webkit-text-fill-color: #E0F6FF;
    animation: slideInLeft 1.2s ease-out;
}

#presentation h1:last-of-type {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: slideInRight 1.4s ease-out;
}

#presentation p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    color: #E0F6FF;
    margin: 20px 0;
    animation: fadeInUp 1.6s ease-out;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    animation: fadeInUp 1.8s ease-out;
}

#contact h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #87CEEB;
    margin-bottom: 15px;
    text-align: center;
    animation: slideInDown 1.2s ease-out;
}

#contact .contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 2s ease-out;
}

#contact img {
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

#linkedinButton img {
    filter: none;
}

#emailButton img {
    filter: none;
}

#contact img:hover {
    transform: scale(1.2);
    animation: bounce 0.6s ease;
}

#jobTimeline {
    margin: 50px 0;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: azure;
}

#jobTimeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -22px;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: azure;
    border-radius: 50%;
    border: 3px solid #211f2b;
}

.timeline-content {
    font-family: 'Inter', sans-serif;
    margin-left: 20px;
    border: 2px solid azure;
    border-radius: 10px;
    padding: 5px 5px 5px 15px;
    background-color: #1a1821;
    max-width: 400px;
    transition: all 0.3s ease;
    transform: translateX(0);
    animation: fadeInUp 1s ease-out;
}

.timeline-content:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 5px 15px rgba(240, 255, 255, 0.2);
    border-color: #87CEEB;
    filter: brightness(1.1);
}

#stack {
    margin: 50px 0;
}

.stack-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

#backend, #frontend, #database, #Tools {
    text-align: left;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out;
}

#backend:hover, #frontend:hover, #database:hover, #Tools:hover {
    transform: translateY(-5px) scale(1.02);
    filter: brightness(1.1);
}

#backend h3, #frontend h3, #database h3, #Tools h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #87CEEB;
    margin-bottom: 15px;
    text-align: left;
}

#backend p, #frontend p, #database p, #Tools p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #E0F6FF;
    opacity: 0.9;
}

#projects {
    margin: 50px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.project-card {
    display: flex;
    border: 1px solid rgba(240, 255, 255, 0.3);
    border-radius: 12px;
    background: linear-gradient(145deg, #1a1821, #211f2b);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out;
    max-width: 100%;
    height: 250px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 40px rgba(240, 255, 255, 0.1);
    border-color: rgba(135, 206, 235, 0.6);
    filter: brightness(1.05);
}

.project-image {
    flex: 0 0 250px;
    height: 100%;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(26, 24, 33, 0.1) 100%);
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.project-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #E0F6FF;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
}

.project-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(224, 246, 255, 0.85);
    margin: 0 0 16px 0;
    letter-spacing: 0.01em;
}

.project-tech {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #87CEEB;
    margin: 0 0 20px 0;
    letter-spacing: 0.02em;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.project-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(224, 246, 255, 0.9);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid rgba(240, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(240, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: rgba(240, 255, 255, 0.15);
    color: #E0F6FF;
    transform: translateY(-1px);
    border-color: rgba(240, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(240, 255, 255, 0.1);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #E0F6FF;
    margin-bottom: 40px;
    text-align: left;
    animation: slideInLeft 1s ease-out;
    background: linear-gradient(45deg, #87CEEB, #E0F6FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1.2) translateY(0);
    }
    40% {
        transform: scale(1.2) translateY(-10px);
    }
    60% {
        transform: scale(1.2) translateY(-5px);
    }
}

@media screen and (max-width: 600px) and (min-width: 10px) {
    #menu{
        display: grid;
        grid-template-columns: 2fr 2fr 2fr;
        gap: 0;
    }
    #presentation{
        margin-top: 10%;
    }
    #presentation h1 {
        font-size: 10px;
    }
    #presentation p {
        font-size: 16px;
    }

    .timeline-dot, .timeline-line{
        display: none;
    }

    .timeline-content{
        margin-left: -30px;
    }

    .stack-content{
        display: grid;
        grid-template-columns: 2fr 2fr;
    }

    .project-card{
        display: flex;
        flex-direction: column;
        width: 80%;
        height: fit-content;
    }
}