@font-face {
    font-family: 'Mindru';
    src: url('../fonts/ABCMonumentGrotesk-Regular-Trial.otf') format("opentype");
}

:root {
    font-size: 14px;
    --padd-default: 16px;
    --padd-half: 8px;
    --radius: 18px;

    --grey: #666;
    --news-gray: #646768;
    --footer-grey: #D2D0CD;
    --color-text: #fff;
    /*--color-bg: #191919;*/
    --color-link: #000;
    --icon: 120px;

    --ease-in: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.86, 0, 0.07, 1);
    --ease-out-quart: cubic-bezier(0.175, 0.79, 0.38, 0.905);
    --ease-in-out-quart: cubic-bezier(0.645, 0.045, 0.355, 1);
}

body {
    font-family: 'Mindru', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow: hidden;
    touch-action: pan-y;
}

a {
    color: var(--color-text);
    text-decoration: none;
}

::-moz-selection { /* Code for Firefox */
    color: white;
    background: black;
}

::selection {
    color: white;
    background: black;
}

.message.bad {
    color: #d21002;
    padding: 10px;
    margin-top: 8px;
}

.message.good {
    color: var(--green);
    padding: 10px;
    margin-top: 8px;
}

/*--------------------------*/
*, :after, :before {
    box-sizing: border-box;
}

/*--------------------------*/
/*----------barba----------------*/

.wrapper {
    width: 100%;
    height: 100%;
}

/*--------------------------*/
/*--------------------------*/
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

p {
    font-size: 1rem; /* 16px */
    margin: 0;
    /*font-family: 'Mindru-Medium', sans-serif;*/
}

.full-h {
    height: 100vh;
}

.h-90 {
    height: 90vh;
}

.pt-1 {
    padding-top: var(--padd-default) !important;
}

.pt-2 {
    padding-top: calc(var(--padd-default) * 2) !important;
}

.pt-3 {
    padding-top: calc(var(--padd-default) * 3) !important;
}

.pb-1 {
    padding-bottom: var(--padd-default) !important;
}

.pt-4 {
    padding-top: calc(var(--padd-default) * 4) !important;
}

.pt-5 {
    padding-top: calc(var(--padd-default) * 5) !important;
}

.mt-2 {
    margin-top: calc(var(--padd-default) * 2) !important;
}

.mt-3 {
    margin-top: calc(var(--padd-default) * 3) !important;
}

.pb-5 {
    padding-bottom: calc(var(--padd-default) * 5) !important;
}

.pb-2 {
    padding-bottom: calc(var(--padd-default) * 2) !important;
}

.pb-1-5 {
    padding-bottom: calc(var(--padd-default) * 1.5);
}

.pt-1-5 {
    padding-top: calc(var(--padd-default) * 1.5);
}

.pt-2-5 {
    padding-top: calc(var(--padd-default) * 2.5);
}

.pb-3 {
    padding-bottom: calc(var(--padd-default) * 3) !important;
}

.pb-4 {
    padding-bottom: calc(var(--padd-default) * 4) !important;
}

.pt-big {
    padding-top: calc(var(--padd-default) * 7.5); /*120px*/

}

.pb-big {
    padding-bottom: calc(var(--padd-default) * 7.5); /*120px*/

}

.pt-biggest {
    padding-top: calc(var(--padd-default) * 14);
}

.pt-bigger {
    padding-top: calc(var(--padd-default) * 11);
}

/*-------------------------------------------*/
.preview-client, .preview-year {
    font-size: 1rem;
}

.proj-description {
    font-size: 1rem;

}
.PhotoProjectPage .proj-description,
.VideoProjectPage .proj-description
{
    max-height: 30vh;
    overflow-y: auto;
    scrollbar-width: thin;         /* Firefox */
    scrollbar-color: black transparent;
}

.proj-description::-webkit-scrollbar {
    width: 6px;
}

.proj-description::-webkit-scrollbar-track {
    background: transparent;
}

