

html {
    box-sizing: border-box;
    font-size: 16px;

    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "GRAD" 0,
    "ROND" 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
}

body {
    min-height: 100dvh;
    display: grid;
    justify-content: center;
    align-content: center;
    background: rgb(63,94,251);
    background: linear-gradient(0deg, rgba(63,94,251,1) 0%, rgba(60,13,189,1) 100%);
    background: url(background.svg);
    background-size: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Newake';
}

ol,
ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin: 0 1em;
    max-width: 50em;
}

.block {
    max-width: 515px;
    padding: 1em;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 1em;

    section {
        grid-area: 1 / 1 / 2 / 3;
        position: relative;
        display: grid;
        justify-content: center;
        align-content: center;
    }

    a.link {
      transition: all 150ms ease;
        &:nth-of-type(1) {
            grid-area: 2 / 1 / 3 / 2;
        }

        &:nth-of-type(2) {
            grid-area: 2 / 2 / 3 / 3;
        }
        img {
            width: 100%
        }
        &:hover {
          transform: translate(0, -5px);
        }
    }
    a.textlink {
        text-align: center;
        color: white;
        font-family: "Google Sans Flex", sans-serif;
        padding: .25em 1em;
        background: #910097;
        border-radius: 100dvw;
        text-decoration: none;
        transition: all 250ms ease;
        &:hover {
            filter: hue-rotate(25deg);
        }
    }
}