/*
Colors used:
Primary Color (Black): #0a0a0a;
Secondary Color (Blue): #2033b0;
Tertiary Color (PocketChange Blue): #0074E8
*/
:root {
    --main-text-color: #0a0a0a;
    --main-bg-color: #fff;
    --secondary-text-color: #757575;
    --light-text-color: #fff;
    --dark-bg-color: #000;
}

* {
    /* Helps control the height/width of all components...helps with predicable sizing */
    box-sizing: border-box;
}

html {
    font-family: "Roboto", sans-serif;

    /* This font-size here controls the responsive behavior of the other fonts & margins in the app via "rem's" */
    /*   Example in other places....  font-size: 1.5rem;   or   margin-top: 4rem;   */
    font-size: 16px;

    font-weight: 400;
    line-height: 1.4;
    scroll-behavior: smooth;
}

body {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    /* font-size: 1.5rem; */
}

main {
    /* background-color: beige; */
    margin: 0 auto;
    max-width: 1280px;
    padding-left: 6rem;
    padding-right: 6rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--main-text-color);
}

a:hover,
a:visited,
a:active,
a:focus {
    color: var(--main-text-color);
}

a.primary-button {
    display: inline-block;
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
    padding: .5rem 1rem;
    border-radius: 48px;
    font-size: 1.1rem;
    font-weight: 400;
}

a.primary-button {
    transition: 0.5s;
}

a.primary-button:hover {
    transform: scale(1.1);
}

a.secondary-button {
    transition: 0.5s;
    display: inline-block;
    background-color: var(--light-text-color);
    color: var(--main-text-color);
    border: 1px solid var(--dark-bg-color);
    padding: .5rem 1rem;
    border-radius: 48px;
    font-weight: 400;
}

a.secondary-button:hover {
    transform: scale(1.1);
}

/* TODO: See if I need this or if my other approaches are good */
img {
    width: 100%;
}

section {
    margin-top: 4rem;
}

.section-header {
    /* TBD */
}

.section-callout {
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
}

.blue-text {
    color: var(--blue-color);
    font-weight: 500;
}

.secondary-text {
    color: var(--secondary-text-color);
}

.image-wrapper {
    flex: 1;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The back link button appearing at the top of project pages */
.back-link {
    margin-top: 48px;
    display: inline-block;
    font-size: 16px;
}

.back-link i {
    margin-right: 8px;
    font-size: 18px;
}

/*******************************************************************************************************/
/*     Header / Navbar                                                                                 */
/*******************************************************************************************************/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-left: 4rem;
    margin-right: 4rem;
}

nav {
    display: flex;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 32px;
    color: var(--main-text-color);
    font-size: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul .text-nav {
    transition: 0.5s;
}

nav ul .text-nav:hover {
    transform: scale(1.2);
}

.lets-connect {
    margin-left: 2rem;
}

.hamburger {
    display: none;
    margin-left: 2rem;
    margin-top: .25rem;
}

.by-tristan-logo {
    font-size: 1.5rem;
    font-weight: 500;
    transition: 0.5s;
}

.by-tristan-logo:hover {
    transform: scale(1.1);
    cursor: pointer;
}

sup {
    font-size: 1rem;
    font-weight: 700;
}

/* App Overview Section - generic for Pocket, Freeze, others?*/
.overview-section .overview-item h4 {
    margin-bottom: .75rem;
}

.overview-section .overview-item:not(:last-of-type) {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--pocket-change-accent-grey);
}

.overview-section img {
    margin-top: 3rem;
}


/*******************************************************************************************************/
/*     Footer                                                                                          */
/*******************************************************************************************************/
footer {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
    padding-bottom: 2rem;
    color: var(--light-text-color) !important;
    font-size: 1rem;
    margin-top: 2rem;
}

footer .footer-section {
    display: flex;
    justify-content: space-between;
    margin-left: 4rem;
    margin-right: 4rem;
    padding-bottom: 2rem;
}

footer .copyright {
    margin-top: 4rem;
    margin-left: 4rem;
}

footer .footer-links {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

footer a {
    color: var(--light-text-color) !important;
}

footer .footer-links a {
    transition: 0.5s;
}

footer .footer-links a:hover {
    transform: scale(1.1);
}

footer a.scroll-to-top-link {
    display: inline-flex;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--main-bg-color);
    margin-top: 2rem;
    font-size: 32px;
}

footer .scroll-to-top-link {
    transition: 0.5s;
}

footer .scroll-to-top-link:hover {
    transform: scale(1.1);
}

/* Project Info Section - the summary shown at the top of each project page */
.project-info-container {
    background-color: lightgrey;
    border-radius: 4px;
    border: 1px solid darkgrey;
    margin-top: 32px;
    /* margin-bottom: 96px; */
    padding: 16px;
    font-size: 18px !important;
}

.project-info-container span {
    display: inline-block;
    margin-bottom: 8px;
}

.project-info-container span.description {
    margin-top: -8px;
}

.project-info-container span:last-of-type {
    color: #6A5ACD;
}

.project-info-container .explore-project .fa {
    margin-right: 8px;
    margin-top: 24px;
}

/*******************************************************************************************************/
/*     Media Queries from here on down                                                                 */
/*******************************************************************************************************/

/*
Desktops: 
    Defaulat styping handle without any media queries

Tablets:
    Any screen <= 1023px 

Mobile (iPhones for example):
    320px → iPhone SE (smallest you'll likely want to support)

    375px → Very common width (iPhone 6/7/8/X/13 Mini)

    390px / 393px → iPhone 12–15

    414px / 430px → Max and Plus models
*/


/* === Tablet Styles (<= 1023px) === */
@media (max-width: 1023px) {

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    main {
        /* background-color: teal; */
        padding-left: 3rem;
        padding-right: 3rem;
    }

    header {
        margin-top: 1.5rem;
        margin-left: 2rem;
        margin-right: 2rem;
    }

    section {
        margin-top: 3rem;
    }

    .section-callout {
        font-size: 2rem;
    }
}

/* === Mobile Styles (<= 767px) === */
@media (max-width: 767px) {

    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.50rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1rem;
    }

    main {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    header {
        margin-top: 1rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    section {
        margin-top: 4rem;
    }

    .section-callout {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
    }

    nav.show ul {
        display: block;
        position: absolute;
        right: 20px;
        top: 48px;
        padding: 8px;
        text-align: right;

        background-color: white;
        border: thin solid #eee;
        margin-top: 1.25rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    nav ul .text-nav:hover {
        transform: none;
    }

    nav.show .hamburger .fa-bars::before {
        content: "\58";
        margin-left: 3px;
    }



}