html, body {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

.container {
  width: 100%;
  padding: 0;
  outline: 2px solid black;
  margin: 0 auto;
}

.header-list {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.header-black-theme {
  height: 75px;
  background-color: black;
  align-items: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo {
  position: absolute;
  margin-right: 1300px;
  display: flex;
  width: 90px;
  height: 40px;
}

.header-btn-link {
  border-radius: 20px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.header-btn-link:hover {
  text-decoration: underline 5px;
  border-radius: 20px;
  text-underline-offset: 10px;
}

.main-list {
  line-height: 70px;
  width: 100%;
}

.main-list-item-button {
  background-color: black;
  color: white;
  border-radius: 15px;
  width: 150px;
  height: 50px;
  font-size: 18px;
  transition: 0.4s ease;
  font-weight: bold;
  border: none;
}
.main-list-item-button:hover {
  background: #2b2b2b;           
box-shadow: 7px 5px 56px -14px #2b2b2b;
transform: scale(1.05);
}
.main-list-item-button:active {
  transform: scale(0.97);
box-shadow: 7px 5px 56px -10px #2b2b2b;
}

.main-list-item {
  display: flex;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: #000;
}

.title-text {
  padding-top: 61px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 70px;
  text-align: start;
  color: #000;
  margin-left: 40px;
}

.main-title-section {
  background-color: #CDCCCC;
  background-image: url('../images/map.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 100%;
}

.map {
  width: 100%;
  height: auto;
  max-height: 669px;
}

.main-sect-car {
  width: 100%;
  max-width: 634px;
  height: auto;
  margin-right: 100px;
}

.car-rental-main-site-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.black-popular-options-section {
  background-color: black;
  width: 100%;
  display: flex;
  height: 50vh;
  align-items: center;
  justify-content: center;
}

.black-popular-options-section h1 {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  text-align: center;
  color: white;
}

.main-black-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.main-button-black-section {
  margin-top: 70px;
  border-radius: 50px;
  width: 100px;
  height: 100px;
  font-size: 40px;
}

.main-class-car-rent-catalog img {
  width: 100%;
  max-width: 370px;
  height: auto;
}


.main-class-car-rent-catalog {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}



.lightmode {
  display: flex;
  cursor: pointer;
}

.darkmode {
  display: none;
  cursor: pointer;
}

.change-theme {
  position: absolute;
  right: 20px;
}

/* стили для фул скрин картинок*/
.full-screen-in-img {
  position: relative;
  width: 600px;
  margin: auto;
}

.full-screen-in-img img:first-child {
  width: 100%;
  border-radius: 10px;
}

.screen-container {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 10px;
}

.fullscreen,
.unfullscreen {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.unfullscreen {
  display: none;
}
/*стили для секции аренды машин*/
.car-price{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 30px;
  color: #000;
}
.main-class-car-rent-catalog-item{
  text-align: start;
  
}
.main-class-car-rent-catalog{
  margin: 0px;
  padding: 0px;
  gap: 40px;
  width: 1200px;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  width: 100%;
}
.car-input-container{
  margin-left: 45px;
}


.top-button{
  text-decoration: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  background-color: white;
  color: black;
  border: none;
  border-radius: 50%;
  padding: 12px 16px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}
/* car info styles*/
.car-info-descr{
  border: 2px solid #000;
  border-radius: 20px;
  margin-top: 98px;
  margin-left: 30px;
  text-align: center;
  width: 300px;
  height: 200px;
}
.car-info-descr p{
  padding-left: 10px;
  padding-top: 10px;
  font-family: var(--font-family);
  font-weight: 20;
  font-size: 20px;
  text-align: start;
  line-height: 30px;
  color: #000;
}
.car-info-descr-oredr-btn{
  border-radius: 9px;
  width: 120px;
  height: 40px;
  border: 0px;
  margin-top: 10px;
  background-color: black;
  color: white;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #fff;
}
.car-info-container{
  display: flex;
  justify-content: center;
}
.car-info-img h1{
 margin-top: 20px;
}
.car-info-descr-oredr-btn:hover{
  border: 2px solid black;
  background-color: white;
  color: black;
}
.car-info-sec{
  background-color: #CDCCCC;

}
.mers-st{
 width: 589px;
 height: 442px;
}
.car-info-img{
  flex-direction: column;
  display: flex;
}
.mers-cont{
  display: flex;
  padding-top: 10px;
  flex-wrap: wrap;
  gap: 20px;

}
.mers-st:hover{
  text-decoration: underline 2px black;
}
.prev-img{
  position: absolute;
  top: 320px;
  left: 307px;
}
.next-img{
  position: absolute;
  top: 320px;
  right: 640px; 
}
.next-img,
.prev-img{
  padding: 16px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  width: 10 px;
  text-align: center;
}
.main-class-car-rent-catalog-item a{
   text-decoration: none;
}
.main-class-car-rent-catalog-item img{
  border-radius: 10px;
}