.proj-description::-webkit-scrollbar-thumb {
    background-color: black;
    border-radius: 3px;
}
.filter-btn {
    cursor: pointer;
}

@view-transition {
    navigation: auto;
}
.main-btn sup {
    margin-top: -10px;
    display: inline-block;
}

.main-btn {
    padding: var(--padd-half) var(--padd-default);
    /*font-size: 1rem; */
    font-size: 14px;
    border-radius: var(--radius);
    backdrop-filter: blur(15px);
    background-color: #82818159;
    color: #fff;
    border: 0;
    font-family: 'Mindru';
}

.main-grey {
    padding: var(--padd-half) var(--padd-default);
    border-radius: var(--radius);
    backdrop-filter: blur(15px);
    background-color: #82818159;
    color: #fff;
    border: 0;
    font-family: 'Mindru';
}

.dib {
    display: inline-block;
}

.current.main-btn, .current-categ {
    background-color: #fff;
    color: var(--color-bg);
}

.menu-wrap {
    position: fixed;
    bottom: calc(var(--padd-default) * 2);
    left: var(--padd-default);
    display: flex;
    gap: var(--padd-half);

    z-index: 1;
}

#time {
    position: fixed;
    bottom: calc(var(--padd-default) * 2);
    right: var(--padd-default);
    z-index: 1;
}

.categ-menu-wrap {
    display: flex;
    gap: var(--padd-half);
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--padd-default) * 3);
    margin-bottom: calc(var(--padd-default) * 2);
}

/*-------------------------------------------*/

.anim-btn {
    overflow: hidden;
    position: relative;

}

.anim-btn.btn--stroke:hover {
    color: #000;
    text-decoration: none;
}

.current.anim-btn.btn--stroke:hover {
    color: #fff;
    text-decoration: none;
}

.current-categ.anim-btn.btn--stroke:hover {
    color: #fff;
    text-decoration: none;
}

.btn--stroke:after {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.btn--stroke:after {
    /*border: 0.125rem solid #fff;*/
    /*border-radius: 6.25rem;*/
    content: "";
    pointer-events: none;
}

.btn__label {
    position: relative;
    text-align: center;
    transition: color 50ms var(--ease-in-out-quart);
}

.btn--stroke:hover .btn__label {
    transition: color 0.15s var(--ease-in-out-quart);
}

.btn__flair {
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}

.btn--stroke .btn__flair {
    transform: scale(0);
    transform-origin: 0 0;
    will-change: transform;
}

.btn__flair:before {
    aspect-ratio: 1/1;
    background-color: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    width: 170%;
}

.current .btn__flair:before {

    background-color: rgb(61, 61, 61);

}

.current-categ .btn__flair:before {

    background-color: rgb(61, 61, 61);

}

/*-------------------------------------------*/
.marquees-wrap {
    mix-blend-mode: difference;
    color: #fff;
    padding-top: 20px;
    display: flex;
    width: 100%;
    position: fixed;
    z-index: 9;
}

.marquee {
    overflow: hidden;
    flex: 1;
    display: flex;
    white-space: nowrap;
    user-select: none;
    cursor: grab;
    touch-action: none;
    -ms-touch-action: none;
    touch-action: pan-y;
}

.card {
    font-size: 5rem;will-change: transform;

}

.menu {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
}

.btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: #000;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 99999;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;

    z-index: -1;
}

/*-------------------------------------------*/
.ContactPage .site-info {

    left: calc(8.333333333% * 7);
}

/*-------------------video timeline popup------------------------*/
.video-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    width: 100vw;
    height: 100vh;

}

.mod-vid-container {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    overflow: hidden;
    display: flex;

}

.mod-vid-container video {
    width: 100%;
    /*height: 100%;*/
    /*object-fit: cover;*/
}

.video-timeline {
    position: absolute;
    width: 100vw;
    height: 15vh;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding: 1em 0;
    border-radius: 30px;
    modal-cursor: pointer;
}

