* {
  transition: 0.3s linear;
}
body {
  margin: 0;
  background: #f0f0f0;
  font-family: "Montserrat", cambria, sans-serif;
  color: #2b2b2b;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  flex: 1;
}
header {
  padding: 1px;
  margin-bottom: 20px;
  background: #2b2b2b;
  color: white;
}
.content-wrap {
  padding: 20px;
  margin-bottom: 20px;
  background: white;
}
.port {
  overflow: hidden;
  padding: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
  height: 181px;
  width: 100%;
  background-image: url(images/tesla3.png);
  background-repeat: no-repeat;
  background-position: center;
}
.portt {
  animation-duration: 1300ms, 2s, 3s;
  animation-name: slideint4, slideint2, slideint, slideint3;
  animation-iteration-count: 1, 1, 1, 15;
  animation-delay: 500ms, 1s, 2s, 5s;
}
@keyframes slideint4 {
  from {
    margin-left: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/portus1.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  to {
    margin-left: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/portus.png);
    background-repeat: no-repeat;
    background-position: center;
  }
  60% {
    margin-top: 3%;
    width: 100 %;
    height: 181px;
    background-image: url(images/portus1.png);
    background-repeat: no-repeat;
    background-position: center;
  }
}
@keyframes slideint {
  from {
    margin-left: 100%;
    width: 300%;
    height: 181px;
    background-image: url(images/porteu.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  to {
    margin-left: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/porteu2.png);
    background-repeat: no-repeat;
    background-position: center;
  }
  85% {
    margin-left: 0%;
    margin-top: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/porteu.png);
    background-repeat: no-repeat;
    background-position: center;
  }
  90% {
    margin-left: 0%;
    margin-top: 3%;
    width: 100%;
    height: 181px;
    background-image: url(images/porteu2.png);
    background-repeat: no-repeat;
    background-position: center;
  }
}
@keyframes slideint2 {
  from {
    margin-left: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/portus.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  to {
    margin-left: 100%;
    width: 300%;
    height: 181px;
    background-image: url(images/portus.png);
    background-repeat: no-repeat;
    background-position: center;
  }
  20% {
    margin-left: 10%;
    width: 105%;
    height: 181px;
    background-image: url(images/portus.png);
    background-repeat: no-repeat;
    background-position: center;
  }
}
@keyframes slideint3 {
  from {
    margin-left: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/porteu3.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  to {
    margin-left: 0%;
    width: 100%;
    height: 181px;
    background-image: url(images/porteu3.png);
    background-repeat: no-repeat;
    background-position: center;
  }
}
aside {
  padding: 20px;
  margin-bottom: 20px;
  background: white;
  border: 2px solid #c01a02;
}
footer {
  padding: 20px;
  background: #d1d1d1;
}
ul {
  background: white;
  font-weight: 700;
  line-height: 24px;
}
a {
  font-weight: 600;
  color: #c01a02;
  text-decoration: none;
}
a:hover {
  color: #af1803;
  text-decoration: underline;
}

@media (min-width: 736px) {
  .main-content {
    display: flex;
  }
  .content-wrap {
    width: calc(100% - 320px);
    margin-right: 20px;
  }
  aside {
    width: 320px;
  }
}
.tg {
  font-weight: 600;
  color: #0646bc;
  text-decoration: none;
}
.itm {
  color: #c01a02;
}
.itmt {
  color: #2b2b2b;
}
.hh {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  line-height: 27px;
  color: #000000;
  margin-bottom: 10px;
}
.hhh {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  line-height: 27px;
  color: #000000;
  margin-bottom: 10px;
}
.lang {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  margin-bottom: 10px;
}
.blok {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}
.jus {
  font-style: normal;
  font-weight: 400;
  text-align: justify;
  margin-bottom: 10px;
}
.cntr {
  font-style: normal;
  font-weight: 400;
  text-align: center;
  margin-bottom: 10px;
}
.inst {
  font-style: normal;
  font-weight: 400;
  text-align: center;
  margin-right: 40px;
  padding-right: 40px;
}
