body {
	margin: 0;
	padding: 0;
	font-family: arial;
  overflow-x: hidden;
  background-color: black;
  background-image: url(../img/binding_dark.png);
}
html {
	scroll-behavior: smooth;
  overflow-x: hidden;
}
@font-face {
  font-family: "ShreeDev0714";
  src: url('ShreeDevRegular.ttf') format('truetype');
  font-weight: normal;
}
@import url('https://fonts.googleapis.com/css?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css?family=Didact+Gothic|Oswald|Roboto+Condensed:300&display=swap');
/*=================================================
        
        NAVBAR MOBILE

==================================================*/
  /* Main menu positionning */
.header-mobile {
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: #0b1011;
}
.header-mobile a img {
  padding: 5px 0px;
}
.mobile {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    text-align: center;
    background: #FFF;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    transition: all .375s;
}

.mobile.is-open {
    opacity: 1;
    z-index: 100;
    visibility: visible;
}

/* Yellow band effect */
.mobile::before {
   content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -15px;
    background: #0b1011;
    transform-origin: 0 0;
    transform: skew(-14deg) translateX(-120%);
    transition: all .275s .1s;
}

.mobile.is-open::before {
    transform: skew(-14deg) translateX(0);
}

/* Skewing effect on menu links */
.mobile ul {
    display: inline-flex;
    flex-direction: column;
    height: 93%; /* Should be 100%, but we have a notice message :D */
    align-items: flex-end;
    justify-content: center;
    transform: translateX(-18%) skew(-16deg);
}

.mobile li {
    display: block;
    margin: .5rem 0;
    text-align: right;
    transform: skew(16deg);
}

/* Apparition effect on links */
.mobile a {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile.is-open a {
    opacity: 1;
    transform: translateY(0);
}
.mobile li:nth-child(1) a {
  transition: all 275ms 175ms
}
.mobile li:nth-child(2) a {
  transition: all 275ms 225ms
}
.mobile li:nth-child(3) a {
  transition: all 275ms 275ms
}
.mobile li:nth-child(4) a {
  transition: all 275ms 325ms
}
.mobile li:nth-child(5) a {
  transition: all 275ms 375ms
}


/* Decoration */
.mobile ul,
.mobile li {
  list-style: none;
  padding: 0;
}
.mobile a {
  display: block;
  padding: 12px 0;
  color: white;
  font-size: 1.4em;
  text-decoration: none;
  font-weight: bold;
  font-family: "lato";
}

/* Burger Style: @see: https://codepen.io/CreativeJuiz/full/oMZNXy */
.open-main-nav {
  position: fixed;
  top: 15px;
  padding-top: 20px;
  right: 15px;
  z-index: 1000;
  background: none;
  border: 0;
  cursor: pointer;
}
.open-main-nav:focus {
  outline: none;
}
.burger {
  position: relative;
  display: block;
  width: 28px;
  height: 4px;
  margin: 0 auto;
  background: white;
  transform: skew(5deg);
  transition: all .275s;
}

.burger:after,
.burger:before {
  content: '';
  display: block;
  height: 100%;
  background: white;
  transition: all .275s;
}

.burger:after {
  transform: translateY(-12px) translateX(-2px) skew(-20deg);
}

.burger:before {
  transform: translateY(-16px) skew(-10deg);
}

/* Toggle State part */
.is-open .burger {
  transform: skew(5deg) translateY(-8px) rotate(-45deg);
}

.is-open .burger:before {
  transform: translateY(0px) skew(-10deg) rotate(75deg);
}

.is-open .burger:after {
  transform: translateY(-12px) translateX(10px) skew(-20deg);
    opacity: 0;
}

/*MENU Text part*/

.burger-text {
  display: none;
  font-size: .675rem;
  letter-spacing: .05em;
  margin-top: .5em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  color: #5A3B5D;
}
.device {
  display: none;
}
/*============================================
        
        NAVBAR DESKTOP

==============================================*/
.nav-gradient {
  width: 100%;
  height: 200px;
  top: 0;
  left: 0;
  position: fixed;
  background: rgb(2,0,36);
background: -moz-linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%);
background: -webkit-linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%);
background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#020024",endColorstr="#000000",GradientType=1);
}
.main-nav {
  width: 100%;
  height: 60px;
  background-color: rgba(255,255,255,0.0);
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  align-items: center;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  padding: 16px 10px 0px;
}
.main-nav div a {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  text-transform: capitalize;
  color: white;
}

