@charset "UTF-8";
.btn,
.tesla .container {
  -webkit-box-pack: center;
}
.header,
.tesla,
body {
  min-width: 320px;
}
.btn,
.header__link,
.tesla .description {
  text-transform: uppercase;
}
.tesla-photos .gallery .img:first-child,
.tesla-photos .gallery .img:nth-child(4n + 5) {
  grid-row-start: span 2;
  grid-column-start: span 2;
}
.footer .container,
.tesla .container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
}
@font-face {
  font-family: Akrobat;
  src: local("Akrobat Bold"), local("Akrobat-Bold"),
    url(../fonts/Akrobatbold.woff2) format("woff2"),
    url(../fonts/Akrobatbold.woff) format("woff"),
    url(../fonts/Akrobatbold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT";
  src: url(../fonts/FuturaPT-Heavy.eot);
  src: local("Futura PT Heavy"), local("FuturaPT-Heavy"),
    url(../fonts/FuturaPT-Heavy.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-Heavy.woff) format("woff"),
    url(../fonts/FuturaPT-Heavy.ttf) format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT";
  src: url(../fonts/FuturaPT-Medium.eot);
  src: local("Futura PT Medium"), local("FuturaPT-Medium"),
    url(../fonts/FuturaPT-Medium.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-Medium.woff) format("woff"),
    url(../fonts/FuturaPT-Medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT";
  src: url(../fonts/FuturaPT-MediumObl.eot);
  src: local("Futura PT Medium Oblique"), local("FuturaPT-MediumObl"),
    url(../fonts/FuturaPT-MediumObl.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-MediumObl.woff) format("woff"),
    url(../fonts/FuturaPT-MediumObl.ttf) format("truetype");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Futura PT";
  src: url(../fonts/FuturaPT-LightObl.eot);
  src: local("Futura PT Light Oblique"), local("FuturaPT-LightObl"),
    url(../fonts/FuturaPT-LightObl.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-LightObl.woff) format("woff"),
    url(../fonts/FuturaPT-LightObl.ttf) format("truetype");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "Futura PT Book";
  src: url(../fonts/FuturaPT-Book.eot);
  src: local("Futura PT Book"), local("FuturaPT-Book"),
    url(../fonts/FuturaPT-Book.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-Book.woff) format("woff"),
    url(../fonts/FuturaPT-Book.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT Book";
  src: url(../fonts/FuturaPT-BookObl.eot);
  src: local("Futura PT Book Oblique"), local("FuturaPT-BookObl"),
    url(../fonts/FuturaPT-BookObl.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-BookObl.woff) format("woff"),
    url(../fonts/FuturaPT-BookObl.ttf) format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Futura PT Cond Extra";
  src: url(../fonts/FuturaPTCond-ExtraBoldObl.eot);
  src: local("Futura PT Cond Extra Bold Oblique"),
    local("FuturaPTCond-ExtraBoldObl"),
    url(../fonts/FuturaPTCond-ExtraBoldObl.eot?#iefix)
      format("embedded-opentype"),
    url(../fonts/FuturaPTCond-ExtraBoldObl.woff) format("woff"),
    url(../fonts/FuturaPTCond-ExtraBoldObl.ttf) format("truetype");
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: "Futura PT";
  src: url(../fonts/FuturaPT-BoldObl.eot);
  src: local("Futura PT Bold Oblique"), local("FuturaPT-BoldObl"),
    url(../fonts/FuturaPT-BoldObl.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-BoldObl.woff) format("woff"),
    url(../fonts/FuturaPT-BoldObl.ttf) format("truetype");
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: "Futura PT Cond Book";
  src: url(../fonts/FuturaPTCond-Book.eot);
  src: local("Futura PT Cond Book"), local("FuturaPTCond-Book"),
    url(../fonts/FuturaPTCond-Book.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPTCond-Book.woff) format("woff"),
    url(../fonts/FuturaPTCond-Book.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT";
  src: url(../fonts/FuturaPT-Bold.eot);
  src: local("Futura PT Bold"), local("FuturaPT-Bold"),
    url(../fonts/FuturaPT-Bold.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPT-Bold.woff) format("woff"),
    url(../fonts/FuturaPT-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Futura PT Cond Book";
  src: url(../fonts/FuturaPTCond-BookObl.eot);
  src: local("Futura PT Cond Book Oblique"), local("FuturaPTCond-BookObl"),
    url(../fonts/FuturaPTCond-BookObl.eot?#iefix) format("embedded-opentype"),
    url(../fonts/FuturaPTCond-BookObl.woff) format("woff"),
    url(../fonts/FuturaPTCond-BookObl.ttf) format("truetype");
  font-weight: 400;
  font-style: italic;
}
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
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 {
  display: block;
}
body {
  line-height: 1;
  overflow-x: hidden;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*,
::after,
::before {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  text-decoration: none;
}
.container {
  padding: 0 25px;
}
.btn {
  width: 220px;
  height: 55px;
  border-radius: 300px;
  font-size: 18px;
  font-family: FuturaPT, Arial, sans-serif;
  line-height: 1.55;
  font-weight: 500;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 2px solid #000;
}
.header,
.header:before {
  width: 100%;
  top: 0;
  left: 0;
}
.btn-borderwhite {
  border: 2px solid #fff;
}
.none {
  display: none;
}
.active {
  display: block;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Futura PT Book";
}
@media (min-width: 500px) {
  body .container {
    padding: 0 40px;
  }
  body .container .btn {
    width: 300px;
  }
}
.header {
  position: fixed;
  z-index: 55;
  background: #000;
}
.header:before {
  content: "";
  position: absolute;
  height: 100%;
  z-index: 2;
}
.header .logo {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  position: relative;
}
.header .logo img {
  max-width: 100%;
  display: block;
}
@media (max-width: 500px) {
  .header .logo {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40px;
    flex: 0 0 40px;
  }
  .tesla #vk_community_messages {
    display: none;
  }
}
@media (min-width: 501px) {
  .header .logo {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    flex: 0 0 60px;
  }
}
.header__body {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 80px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.header__body .header__social {
  position: relative;
  z-index: 5;
  padding-top: 40px;
  padding-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 150px;
}
@media (min-width: 320px) {
  .header__body .header__social {
    display: none;
  }
  .header__body .header__phone a:nth-child(1) {
    margin-right: 0;
    font-size: 18px;
  }
}
.header__body .header__social li {
  margin-left: 15px;
}
@media (min-width: 768px) {
  body .container {
    padding: 0 60px;
  }
  .header__body .header__social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header__body .header__social li {
    margin-left: 35px;
  }
}
.header__body .header__social li a {
  -ms-flex-item-align: start;
  align-self: flex-start;
}
.header__body .header__social li a img {
  width: 32px;
  height: 32px;
  -webkit-transition: 0.5s 0.1s;
  -o-transition: 0.5s 0.1s;
  transition: 0.5s 0.1s;
}
.header__body .header__social li a img:hover {
  -webkit-filter: invert(0.9);
  filter: invert(0.9);
}
.header__body .header__phone {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 5px;
  position: relative;
  z-index: 9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.tesla,
.tesla::after {
  border-radius: 0 0 30px 30px;
}
.header__body .header__phone a {
  color: #fff;
  font-size: 28px;
  margin-right: 30px;
}
.header__burger {
  display: block;
  position: relative;
  width: 30px;
  height: 20px;
  z-index: 5;
  cursor: pointer;
}
.header__burger:after,
.header__burger:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #fff;
  left: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.header__burger:before {
  top: 0;
}
.header__burger:after {
  bottom: 0;
}
.header__burger span {
  position: absolute;
  width: 100%;
  left: 0;
  height: 3px;
  top: 9px;
  background-color: #fff;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.header__burger--active:before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 8px;
}
.header__burger--active:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  bottom: 9px;
}
.header__burger--active span {
  display: none;
}
.header__menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  padding: 100px 10px 20px;
  -webkit-transition: 2s;
  -o-transition: 2s;
  transition: 2s;
}
.header__menu--active {
  display: block;
}
.clip,
.tesla .container {
  display: -webkit-box;
  display: -ms-flexbox;
}
.header__list {
  margin-top: 50px;
  text-align: center;
}
.header__list li {
  list-style: none;
  margin: 0 0 20px;
}
.header__link {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}
.tesla {
  background: url("../img/dest/tesla(3).jpg") 50% 50% / cover no-repeat #000;
  position: relative;
  z-index: 50;
}
.tesla::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0.8;
  z-index: 1;
}
@media (min-width: 320px) {
  .header__body .header__phone a:nth-child(2) {
    display: none;
  }
  .tesla {
    padding-top: 100px;
    padding-bottom: 30px;
  }
}
@media (min-width: 960px) {
  .tesla {
    margin-top: 0;
    border-radius: 0;
    padding-bottom: 90px;
  }
}
.tesla .container {
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.tesla .description {
  position: relative;
  vertical-align: middle;
  width: 100%;
  color: #ebe4e4;
  text-align: center;
  z-index: 9;
  padding-bottom: 50px;
}
@media (max-width: 414px) {
  .tesla .description {
    padding-bottom: 0;
    margin: 0 auto;
  }
}
@media (min-width: 360px) {
  .tesla .description {
    padding-top: 120px;
    font-size: 1.3rem;
    padding-bottom: 0;
  }
}
.tesla .description__title h1 {
  font-size: 60px;
  font-family: Akrobat;
  font-weight: 700;
  font-style: normal;
  line-height: 0.9;
  margin-top: 0;
  margin-bottom: 50px;
  padding-left: 5px;
  padding-bottom: 20px;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 20px;
}
@media (max-width: 415px) {
  .tesla .description__title h1 {
    font-size: 40px;
    padding: 10px;
    display: block;
  }
}
@media (min-width: 500px) {
  .tesla .description {
    font-size: 1.5rem;
  }
  .tesla .description__title h1 {
    font-size: 70px;
    display: inline-block;
    padding: 15px;
  }
}
@media (min-width: 768px) {
  .header__body .header__phone a:nth-child(1) {
    margin-right: 50px;
    font-size: 28px;
  }
  .header__body .header__phone a:nth-child(2) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 28px;
  }
  .tesla .description {
    font-size: 1.9rem;
  }
  .tesla .description__title h1 {
    font-size: 120px;
  }
}
.tesla .description__text p {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 10px;
  width: 800px;
  text-align: center;
  margin: 0 auto;
}
@media (max-width: 415px) {
  .tesla .description__text p {
    width: 300px;
    font-size: 14px;
  }
}
.tesla-photos h2.tesla-photos__title,
.tesla-video h2.tesla-video__title {
  text-align: center;
  margin-top: 20px;
  font-size: 34px;
}
.clip {
  margin-top: 20px;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.clip iframe {
  margin: 0 auto;
  width: 90%;
  height: 600px;
}
.tesla-photos {
  position: relative;
  height: 100%;
  width: 100%;
}
.tesla-photos .gallery {
  position: relative;
  height: auto;
  width: 90%;
  margin: auto;
  padding: 45px 0;
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 2vh;
  grid-auto-flow: dense;
}
@media only screen and (max-width: 768px) {
  .tesla-photos .gallery {
    grid-template-columns: auto auto auto;
    display: grid;
  }
}
.tesla-photos .gallery .img {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.9);
  border-radius: 2px;
}
.tesla-photos .gallery .img:nth-child(2n + 3) {
  grid-row-start: span 2;
}
.tesla-photos .gallery .img:nth-child(6n + 7) {
  grid-row-start: span 1;
}
.tesla-photos .gallery .img:nth-child(8n + 9) {
  grid-row-start: span 1;
  grid-column-start: span 1;
}
.tesla-photos .gallery .img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-filter: brightness(0.5) grayscale(0.9);
  filter: brightness(0.5) grayscale(0.9);
  -webkit-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
@media only screen and (max-width: 475px) {
  .tesla-photos .gallery {
    display: block;
  }
  .tesla-photos .gallery .img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 2% 0;
  }
  .tesla-photos .gallery .img img {
    display: block;
    -webkit-filter: brightness(1) grayscale(0);
    filter: brightness(1) grayscale(0);
  }
}
.tesla-photos .gallery .img img:hover {
  -webkit-filter: brightness(1) grayscale(0);
  filter: brightness(1) grayscale(0);
}
.pirates-btn {
  background: #fff;
  color: #000;
  margin: 0 auto;
  margin-bottom: 40px;
}
.footer {
  background: #3494e6;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(#ec6ead),
    to(#3494e6)
  );
  background: -o-linear-gradient(left, #ec6ead, #3494e6);
  background: linear-gradient(to right, #ec6ead, #3494e6);
  padding: 20px;
}
.footer .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}
@media (max-width: 960px) {
  .footer {
    display: none;
  }
}
@media (min-width: 960px) {
  .footer__menu,
  .footer__nav {
    display: -webkit-box;
    display: -ms-flexbox;
  }
  .footer__about,
  .footer__nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
  }
  .footer__title {
    text-align: center;
    font-size: 35px;
    color: #fff;
    margin-bottom: 25px;
  }
  .footer__menu {
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .footer__nav {
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-height: 100px;
    width: 50%;
  }
  .footer__about,
  .footer__address {
    display: -webkit-box;
    display: -ms-flexbox;
    align-self: flex-end;
  }
  .footer__nav li {
    margin: 0 0 7px;
    padding: 0;
    font-size: 20px;
  }
  .footer__nav li a {
    color: #fff;
  }
  .footer__about {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 30%;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-item-align: end;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
  }
  .footer__address {
    display: flex;
    text-align: right;
    -ms-flex-item-align: end;
    width: 320px;
  }
  .footer__copyrights {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
  }
  .footer__social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 20px;
  }
  .footer__social li a img {
    width: 32px;
    height: 32px;
    -webkit-transition: 0.5s 0.1s;
    -o-transition: 0.5s 0.1s;
    transition: 0.5s 0.1s;
  }
  .footer__social li a img:nth-child(1):hover {
    -webkit-filter: invert(0.5);
    filter: invert(0.5);
  }
  .footer__social .fb-icon {
    fill: #3b5998;
    width: 32px;
    height: 32px;
  }
  .footer__social .youtube-icon {
    fill: red;
    width: 32px;
    height: 32px;
  }
}
