* {
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
}

html {
    scroll-behavior: smooth;
}

/* fonts */
h1 {
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 6.25rem;
    line-height: normal;
    letter-spacing: normal;
    display: block;
    margin: 0;
}


h2 {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 2.625rem;
    line-height: normal;
    letter-spacing: 1px;
    display: block;
    margin: 0;
}

h2regular {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 2.875rem;
    line-height: 4.5rem;
    letter-spacing: normal;
    display: block;
    margin: 0;
}

h3 {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 2rem;
    line-height: 2.688rem;
    letter-spacing: normal;
    display: block;
    margin: 0;
}

h4 {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.75rem;
    line-height: normal;
    letter-spacing: 1px;
    display: block;
    margin: 0;
}

body1 {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 1.375rem;
    line-height: 2.24rem;
    letter-spacing: normal;
    display: block;
    margin: 0;
}

body2 {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 2.02rem;
    letter-spacing: normal;
    display: block;
    margin: 0;
}

a {
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #0066ff;
}

h3.lightcolor {
    color: #565656;
}

.lightcolor span {
    color: #3388ff !important;
}

mark {
    background-color: #3388ff35;
    padding-left: 2px;
    padding-right: 2px;
    border-radius: 4px;
}

.mb-1 {
    margin-bottom: 25px !important;
}

.mb-2 {
    margin-bottom: 50px !important;
}

.mb-3 {
    margin-bottom: 75px !important;
}

.mb-4 {
    margin-bottom: 100px !important;
}

.mb-5 {
    margin-bottom: 125px !important;
}

.mt-1 {
    margin-top: 25px !important;
}

.mt-2 {
    margin-top: 50px !important;
}

.mr-1 {
    margin-right: 25px !important;
}

.pt-2 {
    padding-top: 50px !important;
}

.pt-3 {
    padding-top: 75px !important;
}

.pt-4 {
    padding-top: 100px !important;
}

.pb-2 {
    padding-bottom: 50px !important;
}

.pb-3 {
    padding-bottom: 75px !important;
}

.pb-4 {
    padding-bottom: 100px !important;
}

.row {
    margin-left: -30px;
    margin-right: -30px;
}

.row>* {
    padding-left: 30px;
    padding-right: 30px;
}

section-divider {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 75px;
    padding-bottom: 75px;
}

section-divider span {
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 4px;
}

.br-25 {
    border-radius: 25px;
    overflow: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
    margin: auto;
}

.img-80 {
    max-width: 80%;
}

.img-110 {
    max-width: none;
    width: calc(100% + 100px);
    position: relative;
    left: -50px;
}

.img-130 {
    max-width: none;
    width: calc(100% + 300px);
    position: relative;
    left: -150px;
}

/* password */
#protected-content {
    display: none;
}

.password-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 250px;
}

.password-element input {
    width: 392px;
    max-width: 100%;
    padding: 24px;
    background-color: #f3f3f3;
    border: none;
    border-radius: 16px;
}

.password-element input:focus {
    background-color: #f3f3f3;
}

.password-element button {
    font-weight: 300;
    font-size: 1.375rem;
    line-height: 2.24rem;
    padding: 16px 48px;
    border-radius: 100px;
}

.error {
    color: red;
    margin-top: 10px;
}

.input-error:focus {
    box-shadow: 0 0 0 .25rem rgba(253, 13, 13, 0.25);
}

.btn-primary {
    background-color: #000;
}

.btn-primary:hover {
    background-color: #0066ff;
}

/* modal */
.modal-content {
    padding: 30px;
    border-radius: 30px;
    background-color: #fbfbfb;
}

.modal-close {
    padding: 8px;
    border: none;
    border-radius: 50%;
    background-color: #efefef;
    transition: all 0.2s ease-in-out;
}

.modal-close:hover {
    background-color: #e8e8e8;
}

/* magnific popup */
.my-custom-close {
    background: url('../images/close.svg') no-repeat center center !important;
    background-size: contain !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0 !important;
    position: absolute;
    top: 10px;
    right: -50px !important;
}

.my-custom-close:active {
    position: absolute;
    top: 10px;
}

.my-custom-close:hover {
    cursor: pointer !important;
}

