
@font-face {
    font-family: 'Benzin';
    src: local('./fonts/Benzin Medium'),
        url('./fonts/Benzin-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
  }

.ubuntu-light {
  font-family: "Ubuntu", serif;
  font-weight: 300;
  font-style: normal;
}

.car_main_mobile {
    display: none;
  }

body {
  align-items: center;
  margin: 0;
  background-color: black;
  color: white;
  text-align: center;
    }

header {
  background-image: url('./img/city.jpg');
  background-size: cover; 
  height: 100vh;
    }

h1 {
  font-family: 'Benzin';
  padding: 120px;
  margin: 0 auto;
  font-size: 42px;
  padding-bottom: 60px;
  text-transform: uppercase;
  }
  
p {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: "Ubuntu", serif;
  }

.but_place {
  padding-top: 194px;
  z-index: 700;
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-evenly;
  }
  
.but_one {
  background: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  color: rgb(0, 0, 0);
  position: relative;
  display: flex;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  border: solid 2px #000;
  margin-bottom: 58px;
  width: 292px;
  font-family: 'Benzin';
}

.but_one:hover {
  background-color: #3c3c3c;
  color: white;
  border-color: #3c3c3c;
  }
  
.btn_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 6px;
  font-size: 15px;
  }

.icon_btn {
  width: 30px;
  height: 30px;
  }
  
.car_main {
  max-width: 1400px;
  display: flex;
  margin: 0 auto;
  position: absolute;
  bottom: 0px;
  left: 7%;
  }
  
.two {
  display: flex;
  padding: 100px 40px;
  }

h2 {
  font-family: 'Benzin';
  margin: 0 auto;
  font-size: 32px;
  padding-bottom: 60px;
  text-transform: uppercase;
  text-align: left;
  }
 
.two_back {
  background-image: url('./img/tent.webp');
  background-size: cover;
  background-repeat: no-repeat;
  }
  
.two_text {
  font-size: 18px;
  text-align: left;
  padding: 0px;
  margin-bottom: 60px;
  }
  
.avto_place {
  display: flex;
  flex-direction: column;
  justify-content: center;
  }
  
.avto{
  max-width: 600px;
  }
  
.copy {
    padding: 80px;
  }

@media (max-width: 1400px) and (min-width: 1200px) {
.car_main {
  max-width: 1350px;
  left: 2%;
  }
}

@media (max-width: 1200px) and (min-width: 1000px) {

h1 {
    padding-top: 206px;
  }
  
.car_main {
  max-width: 1150px;
  left: 2%;
  }
  
.but_place {
  padding-top: 154px;
}
}

@media (max-width: 1000px) and (min-width: 800px) {
.car_main {
  max-width: 940px;
  }
  
.two {
  flex-direction: column;
}
}

@media (max-width: 800px) and (min-width: 600px) {
  .car_main {
    max-width: 750px;
    left: 3%;
  }
  
.but_place {
  padding-top: 63px;
  }
  
.two {
  flex-direction: column;
}
}

@media (max-width: 600px) {
  
  .but_place {
    grid-template-columns: auto;
    padding-top: 26px;
    align-content: center;
  }

 .car_main {
    display: none;
  }
  
.car_main_mobile {
  display: block;
  position: absolute;
  width: 96%;
  bottom: 0;
  }
  
h1 {
  padding: 36px;
  }
  
p {
  font-size: 18px;
  }
  
.two {
  flex-direction: column;
  padding: 40px 10px;
}

.rotated_one {

}

.rotated_two {
  margin-left: 30px!important;
}

.rotated_three {
  transform: rotate(-3deg)!important;
  margin-left: 32px!important;
}

.rotated_four {
  transform: rotate(5deg)!important;
}
}

.rotated_one {
  transform: rotate(-6deg);
  }

.rotated_two {
  transform: rotate(4deg);
  margin-left: 70px;
  }

.rotated_three {
  transform: rotate(5deg);
  }
    

.rotated_four {
  transform: rotate(-10deg);
  }




