/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* CSS */
:root {
    --dark: #1d1b1a;
    --light: #e7dad6;
}

html {
    font-size: 125%;
    font-weight: 200;
}

body {
    padding: 0 1rem 1rem 1rem;
    background-color: var(--dark);
    color: var(--light);
    font-family: Helvetica, "Nimbus Sans", Arial, sans-serif;
    position: relative;
}

h1 {
    font-size: 3rem;
    text-wrap: balance;
}

h2 {
    font-size: 2rem;
}

/* h3 {

} */

/* h4 {

} */

a {
    text-decoration: none;
}

.btn {
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    color: var(--light);
}

.btn:hover {
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.2) 0%, rgba(90, 90, 90, 0.2) 100%), #282828;
    transition: 0.5s ease;
}

.btn-outline {
    border: 2px solid var(--light);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.flex {
    display: flex;
    flex-direction: row;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.br-8 {
    border-radius: 0.4rem;
}

.navbar {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    position: sticky;
    top: 0;
    padding: 1rem 0 4rem 0;
    background: linear-gradient(180deg, #1D1B1A 0%, rgba(29, 27, 26, 0) 100%);
    z-index: 3;
}

.nav-links {
    justify-content: space-between;
    font-size: 0.8rem;
}

.nav-links ul {
    align-items: center;
}

.nav-links .cta {
    transform: translateX(-0.1rem);
}

#logo {
    font-size: 1.2rem;
    color: var(--light);
}

.prj-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Column spans */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.hero-info {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    margin-top: 16rem;
    margin-bottom: 2rem;
    gap: 1rem;
}

.hero-info h1 {
    text-transform: uppercase;
}

.hero-info h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: right;
}

.hero-info-r {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-prj {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    /* background-color: blueviolet; */
}

.status-prj-box {
    width: fit-content;
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.2) 0%, rgba(90, 90, 90, 0.2) 100%), #282828;
    font-size: 0.8rem;
    gap: 0.4rem;
    align-items: center;
    transform: translateY(0.125rem);
}

#status-indicator {
    height: 0.6rem;
    width: 0.6rem;
    background: #2AFF8D;
    box-shadow: inset 2.25px 9.75px 3px rgba(1, 11, 84, 0.33), inset 0px 3px 3px rgba(122, 138, 255, 0.33);
    border-radius: 99rem;
}

.prj {
    background: linear-gradient(180deg, rgba(40, 40, 40, 0.2) 0%, rgba(90, 90, 90, 0.2) 100%), #282828;
    height: 552px;
    border-radius: 0.4rem;
    overflow: hidden;
    position: relative;
}

.prj img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prj video {
    height: 100%;
    width: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prj img:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.prj .no-animation:hover {
    transform: none;
    transition: none;
}

.prj-info {
    justify-content: space-between;
    padding-top: 1rem;
    position: absolute;
    left: 1rem;
    right: 1rem;
    z-index: 2;
}

.prj-info p {
    color: var(--dark);
}

.bottom-info {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.client-info {
    margin-bottom: 16rem;
}

.client-info a:hover {
    text-decoration: underline;
}

.client-info h4 {
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.client-info p {
    line-height: 1.5rem;
}

.contact-info p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.contact-info a {
    color: var(--light);
}


footer {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    font-size: 0.8rem;
    gap: 1rem;
}

/* PROJECT PAGE */

.prj-title h1 {
    text-transform: none;
    text-wrap: balance;
}

.prj-data {
    justify-content: space-between;
}

.prj-data-item {
    text-transform: uppercase;
}

.prj-about {
    margin: 4rem 0;
}

.prj-about h2  {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.prj-about p {
    text-align: justify;
}

.prj-nav-label {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.prj-nav-link {
    width: fit-content;
    position: relative;
}

.prj-nav-title-l {
    min-width: 9rem;
    max-width: 10rem;
    text-align: right;
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    line-height: normal !important;
    font-size: 0.8rem;
}

.prj-nav-title-r {
    min-width: 4rem;
    max-width: 8rem;
    text-align: right;
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    line-height: normal !important;
    font-size: 0.8rem;
}

.client-info a {
    text-decoration: none;
    color: var(--light);
}

@media (max-width: 1255px) {

    html {
        font-size: 120%;
    }
}

@media (max-width: 1155px) {

    html {
        font-size: 115%;
    }

    .prj-title .col-7 {
        grid-column: span 12;
        margin-bottom: 2rem;
    }

    .prj-about .col-7 {
        display: none;
    }

    .prj-data {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-info-r {
        gap: 2rem;
    }

}

@media (max-width: 851px) {
    .warning {
        background-color: var(--dark);
        position: fixed;
        inset: 0;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex !important;
        flex-direction: column;
        z-index: 999;
    }

    .warning p {
        max-width: 350px;
    }

    * {
        overflow: hidden;
    }
}