/*  Scroll test  */

.scroll-content {
    display: flex !important;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

.scrollbar-track-x {
    display: none !important;
}

html,
body {
    margin: 0;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

main {
    overflow-y: hidden;
    display: flex;
}

h1 {
    margin: 0;
    padding: 0;
}

section {
    /* height: 100vh; */

    justify-content: center;
    align-items: center;
}

/*
section:nth-child(even) {
    background-color: teal;
    color: white;
}
*/

[data-scrollbar] {
    display: flex !important;
}

@media (max-width: 992px) {
    section {
        overflow: visible;
    }
}

/*  Scroll test end */

img {
    border-radius: 16px;
}

.titleSection {
    min-width: 650px;
    position: relative;
    /* min-height: 100vh; */
}
.technology-links-layer{
	display:inline-block;
}
.technology-links-layer a{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 16px auto;
}
.technology-links-layer a img{
	width:20.5px;
	margin-right:10px;
	border-radius: 0;
}
.technology-links-layer a span{
	line-height: 1;
	font-size:18px;
}
.navbar-brand.logo {
    position: absolute;
    z-index: 5;
    left: 120px;
    top: 34px;
}

.scrollTips {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translate(0, -50%);
	opacity:1;
	-webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.scrollTips.disable{
	opacity:0;
}

.scrollTips div {
    display: flex;
    align-items: center;
}

.scrollTips span {
    width: 105px;
    margin-right: 8px;
}

.scrollTips img {
    width: 44px;
}

.scrollTips.mobile img {
    transform: rotate(90deg);
}

.contentDiv {
    position: absolute;
    left: 120px;
    bottom: 96px;
    width: 400px;
}

.brandName {
    margin: 12px 0;
}

.thumbnail {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    border-radius: 16px;
}

.gallery {
    margin: auto;
    display: flex;
    padding: 0 80px;
}

.gallery img {
    width: auto;
    height: 50vh;
}

.gallery .top {
    margin-bottom: 32px;
}

.gallery>div {
    height: 80vh;
    /* height: calc(var(--vh, 1vh) * 80); */
}

.sectionDiv {
    margin: auto auto;
    display: flex;
    padding: 0 80px 0 150px;
}

.sectionDiv>div:first-child {
    position: relative;
}

.sectionTitle {
    position: absolute;
    left: 0;
    bottom: 84.5px;
	transform: translate(-50%, 50%);
	-moz-transform: translate(-50%, 50%);
	-webkit-transform: translate(-50%, 50%);
}

.sectionTitle.center {
    bottom: 50%;
}

.sectionTitle img {
    width: 300px;
    position: relative;
}

.sectionTitle span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    text-align: center;
}

.sectionImg {
    height: 80vh;
}

.sectionContent {
    position: absolute;
    right: 30px;
    bottom: 42px;
    width: 330px;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 0.05em;
    text-align: left;
	text-shadow: 1px 1px #00000080;
}
.sectionContent.black{
	color:#1C1C1C;
	text-shadow: 1px 1px #ffffff80;
}

.moreProject{
	background: #FA0237;
}
.moreProject>div:first-child {
    height: 80%;
    overflow: hidden;    
    width: 280px;
    padding: 0 32px;
	position: relative;
    top: 50%;
    transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	display: flex;
    flex-direction: column;
}

.moreProject span {
    height: 25%;
    display: flex;
    align-items: center;
}

.otherProject {
    margin: 0 160px;
    display: flex;
    align-items: center;
    cursor: pointer;
	position: relative;
}
.otherProject .content-layer{
	width: auto;
    height: calc(var(--vh, 1vh) * 80);
	position: relative;
}

.technology-tag{
	margin-top:24px;
	display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px #fff solid;
    border-radius: 25.5px;
    padding: 7px 34.5px;
}
/*
.otherProject img.hover{
	position: absolute;
    top: 0;
    left: 0;
	opacity:0;
}*/

/*
.otherProject:hover img {
    opacity:0;
}
.otherProject:hover img.hover {
    opacity:1;
}*/
.otherProject .mask{
	-webkit-mask-image: url(../img/OurProjects/Purdey.png);
    mask-image: url(../img/OurProjects/Purdey.png);
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
	height: 100%;
}
.otherProject .mask>div{
	position: relative;
    width: 100%;
    height: 100%;
	-webkit-transition: transform 0.4s ease-out;
    -moz-transition: transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
	transform: scale(1.0);
	-moz-transform: scale(1.0);
	-webkit-transform: scale(1.0);
}

.otherProject img {
    width: auto;
    height: 100%;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.otherProject .mask:hover div {
    transform: scale(1.1);
	-moz-transform: scale(1.1);
	-webkit-transform: scale(1.1);
}

.otherProject .heading-01 {
    position: absolute;
    right: 0;
    bottom: -15px;
	transform: translateX(50%);
	-moz-transform: translateX(50%);
	-webkit-transform: translateX(50%);
	text-shadow: 5px 4px 21px #000;
}

.otherProject span.top {
    bottom: unset;
    top: -15px;
}

#closeBtn {
    opacity: 0;
    pointer-events: none;
    right: 34px;
    left: unset;
    margin: unset;
    padding: unset;
}

#closeBtn.active {
    opacity: 1;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    pointer-events: auto;
}
.arrow-layer {
    position: relative;
	pointer-events:auto;
	cursor:pointer;
	display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-layer img {
	width:100%;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    transform: rotate(0deg);
}
.arrow-layer:hover img {
    transform: rotate(60deg);
}

.arrow-layer img:nth-child(2) {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0;
}
.arrow-layer:hover img:nth-child(2) {
    opacity: 1;
}

.titleSection .color-red::after {
  content: '';
  width: 0px;
  height: 2px;
  display: block;
  background: #FA0237;
  transition: 300ms;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.titleSection .color-red:hover::after {
  width: 100%;
}
.titleSection .color-red:hover{
	color: #FA0237;
}

.blackScreen{
	position: absolute;
    top: 0;
    left: 0;
    background: #1c1c1c;
    z-index: 99;
    width: 100%;
    height: 100%;
	display:none;
}
@media (max-width: 1240px) {
    .otherProject .content-layer {
        height: calc(var(--vh, 1vh) * 65);
    }	
}
@media (max-width: 1239.98px) {
    section {
        overflow: unset;
    }	
}
@media (max-width: 1024px) {
	.scrollTips img {
		transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
	}	
}
@media (max-width: 768px) {
	.otherProject{
		margin: 0 120px;
	}
	.otherProject .heading-01{
		right: 50%;
		bottom: -90px;
	}
	.otherProject span.top{
		top: -90px;
	}
}
@media (max-width: 440px) {
	body{
		position:fixed;
		height:100vh;
	}
    section {
        overflow: unset;
		height:calc(100vh - 56px);
    }
	.titleSection{
		min-width: 100%;
	}
	.navbar-brand.logo, .contentDiv{
		left:35px;
	}
	.contentDiv{
		width:auto;
		bottom: 45px;
	}
	.sectionContent{
		font-size: 16px;
		line-height: 21px;
	}
	.video-section{
		min-width: 100%;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100vh;
	}
	.video-section video{
		width: 100%;
		height:auto;
	}		
	.sectionImg {
		height: 60vh;
	}
	.sectionTitle{
		bottom: 47px;
	}
	.sectionTitle img{
		width: 168px;
	}
	.sectionTitle span{
		font-size: 24px;
	}
	.otherProject .content-layer {
		height: calc(var(--vh, 1vh) * 45);
	}
	.otherProject{
		margin: 0 80px;
	}	
	.otherProject .heading-01{
		bottom: -70px;
	}
	.otherProject span.top{
		top: -70px;
	}
	.technology-links-layer a span{
		font-size:16px;
		display:none;
	}
	.gallery>div{
		height:60vh;
	}
	.gallery img{
		height: 37.5vh;
	}
	.gallery .top {
		margin-bottom: 3vh;
	}
	.gallery>div:nth-of-type(1) img:nth-of-type(2){
		height: 19.5vh !important;
	}
	.gallery>div:nth-of-type(2) .top{
		height: 19.5vh !important;
	}
	.scrollTips{
		top: 0;
		transform: translate(0, -100%);
		left:0;
	}
	.scrollTips span{
		margin-right:0;
	}
	.technology-links-layer{
		position: relative;
		bottom: -5px;
		left: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.technology-links-layer a{
		margin:0;
		margin-left:24px;
	}
	.technology-links-layer a img{
		margin:0;
		width:24px;
	}
	.brandName {
		margin-bottom: 12px;
		margin-top: 16px;
	}

}

@media (max-height: 768px) {
	.sectionTitle img{
		width:250px;
	}
	.sectionTitle span{
		font-size:34px;
	}
	.sectionContent{
		font-size:20px;
		line-height: 25px;
	}
}

@media (max-height: 414px) {
	body{
		height: 100%;
		height: -moz-available;          /* WebKit-based browsers will ignore this. */
		height: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
		height: fill-available;
	}
	main{
		height:100%;
	}
	.navbar-brand.logo{
		top:15px;
	}
	.navbar-brand img, .widget img{
		max-height:35px;
		border-radius: 0;
	}
    .sectionTitle img {
        width: 150px !important;
    }

    .sectionTitle {
        left: -75px;
        bottom: 0;
    }
	.titleSection{
		min-width:100%;
	}
	.navbar-brand.logo, .contentDiv{
		left:35px;
	}
	.contentDiv {
		width: 95%;
		bottom: 10px;
	}
	.brandName{
		margin:1px 0;
	}
	.sectionContent{
		font-size: 16px;
		line-height: 21px;
	}
	.video-section{
		min-width: 100%;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100vh;
	}
	.video-section video{
		width: 100%;
		height:auto;
	}		
	.sectionImg {
		height: 60vh;
	}
	.sectionTitle img{
		width: 231px;
	}
	.sectionTitle span{
		font-size: 24px;
	}
	.otherProject .content-layer {
		top: -5vh;
	}
	.otherProject{
		margin: 0 60px;
	}	
	.otherProject .heading-01{
		bottom: -60px;
	}	
	.otherProject span.top {
		top: unset;
		bottom: -60px;
	}
	
	.titleSection .brandName {
		font-size:40px;
	}
	.titleSection .description{
		font-size:16px;
		line-height:19.2px;
		width:85%;
	}
	.video-section video{
		width:auto;
		height:100%;
	}
	.otherProject .heading-01 {
		font-size: 48px;
		letter-spacing: 0.03em;
		right: 50%;
	}
	.moreProject{
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
	}
	.moreProject .font-48{
		text-align: left;
		font-size:40px;
	}
	.moreProject  img{
		width:70% !important;
		margin-bottom: 20px;
		left: auto !important;
	}
	.sectionContent{
		font-size: 11px;
		line-height: 14px;
		width: 145px;
		right: 10px;
		bottom: 15px;
	}
	.sectionImg {
		height: 80vh;
	}
	.sectionTitle{
		left: 0;
	}
	
	.technology-links-layer{
		position: relative;
		bottom: -5px;
		left: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.technology-links-layer a{
		margin-left:15px;
	}
	.gallery .top{
		margin-bottom:3vh;
	}
	.scrollTips span{
		display:none;
	}
	.otherProject .content-layer {
		height: calc(var(--vh, 1vh) * 60);
	}
	.otherProject .heading-01 {
		font-size: 42px;
		bottom: -45px;
		line-height: 1;
	}
	.video-section{
		height:100%;
	}
}

.scrollbar-track-y {
    display: none !important;
}