* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "OswaldBold";
  src: url("./fonts/Oswald-Bold.ttf");
}
@font-face {
  font-family: "OswaldSemi";
  src: url("./fonts/Oswald-SemiBold.ttf");
}
@font-face {
  font-family: "OswaldRegular";
  src: url("./fonts/Oswald-Regular.ttf");
}
@font-face {
  font-family: "GothamBook";
  src: url("./fonts/Gotham-Book.otf");
}
@font-face {
  font-family: "GothamBookReg";
  src: url("./fonts/GothamBookRegular.otf");
}



:root {
  --dark: #313131;
  --section-title: #4F4F4F;
  --hover-color: #929292;
  --dark-placeholder: #4a4a4a4a;
  --light-placeholder: #e1e1e1;
  --oswald-semi: "OswaldSemi", sans-serif;
  --oswald-bold: "OswaldBold", sans-serif;
  --oswald-regular: "OswaldRegular", sans-serif;
  --gotham: "GothamBook", sans-serif;
  --gotham-reg: "GothamBookReg", sans-serif;
}
}


#info, #bio {
  background-color: #fff;
  animation: fadeIn 1s ease-in;

}

#portfolio, #home, #slider {
  background-color: var(--dark);
  animation: fadeIn 1s ease-in;
}

.home_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;

  background: no-repeat center center fixed;
 
}
.bg_default {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bg_contain {
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}
.bg_cover {
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.loader {
  position: fixed;
  width: 100%;
  background-color: transparent;
  z-index: 100;
}
.loader--bar {
  height: 4px;
  background-color: #ffffff;
  width: 1%;
}

/*===HOME===*/

.intro__wrapper {
  position: fixed;
  display: flex;
  background-color: var(--dark);
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  z-index: 99;
  transition: opacity 1s linear;
}

.intro__title {
  color: white;
  font-size: 36px;
  text-transform: uppercase;
  animation: fadeIn 0.4s linear;
}

.intro__title--link {
  text-decoration: none;
  color: #fff;
}

/*==== HOME ====*/

.home__background {
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  height: 100vh;
  width: 100%;
  animation: fadeIn 0.4s linear;
}


/*==== HAMBURGER MENU ====*/
.hamburger__wrapper {
  height: 24px;
  width: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hamburger__checker {
  opacity: 0;
  width: 24px;
  height: 22px;
  position: absolute;
  z-index: 100;
  cursor: pointer;

}

.hamburger__lines, .hamburger__lines1, .hamburger__lines2 {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 22px;
  ibackground-image: url('./img/Menu_white.svg');
  background-repeat: no-repeat;
  background-size: contain;
 
  transition: all 0.4s ease;
  z-index: 99;
}


.white {

}
.dark {
  display: none;
}
.hamburger__lines--dark .white {
  display: none;
  ibackground-image: url("./img/Menu_black.svg");
}
.hamburger__lines--dark .dark {
  display: block;
}

.hamburger__lines2 {
  idisplay: none;
  visibility: hidden;
  opacity: 0;
}


.hamburger__checker:checked {
  position: fixed;
}

.hamburger__checker:checked ~ .hamburger__lines1 {
 
  visibility: hidden;
  opacity: 0;
}
.hamburger__checker:checked ~ .hamburger__lines2 {

  visibility: visible;
  opacity: 1;
  ibackground-image: url("./img/Menu_X_close.svg");
}


/*==== MENU ====*/

.nav {
  /* position: fixed; */
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 133px;
  padding: 54px;
  z-index: 1;
}

.nav__logo {
  position: relative;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 900;
  animation:  0.3s ease;
}

.logo_h {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 150px;
  height: 44px;
  transition: opacity 1s ease-in-out;
}
.logo_w {
  position: absolute;
  top: -2px;
  left: -2px;
  height: 150px;
  width: 44px;
  transition: opacity 1s ease-in-out;
}
.nav__logo.logo_vertical > img.logo_h {
  opacity: 0;
}
.nav__logo.logo_gorizontal > img.logo_w {
  opacity: 0;
}
.nav__menu {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100vh;
  min-width: 270px;
  position: fixed;
  top: 0;
  right: -500px;
  display: flex;
  justify-content: flex-end;
  padding-top: 100px;
  padding-right: 54px;
  transition: right 0.6s ease-out;
}
.nav__menu--list {
  list-style: none;
  color: #fff;
}
.nav__menu--list__item {
  font-size: 24px;
  font-family: var(--oswald-bold);
  text-transform: uppercase;
  text-align: right;
  line-height: 1;
  transition: color 0.3s linear;
}

.list__item--link {
  text-decoration: none;
  color: inherit;
}

.nav__menu--list__item:hover {
  color: var(--hover-color);
}

.hamburger__checker:checked ~ .nav__menu {
  right: 0;
}

/*==== PORTFOLIO ====*/

.portfolio__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 133px 81px 80px 81px;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 33.3% 33.3% 33.3%;
  grid-gap: 5px;
  width: 100%;
  z-index: 0;
  animation: fadeIn .4s ease;
}

/*
 @media(min-width: 700px) {
  .portfolio__grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
} 
*/

.portfolio__img--wrapper {
  background: var(--dark);
  display: grid;
  place-items: center;
  position: relative;
  text-decoration: none;
}

.portfolio__img--wrapper::before {
  content: "";
  display: block;
  padding-bottom: 70%;
  grid-area: 1 / 1 / 2 / 2;
  
}
.portfolio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-area: 1 / 1 / 2 / 2;
}

.img__title {
  grid-area: 1 / 1 / 2 /2;
  align-self: end;
  justify-self: start;
  margin: 15px;
  opacity: 0;
  display: none;
  color: #fff;
  z-index: 90;
  transition: opacity .4s ease-in;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 20px;
  font-family: var(--oswald-semi);
}

.portfolio__img--wrapper::after {
  content: "";
  position: absolute;
  /* background-color:rgba(0, 0, 0, 0.6); */
  opacity: 0;
  z-index: 89;
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: linear-gradient(
  0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 70%);
  transition: opacity .4s ease-in;
}

.portfolio__img--wrapper:hover::after {
  opacity: 0;
}

.portfolio__img--wrapper:hover .img__title {
  opacity: 0;
}

/*==== PORTFOLIO SINGLE ====*/
#portfolio__single {
  height: 100vh;
}
.portfolio__single--wrapper{
  /* padding: 110px 32px 60px 32px; */
  height: 100%;
}
.portfolio__slider {
  height: 100%;
}

