@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;600;700&display=swap');

body{
    font-family: 'Work Sans', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(background-pattern-desktop.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color:var(--light-pink);
}

:root{
    --white: hsl(0, 0%, 100%);
    --light-pink: hsl(275, 100%, 97%);
    --grayish-purple:hsl(292, 16%, 49%);
    --dark-purple:hsl(292, 42%, 14%);
}

.container{
    background-color: var(--white);
    border-radius: 1em;
    padding: 2em;
}

h1{
    font-size: 60px;
    color: var(--dark-purple);
}

.accordion{
    font-weight: 700;
    color: var(--dark-purple);
    border: none;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1em;
    font-size: medium;
}

.math{
    margin-left: auto;
    padding-left: 1em;
}

hr{
  width: 100%; 
  height: 1px;
  background-color: var(--light-pink);
  border-width: 0;
}

.header{
    display: flex;
    column-gap: 1em;
}

p{
    color: var(--grayish-purple);
    font-weight: 400;
}

.panel {
    background-color: white;
    display: none;
    overflow: hidden;
    padding-left: 1em;
    width: 27.625em;
}

.active, .accordion:hover {
    background-color: var(--white); 
  }

@media (max-width:768px) {
    body{
        background-image: url(background-pattern-mobile.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-color:var(--light-pink);
    }

    .container{
        width: 50%;
    }
}