/* general code styles */

.pointer {
    cursor: pointer;
}

    .pointer:hover {
        opacity: 60%;
    }

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

* {
    box-sizing: border-box;
    height: auto;
    width: auto;
}

html,
body {
    background-color: #f8f8f5;
    margin: 0;
    height: 100%;
    overflow-x: hidden;
}

li {
    list-style: none;
}

a {
    color: #333;
}


/* text styles */

h1 {
    font-size: calc(4vw + 1rem);
}

h2 {
    font-size: calc(2.5vw + 0.8rem);
}

h3 {
    font-size: calc(1vw + 0.5rem);
}

h1,
h2,
h3 {
    font-family: "Libre Baskerville", "Montserrat", sans-serif;
}

p {
    line-height: 4vh;
    font-family: "Work Sans", sans-serif;
}

    p a{
        color: #e27347;
    }

.workLoadMT {
    padding-top: 1rem;
    text-align: left;
}

li {
    line-height: 4vh;
    font-family: "Work Sans", sans-serif;
}

/* nav container */
.nav {
    background-color: #f8f8f5;
    color: #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    height: calc(4rem + 2vh);
    padding: 0.5rem 1rem;
    gap: calc(20vw + 3rem);
  }
  
    /* Logo styling */
    .siteLogo img {
        display: block;
        height: 44px;
        width: 44px;
      }

        .siteLogo{
            border: 2px solid transparent;
            transition: border-color 0.2s ease;
        }
            .siteLogo:hover{
                border-color: #e27347;
            }
  
  /* Nav links */
  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 0.9vw;
    display: flex;
    gap: 5vw;
    position: relative;
  }
  
    /* Link reset & shared style */
    .nav li {
        position: relative;
    }
  
    .nav a {
        color: inherit;
        text-decoration: none;
        font-size: calc(0.2vw + 0.8rem);
        font-family: "Work Sans", sans-serif;
        padding: 3px;
        display: inline-block;
    }

        .nav li a {
            padding: 8px;
        }
  
        /* ::after creates full border on hover */
        .nav li::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 2px solid transparent;
            border-radius: 1px;
            transition: border-color 0.2s ease;
            pointer-events: none; 
        }

            .nav li:hover::after {
                border-color: #e27347;
            }

            .nav li.active::after {
                border-color: #e27347;
              }
  
/* case study tile component styles */

.tileContainer {
    width: auto !important;
    max-width: 350px;
    height: auto !important;
    flex: none !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
    margin: 0 !important;
}
  
  .tileDetails::after {
    content: "";
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    background: url("/images/arrowBack.png") no-repeat center;
    background-size: contain;
    transform: rotate(180deg);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .tileContainer:hover {
    transform: translateY(-2px);
    opacity: 75%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.10);
    }

  .tileContainer:hover .tileDetails::after {
    opacity: 1;
    transform: translateX(4px) rotate(180deg);
  }

.tileImage {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    padding: 1rem;
    } 

    .tileImage img.caseStudyImages {
        display: block;
        width: 100% !important;
        max-height: 15rem;
        object-fit: cover;
    }

.tileDetails {
    padding: 1rem 1.5rem !important;
    text-align: left !important;
    background: #fff;
    position: relative;
    }
      
      .tileDetails h2 {
        margin-bottom: 0.25rem !important;
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #111 !important;
      }
      
      .tileDetails p {
        margin: 0 !important;
        font-size: 0.9rem !important;
        color: #555 !important;
        line-height: 1.4;
      }

      #tileLink,
      #tileLink:visited,
      #tileLink:hover,
      #tileLink:active {
        text-decoration: none !important;
        color: #333;
      }
      
      