/*==== CAROUSEL ====*/

.carousel__container {
  width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
}

.carousel__slide, .home__slide{
  display: flex;
  width: 100%;
  height: 100%;
  /* overflow: hidden; */

}

.slide {
  
  width: 100%;
  flex-shrink: 0;
  object-fit: scale-down;
}

.slide_contain {
  object-fit: contain;
}
.slide_cover {
  object-fit: cover;
}

.carousel__btn {
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  background-color: transparent;
  border: unset;
  padding: 0;
  /* z-index: 100; */
}
.carousel__btn--right {
  right: 54px;
}
.carousel__btn--left {
  left: 54px;
}
.carousel__btn img {
 
  display: block;
}

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


.caption__wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 70px;
}

.caption__checker--label {
  right: 104px;
  position: absolute;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: opacity .2s ease;
  z-index: 99;
  font-size: 18px;
  font-family: var(--oswald-semi);
  color: var(--hover-color);
  transition: color .3s ease;
  text-transform: uppercase;
}

.caption__checker--label:hover {
  color: #fff;
}
.caption__checker:hover ~ .caption__vline {
  background-color: #fff;
}
.caption__checker:checked ~ .caption__vline {
  background-color: #fff;
}


.caption__checker:hover ~ .caption__checker--label {
  color: #fff;
}

.caption__checker:checked ~ .caption__checker--label {
  color: #fff;
  /*opacity: 0;*/
}

.caption__checker:checked ~ .caption__checker--closer {
  /*opacity: 1;*/
}


.play_pause {
  position: absolute;
  top: 0px;
  left: 46px;
  width: 44px;
  height: 50px;
  z-index: 3;

}
.play_btn, .bg_play_btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 70px;
  transition: .3s ease;
  background-image: url('./img/play_default.svg');
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.play_btn:hover, .bg_play_btn:hover{
  background-image: url('./img/play_hover.svg');
}

