@font-face {
  font-family: AxiformaSemiBoldItalic;
  src: url(../fonts/AxiformaSemiBoldItalic.otf);
}

@font-face {
  font-family: AxiformaMedium;
  src: url(../fonts/AxiformaMedium.otf);
}

@font-face {
  font-family: AxiformaBlack;
  src: url(../fonts/AxiformaBlack.otf);
}

html,
body, .row {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: AxiformaBlack;
  overflow-x: hidden;
}

.logo {
  max-width: 90px;
}

.logo2 {
  max-width: 120px;
}

.row:hover .dealer:not(:hover) {
  filter: brightness(0.3);
}

.dealer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  height: 50%;
  padding: 40px 55px 55px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: .5s filter;
}

.dealer-city{
	font-family: AxiformaSemiBoldItalic;
}

.dealer.vw_sw {
  background-image: url(../assets/vw3.png);
}

.dealer.omoda_sw {
  background-image: url(../assets/omoda.jpg);
}

.dealer.vw_kc {
  background-image: url(../assets/vw1.png);
}

.dealer.audi_kc {
  background-image: url(../assets/audi.png);
}

.dealer.used_sw {
  background-image: url(../assets/arteon2.png);
}

.dealer.seat_kc {
  background-image: url(../assets/SEAT.jpg);
}

.dealer.seat_kc .logo {
  max-width: 104px;
}

.dealer.cupra_kc {
  background-image: url(../assets/cupra.jpg);
}

.dealer.cupra_kc .logo {
  max-width: 104px;
}

.dealer.skoda_kc {
  background-image: url(../assets/skoda.png);
}

.dealer.skoda_kc .logo {
  max-width: 44px;
}

.dealer.opel_kc {
  background-image: url(../assets/autorud-online.jpg);
}

.dealer.opel_kc .logo {
  max-width: 55px;
}

.dealer.plus_kc {
  background-image: url(../assets/asp.png);
}

.dealer:hover {
  filter: brightness(1);
}

.dealer:hover span.link {
  opacity: 1;
}

h2 {
  font-size: 35px;
  color: #fff;
  margin-top: auto;
}

span.link {
  color: #fff;
  padding-right: 50px;
  position: relative;
  opacity: 0;
  transition: .5s all;
}

span.link:after {
  content: '';
  position: absolute;
  opacity: 0;
  right: 0;
  top: 0;
  background: transparent url(../assets/arrow.png) no-repeat right center;
  height: 90%;
  width: 50px;
  transition: .7s all;
}

span.link:before {
  content: '';
  position: absolute;
  width: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background-color: #fff;
  transition: .5s all;
}

span.link:hover {
  color: #fff;
  text-decoration: none;
}

span.link:hover:before {
  width: 100%;
}

span.link:hover:after {
  opacity: 1;
}

@media (max-width: 768px) {
  span.link {
    opacity: 1;
  }
}

a {
  text-decoration: none;
}

a:hover {
  opacity: 1;
  text-decoration: none;
}

.modal-dialog {
    max-width: 940px;
    margin: 1.75rem auto;
}


@media screen and (max-width: 1601px) {
h2 {
  font-size: 32px !Important;
}

.dealer{
  padding: 40px 40px 30px !Important;
}
}

@media screen and (max-width: 1450px) {
h2 {
  font-size: 28px !Important;
}

.dealer{
  padding: 40px 40px 20px !Important;
}
}