.video-marker {
    position: absolute;
    bottom: -6px;
    left: 16px;
    width: 2px;
    height: 15vh;
    background-color: #fff;
    transition: left 0.3s ease;
    z-index: 2;
}

/*.video-marker::before {*/
/*content: "";*/
/*position: absolute;*/
/*top: 0;*/
/*left: 50%;*/
/*transform: translate(-50%, -50%);*/
/*width: 10px;*/
/*height: 10px;*/
/*background-color: #fff;*/
/*border-radius: 100%;*/
/*}*/

.video-timestamps {
    position: relative;
    width: 100%;
    display: flex;
    padding: 0 1em;
    justify-content: space-between;
}

.video-video-frames {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;

    backdrop-filter: blur(15px);
    background-color: rgba(130, 129, 129, 0.26);
    padding: 0.75em 1em;
}

.video-frame {
    position: relative;
}

.video-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.video-frame:hover::after {
    background: rgba(0, 0, 0, 0);
}

.modal-cursor {
    position: absolute;
    top: 20px;
    left: 20px;
    transition: transform 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    modal-cursor: pointer;
    text-transform: uppercase;
    z-index: 10;
}

@media screen and (max-width: 900px) {
    .video-timeline {
        height: 100px;
    }

    .video-timestamps p:nth-child(2),
    .video-timestamps p:nth-child(3),
    .video-timestamps p:nth-child(5),
    .video-timestamps p:nth-child(6),
    .video-timestamps p:nth-child(8),
    .video-timestamps p:nth-child(9),
    .video-timestamps p:nth-child(11),
    .video-timestamps p:nth-child(12) {
        display: none;
    }

    .video-video-frames {
        gap: 0.25em;
    }

    .video-marker {
        height: 12vh;
    }

    .modal-cursor {
        display: none;
    }
}

/*--------------------minimap-----------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.minimap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
    user-select: none;
}

p {
    font-size: 14px;
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    user-select: none;
}

.container {
    position: relative;
    width: 100vw;
    height: 100%;
    overflow: hidden;

}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 1.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-item {
    align-content: center;
}

.site-info {
    position: fixed;
    left: 8.333333333%;
    max-width: 25%;
    top: 30%;
    display: flex;

}

.site-info p span {
    color: #9a9994;
}
.video-btn .icon{
    display: flex;
}.video-btn .icon[hidden]{
    display: none;
}
.video-btn{
    padding: var(--padd-half) var(--padd-default);
    font-size: 1rem;
    border-radius: var(--radius);
    backdrop-filter: blur(15px);
    background-color: #82818159;
    color: #fff;
    border: 0;
    font-family: 'Mindru';
    margin-right: 8px;
    cursor:pointer;
}
.modal-controls svg{
    height:15px;
}
.modal-controls{
    position: absolute;
    top: 16px;
    cursor: pointer;
    right: 16px;
    z-index: 1;
    display:flex;

}
.close-popup-carousel {
    position: absolute;
    top: 16px;
    cursor: pointer;
    right: 16px;
    z-index: 1;
}

.proj-name-carousel {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;    max-width: 40vw;
}

.proj-count {
    position: absolute;
    top: 50%;
    z-index: 1;
    right: 16.66666666%;
    margin-right: var(--padd-default);
}

.preview-container .main-btn, .preview-container .main-grey {
    width: fit-content;
}

.preview-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.img-preview {
    /*position: absolute;*/
    /*left: 25%;*/
    /*width: 50%;*/
    /*height: 65%;*/
    /*overflow: hidden;*/
    /*text-align: center;*/
    /*border-radius:var(--radius);*/
}

.img-preview img {

    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*width: 100%;*/
    /*height: 100%;*/
    /*object-fit: contain;*/
}

.img-preview video {
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    /*width: 100%;*/

}

