* {
    font-family: "Big Shoulders Display", cursive;
    font-family: "Lexend Deca", sans-serif;
    --bright-orange: hsl(31, 77%, 52%);
    --dark-cyan: hsl(184, 100%, 22%);
    --very-dark-cyan: hsl(179, 100%, 13%);
    --transparent-white: hsla(0, 0%, 100%, 0.75);
    --very-light-gray: hsl(0, 0%, 95%);
}

body {
    background-color: var(--transparent-white);
    padding: 0;
    margin: 0;
    height: calc(100vh - 2rem);
}

main {
    max-width: 22rem;
    

    margin: 1rem;
    margin-top: 4rem;

    border-radius: 0.5rem;
    overflow: hidden;
    box-sizing: border-box;

}

section h1,
section p {
    color: var(--very-light-gray);
}

section:nth-child(1) {
    background-color: var(--bright-orange);
}
section:nth-child(2) {
    background-color: var(--dark-cyan);
}
section:nth-child(3) {
    background-color: var(--very-dark-cyan);
}

section {
    padding: 2.5rem;
}

section h1 {
    font-size: 2rem;
    text-transform: uppercase;
    font-family: "Big Shoulders Display", cursive;
}

section p {
    font-size: 1rem;
    color: var(--transparent-white);
    line-height: 1.5rem;
}

section button {
    padding: 1rem 2rem;
    margin-top: 0.5rem;
    border: 0;
    border-radius: 2rem;
    border: 1px solid transparent;

}

section:nth-child(1) button {
    color: var(--bright-orange);
}

section:nth-child(2) button {
    color: var(--dark-cyan);
}

section:nth-child(3) button {
    color: var(--very-dark-cyan);
}

section button:hover {
    cursor: pointer;
    background: transparent;
    color: white;
    border: 1px solid white;
}

@media screen and (min-width: 24rem) {
    main {
        margin: auto;
        margin-top: 4rem;

    }
    
}

@media screen and (min-width: 48rem) {
    main {
        display: flex;
        max-width: fit-content;
    margin: unset; 
   
    }
    
    section {
        max-width: 14rem;
    }
    section p {
        line-height: 1.7rem;
    }

    section button {
        margin-top: 6rem;
    }
    body {
        padding: 1rem;
        align-items: center;
        display: flex;
        justify-content: center;
    }
}