.mfp-bg,
.mfp-wrap,
.mfp-content img {
    cursor: default;
}

.mfp-arrow-left::before,
.mfp-arrow-right::before,
.mfp-arrow-left::after,
.mfp-arrow-right::after {
    content: none !important;
}

.mfp-arrow-left {
    background: url('../images/arrow-left.svg') no-repeat center center !important;
    background-size: contain !important;
    width: 48px;
    height: 48px;
}

.mfp-arrow-right {
    background: url('../images/arrow-right.svg') no-repeat center center !important;
    background-size: contain !important;
    width: 48px;
    height: 48px;
}

.mfp-counter {
    display: none;
}

/* home-navigation */

.navigation-menu {
    position: fixed;
    width: 100%;
    background-color: rgba(251, 251, 251, 0.8);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    top: 0;
    z-index: 2;
}

.navbar {
    padding: 50px 0 10px;
    transition: all 0.4s ease-in-out;
}

.navbar-nav {
    height: 100vh;
}

.nav-item {
    margin-top: 10vh;
    text-align: center;
}

.nav-item h1 {
    text-align: center;
}

.header-menu {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.096);
}

.header-menu .navbar {
    padding-top: 25px;
}

.navbar-toggler-icon:focus,
.navbar-toggler:focus {
    box-shadow: none;
}

.collapsing {
    transition: height 0.5s ease-in-out;
}

.navbar-toggler {
    color: #000;
    z-index: 1;
    position: relative;
    width: 60px;
    height: 30px;
    left: calc(100% - 60px);
}

.navbar-toggler i {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: #000;
    opacity: 1;
    border-radius: 10px;
    transition: background-color 0.35s, opacity 175ms cubic-bezier(.215, .61, .355, 1), -webkit-transform 175ms cubic-bezier(.215, .61, .355, 1);
    transition: background-color 0.35s, transform 175ms cubic-bezier(.215, .61, .355, 1), opacity 175ms cubic-bezier(.215, .61, .355, 1);
    transition: background-color 0.35s, transform 175ms cubic-bezier(.215, .61, .355, 1), opacity 175ms cubic-bezier(.215, .61, .355, 1), -webkit-transform 175ms cubic-bezier(.215, .61, .355, 1);
    -webkit-transform: translateY(0) translateZ(0);
    transform: translateY(0) translateZ(0);
}

.navbar-toggler i:nth-child(1) {
    top: 0 px;
}

.navbar-toggler i:nth-child(2) {
    top: 12px;
}

.navbar-toggler i:nth-child(3) {
    top: 24px;
}

.navbar-toggler[aria-expanded="true"] i:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
    -webkit-transform: translateY(12px) rotate(45deg);
    -moz-transform: translateY(12px) rotate(45deg);
    -ms-transform: translateY(12px) rotate(45deg);
    -o-transform: translateY(12px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] i:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] i:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
    -webkit-transform: translateY(-12px) rotate(-45deg);
    -moz-transform: translateY(-12px) rotate(-45deg);
    -ms-transform: translateY(-12px) rotate(-45deg);
    -o-transform: translateY(-12px) rotate(-45deg);
}

body:has(.navbar-toggler[aria-expanded="true"]) {
    overflow: hidden;
}

.nav-item a {
    color: #000;
    position: relative;
    display: inline-block;
}

.nav-item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 10px;
    background-color: #000;
    transition: width 0.3s ease-in-out;
}

.nav-item a:hover::after {
    width: 100%;
}

/* home-header */
.main-container {
    background-color: #fbfbfb;
    position: relative;
    z-index: 1;
}

.header {
    padding: 30vh 10px 20vh;
}

.hello-title {
    position: relative;
    display: flex;
    justify-content: center;
}