/*.img-preview {*/
/*display: inline-block;  !* Let the <a> tag adjust based on the content *!*/
/*max-width: 50%;         !* Set max-width to 50% of its parent container *!*/
/*max-height: 65vh;       !* Set max-height to 65% of the viewport height *!*/
/*overflow: hidden;       !* Prevent overflow of the media *!*/
/*margin: 0 auto;         !* Center the <a> tag horizontally *!*/
/*padding: 0;             !* Remove padding *!*/
/*text-align: center;     !* Center the content inside the <a> tag *!*/
/*}*/

/*.img-preview img,*/
/*.img-preview video {*/
/*width: 100%;            !* Make the media fill the width of its parent *!*/
/*height: 100%;           !* Make the media fill the height of its parent *!*/
/*object-fit: contain;    !* Maintain aspect ratio without cropping *!*/
/*display: block;         !* Remove any space below the image/video *!*/
/*margin: 0;              !* Remove default margins *!*/
/*}*/

.prev-next-box {
    display: flex;
    /*justify-content: space-between;*/
    gap: 8px;
}

.view-anim-btn {
    text-transform: uppercase;
    user-select: none;
}

.minimap {
    position: absolute;
    top: 50%;
    right: 8.333333333%;
    width: 8.333333333%;
    z-index: 1;
}

.indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 60px; */
    height: 12vh;
    border: 1px solid #fff;
    z-index: 2;
}

.items {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    will-change: transform;
}

.item {
    width: 100%;
    /*height: 60px; */
    height: 12vh;
    padding: 5px;
    cursor: pointer;
}

/*-----------------------------------*/
.inside-media-wrap {
    position: absolute;
    left: 25%;
    width: 50%;
    text-align: center;
    overflow-y: auto;
    height: 100vh;
    top: 0;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.single-media {
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: var(--padd-default);
}

.inside-media-wrap video, .inside-media-wrap img {
    width: 100%;
}

/*------------home-----------------------*/
.HomePage #view-container, .ErrorPage #view-container {
    cursor: none;
    touch-action: none;

}

.HomePage .btn-anim-section, .ErrorPage .btn-anim-section {
    display: flex;
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

.HomePage .view-anim-btn, .ErrorPage .view-anim-btn {
    position: absolute;

    top: 0;
    left: 0;

    backface-visibility: hidden;
    pointer-events: none;
    opacity: 0.5;
}

/*------------proj holder-----------------------*/
.proj-holder-wrap.grid {
    /*justify-content: space-between;*/
    display: flex;
    flex-wrap: wrap;
    padding: 30vh 3vw 30vh 3vw;
    /*gap: var(--padd-default);*/
    gap:0;
}

.proj-holder-wrap .grid__item {
    /*width: calc(33.3333% - var(--padd-default));*/
    width: 33.3333%;
    display: flex;
    padding: calc(var(--padd-default) /2);
    flex-direction: column;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.proj-holder-wrap .grid__item-img {
    height: 40vh;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: opacity 0.3s ease;
}

.proj-holder-wrap .grid-bg {
    border-radius: 16px;
    height: 100%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: opacity 0.3s ease;
}

/*---------------*/

.proj-holder-wrap .grid__item-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden; /* Hide any overflow */
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: 0; /* Make sure video stays behind the image initially */
}

.proj-holder-wrap .grid__item-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease;
}

.proj-holder-wrap .grid-item-video:hover .grid-bg {
    transition: opacity 0.3s ease;
    opacity: 0; /* Fade out image on hover */
}

.proj-holder-wrap .grid-item-video:hover .grid__item-video {
    transition: opacity 0.3s ease;
    opacity: 1; /* Fade in video on hover */
}

/*-----------------------------------*/
#projects-container .grid-bg {
    display: flex;
    position: absolute;
    width: 100%;
    height: 40vh;
    z-index: 1;
    cursor: none;
    touch-action: none;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

#projects-container .btn-anim-section {
    display: flex;
    position: absolute;
    width: 100%;
    height: 40vh;
    z-index: 1;
    cursor: none;
    touch-action: none;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

