html{
  scroll-behavior: smooth;
}
body {
  margin: 0px;
  padding: 0px;
  font-family: "vwhead";
  padding-bottom: 0px;
  overflow-x: hidden;
  background-color: #6fa4c4;
  color: #ffffff;
  background-image: url('../img/background.webp');
  background-position: top center;
  background-size: 100vw;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding-inline: 50px;
  font-size: 17px;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
strong{
  font-weight: bold;
}
img {
  max-width: 100%;
}
*::after,
*::before,
* {
  box-sizing: border-box;
}

.btn {
  display: inline-block;
  background-color: #ffffff;
  color: #001e50;
  font-size: 16px;
  text-align: center;
  border-radius: 22px;
  padding: 12px 31px;
  transition: all 0.4s ease-in-out;
}
.btn:hover {
  background-color: #001e50;
  color: #ffffff;
}

h1 {
  font-size: 63px;
  font-weight: bold;
}
h3 {
  font-size: 25px;
  font-weight: 300;
}
p {
  font-weight: 300;
}

header {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 63px;
}
header a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px 15px;
  z-index: 2;
}
header a::after, header a::before {
  display: block;
  content: '';
  max-width: calc(100% - 15px);
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}
header a::after {
  max-width: 29.53vw;
}
header a svg {
  width: 55px;
  height: auto;
}
header .dealer {
  position: absolute;
  top: -32px;
  left: 8.33vw;
  font-size: 21px;
  font-weight: bold;
}

main {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 43.23vw 0px 110px 0px;
  text-align: center;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding-block: 80px 90px;
  border-top: 1px solid #b5d0e1; 
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}
.flex__elem {
  max-width: calc((100% / 4) - 45px);
  width: 100%;
  line-height: 1.2;
}

@media(min-width: 1920px) {
  body {
    font-size: 0.89vw;
  }
  header {
    top: 3.28vw;
  }
  header .dealer {
    top: -1.67vw;
    font-size: 1.09vw;
  }
  header a svg {
    width: 2.86vw;
  }
  header a::after, header a::before {
    max-width: calc(100% - 0.78vw);
  }
  header a::after {
    max-width: 29.53vw;
  }
  header a {
    gap: 0px 0.78vw;
  }
  h1 {
    font-size: 3.28vw;
  }
  h3 {
    font-size: 1.3vw;
  }
  .btn {
    font-size: 0.83vw;
    border-radius: 1.15vw;
    padding: 0.63vw 1.61vw;
  }
}

@media(max-width: 1500px) {
  h1 {
    font-size: 54px;
  }
  h3 {
    font-size: 22px;
  }
  .flex__elem {
    max-width: calc((100% / 3) - 45px);
  }
}

@media(max-width: 1150px) {
  h1 {
    font-size: 44px;
  }
  h3 {
    font-size: 20px;
  }
  .flex__elem {
    max-width: calc((100% / 2) - 45px);
  }
}

@media(max-width: 960px) {
  header {
    top: 30px;
  }
  header .dealer {
    top: -20px;
    font-size: 18px;
  }
}

@media(max-width: 768px) {
  body {
    font-size: 16px;
    padding-inline: 20px;
  }
  main {
    gap: 30px;
    padding: 48.23vw 0px 60px 0px;
  }
  h1 {
    font-size: 32px;
  }
  h3 {
    font-size: 18px;
  }
  .flex {
    gap: 30px;
  }
  .flex__elem {
    max-width: 100%;
  }
  footer {
    padding-block: 50px;
  }
}

@media(max-width: 500px) {
  header .dealer {
    display: none;
  }
  header {
    top: 10px;
  }
}

@media(max-width: 450px) {
  h1 {
    font-size: 26px;
  }
  h3 {
    font-size: 16px;
  }
}

@media(max-width: 350px) {
  body {
    font-size: 14px;
  }
  main br {
    display: none;
  }
}