/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* variables */
:root {
    --clr-primary-blue: #051B2C;
    --clr-primary-blue-600: #051828;
    --clr-accent-blue: #49A7D9;
    --ff-raleway: 'Raleway', sans-serif;
    --ff-open-sans: 'Open Sans', sans-serif;
    --transition: all 0.3s linear;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-open-sans);
    background-color: var(--clr-primary-blue);
    color: #FFFFFF;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

main {
    flex: 1;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

.btn {
    background-color: var(--clr-accent-blue);
    padding: 1rem 1.5rem;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.25rem;
    border-radius: 0.3125rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    border: 1px solid var(--clr-accent-blue);
}

.logo {
    width: 3rem;
    z-index: 1001;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
    padding: 2rem 1rem;
}

.menu-toggle {
    font-size: 2rem;
    display: block;
}

.nav-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    background-color: var(--clr-primary-blue);
    z-index: 1000;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-right.active {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.nav-links a {
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.nav-links a:hover {
    color: var(--clr-accent-blue);
    transition: all 0.3s ease;
}

.close-btn {
    position: absolute;
    font-size: 2rem;
    top: 0;
    right: 0;
    display: block;
    padding: 2rem 1rem;
}

.social-links {
    font-size: 2.5rem;
    display: block;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #FFFFFF;
}

.social-links a:hover {
    color: var(--clr-accent-blue);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-right {
        position: relative;
        flex-direction: row;
        height: auto;
        background: none;
        transform: none;
        justify-content: end;
        gap: 1.5rem;
        align-items: center;
    }

    .close-btn {
        display: none;
    }

    .nav-links {
        flex-direction: row;
        margin-bottom: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        font-size: 1.25rem;
    }

    .navbar {
        width: 100%;
        padding: 2rem 5%;
    }
}

.hero {
    padding: 5.5rem 1rem;
}

.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.5rem;
}

.hero h1 {
    color: var(--clr-accent-blue);
    font-weight: 800;
    font-size: 4.2rem;
    margin-bottom: 0.5rem;
}

.hero .intro {
    margin-bottom: 0.5rem;
}

.hero .intro-description {
    margin-bottom: 1.5rem;
    max-width: 27rem;
}

.cta-btn {
    font-family: var(--ff-raleway);
}

@media (min-width: 768px) {
    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 6rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .hero .intro-description {
        max-width: 40rem;
        line-height: 2rem;
    }

    .cta-btn {
        font-size: 1.5rem;
    }
}

.portfolio {
    padding: 5.5rem 1rem 7.5rem 1rem;
}

.portfolio-project-card img {
    /* height: 269px; */
    object-fit: cover;
    border-radius: 1rem;
}

a:not(:last-child) .portfolio-project-card {
    margin-bottom: 2rem;
}

.project-link {
    color: #FFFFFF;
}

.card-project-title {
    font-size: 1.5rem;
    text-transform: capitalize;
    margin-top: 1.5rem;
    font-family: var(--ff-raleway);
}

.project-card-tags {
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-size: 1rem;
}


.project-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* semi-transparent black */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 1rem;
}

/* Show overlay on hover */
.project-image-wrapper:hover .project-overlay {
    opacity: 1;
}

.project-overlay span {
    font-family: var(--ff-raleway);
    font-weight: 600;
}

@media (min-width: 744px) {

    /* .portfolio-project-card img {
        height: 511px;
    } */

    .portfolio {
        padding-left: 5%;
        padding-right: 5%;
    }

    .card-project-title {
        font-size: 1.5rem;
    }

    .project-card-tags {
        font-size: 1rem;
    }
}

@media (min-width: 1025px) {
    .portfolio-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 48px;
    }

    /* .portfolio-project-card img {
        height: 479px;
    } */

    .card-project-title {
        font-size: 2rem;
    }

    .portfolio-project-card {
        margin-bottom: 0;
    }
}

.footer {
    background-color: var(--clr-primary-blue-600);
    padding: 3rem 1rem 1rem 1rem;
    margin-top: auto;
}

.footer-logo {
    width: 3rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.footer-social-links a {
    color: #FFFFFF;
}

.footer-links a:hover, .footer-social-links a:hover {
    color: var(--clr-accent-blue);
    transition: all 0.3s ease;
}

.seperator {
    margin-bottom: 1rem;
}

.copyright {
    text-transform: capitalize;
}

@media (min-width: 1025px) {
    .footer .first-row {
        display: flex;
        justify-content: space-between;
    }

    .footer-links {
        flex-direction: row;
    }

    .footer-social-links {
        justify-content: right;
        margin-top: 0;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .footer {
        padding-left: 5%;
        padding-right: 5%;
    }
}

.project-info {
    padding: 5.5rem 1rem 3rem 1rem;
}

.project-title {
    text-transform: capitalize;
    font-family: var(--ff-raleway);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-tags {
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.project-description {
    line-height: 1.5rem;
}

.project-content {
    padding: 0 1rem 7.5rem 1rem;
}

.project-image-container {
    margin-bottom: 1rem;
}

.sketch-image-container {
    margin-bottom: 1rem;
}

.sketches-container {
    display: flex;
    flex-direction: column;
}

.nerr-brand-vision-book-image-container {
    margin-bottom: 1rem;
}

.nerr-brand-vision-book-container {
    display: flex;
    flex-direction: column;
}

.ig-story-video-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.video-wrapper video {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-dimension-t-shirt-container {
    display: flex;
    flex-direction: column;
}

.new-dimension-shirt-image-container {
    margin-bottom: 1rem;
}

.project-video-container:not(:last-child) {
    margin-bottom: 1rem;
}

.project-video-container video {
    width: 100%;
}

@media (min-width: 1025px) {
    .project-info {
        display: flex;
        padding-left: 5%;
        padding-right: 5%;
        gap: 1.25rem;
    }

    .project-info>div {
        flex: 1;
    }

    .project-title {
        font-size: 2.5rem;
    }

    .project-content {
        padding-left: 5%;
        padding-right: 5%;
    }

    .ig-story-video-container {
        flex-direction: row;
    }

    .video-wrapper {
        flex: 1;
        padding-top: 0;
        aspect-ratio: 9 / 16;
    }
}

@media (min-width: 744px) {
    .project-image-container {
        margin-bottom: 1.5rem;
    }

    .ig-story-video-container {
        gap: 1.5rem;
    }
}

.sports-graphics-image-container {
    margin-bottom: 1rem;
}

@media (min-width: 1025px) {
    .project-image-container {
        margin-bottom: 2rem;
    }

    .ig-story-video-container {
        gap: 2rem;
    }

    .sketches-container {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .sketch-image-container {
        flex: 1;
    }

    .nerr-brand-vision-book-container {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .grid {
        display: grid;
        gap: 2rem;
    }

    .two-col {
        grid-template-columns: repeat(2, 1fr);
    }

    .three-col {
        grid-template-columns: repeat(3, 1fr);
    }

    .sports-graphics-image-container {
        margin-bottom: 0;
    }

    .three-col {
        margin-top: 2rem;
    }

    .new-dimension-t-shirt-container {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .new-dimension-shirt-image-container {
        margin-bottom: 0;
    }
}

.about {
    padding: 5.5rem 1rem 7.5rem 1rem;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    line-height: 1.5rem;
}

@media (min-width: 1025px) {
    .about-content {
        max-width: 50rem;
    }

    .about {
        padding-left: 5%;
        padding-right: 5%;
    }

    .about-title {
        font-size: 3rem;
    }
}