/* front page code styles */ 
.pageContainer {
    scroll-snap-type: y mandatory;
    display: flex;
    flex-direction: column;
    background-color: black;
    text-align: center;
    margin-top: -11vh;
    padding: 0;
    width: 100%;
    height: 100%;
}

    /* case study tile page styles */
    #slideOne {
        flex: 1;
        min-height: calc(100vh - 11vh);
        background-color: #f8f8f5;
    }

        .caseStudies {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
            padding: 2rem;
            max-width: 76%;
            margin: 0 auto;
            transform: scale(.94);
            transform-origin: top center;
        }

            .tileContainer {
                width: 33vw;
                height: calc(25vh + 2rem);
                margin-bottom: 1rem;
            }

    /* about page styles */
    #slideTwo {
        flex: 1;
        height: calc(100vh - 11vh);
        background-color: #f8f8f5;
    }

    .row {
        flex: 1;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 11vh) !important;
    }
    
    
    .introduction {
        background-color: #f8f8f5;
        text-align: left;
        flex: 1;
        height: calc(100vh - 11vh);
    }

    .introduction h2 {
        color: #333;
        font-size: calc(.8rem + 2.5vw);
        margin: calc(8rem - 1vw);
        margin-left: 8vw;
        margin-right: 2rem;
        margin-bottom: 2rem;
        font-weight: bold;
    }

        .introduction p {
            color: #333;
            font-size: calc(.6vw + .4rem);
            margin-right: calc(1rem + 10vw);
            margin-left: 8vw;
            margin-bottom: calc(7rem + .5vh);
        }

    #typeEffect {
        margin-bottom: 0;
    }

    #typeEffectTwo {
        margin-top: 0;
    }

    .introduction span {
        text-decoration: underline;
      }

        .introImg,
        .aboutImg {
            flex: 1;
            height: calc(100vh - 11vh);
            overflow: hidden;
        }
            .introImg img {
                width: 100%;
                height: auto;
                object-fit: cover;
                -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
                mask-image: linear-gradient(to right, transparent 0%, black 40%);
                -webkit-mask-size: 100% 100%;
                mask-size: 100% 100%;
                -webkit-mask-repeat: no-repeat;
                mask-repeat: no-repeat;


                /* clip-path: url(#blobClip); */
            }


            .viewWorkButton button, .resumeButton button {
                color: #e27347;
                background: transparent;
                border: 2px solid #e27347;
                border-radius: 7px;
                width: calc(6.5rem + 3vw);
                height: calc(2.5rem + 2vh);
                margin-left: 8vw;
                font-family: "Work Sans", sans-serif;
                cursor: pointer;
                transition: background-color 0.3s ease, color 0.3s ease;
              }
              
              .viewWorkButton button:hover, .resumeButton button:hover {
                background-color: #e27347;
                font-weight: 475;
                color: #f8f8f5;
              }

    .about {
        flex: 1;
        background-color: #f8f8f5;
        text-align: left;
        height: calc(100vh - 11vh);
    }

        .about h2 {
            color: #333;
            font-size: calc(.8rem + 2.5vw);
            margin: calc(8rem - 1vw);
            margin-left: 8vw;
            margin-right: 2rem;
            margin-bottom: 3.5rem;
            font-weight: bold;
        }

        .about p {
            margin-left: 7vw;
            padding: 0 1rem;
            line-height: 1.5rem;
        }

        .about span {
            text-decoration: underline;
        }

            .aboutImg {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
            }

                .aboutImgContainer {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 100%;
                    overflow: hidden;
                }

                    .aboutImgContainer img {
                        width: 60%;
                        height: auto;
                        object-fit: cover;
                        object-position: center;
                    }

            .resumeButton {
                padding-bottom: 4rem;
            }

            .indent {
                text-indent: 1.5rem;
            }

    .columnImg {
        flex: 1;
        margin-right: 9.5vw;
        display: flex;
        justify-content: center;
    }

        .img1 {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 50% 2%;
            margin: 0 auto;
        }

    /* about page styles */
    .googleUXCaseStudies {
        padding-top: .1vh;
        height: auto;
        width: 100vw;
        text-align: center;
    }

        .googleUXCaseStudyContainer {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            margin: auto;
            gap: 1rem;
        }

        .googleUXCaseStudyContainer .tileContainer {
            width: 33vw;
            height: calc(25vh + 2rem);
            margin-bottom: 1rem;
          }
          

        .googleUXBackContainer {
            margin: 4.55vh 16.5vw;
        }

            .googleUXBackContainerNM {
                margin: 0 16.5vw;
            }

        button {
            width: 28px;
            height: 28px;
            display: block;
            align-items: center;
            background-color: inherit;
            border: inherit;
        }

        button img {
            width: 28px;
            height: 28px;
        }