.pause_btn, .bg_pause_btn {
  position: absolute;
  top: 0;
  
  right: 0;
  width: 44px;
  height: 70px;
  transition: .3s ease;
  background-image: url('./img/pause_default.svg');
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.pause_btn:hover, .bg_pause_btn:hover {
  background-image: url('./img/pause_hover.svg');
}

.caption__backtogrid {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 46px;
  width: 20px;
  height: 20px;
  background-image: url('./img/backtogrid.svg');
  cursor: pointer;
  z-index: 3;
  transition: .3s ease;
}

.caption__backtogrid:hover {
  background-image: url('./img/backtogrid_hover.svg');
}

.caption__vline {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 204px;
  width: 1px;
  height: 40px;
  background-color: var(--hover-color);
  transition: color .3s ease;
  z-index: 3;
}

.caption__checker--closer{
  left: 54px;
  position: absolute;
  color: #fff;
  top: 50%;
  transition: opacity .2s ease;
  transform: translateY(-50%);
  opacity: 0;
  width: 16px;
  height: 16px;
  z-index: 99;
}

.caption__checker--label:checked {
  opacity: 0;
}

.caption__checker {
  opacity: 0;
  width: 100px;
  height: 50px;
  position: absolute;
  z-index: 100;
  right: 86px;
  top: 0px;
  cursor: pointer;
}

.caption__line--wrapper {
  position: relative;
  width: 100%;
  height: 70px;
  bottom: -100px;
  transition: bottom .2s ease-in;
  background-color: rgb(49,49,49,.7);

}

.caption__line {
  width: 100%;
  height: 100%;
  /* background-color: #000; */
  /* bottom: -100px; */
  position: absolute;
  display: flex;
  transition: opacity .4s ease-in;
  align-items: center;
  padding-right: 220px;
  justify-content: right;
  opacity: 0;
}

.caption__line.current {
  opacity: 1;
}

.caption__category, .caption__details {
  color: #fff;
  font-family: var(--gotham-reg);
  opacity: 1;
  transition: all .4s ease;
  max-width: 240px;
  text-align: right;
  font-size: 10px;
  line-height: 12px;
  font-weight: 400;
  margin-left: 16px;
}
.caption__category {
  font-family: var(--gotham);
  font-weight: 700;
}

.caption__checker:checked ~ .caption__line--wrapper {
  bottom: 0;
}

/*==== CLIENTS ====*/

.hamburger__lines--dark {
  background-image: url("./img/Menu_black.svg");
}
.slider__wrapper {
  width: 100%;
  height: 100vh;
}

.info__wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  animation: fadeIn 1s ease-in;
}
.info__img--placeholder {
  width: 60%;
  height: 100%;
  background-color:var(--dark-placeholder);
}

.info__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-position: center center;
}

.info__img--clients {
  background-image: url("./img/sections/clients.jpg");
}

.content__wrapper {
  min-width: 248px;
  max-width: 380px;
}

.info__content {
  padding: 140px 60px 80px 60px;
  width: 40%;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: var(--gotham);
  font-size: 16px;
  min-width: 368px;
}
.content__list {
  list-style: none;
  margin-top: 35px;
  line-height: 22px;
}

.section__title {
  color: var(--section-title);
  text-transform: uppercase;
  font-family: var(--oswald-bold);
  font-size: 24px;
}

.content__list--item {
  color: var(--dark);
}
.content__list--item a{
  color: var(--dark);
  text-decoration: none;
  transition: color .3s ease;
}
.content__list--item a:hover {
  color: #B4B4B4;
}
/*==== LINKS ====*/
.info__img--links {
  background-image: url("./img/sections/links.jpg");
}
.content__list--link {
  font-style: none;
  text-decoration: none;
  color: #000;
  transition: color .3s ease;
}
.content__list--link:hover {
  color: #B4B4B4;
}

/*==== BIO ====*/

.bio__img--nikki, .bio__img--carter {
  transition: all .5s linear;
  background-position: center top;
  animation: fadeIn .7s ease;
}



.bio__title--wrapper {
  
  flex-direction: row;
  text-transform: uppercase;
  position: relative;
  font-size: 24px;
  font-family: var(--oswald-bold);
}

.chevron {
  background-image: url(./img/button_arrow.svg);
  background-position: center;
  background-size: cover;
  width: 15px;
  height: 15px;
  display: inline-block;
  margin: 0 5px 3px 0;
  transition: opacity .4s ease;
  opacity: 0;
}

.bio__title--carter .chevron, .bio__title--nikki .chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -12px;
}

