@font-face {
    font-family: 'WorkSans';
    src: url("assets/fonts/WorkSans-Italic-VariableFont_wght.ttf") format(truetype);
}

@font-face {
    font-family: 'WorkSans';
    src: url("assets/fonts/WorkSans-VariableFont_wght.ttf") format(truetype);
}

:root {
    --White: hsl(0, 100%, 100%);
    --Purple-100: hsl(275, 100%, 97%);
    --Purple-600: hsl(292, 16%, 49%);
    --Purple-950: hsl(292, 42%, 14%);
    --font-size: 16px;
    --font-worksans: 'WorkSans', sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-worksans);
    font-size: var(--font-size);
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em;
    background-color: var(--Purple-100);
}

.desk {
    display: none;
}

.mob {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    max-height: 50%;
}

main {
    background-color: var(--White);
    border-radius: 1em;
    padding: 2em;
    width: 100%;
    max-width: 670px;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {color: var(--Purple-950); }
p {
    color: var(--Purple-600);
    display: none;
    margin: 1em 0;
}

h1 {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 2em;
}

button {
    text-align: start;
    width: 100%;
    margin: 1em 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

button:hover {
    h3 {
        color: #AC28E9;
    }
}

hr {color: var(--Purple-600); border-bottom: none}

@media screen and (min-width: 560px) {
    body {
        height: 100vh;
    }

    .desk {
        display: block;
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

    .mob {
        display: none;
    }
}