/*
    Dear source code viewer,
    
    I don't know who you are (unless I do, in which case
    message me on snapchat or smth :D), but let me tell
    you: CSS IS HELL.

    If you don't know anything about programming websites,
    CSS is basically what gives a website life. Without it,
    it would be a boring, plain document with Times New Roman
    font and no way to customize it. So, is it useful and
    very important to web development? Yes, 100%

    Is it a pain in the ASS to program? YES, 100%.

    The amount of times I've had to google "how to center a
    div" is insane. A DIV basically holds things together, and
    HTML (the base of the website) used to have a <center>
    element, which centered it for you so you didn't have to
    deal with this hell of a langauge. But, whoopdeedoo, they
    deprecated it. Why? I DON'T KNOW. I HAVE THE SAME EXACT
    QUESTION.

    Anyway, there's my crash-out for the day. Enjoy the website.

    - John Fiore, Sep. 06, 2025
*/

@font-face {
    font-family: kg;
    src: url('../font/KGPerfectPenmanship.ttf');
}

body {
    font-family: Arial, Helvetica, sans-serif;
    /* This might be changed out soon, idk. */
    background-color: #0099ff;
    /* This will MOST CERTAINLY be changed out.*/
    color: black
}

.spacer {
    height: 50px;
}

.small-spacer {
    height: 25px;
}

#site-container {
    display: flex;
    flex-direction: column;
    /* stack items vertically */
    align-items: center;
}

#main-header img {
    text-align: center;
    width: 425.625px;
    height: 104px;
}

#main-header h2 {
    font-size: 20px;
    text-align: center;
}

#nav-menu {
    border-bottom: 2px solid black;
    background-color: white;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    width: 600px;
    height: 40px;
    font-size: 20px;

    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;

    gap: 30px;
}

.nav-link {
    color: black;
    text-decoration: none;
    margin-top: 5px;
}

.nav-link:hover {
    color: green;
}

.nav-link:active {
    color: red;
}

.content {
    background-color: white;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    width: 600px;
    height: 100%;

    box-shadow: 5px 5px 50px #292929;
}

#article-contact {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#article-contact h1
{
    font-size: 20px;
}

#article-contact p
{
    font-size: 15px;
    max-width: 90%;
    margin-top: -5px;
}

#article-contact a
{
    text-decoration: none;
    color: black;
}

#article-contact a:hover
{
    text-decoration: underline;
}

#article-calculator {
    text-align: center;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#totalPts,
#earnedPts {
    width: 80px;
    height: 80px;

    font-size: 50px;
    text-align: center;
}

#calc-btn {
    width: 195px;
    height: 35px;

    font-size: 18px;

    border: 1px solid black;
    border-radius: 10px;
}

#calc-btn:hover {
    background-color: black;
    color: white;
}

.input-container {
    display: flex;
    gap: 20px;
    /* Space between the two input groups */
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.actual-grade-section {
    line-height: 0;
}

#letter-grade-text {
    font-size: 60px;
}

#percent-grade-text {
    font-size: 18px;
}

#article-about {
    display: grid;
}

#article-about h1 {
    text-align: center;
}

.grid-cont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    max-width: 600px;
    margin: 20px auto;
}

.john-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.john-photo img {
    max-width: 100%;
    height: auto;
}

.john-info {
    padding: 20px;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.john-info p {
    color: #666;
    margin-bottom: 1em;
}

.about-me-section {
    grid-column: 1 / 3;
    padding: 20px;
    line-height: 1.6;
}

.about-me-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.about-me-section p {
    color: #666;
    margin-bottom: 1em;
}

#site-footer {
    text-align: center;
    line-height: 0.3;
    font-family: monospace;
}