@import url('https://fonts.googleapis.com/css2?family=Slackey&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    /*colors*/

    --surface-primary: #f8f8f7;
    --surface-button: #e7f5cb;
    --surface-button-hover: #ced2ff;

    --body-font-color: #000;
    --header-font-color: #7945b0;

    /*typography*/
    --logotypeFont: 'Slackey', sans-serif;
    --headerFont: 'Slackey', sans-serif;
    --bodyFont: 'Work Sans', sans-serif;
}

body{
    display: flex;
    flex-direction: column;
    background: var(--surface-primary);
    font-family: var(--bodyFont);
    gap: 1em;
}

h1{
    font-family: var(--headerFont);
    color: var(--header-font-color);
}

nav{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.logotype{
    font-size: 2rem;
    font-family: var(--logotypeFont);
    align-self: center;
}

.productSection{
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.button{
    background: var(--surface-button);
    font: 1.2em var(--headerFont);
    display: inline;
    padding: 1rem;
    border-radius: 15px;
    text-decoration: none;
}

.button:hover{
    background: var(--surface-button-hover);
}

.button a{
    color: var(--body-font-color);
}

.sectionImage{
    max-width: 400px;
    border-radius: 10px;
}