header,
footer {
    background-color: #F13E93;
}

h1,
h2,
h3 {
    font-family: "Roboto", sans-serif;
}

p {
    font-family: "Inter", sans-serif;
}

.container {
    width: 1124px;
    margin: 0 auto;
    box-sizing: border-box;
}

section {
    padding: 2rem;
    background-color: #fff0f5;
    border-radius: 2rem;
    margin-bottom: 2rem;
}

header {
    text-align: center;
    color: #FAFFCB;
    padding: 2rem;

    h1 {
        font-size: 5rem
    }
}


/* ~~~~~~~~~~~~~~~ABOUT ME~~~~~~~~~~~~~~~` */
.about-me {
    margin-top: 2rem;

    h2 {
        font-size: 4.5rem;
        color: #ff6f91;
        margin-bottom: 3rem;
        text-align: center;
    }
}

.introduction {
    display: flex;
    flex-direction: column;
    gap: 2rem;

    img {
        width: 100%;
        max-width: 400px;
        height: auto;
        display: block;
        border-radius: 50%;
        align-self: center;
    }

    p {
        background-color: #FFDBE1;
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
        padding: 2rem;
        color: #555;
        font-size: 1.2rem;
        line-height: 1.6;
        letter-spacing: 2;
    }

}

/* ~~~~~~~~~~~FOOTER~~~~~~~~~~~~~~~ */
footer {

    padding: 2rem 0;
    text-align: center;

    h2 {
        background-color: #FAFFCB;
        color: #F13E93;
        padding: 1rem;
        font-size: 2rem;
        margin-top: 2rem;
    }
}

.contact {
    background-color: #FAFFCB;
    padding: 2rem;
    width: 600px;
    margin: 0 auto;
    border-radius: 2rem;

    h3 {
        color: #F13E93;
        font-size: 2rem;
    }

    .contact-items {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        margin-top: 1.5rem;

        div {
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: #F13E93;
            border-radius: 2rem;
            width: 33.33%;
            color: white;
            padding: 1rem;
        }

        svg {
            width: 1.5rem;
        }
    }
}



/* ~~~~~~~~~~~~~~~~~~~~ANIMATIONS~~~~~~~~~~~~~~~~~~ */

/* Header heading */
@keyframes fadeBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    animation: fadeBounce 2s ease-out forwards;
}

/* Heading */
@keyframes fadeBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-me h2 {
    animation: fadeBounce 2s ease-out forwards;
}


/* Image */
@keyframes imgPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.introduction img {
    animation: imgPop 1s ease-out forwards;
}

/* Paragraph */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(241, 62, 147, 0);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    }
}

.about-me p {
    animation: glow 3s ease-in-out infinite;
}

/* Footer */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.contact-items div {
    display: inline-block;
    animation: bounce 1.5s ease-in-out infinite;
}