:root {
    --principal-green: #038A03;
    --principal-light-gray: lightgray;
    --hard-color: #E30808;
    --medium-color: #003b94;
    --easy-color: #078307;
    --solved-color: #10ab01;
    --solved-background: #e5ffe7;
    --pending-color: #707070;
    --pending-background: #f9f9f9;
    --attempted-color: #00aaff;
    --attempted-background: #f2f9ff;
    --tag-icon-background: #757575;
}

html {
    scroll-behavior: smooth;
}

body {
    background: white;
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-family: Arial;
    line-height: 1.5;
}

h1, h2, h3 {
    font-weight: normal;
    font-size: unset;
}

button,
button:hover,
button:active,
button:focus,
a,
a:hover,
a:active,
a:focus {
    cursor: pointer;
    border: 0;
    background: transparent;
    font-size: inherit;
    text-decoration: none;
    color: inherit;
}

input {
    outline: 0;
    border: 0;
    font-size: 1rem;
}

#headerLogo {
    width: 50px;
}

#header {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    border-bottom: solid 1px var(--principal-light-gray);
    padding: 10px 20px;
    line-height: 1;
    position: sticky;
    top: 0;
    background: white;
}

#headerLinksWrapperLoggedIn,
#headerLinksWrapperLoggedOut {
    display: grid;
    grid-template-columns: auto auto auto;
    align-content: center;
    align-items: center;
    column-gap: 20px;
    padding: 0;
    margin: 0;
    font-family: inherit;
}

.headerLink {
    border: none;
    padding: 10px 5px;
    background: none;
    border-bottom: solid 2px transparent;
}

.activeHeaderLink,
.activeHeaderLink:active,
.activeHeaderLink:focus,
.activeHeaderLink:hover,
.headerLink:hover,
.headerLink:focus,
.headerLink:active {
    color: var(--principal-green);
    border-bottom: solid 2px var(--principal-green);
}

#signupLink {
    padding: 10px 20px;
    border-radius: 100px;
    background: var(--principal-green);
    color: white;
    font-weight: bold;
    border: none;
}

#footerCushion {
    height: 200px;
}

#footer {
    width: 100vw;
    display: grid;
    justify-content: center;
    justify-items: center;
    padding: 20px 0;
    row-gap: 20px;
    background: white;
    border-top: solid 1px var(--principal-light-gray);
    text-align: center;
}

.stickyFooter {
    position: fixed;
    bottom: 0;
}

#footer p {
    padding: 0;
    margin: 0 20px;
}

#privacyTerms {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 20px;
}

#privacyTerms a:hover {
    color: #3333FF;
}


.inlineLink {
    margin: 0;
    padding: 0;
    color: #3333FF;
}

.globalMessage {
    width: 100vw;
    background: blue;
    color: white;
    display: grid;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.globalMessage p {
    margin: 10px 20px;
    width: 600px;
    max-width: calc(100vw - 40px);
    font-weight: bold;
}

.globalErrorMessage {
    background: red;
}

.globalInfoMessage {
    background: blue;
}

.globalSuccessMessage {
    background: var(--principal-green);
}

@media screen and (max-width: 450px) {
    #headerLinksWrapperLoggedOut {
        column-gap: 10px;
    }

    #headerLinksWrapperLoggedOut .headerLink {
        font-size: 0.9rem;
    }

    #header {
        padding: 10px 10px;
    }
}

@media screen and (max-width: 370px) {
    #signupLink {
        display: none;
    }
}

@media screen and (max-width: 380px) {
    #headerLinksWrapperLoggedOut .headerLink {
        font-size: 0.9rem;
    }
}