/* case study page styles */

.caseStudySlides {
    padding-top: 4.5vh;
    min-height: calc(100vh - 11vh);
    width: 100vw;
    text-align: center;
}

    .caseStudySlides h1,
    .caseStudySlides h2,
    .caseStudySlides h3,
    .caseStudySlides p {
        padding-top: 1.5rem;
        text-align: center;
    }

    .caseStudySlides p {
        padding-top: 2rem;
    }

    .caseStudyRow {
        display: flex; 
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin-left: 16vw;
        margin-right: 16vw;
        gap: 2vw;
    }

    .caseStudyColumn {
        display: flex;
        flex-direction: column;
    }

    .caseStudyFlex {
        flex: 1;
    }

    .bolded {
        font-weight: bold;
    }

.veteranArticle {
    display: block;
    margin: auto;
    height: 82vh;
}

hr {
    border: none;
    height: calc(1.4rem + .3vw);
    width: calc(1.4rem + .3vw);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" fill="%333" viewBox="0 0 256 256"><path d="M222.23,130.59c-14.51,18-28.84,27.6-43.8,29.17a43,43,0,0,1-4.5.24c-19.3,0-35.39-13.1-51-25.8-14.91-12.14-29-23.61-43.7-22-10.51,1.1-21.31,8.72-33,23.28a8,8,0,0,1-12.46-10c14.51-18,28.84-27.6,43.8-29.17,21.32-2.25,38.69,11.89,55.48,25.56,14.91,12.14,29,23.62,43.7,22,10.51-1.1,21.31-8.72,33-23.28a8,8,0,1,1,12.46,10Z"/></svg>') no-repeat center center;
    background-size: contain;
    margin: 1rem auto;
    display: block;
  }

/* tablet sizes */
@media only screen and (max-width: 1024px) {

    * {
        scroll-snap-type: none;
    }

    .pageContainer {
        scroll-snap-type: none;
    }

    .about p {
        font-size: 1.3vw;
    }
    
    #work #slideOne {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .caseStudies {
        gap: 1.3rem;
        padding: calc(.8rem + 3vw);
        max-width: 90% !important;
    }
}
    
/* small desktop sizes */
@media only screen and (max-height: 620px) {

    .introduction h2 {
        margin-top: calc(1rem + 1.5vh);
        margin-right: 1rem;
        margin-bottom: 15px;
    }

        .introduction p {
            margin-bottom: calc(.75rem + 5vh);
            line-height: calc(10px + 2vh);
        }
    .about p {
        font-size: calc(.5vw + 8px);
    }

    .viewWorkButton button, .resumeButton button {
        width: calc(6rem + 3vw);
        height: calc(2.5rem + 2vh);
        border: 1.5px solid #e27347;
        font-size: calc(.3vw + 9px);
    }

    .caseStudies {
        gap: 1.5rem;
        padding: calc(1.2rem + 4vw);
        max-width: 90% !important;
      }

}
    
