@charset "UTF-8";
/*  CSS Document */

/*  Your Name
Date
==================================================
Table of Contents
==================================================
:: Layout
:: Animation
:: Demo Stuff 

:: Grid Stuff:: Media Query

================================================== */
@import url('https://fonts.googleapis.com/css2?family=Codystar:wght@300;400&family=Michroma&family=Oswald:wght@200..700&family=Poppins&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,700;1,700&family=Russo+One&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
body { font-family:Courier New; color: #ffffff; font-size: 1.75em; text-decoration: none; 
    line-height: 1.6em; margin: 0; box-sizing: border-box; overflow-x: hidden; }

h1, h2, h3, h4, h5, h6 { font-family: "Dm Sans", sans-serif;
    text-transform: capitalize;
    line-height: .75em; margin-bottom: .5em; margin-top: 40px;
    font-weight: 400;
}
h1 { margin-bottom: 100px; margin-top: 150px; }
h1 { font-size: 5em; }
h2 { font-size: 3.5em; text-transform: uppercase; }
h3 { font-size: 2.5em;text-transform: uppercase; }
h4 { font-size: 1.5em; text-transform: uppercase;}
a:link { color: #f9f9f9; text-decoration: none;}
a:visited { color: #ffffff; }
a:hover { color: #ffffff; text-decoration:underline; }
a:active { color: #000000; }
ul, li, ol { margin: 0; list-style-type: none; padding: 0;  }
footer { font-size: .85em; }
ul.container {
    list-style-type: none;
    margin: 0;
    margin-left: 60px;
    padding-top: 40px;
    width: 250px;
    font-size: 1.15em;
    font-weight: 400;
} 

nav {
        display: block;
        color: white;
        padding: 14px 20px;
        text-decoration: none;
        transition: background 0.3s, color 0.3s;
}
.banner {
    position: relative;
    background: #000;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}
.banner nav,
.banner h1,
.banner .portrait,
.banner .portrait-two,
.banner .arrow {
    z-index: 2;
}
.banner .portrait,
.banner .portrait-two,
.banner .arrow {
    position: relative;
}
.bottom-section {
    position: relative;
    background: #000;
}
.banner nav,
.banner h1 {
    position: relative;
    z-index: 1;
}
.center {
    position: absolute !important;
    bottom: 30px;
    left: 80px;

    margin: 0;
    padding: 0;

    font-size: 4.50em;
    text-transform: lowercase;
    font-weight: 600;
    letter-spacing: -5px;

    z-index: 3;
}
.arrow {
   display: inline;
   position: relative;
   margin-top: -645px;
   margin-left: 808px;
   float:inline-start;
   mix-blend-mode: screen;
}


.about-me {
    font-size: 5.80em;
    font-family: Dm Sans, sans-serif;
    color: transparent;
    -webkit-text-stroke: 1px white;
    text-transform: lowercase;
    font-weight:600; 
     position: relative;
    z-index: 1;
    text-align: right;
    margin-right: 50px;;
    margin-bottom: 0;
    padding-bottom: 50px;
    padding-top: 50px;
    background-color: transparent;
    margin-top: 0;
}
.about-me::before {
    content: "";
    position: absolute;
    z-index: -1;

    top: 0;
    bottom: 0;
    left: 0;
    right: -50px;

    background-color: #000;
}
.grid-one h3 {
    margin-top: 0;
}
p {
    font-size: smaller;
}


/*	Animation
================================================== */


/*	Demo Stuff
================================================== */
.purple {
    background-color: #ffffff;
}


/*	Grid Stuff
================================================== */
.grid-one {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 100px 60px 220px 60px;
    box-sizing: border-box;

    background-color: #000;
}
.herbert-matter {
    padding-top: 20px;
    padding-right: 70px;
    float: right;
}
.red-arrow {
   position: absolute;
    top: 0;      /* above the carousel */
    right: 515px;        /* aligns with the carousel */
    width: 120px;
    height: auto;
}
.column {
    margin-top: 0;
}
.grid-one p {
    break-inside: avoid;
    text-align: left;
    text-align-last: left;
    line-height: 1.6;
    font-size: 0.6em;
    
}

.whoops {
        padding-top: 30px;
    text-align: left;
}
.grid-three a:link { color: #ffffff; text-decoration: none;}
.grid-three a:visited { color: #ffffff; }
.grid-three a:hover {color: transparent;
    -webkit-text-stroke: 0.5px white; transition-duration: 0.5s;}
.grid-three a:active { color: #ffffff; }

.accordion h2:link { color: #ffffff; text-decoration: none;}
.accordion h2:visited { color: #ffffff; }
.accordion h2:hover {color: transparent;
    -webkit-text-stroke: 1px white; transition-duration: 0.5s;}
.accordion h2:active { color: #ffffff; }

.company-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.grid-three {
    padding: 10px;
    margin-top: 10px;
    border-radius: 25px;
    font-size: 1em;
    text-align: left;
    font-family: Dm Sans, sans-serif;
    font-weight: 600
}
.grid-five {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    grid-gap: 24px;
    border-radius: 25px;
    margin-bottom: 100px;
}
.accordion-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-end;   /* pushes them to the right */
    gap: 20px;
    margin: 150px 60px 0 60px;

}
.bottom-section {
    position: relative;
    overflow: hidden;
}

.bottom-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.third-page,
#resources {
    color:white;
    position: relative;
    z-index: 1;
}

.center {
    color: white;
    text-align: left;
}
.third-page {
    margin-top: 100px;
}

.resource {
    text-transform: lowercase;
    font-weight: 400;
    font-size: 1.3em;
}
#resources {
    position: relative;
    margin-top: 140px;
    padding: 50px;
}

#resources h2 {
    margin-bottom: 80px;
}
.bottom-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 60px;
}

.left-column {
    flex: 0 0 520px;
}

.right-column {
    display: flex;
    justify-content: flex-end;
}
.right-column {
    display: flex;
    justify-content: flex-end;
}

.selected-works-bottom {
    width: 100%;
    text-align: right;
}

.selected-works-bottom h3,
.selected-works-bottom .grid-three,
.selected-works-bottom .grid-three li {
    text-align: right;
}

.portrait-image {
    display: block;
    width: 480px;
    height: auto;
    mix-blend-mode: difference;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}
.image-carousel {
    position: relative;

    width: 600px;
    height: 600px;

    overflow: hidden;
}

.gallery-item {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
}

.gallery-item.active {
    opacity: 1;
    visibility: visible;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gallery-section {
     position: relative;
    width: 580px;
}

.image-carousel {
    position: relative;
    width: 580px;
    height: 750px;
    overflow: hidden;
}

.gallery-item {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease;
}

.gallery-item.active {
    opacity: 1;
    visibility: visible;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-button {
    position: absolute;
    top: 760px;

    background: none;
    border: none;

    color: white;
    font-size: 3em;
    cursor: pointer;
}

.gallery-button.previous {
    left: 0;
}

.gallery-button.next {
    right: 0;
}

.gallery-button:hover {
    color: #1b335e;
}
.gallery-controls {
    display: flex;
    justify-content: space-between;
    width: 580px;
}
/*	Media Query Stuff
================================================== */
/* TABLET */
@media screen and (max-width: 1100px) {

    .grid-one {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding: 0 30px 80px;
    }

    .grid-one section:last-child {
        grid-column: span 2;
    }

    .portrait,
    .portrait-two {
        display: none;
    }

    .icon {
        right: 50px;
    }

    .center {
        font-size: 5em;
        padding-left: 30px;
    }

    .gallery-section {
        margin: 0 auto;
    }

}
/* PHONE */
@media (max-width: 1720px) {
    .arrow {
        display: none;
    }
}
@media (max-width: 1500px) {


 .icon {position: absolute;
    top: 40px;
    right: 700px;   /* adjust */
    z-index: 2;
}

}
@media (max-width: 1675px) {
    .portrait {
        display: none;
    }
 .icon {position: absolute;
    right: 575px;   /* adjust */
    z-index: 2;
}
}
@media (max-width: 1350px) {

    .icon {
        position: absolute;
    top: 30px;
    right: 50px;   /* adjust */
    }

    .portrait-two {
        display: none;
    }

}
@media (max-width: 1050px) {

    .portrait-two {
        display: none;
    }
}
@media screen and (max-width: 700px) {

      .portrait {
        display: block;
        float: none;

        width: 100%;
        max-width: 520px;
        height: auto;

        margin: 0 auto;
    }
       .icon {
        position: absolute;
        top: 30px;
        right: 20px;
    }
.accordion-title {
    white-space: nowrap;
    font-size: clamp(1.3rem, 5vw, 2.5rem);
}
        .portrait-two,
    .arrow,
    .red-arrow {
        display: none;
    }
    body {
        font-size: 1em;
        overflow-x: hidden;
    }

    /* Navigation */
    nav {
        padding: 10px;
    }

    ul.container {
        width: auto;
        margin-left: 0;
        font-size: 1em;
    }

    /* Main name */
    .center {
        font-size: 4em;
        padding: 80px 20px 0;
        letter-spacing: -2px;
    }

    /* Hide decorative images on small screens */
    .portrait,
    .portrait-two,
    .arrow,
    .red-arrow {
        display: none;
    }
 

    /* About Me title */
    .about-me {
        font-size: 3em;
        margin-right: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* About Me columns become one column */
    .grid-one {
        display: block;
        padding: 0 20px 60px;
    }

    .grid-one section {
        margin-bottom: 50px;
    }

    /* Text */
    p {
        font-size: .9em;
    }

    /* Recommended sites */
    .whoops {
        text-align: left;
    }

    .grid-three {
        text-align: left;
    }

    /* Carousel */
    .gallery-section {
        width: 100%;
        height: auto;
    }

    .image-carousel {
        width: 100%;
        height: auto;
        aspect-ratio: 580 / 750;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .gallery-button {
        top: auto;
        bottom: -70px;
    }

    .gallery-button.previous {
        left: 35%;
    }

    .gallery-button.next {
        right: 35%;
    }

    /* Bottom section */
    .bottom-content {
        display: block;
        padding: 0 20px;
    }

    .left-column {
        width: 100%;
    }

    .right-column {
        width: 100%;
        display: block;
    }

    .portrait-image {
        width: 100%;
        max-width: 480px;
        height: auto;
    }

    .accordion-grid {
        align-items: flex-start;
        margin: 80px 0 0;
    }

    .accordion-grid h2 {
        font-size: 2em;
    }

    /* Resources */
    #resources {
        padding: 30px 20px;
    }

    .grid-five {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.links a:link { color: #ffffff; text-decoration: none;}
.links a:visited { color: #ffffff; }
.links a:hover { color: #ffffff; text-decoration:underline; }
.links a:active { color: #ffffff; }

.links-two a:link { color: #ffffff; text-decoration: none;}
.links-two a:visited { color: #ffffff; }
.links-two a:hover { color: #f6f6f6; text-decoration:underline; }
.links-two a:active { color: #ffffff; }

.grid-five a:link { color: #ffffff; text-decoration: none;}
.grid-five a:visited { color: #ffffff; }
.grid-five a:hover { color: #ffffff; text-decoration:underline; }
.grid-five a:active { color: #ffffff; }

.selected-works-bottom {
    width: 100%;
    text-align: right;
}

.selected-works-bottom h3 {
    text-align: right;
}

.selected-works-bottom .grid-three {
    text-align: right;
    padding: 0;
}

.selected-works-bottom .grid-three li {
    text-align: right;
}
.banner nav {
    position: absolute;
    top: 43%;
    left: 22%;
    transform: none;
    z-index: 5;
    padding: 0;
    width: auto;
}

.banner ul.container {
    margin: 0;
    padding: 0;
    width: auto;
    text-align: left;
    line-height: 2.4;
}

.banner ul.container li {
    text-align: left;
}
.banner .center {
    position: absolute !important;
    top: 34%;
    left: 22%;
    bottom: auto;

    margin: 0;
    padding: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: -2px;
    text-transform: lowercase;
    white-space: nowrap;
    line-height: 1;
    z-index: 5;
}


.about-content {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    width: 100%;
}

.about-content p {
    margin: 0;
    min-width: 0;
}

.about-portrait {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
  .banner .center {
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.7),
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
}

/* Glow for navigation links */
.banner nav a {
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.6),
        0 0 10px rgba(255, 255, 255, 0.3);
}
.selected-works-bottom h3,
.selected-works-bottom a {
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.7),
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
}

/* Contact Info heading and links */
#resources h2,
#resources a {
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.7),
        0 0 15px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2);
}
.about-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    font-size: 0.7em;
}

.about-links a {
    color: white;
    text-decoration: none;
    width: fit-content;

    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 255, 255, 0.3);

    transition: text-shadow 0.3s ease;
}

.about-links a:hover {
    text-decoration: underline;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 25px rgba(255, 255, 255, 0.5);
}
.banner .logo {
       position: absolute;
    top: 30px;
    right: 40px;
    width: 170px;
    height: auto;
    z-index: 5;
   mix-blend-mode: screen;
}
.banner nav a,
.banner .center,

/* Selected Works and Contact section */
.selected-works-bottom h3,
.selected-works-bottom a,
#resources h2,
#resources a {
    filter: blur(0.6px);

    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.7),
        0 0 8px rgba(255, 255, 255, 0.6);
}