/*
$mediaPhone: 415px;
$mediaPhoneShort: 640px;
@media (max-width: $mediaPhone) {
  height: 160px;
}
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:root {
  --color-bg: #000000;
  --color-text: #777777;
  --color-hightlight: #a9a9a9;
}

html {
  height: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 480px;
  min-height: 100%;
  padding: 0;
  margin: 0;
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.2rem;
  line-height: 1.3333333333;
  letter-spacing: -0.015em;
  word-break: break-word;
  text-align: left;
  background: var(--color-bg);
}
@media only screen and (max-width: 415px) {
  body {
    font-size: 1.5rem;
  }
}

input,
textarea,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Arial", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h1,
h2,
h3,
h4,
h5,
h6,
b,
strong {
  font-weight: 700;
}

a {
  color: inherit;
}
a:hover {
  color: var(--color-hightlight);
}

address {
  font-style: normal;
}

p {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.nowrap {
  white-space: nowrap;
}

.container {
  margin-right: 50px;
  margin-left: 50px;
}
@media only screen and (max-width: 415px) {
  .container {
    margin-right: 40px;
    margin-left: 40px;
  }
}

.main {
  /*flex: 1 0 auto;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
@media only screen and (max-width: 415px) {
  .main {
  }
}

.main-layout {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 80px;
  max-width: 900px;
  width: 100%;
  position: relative;
}
@media only screen and (max-width: 415px) {
  .main-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px 40px 0 40px;
    width: 100%;
  }
}

.main-layout__body {
  max-width: 480px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.main-layout__body p:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 415px) {
  .main-layout__body {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.main-layout__aside {
  max-width: 320px;
}
@media only screen and (max-width: 415px) {
  .main-layout__aside {
    flex-grow: 0;
    flex-shrink: 0;
    margin-top: 40px;
    margin-bottom: 40px;
  }
}

@keyframes animationImageSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes animationImageFadeIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.budapest-image {
  width: 100%;
  animation: animationImageFadeIn 0.75s linear forwards;
}
@media only screen and (min-width: 415px) {
  .budapest-image {
    position: absolute;
    right: 0;
    top: 0;
    float: right;
    width: 320px;
  }
}

.phone-image {
  position: relative;
  opacity: 0;
  animation: animationImageSlideUp 0.75s linear forwards;
  animation-delay: 0.3s;
}
@media only screen and (max-width: 415px) {
  .phone-image {

  }
}
@media only screen and (min-width: 415px) {
  .phone-image {
    float: left;
  }
}

.phone-image__bg {
  display: block;
  max-width: 100%;
}

.phone-image__mask {
  position: absolute;
  top: 0;
  left: 10.4%;
  width: 78.4%;
  height: 91.9475655431%;
}
@supports (clip-path: url("#phone-image-mask")) {
  .phone-image__mask {
    clip-path: url("#phone-image-mask");
  }
}

.phone-image__clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.phone-image__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: animationImageContentSlideUp 0.75s linear;
  animation-delay: 0.3s;
}

@keyframes animationImageContentSlideUp {
  from {
    top: 50px;
  }
}

.car {
  width: 100%;
  align-items: flex-end;
  display: flex;
  height: 240px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,1), rgba(24,24,24,1));
  justify-content: center;
  padding-bottom: 8px;
}

.car img {
  width: 60%;
  max-width: 320px;
}

.footer {
  width: 100%;
  background: linear-gradient(180deg, rgba(24,24,24,1), rgba(0,0,0,1));
}

.footer-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 40px;
}
@media only screen and (max-width: 415px) {
  margin-bottom: 80px;
}

.footer-layout__logo {
  flex-shrink: 0;
  margin-right: 10px;
}

.footer-header {
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1;
}

.footer-address {
  font-size: 1.125rem;
  line-height: 1.3425rem;
}
@media only screen and (max-width: 415px) {
  .footer-address {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
}

.footer-address__row {
  margin-bottom: 10px;
}
.footer-address__row:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 415px) {
  .footer-address__row a {
    display: block;
    margin-bottom: 10px;
  }
  .footer-address__row .dot {
    display: none;
  }
}
