html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", serif;  
  padding: 0;
  color: white;
  background-color: #1e1e1e;
}

header {
  border-bottom: 1px solid #282828;  
  position: relative;
  z-index: 21;
  padding: 10px 0;
  margin-bottom: 12px;
    }
    
main {
  margin: 0 auto;
  max-width: 1220px;
  }
  
p {
  margin: 12px 0;
  }

.nav_position {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  }
  
.logo {
  width: 60px;
  }
  
.tlg {
  width: 32px;
  margin-right: 10px;
  }
  
.text_tlg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0px;
  }
  
.btn_main {
  background: #171717;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 16px;
  color: rgb(255,255,255);
  position: relative;
  display: flex;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
  border: solid 1px #3c3c3c;
  margin-bottom: 20px;
}

.btn_main:hover {
  background-color: #3c3c3c;
  }
  
.btn_tlg {
  background: #171717;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 16px;
  color: rgb(255,255,255);
  position: relative;
  display: flex;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  width: fit-content;
  border: solid 1px #3c3c3c;
  margin-bottom: 20px;
  margin-left: 20px;
}

.btn_tlg:hover {
  background-color: #3c3c3c;
  }
  
.btn_position {
  display: flex;
  justify-content: space-around;
  }
  
  
.container {
  padding: 50px;
  margin-top: 20px;
  padding-top: 20px;
  }
  
h1 {
  font-size: 30px;
  color: white;
  margin-bottom: 22px;
  text-align: center;
  }
  
h2 {
  text-align: center;
  }
  
.main_text {
  text-align: center;
  margin-bottom: 60px;
  }
  
.main_logo {
  max-width: 300px;
  display: flex;
  margin: 0 auto;
  }
  
.shop_position {
  display: grid;
  grid-template-columns: auto auto auto auto;
  border: 1px solid #282828;
  border-radius: 10px;
  }
  
.shop_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  border-right: 1px solid #282828;
  transition: 0.3s box-shadow;
  cursor: pointer;
  background: #1A1A1A;
  }
  
.shop_card:hover {
  background: #1e1e1e;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  
.last_b {
  border: none;
  }
  
.rad_left {
  border-radius: 10px 0px 0px 10px;
  }
  
.rad_right {
  border-radius: 0px 10px 10px 0px;
  }
  
.rad_two_left {
  border-radius: 10px 0px 0px 0px;
  border-bottom: 1px solid #282828;
  }
  
.rad_two_right {
  border-radius: 0px 10px 0px 0px;
  }
  
.rad_two_left_down {
  border-radius: 0px 0px 0px 10px;
  }
  
.rad_two_right_down {
  border-radius: 0px 0px 10px 0px;
  }
  
.bord_bot {
  border-bottom: 1px solid #282828;
  }
  
.bord_bot_tab {
  border-bottom: 0px;
  }
  
.third_bord {
    border-bottom: none;
  }
  
.bord_twtable {
  border-bottom: 1px solid #282828;
  }
  
.shop_w {
  width: 190px;
  }
  
.shop_title {
  

  }
  
.stars {
  margin: 0 2px;
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: invert(100%) brightness(2);
  }
  
.foot {
    display: flex;
    }
  


.copy {
  text-align: center;
  margin-bottom: 40px;
}

/* pop up */

.popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.78); 
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #1e1e1e;
    padding: 40px 40px 60px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    margin: 40px;
    max-width: 600px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0px;
    width: 24px;
    height: 24px;
    transition: 0.3s;
}

.close:hover {
   color: black;
   background-color: white;
   border-radius: 50px;
   transition: 0.3s;
}

.btn_pop {
  padding: 15px 40px;
  background: #FF1493;
  border-radius: 60px;
  color: #ffffff;
  font: 600 18px/26px "Inter", sans-serif;
  transition: 0.3s;
  text-align: center;
  max-width: 400px;
  cursor: pointer;
  text-decoration: none;
  }
  
.btn_pop:hover {
  background-color: #515151;
  }
  
.pop_title {
  font: 500 24px/34px "Inter", sans-serif;
  color: white;
  }
  
.pop_text {
  margin-bottom: 60px;
  color: white;
  }
  
/* pagination */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pagination a {
    text-decoration: none;
    color: #ffffffb5;
    padding: 10px 15px;
    border: 1px solid #4444444f;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #444444d6;
    color: white;
}

.pagination .dots {
    padding: 10px 15px;
    color: #ffffffb5;
}

.pagination a.active {
      font-weight: bold;
      background-color: #4444444f;
  }
  .content {
      display: none;
  }
  .content.active {
      display: block; 
  }
  
#slider {
    position: relative;
    height: 90px; 
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black; 
}

.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы изображение заполняло контейнер */
    position: absolute;
    top: 0;
    left: 0;
}

.slide_title {
    margin: 0px;
    margin-top: 10px;
    margin-bottom: 4px;
    }
    
.slide_text {
  margin: 0px;
  font-size: 12px;
  
  }
    
.text {
    position: relative;
    z-index: 1; 
}

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

.shop_position {
  grid-template-columns: auto auto;
  }
  
.rad_left {
  border-radius: 10px 0px 0px 0px;
  border-bottom: 1px solid #282828;
}

.rad_tab_right {
  border-radius: 0px 10px 0px 0px;
  border-bottom: 1px solid #282828;
  border-right: none;
  }
    
.rad_tab_down {
  border-radius: 0px 0px 0px 10px;
  } 
  
.rad_right {
  border-radius: 0px 0px 10px 0px;
}

.bord_bot {
  border-radius: 0px;
}

.bord_bot_tab {
  border-bottom: 1px solid #282828;
  border-radius: 0px;
  }
  
.bord_right_tab {
  border-right: 0px;
  }

.bord_twtable {
  border-bottom: 1px solid #282828;
  }
  
.third_bord {
  border-radius: 0px;
}
}
  

@media (max-width: 600px) {
.nav_position {
  padding: 0px 10px;
}

h1 {
  font-size: 34px;
  text-align: center;
}
  
.container {
  margin: 10px;
  padding: 14px;
  }
  
.shop_position {
  grid-template-columns: auto;
  width: fit-content;
  margin: 0 auto;
  }
  
.shop_card {
  border-right: none;
  padding: 30px 20px;
  }
  
.rad_left {
  border-radius: 10px 10px 0px 0px;
  }

.rad_tab_right {
  border-radius: 0px;
  }
    
.rad_tab_down {
  border-radius: 0px;
  border-bottom: 1px solid #282828;
}

.rad_right {
  border-radius: 0px 0px 10px 10px;
}

.shop_w {
  width: 252px;
}

.rad_two_left {
  border-radius: 10px 10px 0px 0px;
  }
  
.rad_two_right_down {
  border-radius: 0px 0px 10px 10px;
}

.pagination {
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  }
  
.btn_pop {
  padding: 15px 20px;
  }
  
.popup-content {
  margin: 10px;
}
}




