*,
::before
::after {
    box-sizing:
    border-box;
}

body {
    margin: 0;
  font-family: "Quicksand", serif;
}

img {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3 {
    margin: 0;
}

.header {
    width: 100%;
    padding: 15px 0;

    text-align: center;
    font-size: 24px;
    font-weight: 300;
    color: gray;
}

.header__logo {
    color: inherit;
    text-decoration: none ;
}

.hero { 
    min-height: 100vh;
    display: flex;
    justify-content:center;
    align-items: center;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.hero__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));

    grid-gap: 20px;
}

.hero__about {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 32px;
    font-weight: 400;
}

.hero__links {
    display: flex;
}

.hero__link {
    margin-right: 10px;
    font-size: 30px;
    color: black;
    transition: color 0.3s;
}

.hero__link:hover {
color: aqua;
}

.hero__box {
    max-width: 300px;
    justify-self: center;
    overflow: hidden;
    background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);

    border: 10px solid white ;
    box-shadow: 2px 5px 10px 
    rgba(0, 0, 0, 0.5);

    animation: ava-animate 10s infinite alternate;
}

@keyframes ava-animate {
    0% {
        border-radius: 14% 86% 22% 78% / 79% 22% 78% 21%  ;
}
    20% {
        border-radius: 31% 69% 39% 61% / 64% 35% 65% 36%  ;
    }
    40% {
        border-radius: 50% 50% 55% 45% / 46% 51% 49% 54%  ;
    }
    60% {
        border-radius: 66% 34% 72% 28% / 34% 58% 42% 66%  ;
    }
    80% {
        border-radius: 75% 25% 79% 21% / 52% 78% 22% 48%  ;
    }
    100% {
        border-radius: 60% 40% 55% 45% / 42% 68% 32% 58% ;
    }
}

.hero__box-img {
    animation: ava-bg 3s infinite alternate;
}

@keyframes ava-bg {
    from {
        backgrop-filter: hue-rotate(0);
        backdrop-filter: hue-rotate(90deg);
    }
}

@media screen and (max-width: 978px) {
    .hero {
        padding-top: 30px; 
    }
    .hero__container {
        grid-row-gap: 20px;
    }
    .hero__title {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .hero__subtitle {
        font-size: 22px;
        font-weight: 400;
    }
    .hero__description {
        font-size: 17px;
    }
    .hero__about {
        text-align: center;
    }
    .hero__links {
        justify-content: center;
    }
    .hero__box {
        max-width: 300px;
    }

}