/* mobile sizes */
@media only screen and (max-width: 550px) {

    * {
        scroll-snap-type: none;
    }

    .pageContainer {
        scroll-snap-type: none;
    }

    .nav {
        gap: 5vw;
    }

        .nav a {
            margin: 0 0;
        }

    .caseStudies {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: calc(2rem + 8vw);
        max-width: 100% !important;
        margin: 0 auto;
        transform: none !important;
        padding-top: 2.5rem !important;
      }
    
      .tileContainer {
        width: 100% !important; 
        height: auto !important; 
        margin-bottom: 1rem;
      }
    
      .tileContainer .tileImage img.caseStudyImages {
        max-height: none !important; 
        object-fit: cover;
      }

      .tileDetails {
        padding-top: 1rem;
      }

      .tileDetails h2,
      .tileDetails p {
        text-align: left !important;
        justify-content: flex-start;
        margin-left: 0;
        margin-right: 1rem;
      }

    /* about page styles */

    .row {
          flex-direction: column-reverse;
          justify-content: center;
          align-items: center;
          padding: 0;
          margin: 0;
      }

      .introduction,
      .about {
        text-align: left;
        margin: 0;
        padding-bottom: 5vh;
    }

        .introduction h2 {
            width: 100vw;
            font-size: calc(1.5vw + 1.5rem);
            margin: 4.5vh 0;
            margin-bottom: 1vh;
            margin-top: 1rem;
            text-align: center;
        }

            .introduction p {
                color: #333;
                font-size: calc(1vw + .4rem);
                text-align: center;
                margin: 0 5rem;
                margin-bottom: 1.5rem;
                line-height: calc(15px + .25vh);
            }

            .introduction span {
            text-decoration: underline;
            text-align: center;
            }
            span.list {
                text-decoration: none;
                text-align: left;
            }

            .introImg {
                flex: none;
                height: calc(100vh - 44vh);
                width: 100% !important;
                object-fit: cover;
                overflow: hidden;
            }

                .introImg img{
                    -webkit-mask-image: none !important;
                    mask-image: none !important;
                    -webkit-mask-size: initial !important;
                    mask-size: initial !important;
                    -webkit-mask-repeat: initial !important;
                    mask-repeat: initial !important;
                    
                    /* clip-path: none !important;
                    transform: none !important; */
                }

            .viewWorkButton, .resumeButton {
                display: flex;
                justify-content: center;
            }

            .viewWorkButton button, .resumeButton button {
                width: calc(6rem + 12vw);
                height: calc(2.5rem + 2vh);
                margin: 0;
                cursor: pointer;
            }
            
          .about h2 {
              font-size: calc(2vw + 2rem);
              margin-top: 3rem;
              margin-bottom: 2.5rem;
              text-align: center;
          }

          .about p {
            font-size: calc(2vw + .4rem);
            padding-right: 0;
            padding-left: 2rem;
          }

          .about span {
            text-decoration: underline;
            text-align: center;
          }
            span.list {
                text-decoration: none;
                text-align: left;
            }

          .aboutImg {
            margin: 0;
            margin-top: 3.5rem;
          }

            .aboutImgContainer {
                height: 44%;
                overflow: hidden;
            }

                .aboutImgContainer img {
                    max-width: 50%;
                }
    
      .columnImg {
          flex: 1;
          display: flex;
          padding: 0;
          margin: 0;
      }
  
          .img1 {
            width: 100% !important;
            object-fit: cover;
            object-position: 50% 2%;
            margin: 0 auto;
          }

        .indent {
            text-indent: 1rem;
        }

    /* case study pages styles */
    .caseStudySlides {
        display: block;
    }

    .caseStudyRow,
    .caseStudyColumn,
    .caseStudyFlex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .caseStudyRow {
        flex-direction: column;
        margin: 0;
    }

    div.googleUXBackContainerNM {
        margin-bottom: 1rem;
    } 
    .caseStudyFlex {
        text-align: center;
    }

    #caseStudyImage {
        width: 75vw;
    }

    img.caseStudyImages {
        background-color: white;
        width: fill;
        height: auto;
        object-fit: fill;
    }

 .caseStudyImage.BOR {
        width: 38vw !important;
        height: auto !important;
    }

    img.googleCaseStudyImages {
        width: auto;
        height: 19vh !important;
    }
    
    #tileLink {
        margin: 0;
        margin-top: .4rem;
    }

    .googleUXCaseStudyContainer {
        margin: 0 3rem;
    }

    /* general styles */
    h1,
    h2,
    h3,
    p,
    ol,
    a {
        margin: 0 3rem;
        justify-content: center;
    }

    h1,
    h2,
    h3 {
        text-align: center;
    }

    p {
        line-height: 3.5vh;
    }
        p a{
            margin: 0;
        }

    h1 {
        font-size: calc(4vw + 2rem);
    }
    
    h2 {
        font-size: calc(2.5vw + 2rem);
    }
    
    h3 {
        font-size: calc(1vw + 1em);
    }

    /* case study image styles */

    .Wide {
        width: 80vw !important;
        height: auto !important;
        align-items: center;
    }
    .Wide.Mar {
        margin-top: 5vh !important;
    }
    .Small {
        width: 20vw !important;
        height: auto !important;
    }

    hr {
        margin-top: 3rem;
        margin: 2rem auto;
    }
}

.cursor {
    border-right: 3px solid #333;
    animation: blink 1s infinite step-start;
  }
  
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }
  