@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

:root{
    --primary-color-dark: #933ea;
    --secondary-color: #ca8a04;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --extra-light: #faf5ff;
    --max-width: 1200px;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body{
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.section{
    background-color: #fffff0;
}

.section__container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    margin: 0 auto;
    height: 90vh;
    max-width: 1200px;
    flex-wrap: wrap;
}

.content{
    text-align: left;
    flex: 1 1 400px;
}

.subtitle{
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: .5rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--text-dark);
    animation: typing 3s steps(30, end), blink-caret 0.5s step-end infinite;
}



.title{
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--text-dark);
    animation: typing 3s steps(30, end), blink-caret 0.5s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from {
        border-color: transparent;
    }
    to {
        border-color: var(--text-dark);
    }
}

.title span{
    font-weight: 600;
}

.description{
    line-height: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.image{
    flex: 0 0 auto;
    text-align: center;
}

.image img{
    width: 20rem;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0;
}


@media (max-width: 768px){
    .section__container{
        flex-direction: column;
        text-align: center;
        height: auto;
        gap: 1rem;
    }

    .title{
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .description{
        font-size: 0.9rem;
    }

    .image img{
        width: 15rem;
    }
}

