#about {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: var(--font-family);

    figure,
    .about-content {
        width: 50%;
        height: 100%;
    }

    figure {

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            box-shadow: var(--shadow-00);
        }
    }

    .about-content {
        position: relative;

        .title {
            position: absolute;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;

            h2 {
                padding: 2rem;
                color: var(--clr-60);
                font-size: 5.5rem;
                opacity: 1;
                transition: opacity 1s ease;
            }
        }

        #description-aboutMe {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 100%;
            padding: 2rem;
            opacity: 0;
            transition: opacity 1s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            
            .paragrahp {
                opacity: 0;
                transform: translateX(45rem);
                animation: 0.6s forwards;
                margin-bottom: 1rem;
                color: var(--clr-90);
                font-size: 1.2rem;
            }
            
            .paragrahp:nth-child(1) {
                animation-delay: 0s;
            }
            .paragrahp:nth-child(2) {
                animation-delay: 0.2s;
            }
            .paragrahp:nth-child(3) {
                animation-delay: 0.4s;
            }
        }
    }

}

@keyframes showText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    #about {
        height: auto;
        flex-direction: column;
        justify-content: space-between;

        figure{
            width: 100%;
            height: 40%;
        }

        .about-content {
            position: initial;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: auto;
            margin: auto;
            /* padding-top: 1rem; */

            .title {
                position: initial;
                width: 100%;
                height: auto;
                margin: auto;
                text-align: center;
                
                h2 {
                    font-size: 2.3rem;
                    font-weight: 500;
                }
                button {
                    display: none;
                }
            }
            
            #description-aboutMe {
                position: initial;
                width: 100%;
                height: 80%;
                padding: 1rem;
                opacity: 1;
                
                .paragrahp {
                    opacity: 1;
                    font-size: 0.9rem;
                    transform: translateX(0);
                }
                .paragrahp:nth-child(3) {
                    display: none;
                }
            }
        }
    }
}