#projects-container .view-anim-btn {

    top: 0;
    left: 0;
    z-index: 1;
    backface-visibility: hidden;
    pointer-events: none;
    opacity: 0.5;
    position: fixed;

    /*transform: translate(-50%, -50%);*/

}

.ProjectHolderPage .grid-inner {
    position: relative;
}

body.ProjectHolderPage {
    overflow: auto; /* allows scrolling */
    -webkit-overflow-scrolling: touch;
}

/*-------------------------------*/
.ProjectHolderPage .categ-menu-wrap {
    position: fixed;
    left: 0;
    z-index: 1;
    right: 0;
    top: 10vh;
}

#projects-container .proj-item {
    width: calc((100% - 40px) / 3);
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#projects-container .proj-item a {
    display: block;
    width: 100%;
}

#projects-container .proj-item-bg {
    display: block;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    border-radius: 16px;
}

#projects-container .proj-item-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#projects-container .proj-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    flex-wrap: wrap; /* optional for responsiveness */
}

#projects-container .proj-item-info h2 {
    /*flex: 1;*/
    margin: 0;
    max-width: 50%;
    text-align: left;
}

#projects-container .proj-item-info h3 {
    flex: 1;
    margin: 0;
    padding: 0 16px;
    text-align: center;
}

#projects-container .proj-item-info .proj-item-btn {
    /*flex: 1;*/
    text-align: right;
}
/*-------------*/
#projects-container .proj-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
}

#projects-container .proj-item-left {
    display: flex;




    display: flex;
    flex: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap:10px;
    min-width: 0;

}

#projects-container .proj-item-left h2 {

    max-width: 50%;
    margin: 0;
    text-align: left;
}

#projects-container .proj-item-left h3 {
    flex-grow: 1;
    margin: 0;
    text-align: center;
}

#projects-container .proj-item-btn {
    flex-shrink: 0;
    margin-left: auto;
}

#projects-container .proj-item-btn {
    flex-shrink: 0;
}


/*-------------*/
@media screen and (max-width: 900px) {
    #projects-container .proj-item {
        width: calc((100% - 40px) / 2);
    }
}

@media screen and (max-width: 600px) {
    #projects-container .proj-item {
        width: 100%;
    }
}

.ProjectHolderPage .categ-menu-wrap {
    position: fixed;
    left: 0;
    z-index: 1;
    right: 0;
    top: 10vh;
}

#projects-container .proj-item {
    width: calc((100% - 40px) / 3);
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#projects-container .proj-item a {
    display: block;
    width: 100%;
}

#projects-container .proj-item-bg {
    display: block;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    border-radius: 16px;
}

#projects-container .proj-item-bg img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

#projects-container .proj-item-info h2 {
    /*flex: 1;*/
    margin: 0;
    font-size: 14px;
    text-align: left;
}

#projects-container .proj-item-info h3 {
    flex: 1;
    margin: 0;
    padding: 0 16px;
    font-size: 14px;
    text-align: center;
}

#projects-container .proj-item-info .proj-item-btn {
    /*flex: 1;*/
    text-align: right;
}

/*-------------photo proj page--------------------*/
.PhotoProjectPage .carousel-counter {
    position: absolute;
    bottom: calc(16vh + 16px);
    right: 16px;
}

.PhotoProjectPage #popup-view-container {
    cursor: none;
    touch-action: none;

}

