* {
    box-sizing: border-box;
    /*transition: all .2s ease;*/
}

a, button {
    color: #FFF;
    display: inline-block;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

strong {
    color: var(--pink);
}

body {
    min-width: 375px;
    background: var(--background-black);
    font-family: 'SpaceGrotesk';
    font-weight: 500;
    font-size: 20px;
    position: relative;
    line-height: 32px;
    color: var(--white-o);
    overflow-x: hidden;
}

h1, h2 {
    font-family: 'SpaceMono';
    font-weight: 700;
    color: #FFF;
}

h1 {
    font-size: 48px;
    line-height: 70px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h2 {
    font-size: 40px;
    line-height: 60px;
}

.block-border {
    border-radius: 40px;
    position: relative;
    padding: 40px 46px;
    background: var(--background-black);
    background-clip: padding-box;
    max-width: 772px;
    margin: 0 auto 132px;
    text-align: center;
    width: 100%;
    color: #FFF;
    border: solid 3px transparent;
}

.block-border strong {
    color: var(--pink-dark);
}

.block-border::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -3px;
    width: calc(100% + 6px);
    height: calc(100% + 6px);
    border-radius: inherit;
    background: linear-gradient(-30deg, var(--pink-dark), rgba(0, 0, 0, 0) 70%);
}

blockquote {
    font-size: 32px;
    line-height: 40px;
}

.block-learn-more strong {
    color: var(--green);
}

.block-learn-more a {
    position: relative;
    line-height: 20px;
}
.block-learn-more a::after {
    display: block;
    width: 100%;
    content: '';
    border-bottom: 1px solid #FFF;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all .3s ease-out;
    transform-origin: right;
}
.block-learn-more a:hover::after {
    transform: scaleX(0);
}
.block {
    border-radius: 20px;
    background: rgba(69, 77, 84, 0.2);
    padding: 32px;
}

.btn {
    display: inline-block;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    font-family: 'SpaceGrotesk';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    border-radius: 8px;
    padding: 4px 12px;
    text-align: center;
}

.btn-icon {
    display: flex;
    align-items: center;
}

.btn-icon img {
    margin-right: 8px;
}

.btn:hover {
    border-color: #FFF;
}

.btn-purple {
    background-color: var(--pink);
    border-color: var(--pink);
}

.btn.btn-purple:hover {
    background-color: var(--pink-dark);
    border-color: var(--pink-dark);
}

header, footer {
    max-width: 1436px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.container {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}


@media screen and (max-width: 768px) {
    blockquote {
        font-size: 20px;
        line-height: 32px;
    }
    .block-border {
        border-radius: 30px;
        padding: 30px;
        margin-bottom: 60px;
    }
    .block {
        border-radius: 16px;
        background: rgba(69, 77, 84, 0.2);
        padding: 24px;
    }
    header, footer {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }
    body {
        font-size: 16px;
        line-height: 28px;
    }
    .btn {
        font-size: 14px;
        line-height: 24px;
    }
    h1 {
        font-size: 32px;
        line-height: 50px;
    }

    h2 {
        font-size: 24px;
        line-height: 32px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 20px;
    }

    header, footer, .container {
        padding: 0 20px;
    }

    .btn {
        padding: 4px 12px;
        font-size: 14px;
        line-height: 20px;
    }

}