.hello-title h1 {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hello-title img {
    position: absolute;
    top: -150px;
}

.header h2regular {
    text-align: center;
}

/* home-work */
.work h1 {
    text-align: center;
}

.card {
    border: none;
    background-color: transparent;
}

.card-img {
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    top: 0px;
    transition: all 0.2s ease-in-out;
}

.card-img img {
    width: 100%;
}

/* .card a:hover .card-img{
    top: -10px;
    filter: drop-shadow(0px 3px 7px rgba(0, 0, 0, 0.10)) drop-shadow(0px 12px 12px rgba(0, 0, 0, 0.09));
} */

/* home-project */
.projects h1 {
    text-align: center;
}

.list-wrapper {
    position: relative;
}

.list {
    display: flex;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0;
    gap: 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.list::-webkit-scrollbar {
    display: none;
}

.item {
    width: 518px;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.button {
    position: absolute;
    top: 40%;
    width: 3rem;
    height: 3rem;
    transform: translateY(-50%);
    border-radius: 12px;
    border: none;
    background-color: #efefef;
}

.button--previous {
    left: -2.5rem;
    transform: rotate(180deg);
}

.button--next {
    right: -2.5rem;
}

.button img {
    width: 100%;
    height: 100%;
}

.button:hover img {
    fill: aqua;
}

/* home-reviews */
.reviews h1,
.reviews>body1 {
    text-align: center;
}

.card h4 {
    margin-bottom: 5px;
}

/* footer */
.footer {
    background-color: #000;
    color: #fff;
    position: sticky;
    bottom: 0;
}

.contact {
    padding: 0;
}

.contact a {
    color: #fff;
}

.contact a:hover {
    color: #0066ff;
}

.contact_plane {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact_img {
    max-width: 80%;
}

/* project */
.work-menu {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    transition: all 0.6s ease-in-out;
}

.back-to-work {
    color: rgb(255, 255, 255);
}

.back-black {
    color: rgb(0, 0, 0);
}

.back-to-work:hover {
    text-decoration: none;
}

.back-to-work h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-to-work i {
    font-size: inherit;
}

.box-menu {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.096);
}

.box-menu a {
    color: rgb(0, 0, 0);
}

.box-menu a:hover {
    color: #0066ff;
}

.sticky-menu {
    position: fixed;
    top: -100px;
}

.hero img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 564px;
    object-fit: cover;
}

.hero-crossdockhandoff {
    background-color: #03213B;
}

.hero-smartsort {
    background-color: #2A180B;
}

.hero-roadieredesign {
    background: linear-gradient(to bottom, #80A5F9 0%, #7099F8 100%);
}

.hero-subway {
    background: linear-gradient(to bottom, #5DAEFD 0%, #1A8DFF 100%);
}

.project-button {
    display: inline-flex;
    padding: 25px 40px;
    gap: 20px;
    align-items: center;
    border-radius: 100px;
}

.prev-button {
    background-color: #333;
    color: #fff;
    fill: #fff;
    margin-right: 50px;
}

.next-button {
    background-color: #fff;
    color: #000;
    fill: #000;
}

.project-button:hover {
    background-color: #0066ff;
    color: #fff;
    fill: #fff;
}

/* crossdockhandoff */
.multi-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.handoff-research {
    background-color: #f3f3f3;
    padding: 30px;
    border-radius: 30px;
    height: 100%;
}

.handoff-research img {
    margin: 0 0 25px;
}

.handoff-research h4 {
    margin-bottom: 10px;
}

.handoff-page {
    padding-top: 75px;
    max-height: 1000px;
}

.verify-driver {
    background-color: #A0BDFF;
    padding-top: 75px;
    max-height: 1000px;
}

.driver-profile {
    padding-top: 75px;
    max-height: 1000px;
}

.remove-driver {
    background-color: #FF7C7C;
    padding-top: 75px;
    max-height: 1000px;
}

.handoff-page h3,
.driver-profile h3 {
    color: #565656;
}

.verify-driver h3 {
    color: #3456A4;
}

.remove-driver h3 {
    color: #AC2626;
}

.singlelist {
    clip-path: inset(2px 2px);
}

/* smartsort */
.sticky-content {
    width: 100%;
    height: 400px;
    position: sticky;
    top: 30vh;
}

.sticky-content video {
    clip-path: inset(2px 2px);
    display: none;
}

.scroll-content img {
    max-width: 300px;
    margin-left: 25px;
}

/* roadieredeisgn */
.callout {
    padding: 0;
}

.callout li {
    background-color: #efefef;
    border-radius: 25px;
    padding: 30px;
}

.roadieredesign-challenges li {
    width: 100%;
}

.designexploration {
    background-color: #C4D6FF;
}

.designexploration img {
    width: auto;
    max-height: 800px;
}

.serif-title {
    text-align: center;
    font-family: serif;
    font-weight: 400;
}

italic {
    font-style: italic;
}

/* square */
.square-designimplications {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.square-designimplications li {
    width: calc(50% - 15px);
    flex-shrink: 0;
}


/* subway */
.callout-grid {
    display: flex;
    gap: 25px;
}

.subway-requirements li {
    width: 392px;
}

.subway-research {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 25px;
}

.subway-designimplications li {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.subway-designimplications li img {
    width: 48px;
    display: inline;
    margin: 0;
}

.callout-link {
    width: 392px;
    background-color: #efefef;
    border-radius: 25px;
    border: none;
    padding: 30px;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    fill: #0066ff;
    transition: all 0.2s ease-in-out;
}

.callout-link:hover {
    background-color: #e8e8e8;
    color: #000;
}

.subway-features {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.subway-features li {
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.subway-features li:nth-child(even) {
    text-align: right;
}

.subway-features li img {
    max-width: 360px;
}

/* about */
.about {
    position: relative;
    display: flex;
    justify-content: center;
}

.profilepic {
    max-width: 450px;
}

.banner {
    position: absolute;
    bottom: 100px;
    width: 83%;
}

.paintings {
    width: 100%;
    height: 975px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin: 50px -50px;
}

.paintings img {
    position: absolute;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.paintings img:hover {
    cursor: grab;
}

.paintings img:active {
    transform: scale(1.1);
    z-index: 10;
}

.oranges {
    max-width: 380px;
    transform: rotate(-8deg);
    top: 50px;
    left: 50px;
    z-index: 1;
}

.techtower {
    max-width: 400px;
    transform: rotate(5deg);
    top: 0;
    left: 350px;
    z-index: 3;
}

.tomandjerry {
    max-width: 530px;
    transform: rotate(10deg);
    top: 100px;
    left: 570px;
    z-index: 2;
}

.rocket {
    max-width: 375px;
    transform: rotate(-4deg);
    top: 350px;
    left: 50px;
    z-index: 4;
}

.yellowred {
    max-width: 390px;
    transform: rotate(-2deg);
    top: 400px;
    left: 350px;
    z-index: 6;
}

.boa {
    max-width: 320px;
    transform: rotate(7deg);
    top: 400px;
    left: 700px;
    z-index: 5;
}

/* responsive */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .project-casestudy .container {
        max-width: 1020px;
    }
}

@media (max-width: 1200px) {
    .item {
        width: 438px;
    }

    .img-110 {
        width: 100%;
        left: 0;
    }

    .img-130 {
        width: 100%;
        left: 0;
    }

    .paintings {
        display: block;
        height: auto;
        margin: 0 auto 150px;
    }

    .paintings img {
        position: relative;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .header {
        padding-top: 40vh;
    }

    .hello-title img {
        top: -60px;
    }

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h2regular {
        font-size: 2rem;
        line-height: 1.5;
    }

    body1 {
        font-size: 1.2rem;
        line-height: 2.24rem;
    }

    .mb-1 {
        margin-bottom: 15px !important;
    }

    .mb-2 {
        margin-bottom: 30px !important;
    }

    .mb-3 {
        margin-bottom: 45px !important;
    }

    .mb-4 {
        margin-bottom: 60px !important;
    }

    .mb-5 {
        margin-bottom: 75px !important;
    }

    .mt-1 {
        margin-top: 15px !important;
    }

    .mt-2 {
        margin-top: 30px !important;
    }

    .pt-2 {
        padding-top: 30px !important;
    }

    .pt-3 {
        padding-top: 45px !important;
    }

    .pt-4 {
        padding-top: 60px !important;
    }

    .pb-2 {
        padding-bottom: 30px !important;
    }

    .pb-3 {
        padding-bottom: 45px !important;
    }

    .pb-4 {
        padding-bottom: 60px !important;
    }

    .projects {
        display: none;
    }

    .profilepic {
        max-width: 80%;
    }

    .project-button {
        padding: 20px 30px;
        gap: 10px;
    }

    .prev-button {
        margin-bottom: 30px;
    }

    section-divider {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .sticky-content {
        display: none;
    }

}