:root {
    --max-width: 1200px;
    --font-primary: 'Roboto Mono', monospace;
    /*--font-primary: 'Arial';*/
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    font-size: 14px;
}
h1, h2 {
    font-size: 22px;
}

nav img[alt="ProblemMaster Logo"] {
    height: 80px;
    /*margin-left: -20px;*/
}

nav {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: #ffffff;
}

nav a {
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;

}

a:visited {
    color: #000000;
}

a {
  color: black;
}

.nav-links-container {
    display: flex;
    margin-right: 12px;
}

.nav-link-container {
    text-decoration: none;
    margin-left: 92px;
}
.signin-container img {
    height: 20px;
    width: auto;
    margin-bottom: -4px;
    margin-right: -12px;
}
.signin-container a {
    position: relative;
    top: -0.5px;
}

.signin-text {
    display: inline-block;
    min-width: 63px;
    max-width: 120px;
}


nav a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

section {
    width: 48%;
}



button:hover {
    background-color: #0056b3;
}
img[alt="problem image"] {
    display: block;
    margin-bottom: 20px;
    width: 70%;
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    padding: 4px 8px;
    background-color: transparent;
    color: black;
    border: 2px solid black;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
}

button:hover {
    background-color: black;
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
}

.featured-promotion {
    position: relative;
    top: 20px;
}
.highlight {
    font-weight: 600;
}
.red {
    color: red;
}

@media (max-width: 900px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-links-container {
        width: 100%;
        justify-content: center;
        flex-direction: row;
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-link-container {
        margin: 0.5rem;
    }

    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 2rem;
    }

    section {
        width: 100%;
        max-width: 600px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 1rem auto;
    }
    
}
