/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-height: 100000px;
  outline: 0;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  margin: 0;
  padding: 0;
  text-transform: none;
  color: inherit;
  border-radius: 0;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  overflow: visible;
  cursor: pointer;
  -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

input[type="email"],
input[type="number"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

textarea {
  overflow: auto;
  resize: none;
}

::-webkit-input-placeholder {
  color: inherit;
}

::-moz-placeholder {
  opacity: 1;
  color: inherit;
}

:-ms-input-placeholder {
  color: inherit;
}

body {
  background: #000;
  font-family: 'Roboto Condensed', sans-serif;
  height: 100vh;
}

.wrapper {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
}

.banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #fff
}

.banner:hover .banner__image {
  -webkit-transform: scale(1.03);
      -ms-transform: scale(1.03);
          transform: scale(1.03);
}

/*.banner:hover h1 {
  -webkit-transform: translateY(-50%)scale(0.95);
      -ms-transform: translateY(-50%)scale(0.95);
          transform: translateY(-50%)scale(0.95);
}*/

.banner h1 {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 20px;
  font-size: 35px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  z-index: 1;
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}

.banner a {
  font-size: 19px;
  color: #fff;
}

.banner__image {
  width: 100%;
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}

.banner__logo {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 250px;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 1;
}


.banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 100%;
  background: #000;
  z-index: 9;
  -webkit-transition: 1.4s;
  -o-transition: 1.4s;
  transition: 1.4s;
}

.animated .banner::after {
  width: 0;
}

@media(max-width: 1023px) {
  .banner__logo {
    width: 200px;
  }
}

@media(max-width: 767px) {
  .banner {
    height: 200px;
  }
  .banner h1 {
    font-size: 18px;
  }
  .banner__logo {
    width: 150px;
  }
}

.cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100vh;
}
.cta-item {
  width: 33.33%;
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  opacity: 0;
  -webkit-transition: opacity 2.5s;
  -o-transition: opacity 2.5s;
  transition: opacity 2.5s;
}
.cta-item:hover .image {
  -webkit-transform: translate(-50%, -50%)scale(1.1);
      -ms-transform: translate(-50%, -50%)scale(1.1);
          transform: translate(-50%, -50%)scale(1.1);
}

.cta-item:hover .cta-item__title h2 {
  -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
          transform: scale(0.9);
}

.cta-item:hover .cta-item__title p {
  margin-top: 0;
  opacity: 1;
}

.cta-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.cta-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 100%;
  background: #000;
  z-index: 99;
  -webkit-transition: .9s;
  -o-transition: .9s;
  transition: .9s;
}
.cta-item .image {
  position: absolute;
  top: 50%;
  left: 50%;
  /* width: 100%; */
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.cta-item__title {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  margin-top: 200px;
  padding: 20px;
  text-align: center;
  color: #fff;
  position: relative;
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
  z-index: 2;
}

.cta-item__title h2 {
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}

.cta-item__title p {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 60px;
  font-size: 20px;
  line-height: 1.4;
  padding: 0 50px;
  font-weight: 300;
  opacity: 0;
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}

.animated .cta-item {
  opacity: 1;
}
.animated .cta-item .image {
  -webkit-transition: .7s;
  -o-transition: .7s;
  transition: .7s;
}

.animated .cta-item:nth-child(1) .cta-item__title {
  margin-top: 0;
  -webkit-transition-delay: .1s;
       -o-transition-delay: .1s;
          transition-delay: .1s;
}
.animated .cta-item:nth-child(2) .cta-item__title {
  margin-top: 0;
  -webkit-transition-delay: .5s;
       -o-transition-delay: .5s;
          transition-delay: .5s;

}
.animated .cta-item:nth-child(3) .cta-item__title {
  margin-top: 0;
  -webkit-transition-delay: .8s;
       -o-transition-delay: .8s;
          transition-delay: .8s;
}

.animated .cta-item:nth-child(1)::after {
  -webkit-transition-delay: .1s;
       -o-transition-delay: .1s;
          transition-delay: .1s;
  height: 0;
}
.animated .cta-item:nth-child(2)::after {
  height: 0;
  -webkit-transition-delay: .5s;
       -o-transition-delay: .5s;
          transition-delay: .5s;

}
.animated .cta-item:nth-child(3)::after {
  height: 0;
  -webkit-transition-delay: .7s;
       -o-transition-delay: .7s;
          transition-delay: .7s;
}

@media(max-width: 1368px) {
  .cta-item__title h2 {
    font-size: 35px;
  }
  .cta-item__title p {
    font-size: 16px;
    padding: 0 20px;
  }
}

@media(max-width: 1024px) {
  html,
  body,
  .wrapper {
    height: 100%;
  }
  .cta-item__title h2 {
    font-size: 28px;
  }
  .cta {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .cta-item {
    width: 100%;
    height: 33.33%;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
  }
  .cta-item .image {
    max-width: 100%;
  }
  .cta-item__title p {
    display: none !important;
  }
}