.PhotoProjectPage .popup-btn-anim-section {
    display: flex;
    position: absolute;
    width: 100vw;
    height: 100%;
    top: 0;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

.PhotoProjectPage .popup-view-anim-btn {
    position: absolute;

    top: 0;
    left: 0;

    backface-visibility: hidden;
    pointer-events: none;
    opacity: 0.5;
}

.PhotoProjectPage .large-image {
    text-align: center;
}

.PhotoProjectPage .large-image img {

    height: 84vh;
    margin-top: 0vh;

    transition: transform 0.3s ease-in-out;
}

.PhotoProjectPage .photo-carousel-wrapper {
    visibility: hidden;
    height: 16vh;
    width: 100vw;
    position: absolute;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(15px);
    background-color: rgba(130, 129, 129, 0.26);


    display: flex;
    flex-wrap: nowrap;

}

.PhotoProjectPage .video-marker {
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 2px;
    height: 18vh;
    background-color: #fff;
    transition: left 0.3s ease;
    z-index: 4;
}

.PhotoProjectPage .photo-carousel-box {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/


    flex: 0 0 auto;

    height: 80%;
    width: auto;
    margin: 0;
    padding: 0 20px;
    position: relative;
    flex-shrink: 0;
    font-size: 21px;
    cursor: pointer;
}

.PhotoProjectPage .photo-carousel-box img {
    height: 100%;
}

.PhotoProjectPage .show-overflow {
    overflow: visible;
}

.PhotoProjectPage .modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100%;

    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(15px);
    background-color: rgba(130, 129, 129, 0.26);
}

.PhotoProjectPage .btn-anim-section {

    z-index: 1;
}

.PhotoProjectPage #view-container {
    cursor: none;
    touch-action: none;

}

.PhotoProjectPage .view-anim-btn {
    position: absolute;

    top: 0;
    left: 0;

    backface-visibility: hidden;
    pointer-events: none;
    opacity: 0.5;
}

.PhotoProjectPage .marquees-wrap {

    position: relative;
}

.PhotoProjectPage .site-info {
    top: 30%;
    z-index: 2;
}

/*.VideoProjectPage .site-info {*/
/*z-index: 1;*/
/*}*/

.PhotoProjectPage .img-preview {
    position: absolute;
    /*top: 35vh;*/
    left: 20vw;
    right: 20vw;
    height: 78vh;
    width: auto;
    border-radius: var(--radius);
    overflow: hidden;
    background-position: center !important;
    background-size: cover !important;
}

/*-------------------------------------------------*/
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(15px);
    background-color: rgba(130, 129, 129, 0.26);
}



.VideoProjectPage  .btn-anim-section {

    z-index: 1;
}
.VideoProjectPage   #view-container{
    cursor: none;
    touch-action: none;

}
.VideoProjectPage   .container {
    position: absolute;
    top: 0;
}

.VideoProjectPage   .btn-anim-section {
    display: flex;
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    align-content: center;
}

.VideoProjectPage   .view-anim-btn,  .VideoProjectPage  .close-anim-btn, .VideoProjectPage  .play-anim-btn{
    position: absolute;

    top: 0;
    left: 0;

    backface-visibility: hidden;
    pointer-events: none;
    opacity: 0.5;
}







.VideoProjectPage   .img-preview{
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.VideoProjectPage  .img-preview  video,  .VideoProjectPage .img-preview  img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.VideoProjectPage .marquees-wrap{
    position: fixed;

}.VideoProjectPage .site-info {
     z-index: 1;
 }
/*-------------------------------------------------*/

@media screen and (max-width: 900px) {
    #projects-container .proj-item {
        width: calc((100% - 40px) / 2);
    }
}

@media screen and (max-width: 600px) {
    #projects-container .proj-item {
        width: 100%;
    }
}

/*-----------------------------------*/
@media (max-width: 900px) {
    body.ErrorPage,  body.HomePage, body.ContactPage, body.PhotoProjectPage, body.VideoProjectPage {
        overflow: hidden;
        touch-action: none;
    }

    /*.container {*/
    /*touch-action: none;*/
    /*}*/
    .site-info {
        top: 1.5em;
        left: 50%;
        max-width: 33%;
        transform: translateX(-50%);
    }

    .minimap {
        top: auto;
        right: auto;
        bottom: 82px;
        left: calc(50% - 30px);
        width: auto;
        height: 65px;
        touch-action: none;
    }

    .indicator {
        top: 0;
        left: 0;
        width: 60px;
        height: 100%;
    }

    .items {
        flex-direction: row;
        width: max-content;
        height: 100%;
        touch-action: none;
    }

    .item {
        width: 60px;
        height: 100%;
        padding: 5px;
    }

    .img-preview {
        top: 45%;
        width: 75%;
        height: 50%;
    }
}

