/*
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;
    --blue-color: #0071eb;
}


.home .section-header {
    font-weight: 300;
    color: var(--secondary-text-color);
}

/* Hero Section - Tristan Cox intro */
.hero {
    text-align: center;
}

.hero .my-name-container {
    /* display: inline-block; */
}

.hero .my-name {
    font-size: 5rem;
    margin: 0;
    /* border-right: 5px solid;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 2s, cursor 0.9s step-end infinite; */
}

.hero .my-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--secondary-text-color);
}

.hero .my-intro-text {
    font-size: 1.5rem;
    margin-top: 4.5rem;
}


/* Featured Projects Section */
.featured-work {
    margin-top: 8rem;
}

.featured-work .project-thumbnails {
    display: grid;
    /* As many columns that fit (auto-fit), with each column being at least 200px wide, and stretch to fill the rest of the row if there's extra space." */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: calc(3000px);
    gap: 1.5rem;
    margin: 0px auto;
}

.featured-work .project-thumbnails img {
    transition: 0.5s;
    border-radius: .5rem;
    width: 100%;
}

.featured-work .project-thumbnails img:hover {
    transform: scale(1.05);
}

.explore-link {
    font-size: 1rem;
}

.explore-link::after {
    content: " ";
    display: inline-block;
    height: .75rem;
    width: .75rem;
    background-image: url("../img/arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: .25rem;
}

/* About Me Section */
.about .about-content {
    display: flex;
    align-items: start;
    grid-gap: 2rem;
    max-width: 100%;
}

.about .about-message {
    flex: 2;
    font-size: 1.5rem;
    display: flex;
    grid-gap: 1rem;
    flex-direction: column;
    justify-content: center;
}

.about .self-portrait {
    flex: 1;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Resource links in the About section */
.resource-links {
    display: flex;
    align-items: flex-start;
    column-gap: 2rem;
    margin-top: 4rem;
}

.resource-links img {
    width: 3rem;
    border-radius: .75rem;
}

.resource-links img {
    transition: 0.5s;
}

.resource-links img:hover {
    transform: scale(1.1);
}


/* Contact Me Section */
.contact .contant-email {
    margin-top: 1rem;
}

.contact p {
    font-size: 1.5rem;
}

.contact .thank-you-message {
    margin-top: 6rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* Animattion used for the simulated typing of my name in the hearo section */
@keyframes cursor {
    50% {
        border-color: transparent;
    }
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}


/*******************************************************************************************************/
/*     Media Queries from here on down                                                                 */
/*******************************************************************************************************/


/* === Tablet Size Styles (<= 1023px) === */
@media (max-width: 1023px) {

    .hero {
        margin-top: 4rem;
    }


    .hero .my-name {
        font-size: 4rem;
    }


    .hero .my-intro-text {
        margin-top: 4rem;
    }

}

/* === Mobile Size Styles (<= 767px) === */
@media (max-width: 767px) {

    /* About Me Section */
    .about .about-content {
        flex-direction: column;
    }
}