/*global styles*/

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;469;500;600;700&display=swap');

h1, h2, h3,h4, h5, h6{
	font-family: 'Jost', sans-serif;
}

p{
	font-family: 'Roboto', sans-serif;
}

::selection {
  color: white;
  background: #D3062F;
}

main{
	height: 100vh;
}


a{
	color: black;
}

a:hover{
	color: black;
}

p > a , li > a{
	font-weight: 500;
}

p > a:hover {
	text-decoration: underline;
}

.sidebar li{
	list-style: none;
}

.lead{
	padding-bottom: 30px;

}


nav a{
	font-family: 'Jost', sans-serif;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	display: inline-block;
}

nav a:hover{
	color: #fff;
	text-decoration: none;
	display: inline-block;
}

@media screen and (max-width: 991px) {
	.justify-content-center, .justify-content-end{
		justify-content: center !important;
	} 
}

@media screen and (max-width: 991px) {
	.mobile-hide{
		display: none;
	} 
}

.mobile-show{
	display: none;
}

@media screen and (max-width: 991px) {
	.mobile-show{
		display: block;
	} 
}



/* MOBILE MENU*/

#menuToggle {
  display: flex;
  flex-direction: column;
  top: 25px;
  left: 25px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: flex;
  width: 40px;
  height: 32px;
  position: absolute;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}

#menuToggle span
{
  display: flex;
  width: 29px;
  height: 2px;
  margin-bottom: 5px;
  position: relative;
  background: #000;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 5px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-3px, -1px);
  background: #36383F;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

#menuToggle input:checked ~ ul
{
  transform: none;
}

#menu-mobile
{
background-color: #fff;
height: 150vh;
width:250px;
right:-250px;
position:fixed;
top: 0;
transition: 0.5s;
transform-origin: 0% 0%;
padding-top: 70px;
}

#menuToggle input:checked ~ #menu-mobile{
	transform: translate(-100%, 0);	
}


#menu-mobile li
{
  padding: 20px 60px 0 0;
  font-size: 25px;
  transition-delay: 2s;
  color: #000;
  text-align: right;
  list-style-type: none;
}

nav  #menu-mobile  a{
	color: #000;
}

@media screen and (max-width: 991px) {
	nav{
		background-color: #fff;
		-webkit-box-shadow: 0px -2px 14px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px -2px 14px 0px rgba(0,0,0,0.75);
		box-shadow: 0px -2px 14px 0px rgba(0,0,0,0.75);
	}

}

/*red navigation button variants*/
nav .nav-red{
	font-family: 'Jost', sans-serif;
	font-weight: 600;
	color: #000;
    background: linear-gradient(to left, #fff 50%, #D3062F 50%);
    background-size: 200% 100%;
    background-position:right bottom;
    transition:all 0.5s ease;
    border-radius: 2px;
    }

nav .nav-red:hover{
	text-decoration: none;
	background-position:left bottom;
	color: #fff;
}

.nav-red{
	font-family: 'Jost', sans-serif;
	font-weight: 600;
	color: #fff;
    background: linear-gradient(to left, #6c757d 50%, #D3062F 50%);
    background-size: 201% 100%;
    background-position:right bottom;
    transition:all 0.5s ease;
    border-radius: 2px;
    }

.nav-red:hover{
	text-decoration: none;
	background-position:left bottom;
	color: #fff;
}


.red-active{
	background-color: #D3062F;
	border-radius: 2px;
}


/*Home styles*/
.red{
	transition: 1s;
	background-color: #6c757d;

}

.red:hover{
	transition: 1s;
	background-color: #D3062F;
}

.home-content{
	margin-top: 25vh;
}

.cover-heading{
	font-size: 6vw;
	/*maybe bugged IPAD******************************************************************/
	padding-right:5px; 
	padding-left:5px;
}


.home-heading{
	padding-right: 1.5vw;
	text-align: right;
	color: white;
}


.home-heading:hover{
	color: white;
	text-decoration: none;
}

.home-heading h1{
	display: inline-block;
    background: linear-gradient(to right, transparent 50%, black 50%);
    background-size: 200% 100%;
    background-position:left bottom;
       transition:all 1s ease;
}


.home-heading:hover h1{
	background-position:right bottom;

}

@media screen and (max-width: 991px) {
	.home-heading:hover h1{
		background-position:left bottom;
	}
}

.home-heading p{
	margin: 0px;
}

.home-heading-white{
	padding-right: 1.5vw;
	text-align: right;
	color: white;
	text-align: left;
	background-color: white;
	color: black;
}

.home-heading-white:hover{
	color: black;
}

.home-heading-white .cover-heading{
	margin-top: 5vh;
}

/*HOME Responsive adjustments*/
@media screen and (max-width: 991px) {
  .red {
    background-color: #D3062F;
  }
  .green {
    background-color: #73C507;
  }
  .blue {
    background-color: #008DD5;
  }
  .cover-heading{
	font-size: 40px;
  }
  .home-heading{
  	padding-right: 5vw;
  }
}

/*Portfolio styles*/
.trigger{
	border-top: 2px solid black;
}

.hide{
	display: none;
}

.trigger:hover + .hide{
	display: block;
  	position: absolute;
	left: 0;
}

.trigger > .row > h3{
	flex-basis: 33%;
	margin-top: 8px;
}

.trigger > .row > h3:nth-child(2){
	text-align:center;
}

.trigger > .row > h3:nth-child(3){
	text-align:right;
}


@media screen and (max-width: 991px) {
	.trigger:hover + .hide{
		display: none;
	}
	.trigger > .row > h3:nth-child(3){
		display:none;
	}
	.trigger > .row > h3{
		flex-basis: 50%;
		margin-top: 8px;
	}
	.trigger > .row > h3:nth-child(2){
		text-align:left;
	}

}	


/*contact styles*/
.clipboard{
	width: 20px;
	margin-left: 10px;
	margin-bottom: 0px;
}

.h-divider{
	border-color: #000;
	width: 70%;
	margin-bottom: 5px;
}

.contact-img{
	color: #000;
	opacity: 1;
	transition: 0.3s ease-out;
	height: 35px;
	margin-bottom: 20px;
}

.contact-img:hover{
	color: #000;
	opacity: 0.5;
	cursor: pointer;
}




/*about me styles*/
.intel{
	border-top: 2px solid black;
	margin-top: 15px;
}

.intel > .row > h5{
	flex-basis: 33%;
	margin-top: 8px;
}

.intel > .row > h5:nth-child(2){
	text-align:center;
}

.intel > .row > h5:nth-child(3){
	text-align:right;
}

/*case study style*/

.sidebar{
	margin: 150px 0 0 0;
	padding: 0 0 0 30px; 
}

.nav-item{
	padding: 5px 0;
}



/*Bootstrap override*/
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
}

@media screen and (max-width: 991px) {
	.footer{
		position: unset;	
		margin-top: 50px;
	} 
}

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
  cursor: pointer;
}