/*-------------------------------------------*/
/*-------------------------------------------*/
/*-------------------------------------------*/
/*-------------------------------------------*/

@media (max-width: 1199px) {
    :root {

    }

}

@media (max-width: 991px) {
    :root {

    }

    .proj-holder-wrap .grid__item {
        /*width: calc(50% - var(--padd-default));*/
        width: 50%;
    }

}

/*max mobile*/
@media (min-width: 768px) {
    .mobile-menu-wrap, .mobile-menu-btn {
        display: none;
    }

    .mobile-prev-next-box, .mobile-proj-count {
        display: none;
    }
    .mobile-popup-view-anim-btn{
        display: none;
    }
}

@media (max-width: 767px) {

    :root {
        font-size: 14px;

    }

    .site-info {
        top: auto;
        left: 6vw !important;
        right: 6vw;
        width: 88vw;
        max-width: 88vw;
        bottom: 163px;
        transform: none;
    }
    .ContactPage .site-info {  bottom: 90px;}
    .marquee .card {
        font-size: 3.5rem;
    }

    .menu-wrap, .desktop-time {
        display: none;
    }

    .HomePage #view-container,   .ErrorPage #view-container  {
        cursor: pointer;
        touch-action: initial;
    }

    .HomePage .view-anim-btn,  .ErrorPage .view-anim-btn  {
        position: absolute;
        top: 50%;
        left: 50vw;
        backface-visibility: hidden;
        pointer-events: initial;
        opacity: 1;
        transform: translate(-50%, -50%);
    }

    .mobile-menu-btn {

        position: fixed;
        z-index: 99998;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        font-size: 1.3rem;

        padding: calc(var(--padd-half) * 1.7) calc(var(--padd-default) * 2.5);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5em;
    }

    .mobile-menu-wrap .nav-item {
        font-size: 2rem;
        padding: var(--padd-default) calc(var(--padd-default) * 2);
    }

    .mobile-menu-wrap {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 8;
        width: 100vw;
        height: 100%;
        pointer-events: none;
        opacity: 0;
        backdrop-filter: blur(15px);
        background-color: rgba(130, 129, 129, 0.26);

        display: none;
        inset: 0;

    }

    .menu-icon {
        position: relative;
        width: 20px;
        height: 10px;
    }

    .menu-icon .line {
        position: absolute;
        width: 100%;
        height: 2px;
        background: #fff;
        left: 0;
        transition: all 0.3s ease;
    }

    .menu-icon .line.top {
        top: 0;
    }

    .menu-icon .line.bottom {
        bottom: 0;
    }

    .ContactPage .siteinfo {
        bottom: 3.5rem;

    }

    .mobile-menu {
        position: absolute;
        top: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--padd-default);
        left: 0;
        right: 0;
        transform: translateY(-50%);
    }

    #mobile-time {
        position: absolute;
        bottom: calc(5% + 50px);
        text-align: center;
        left: 0;
        right: 0;
    }
    .current-categ.anim-btn.btn--stroke:hover {
        color: #000000;

    }
    /*------------------*/
    .img-preview .view-anim-btn{

        top: 50%;
        left: 50%;

        backface-visibility: hidden;
        pointer-events: initial;
        opacity: 1;
        position: absolute;
        transform: translate(-50%, -50%);

    }
    .VideoProjectPage .view-anim-btn {
        top: 28%;
        left: 50%;

        backface-visibility: hidden;
        pointer-events: initial;
        opacity: 1;
        position: absolute;
        transform: translateX(-50%);
    }
    .PhotoProjectPage .img-preview {
        position: absolute;
        top: 15vh;
        left: 6vw;
        right: 6vw;
        height: 50vh;
    }

    .PhotoProjectPage .site-info {
        top: auto !important;
        bottom: 15%;
        z-index: 2;
    }

    #view-container, .PhotoProjectPage #popup-view-container {
        cursor: pointer!important;
        touch-action: initial!important;
    }
    .PhotoProjectPage .popup-btn-anim-section .popup-view-anim-btn{
        opacity:0;
        visibility: hidden;
    }
    .mobile-popup-view-anim-btn{
        display: block;        position: absolute;
        top: calc(50% - 6vh);pointer-events: none;
    }
    .mobile-next-popup-btn{
        right: 3vw;
    }.mobile-prev-popup-btn{
             left: 3vw;
    }
    .PhotoProjectPage .photo-carousel-wrapper {

        height: 12vh;
    }
    .PhotoProjectPage .carousel-counter {
        bottom: calc(12vh + 16px);
    }

    .PhotoProjectPage .video-marker {

        height: 15vh;
    }
    .PhotoProjectPage .large-image {

        height: calc(100% - 12vh);
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .PhotoProjectPage .large-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
.proj-description{
    display: none;
}
    .ContactPage .proj-description{
        display: block;
    }
    /*------------------*/
    #projects-container  .proj-item-info {
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: flex-start;
    }

    #projects-container   .proj-item-left {
        flex-direction: column;
        align-items: flex-start;
        flex: 1; gap:0;
    }

    #projects-container   .proj-item-btn {
        margin-left: auto;
        align-self: flex-start;

    }
    .proj-holder-wrap .grid__item {
        width: 100%;
    }

    #projects-container .view-anim-btn {

        top: 50%;
        left: 50%;

        backface-visibility: hidden;
        pointer-events: initial;
        opacity: 1;
        position: absolute;
        transform: translate(-50%, -50%);

    }


    #projects-container .grid-bg {

        cursor: pointer;
        touch-action: initial;
    }

    #projects-container .proj-item-info h3 {

        padding: 2px 0;
        text-align: left;
    }

    #projects-container .proj-item-info .proj-item-btn {

        text-align: left;
    }

    .ProjectHolderPage .categ-menu-wrap {

        top: 7vh;
        padding: 0 var(--padd-default);

        gap: var(--padd-default);
        justify-content: initial;
        align-items: initial;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    .proj-holder-wrap.grid {
        padding: 20vh 3vw 10vh 3vw;

    }
    .ProjectHolderPage .categ-menu-wrap::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .ProjectHolderPage .categ-menu-wrap .filter-btn {
        white-space: nowrap;
        display: inline-block;
        padding: var(--padd-half) calc(var(--padd-default) * 1.5);
    }

    .anim-btn {
        overflow: initial;
    }

    .anim-btn.btn--stroke:hover {
        color: inherit;
    }

    /*------------------------------*/
    .mobile-prev-next-box, .mobile-proj-count {
        display: flex;
    }

    .desktop-prev-next-box, .desktop-proj-count {
        display: none;
    }
    .mob-inline-wrap .proj-count {
        position: relative;
        top: 0;
        margin: 0;
        right: 0;
    }
    .mob-inline-wrap{
        display: flex;
        flex-direction: row;
        gap: 8px;
    }
}

@media (max-width: 575px) {
    :root {
        font-size: 13px;
        --padd-default: 12px;
        --radiusS: 16px;
        --radiusB: 24px;
        --icon: 88px;

    }

}

/*1200- 1600*/

@media (min-width: 992px) {

}

@media (min-width: 1921px) {
    :root {
        /*font-size: 18px;*/
        --padd-default: 18px;

    }

}

@media (min-width: 2400px) {
    .card {
        font-size: 10rem;

    }
    /*ramane asa*/
    :root {
        /*font-size: 18px;*/
        --padd-default: 24px;
        --radius: 24px;
    }

    .proj-holder-wrap .grid__item {
        /*width: calc(25% - var(--padd-default));*/
        width: 25%;
    }
}


@media (min-width: 3000px) {

}


