:root {
  --black: #000;
  --beige: #F5F0D8;
  --text_outside: #F5F0D8;
  --beige_bg: #F5F0D8;
  --green_bg: #2D3E2F;
  --main_bg: #2D3E2F;
  --grey: #8A8A8A;
  --img: url('assets/sun.svg');
  --shadow:  0 1.046px 2.092px 0 rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(0, 0, 0, 0.00), 0 0 0 0 rgba(0, 0, 0, 0.00);
  --bg_img: url('assets/Star.png');
  --sec1img: url('assets/hero_image.png')
}

.mode {
  --main_bg: #F5F0D8;
  --text_outside: #000;
  --img: url('assets/moon.svg');
  --bg_img: url('assets/Star 22.png');
  --sec1img: url('assets/hero_image2.png')
}

* {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

ul {
  display: flex;
  align-items: center;
  gap: 42px;
}

body {
  background: var(--main_bg);
  height: fit-content;
  width: 100vw;
  background-image: var(--bg_img);
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
}

header {
  border-radius: 30px;
  border-top: 0.757px solid var(--black, #000);
  border-right: 0.757px solid var(--black, #000);
  border-bottom: 3.783px solid var(--black, #000);
  border-left: 0.757px solid var(--black, #000);
  background: var(--beige_bg, #F5F0D8);
  display: flex;
  width: 1420px;
  height: 65px;
  padding: 8px 50px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  margin: 40px auto 0;
}

li a {
  color: var(--black);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 20.922px; /* 168.067% */
  text-decoration: none;
}

li a:hover {
  text-decoration: underline;
}

header button {
  border-radius: 10px;
  border: 1.046px solid var(--black);
  background: var(--beige);
  box-shadow: var(--shadow);
  display: flex;
  width: 175px;
  justify-content: center;
  align-items: center;
  color: var(--black);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 29.291px; /* 183.007% */
  cursor: pointer;
}

.header_right {
  display: flex;
  gap: 27px;
}

#mode_btn {
  background-image: var(--img);
  display: flex;
  width: 59px;
  height: 45px;
  background-position: center;
  background-repeat: no-repeat;
}

.header_right button {
  border-radius: 30px;
  border: 1.046px solid var(--black);
  background: var(--beige);
  width: 90px;
  color: var(--black);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 12.449px;
  font-style: normal;
  font-weight: 700;
  line-height: 20.922px; /* 168.067% */
  transition: all 300ms ease;
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#section_1 {
  margin-top: 45px;
  display: flex;
  gap: 90px;
  align-items: center;
}

.sec1_left {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.INTRODUCING {
  border-radius: 30px;
  display: flex;
  padding: 10px 25px;
  box-sizing: border-box;
  border: 1.142px solid var(--black);
  background: var(--beige_bg);
  color: var(--black);
  font-family: 'Montserrat';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18.269px; /* 156.863% */
  width: fit-content;
}

.sec1_left h1 {
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 85px;
  font-style: normal;
  font-weight: 900;
  line-height: 110px; /* 108% */
}

.sec1_left h3 {
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 26.369px;
  font-style: normal;
  font-weight: 700;
  line-height: 41.363px; /* 156.863% */
}

.sec1_left p {
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 19.777px;
  font-style: normal;
  font-weight: 500;
  line-height: 36.192px; /* 183.007% */
}

.sec1_left button {
  border-radius: 32.745px;
  border: 1.293px solid var(--text_outside);
  color: var(--text_outside);
  text-align: center;
  font-family: 'Montserrat';
  padding: 10px 25px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 25.852px; /* 168.067% */
  background: none;
  width: fit-content;
  margin-top: 50px;
  transition: all 300ms ease;
  cursor: pointer;
}

.sec1_right {
  background-image: var(--sec1img);
  background-repeat: no-repeat;
  width: 582px;
  height: 583px;
}

#section_2 {
  display: flex;
  width: 1394px;
  flex-direction: column;
  gap: 33px;
}

#section_2 h2 {
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 62.766px; /* 156.915% */
}

#sec2_cards {
  display: flex;
  align-items: center;
  gap: 34px;
}

.sec2_card {
  border-radius: 20px;
  border: 0.854px solid var(--black, #000);
  background: var(--beige_bg, #F5F0D8);
  box-shadow: var(--shadow);
  width: 323px;
  height: 412px;
  display: flex;
  gap: 15px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box
  
}

.sec2_card p {
  color: var(--black);
  font-family: 'Montserrat';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px; /* 151.872% */
}

.sec2_card button {
  border-radius: 30px;
  border: 0.854px solid var(--black);
  padding: 9px 76.5px;
  box-sizing: border-box;
  color: var(--black);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 17px; /* 142.38% */
  display: flex;
  gap: 7px;
  align-items: center;
  background: none;
  transition: all 300ms ease;
  cursor: pointer;
}

#section_3 {
  display: flex;
  width: 1394px;
  flex-direction: column;
  align-items: center;
  gap: 75px;
  justify-content: center;
  margin-top: 140px;
}

.sec3_top {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.sec3_titles {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sec3_titles h2 {
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.sec3_titles p {
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 25.106px; /* 139.48% */
}

.sec3_categories {
  display: flex;
  gap: 10px;
}

.sec3_categories button {
  border-radius: 30px;
  border: 1.046px solid var(--black, #000);
  background: var(--beige_bg, #F5F0D8);
  color: var(--black_bg, #000);
  display: flex;
  padding: 9px 18px;
  font-family: 'Montserrat';
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 20.922px; /* 168.067% */
  height: fit-content;
  transition: all 300ms ease;
  cursor: pointer;
}

.selected {
  border: 1.046px solid var(--black, #000);
  background: var(--black_bg, #000);
  color: var(--beige_bg, #F5F0D8);
}

#sec3_bottom {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: auto auto; 
  gap: 94px;
}

.sec3_cards {
  border-radius: 20px;
  border: 0.898px solid var(--black, #000);
  background: var(--beige_bg, #F5F0D8);
  box-shadow: var(--shadow);
  width: 650px;
  height: 608px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 22px;
  
}

.tag {
  border-radius: 30px;
  background: var(--green_bg);
  padding: 11px 18px;
  color: var(--beige, #F5F0D8);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 13.734px;
  font-style: normal;
  font-weight: 400;
  line-height: 21.544px; /* 156.863% */
  position: absolute;
  top: 14px;
  right: 43px;
}

.sec3_card_top {
  border-radius: 30px;
  border: 1px solid var(--black, #000);
  padding: 10px;
  box-sizing: border-box;
}

.sec3_card_bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.sec3_card_bottom h3 {
  color: var(--black, #000);
  font-family: 'Montserrat';
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 29.291px; /* 162.727% */
}

.sec3_text {
  color: var(--black, #000);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 29.291px; /* 183.068% */
}

.prices {
  display: flex;
  gap: 12px;
}

.grey_text {
  color: var(--grey, #8A8A8A);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 29.291px; /* 183.007% */
  text-decoration-line: line-through;
}

.price_text {
  color: var(--black, #000);
  font-family: 'Montserrat';
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  line-height: 29.291px; /* 104.61% */
}

.sec3_card_very_bottom {
  display: flex;
  gap: 25px;
}

.counter {
  border-radius: 30px;
  border: 1.046px solid var(--black, #000);
  background: var(--beige_bg, #F5F0D8);
  width: 134px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  box-sizing: border-box;
}

.sec3_cta {
  border-radius: 30px;
  background: var(--green_bg, #2D3E2F);
  padding: 6px 178px;
  box-sizing: border-box;
  color: var(--beige, #F5F0D8);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 29.291px; /* 183.068% */
  transition: all 300ms ease;
  cursor: pointer;
}

.counter button {
  background: none;
  border: none;
  color: var(--black, #000);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 25.106px; /* 176.471% */
  transition: all 300ms ease;
  cursor: pointer;
}

.counter button:hover {
  transform: scale(2);
}

#num1, #num2, #num3, #num4   {
  border-right: 1.046px solid var(--black, #000);
  border-left: 1.046px solid var(--black, #000);
  background-color: var(--beige_bg);
  width: 43.814px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--black, #000);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 25.106px; /* 176.471% */
}

.sec3_bottom_cta {
  border-radius: 30px;
  border: 1px solid var(--black, #000);
  background: var(--beige_bg, #F5F0D8);
  color: var(--black, #000);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 29.291px; /* 183.068% */
  display: flex;
  width: 390px;
  height: 42px;
  justify-content: center;
  align-items: center;
  transition: all 300ms ease;
  cursor: pointer;
}

#section_4 {
  display: flex;
  width: 1407px;
  flex-direction: column;
  align-items: flex-start;
  gap: 75px;
  margin-top: 140px;
}

#sec4_bottom {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.coupon {
  border-radius: 20px;
  border: 1.046px solid var(--black, #000);
  background: var(--beige, #F5F0D8);
  box-shadow: var(--shadow);
  display: flex;
  padding: 35px 122px;
  box-sizing: border-box;
  width: 1407px;
  align-items: center;
  justify-content: space-between;
}

.coupon_left {
  display: flex;
  width: fit-content;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.coupon_left h3 {
  color: var(--black, #000);
  font-family: 'Montserrat';
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
  line-height: 29.291px; /* 162.727% */
}

.coupon_left p {
  color: var(--black, #000);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 25.106px; /* 156.915% */
}

.coupon_right {
  display: flex;
  gap: 19px;
  width: fit-content;
}

.code {
  display: flex;
  padding: 11px 41px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 30px;
  background: var(--black_bg, #000);
  color: var(--beige, #F5F0D8);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 20.922px; /* 130.763% */
  height: fit-content;
}

.coupon_right button {
  border-radius:30px;
  border: 1.046px solid var(--black, #000);
  background: var(--green_bg, #2D3E2F);
  display: flex;
  padding: 10px 18px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  height: fit-content;
  color: var(--beige, #F5F0D8);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 20.922px; /* 174.35% */
  transition: all 300ms ease;
  cursor: pointer;
}

footer {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 89px;
  margin: 140px 0;
}

.footer_inside {
  display: flex;
  gap: 250px;
}

.footer_col {
  display: flex;
  width: 284px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer_col h5{
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px; /* 140% */
}

.footer_col p, .footer_col a{
  color: var(--text_outside);
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

.col_inside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.footer_right {
  display: flex;
  align-items: center;
  gap: 12px;
}

footer span {
  color: var(--text_outside);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

footer a:hover {
  text-decoration: underline;
}

#popup {
  width: 520px;
  height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px 30px;
  box-sizing: border-box;
  border-radius: 30px;
  border: 1px solid var(--black, #000);
  background: var(--beige, #F5F0D8);
  box-shadow:var(--shadow);
  position: absolute;
  gap: 24px;
  justify-self: center;
}

.popup_top {
  display: flex;
  justify-content: space-between;
}

.popup_tag {
  display: flex;
  width: 160px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  background: var(--black, #000);
  color: var(--beige, #F5F0D8);
  text-align: center;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.popup_top button {
  border-radius: 37px;
  background: var(--black_bg, #000);
  display: flex;
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  color: var(--beige, #F5F0D8);
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  cursor: pointer;
}

#popup_text {
  color: var(--black, #000);
  text-align: center;
  font-family: 'Montserrat';
  font-size: 27px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.08;
}

.popup_cta {
  display: flex;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: 1.788px solid var(--black, #000);
  background: none;
  gap: 10px;
  cursor: pointer;
  color: var(--black, #000);
  text-align: center;
  font-family: Montserrat;
  font-size: 21px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
  transition: all 300ms ease;
  cursor: pointer;
}

.popup_cta:hover, .header_right button:hover,.sec2_card button:hover, .sec3_bottom_cta:hover {
  background-color: var(--green_bg);
  color: var(--beige);
}

.popup_cta:hover img, .header_right button:hover img, .sec2_card button:hover img {
  filter: invert(1);
}

.sec1_left button:hover, .sec3_cta:hover,.coupon_right button:hover {
  background-color: var(--beige_bg);
  color: var(--black);
}