.bio__title--carter, .bio__title--nikki {
  cursor: pointer;
  display: inline-block;
  color: #E8E8E8;
  transition: color .4s linear;
  position: relative;
  white-space: nowrap;
}

.bio__title--carter {
  margin-right: 35px;
}

.bio__content {
  margin-top: 35px;
  font-size: 16px;
  animation: fadeIn .7s ease;
  line-height: 22px;
}

.hide {
  display: none;
}

.active {
  color: var(--section-title);
}
.active span {
  opacity: 1;
}

/* @media (max-width: 1170px) {
  .bio__title--wrapper {
    display: flex;
    flex-direction: column;
  }
} */


/*==== CONTACT ====*/
#contact .nav .nav__logo {
 position: relative;
 z-index: -1;
}

#contact iframe {
  position: relative;
  z-index: 1;
  transition: 0.3s ease-out;
}

#contact .info__img--placeholder {
  background-color: initial;
}

.info__img--contact {
  background-image: url("./img/sections/clients.jpg");
}
.contact__info {
  margin-bottom: 50px;
  line-height: 22px;
}


.contact__info p {
  font-size: 16px;
  color: #000;
}
.contact__info a {
  color: inherit;
  text-decoration: none;
}

.contact__info p:nth-child(1) {
  text-transform: uppercase; 
}

.contact__info p:nth-child(4) {
  margin-bottom: 20px;  
  text-decoration: none;
  color: inherit;
}
.contact__info p:nth-child(4) a {
 
  text-decoration: none;
  color: inherit;
}
.contact__info a:hover, p:nth-child(5):hover, .contact__info p:nth-child(6):hover,  .contact__info p:nth-child(4):hover{
  cursor: pointer;
  color: var(--hover-color);
} 
.contact__info p:nth-child(5) a, .contact__info p:nth-child(6) a {
  text-decoration: none;
  color: inherit;
} 

.soc__links {
  margin-top: 20px;
}

.soc__links--link {
  text-decoration: none;
}

.soc__links--linkedin {
 
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
}

.contact__form--wrapper {
  display: flex;
  flex-direction: column ;
  width: 214px;
  position: relative;
}

.contact__form--title {
  text-transform: uppercase;
  font-size: 12px;
  color: #484848;
}

.contact__form--wrapper > * {
  margin-bottom: 8px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  color: #B1B1B1;
}

.contact__form--wrapper input::placeholder {
  color: #B1B1B1;
  font-size: 12px;
  font-family: var(--gotham);
}

.contact__form--wrapper input {
  padding: 5px 5px 5px 0 ;
  border-color: #B1B1B1;
  color: #000;
}

.contact__form--wrapper input:focus {
  outline: none;
  border-bottom: 2px solid #000;
}

#company {
  margin-bottom: 12px;
}


.error#email::placeholder {
  color: #FF0000;
}

.contact__form--button {
  border: 0;
  background-color: transparent ;
  width: 214px;
  font-size: 24px;
  text-align: left;
  position: relative;
  font-family: var(--oswald-bold);
  text-transform: uppercase;
  opacity: 1;
  transition: all .4 linear;
}

.contact__form--button .chevron {
  position: absolute;
  opacity: .2;
  left: -12px;
  top: 52%;
  transform: translateY(-50%);
}

.contact__form--button:disabled {
  color: #E8E8E8;
}
.contact__form--button {
  color: var(--section-title);
  cursor: pointer;
  transition: all .4s linear;
  }

.contact__form--button:disabled .chevron {
  position: absolute;
  opacity: .2;
  left: -12px;
  top: 52%;
  transform: translateY(-50%);
}


  .contact__form--button .chevron {
    opacity: 1;
  }

.contact__form--button:disabled .chevron {
  opacity: .2;

}
.thank__you--message {
  cursor: initial;
  visibility: hidden;
  color: #4F4F4F;
  font-family: var(--oswald-bold);
  font-size: 24px;
  opacity: 0;
  transition: all .3s linear;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
}
.thank__you--message.show {
  visibility: visible;
  opacity: 1;
  transition: all .3s linear;
}

.contact__form--button.no-show {
  visibility: hidden;
  opacity: 0;
  transition: all .3s linear;
}


#map {
  height: 100%;
  width: 100%;
}


.hidden {
  display: none;
  opacity: 0;
}