.about {
    width: 95%;
    max-width: 900px;

    display: flex;
    flex-direction: column;
    gap: 64px;

    margin: 48px auto;
}

.about-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 48px;

    width: 100%;
    height: fit-content;
}

.about-block-avatar {
    display: flex;

    width: 128px;
    height: 128px;
    margin: auto 0;

    background-color: var(--background-color);
}

.about-block-avatar img {
    width: 100%;
    height: auto;
    margin: auto 0;

    animation: levi 20s infinite;
    animation-timing-function: ease-in-out;
}

.about-block-text {
    width: fit-content;
    min-width: 500px;
    margin: auto 0;
    font-family: "Rubik";
    font-size: 16px;
    font-weight: 400;
}

.about-block-text-title {
    width: fit-content;
    word-wrap: normal;
    margin: 0 auto 0 0;
    font-family: "Tektur";
    font-size: 22px;
    font-weight: 500;
}

ol, ul {
    margin: 4px 0;
}


@keyframes levi {
  0%, 100% {
    transform: translateY(0) rotate(-4deg);
  }
  25% {
    transform: translateY(-20px) rotate(4deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-10px) rotate(8deg);
  }
}


@media (max-width: 730px) {
    .about-block {
        flex-direction: column;
        justify-content: space-around;
        gap: 36px;
    }

    .about-block-avatar {
        margin: 0 auto;
    }

    .about {
        gap: 128px;
    }

    .about-block-text {
      min-width: unset;
        max-width: 100%;
        width: 100%;
        font-size: 14px;
        font-weight: 300;
    }
}

.about-hi {
    width: fit-content;
    height: fit-content;

    margin: 20rem auto 0 auto;
}

.about-hi img {
    width: 100%;
    height: auto;
    max-width: 200px;
}