.main-nav div {
  background-color: none;
  text-align: center;
}
/*==logo and transitions===*/
.logo {
  padding: 0 0 0 20px;
}
.logo img {
  object-fit: contain;
  height: 60px;
  padding: 3px 0px 0px 5px;
  object-position: center center;
  opacity: 0.7;
  transition: opacity 200ms ease-in-out;
}
.logo img:hover {
  opacity: 1;
}
.portfolio {
  grid-column: 5;
  transform: scale(1.0);
  transition: transform 150ms linear;
  opacity: 1;
}
.theteam {
/*  white-space: nowrap;
*/  grid-column: 6;
transform: scale(1.0);
  transition: transform 150ms linear;
}
.team {
  display: none;
  transform: scale(1.0);
  transition: transform 150ms linear;
}
.gallery {
  grid-column: 7;
  transform: scale(1.0);
  transition: transform 150ms linear;
  opacity: 0.4;
}
.portfolio:hover {
  transform: scale(1.1);
}
.theteam:hover {
  transform: scale(1.1);
}
.team:hover {
  transform: scale(1.1);
}
.gallery:hover {
  transform: scale(1.1);
}
/*=====social icons======*/
.social-header {
  grid-column: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: space-evenly;
  filter: invert(100%);
}
.social-header a {
  padding: 0 10px;

}
.hd-facebook {
  opacity: 0.5;
  transition: opacity 200ms ease-in-out;
}
.hd-instagram {
  opacity: 0.5;
  transition: opacity 200ms ease-in-out;
}
.hd-youtube {
  opacity: 0.5;
  transition: opacity 200ms ease-in-out;
}
.hd-facebook:hover {
  opacity: 1;
}
.hd-instagram:hover {
  opacity: 1;
}
.hd-youtube:hover {
  opacity: 1;
}
/*======contact button======*/
.contact {
  grid-column: 11;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid white;
  border-radius: 5px;
  margin: 0 20px;
  max-width: 125px;
  transition: background-color 200ms ease-in-out,
        color 200ms ease-in-out;
}
.contact:hover {
  background-color: rgba(255,255,255,1);
}
.contact a {
  display: block;
  width: 100%;
  height: 100%;
  color: white;
  transition: color 200ms ease-in-out;
  padding: 7px;
}
.contact a:hover {
  color: black;
}
/*========================================
        
        FOOTER: 

=========================================*/

.footer {  /*general settings of footer*/
  height: 200px;
  background-color: #999999;
  /*background-image: url(patterns/mochaGrunge.png);*/
  /*clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0% 100%);*/
  /*margin-top: -45px;*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer p {     /*paragraph settings */
  color: #474747;
  padding: 15px;
  margin: 0px;
  font-family: 'ShreeDev0714',sans-serif;
  font-size: 14px;
  transition: opacity 200ms ease-in-out;
  cursor: default;
}
.footer p:last-child {   /*copyright @2020 settings*/
  opacity: 0.4;
  padding: 0;
}
.footer p:first-child {
  padding-bottom: 3px;
}
.social-footer {     /*social media pagination*/
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  padding: 5px 0px;
  /*border-top: 1px solid #595959;
  border-bottom: 1px solid #595959;*/
}
/*====hover transitions for social images====*/
.ft-facebook {
  opacity: 0.5;
  transition: opacity 200ms ease-in-out;
}
.ft-instagram {
  opacity: 0.5;
  transition: opacity 200ms ease-in-out;
}
.ft-youtube {
  opacity: 0.5;
  transition: opacity 200ms ease-in-out;
}
.ft-facebook:hover {
  opacity: 1;
}
.ft-instagram:hover {
  opacity: 1;

}
.ft-youtube:hover {
  opacity: 1;
}
/*=================================

            CONTENT

===================================*/
.row {
  margin-top: 0px;
}
.container-fluid {
  margin-top: 120px!important;
  margin-bottom: 100px!important;
  padding-left: 12%;
  padding-right: 12%;
}
.col-sm-6 {
  padding-top: 30px;
  position: relative;
}
.col-sm-6::before {
  content: '';
  display: block;
  position: absolute;
  background-color: white;
  top: 30px;
  left: 15px;
  right: 15px;
  bottom: 0px;
  opacity: 0;
  border-radius: .25rem;
  transition: opacity 200ms ease-in-out;
}
.col-sm-6:hover::before {
  opacity: .3;
}
/*=================================
    
    RESPONSIVE QUERIES

====================================*/

  

/*TABLET SIZE SCREEN*/
@media only screen and (max-width: 1200px) /*de-aici se modifica team si padding la socialu de sus*/ {
  .main-nav {
    height: 56px;
  }
  .team {
    display: block;
  }
  .theteam {
    display: none;
  }
  /*.social-header a {
    padding: 0 6px;
  }*/
}
/*MOBILE WIDTH*/
@media only screen and (max-width: 950px) {
  .nav-gradient {
    display: none;
    }
    .main-nav {
    display: none;
  }
  .device {
    display: block;
  }
  .team-container {
    width: auto;
    margin-top: 0;
    min-width: 0;
  }
  .team-section {
    align-items: center;
    height: auto;
    padding-bottom: 100px;
  }
  .team-container > div .description {
    font-size: .95em;
  }
  .team-container > div h3 {
    font-size: 1.4em;
  }
}
@media only screen and (max-width: 375px) {
  .team-container > div img {
    height: 90px;
    width: 90px;
  }
  .team-container > div .description {
    min-width: 0;
    font-size: .85em;
    padding-right: 50px;
  }
  .team-container > div .description p {
    width: 170px;
  }
}