@font-face {
  font-family: 'DecimaMonoPro';
  src: url('../fonts/DecimaMonoPro.woff2') format('woff2'),
  ('../fonts/DecimaMonoPro.woff') format('woff'),
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DecimaMonoProBold';
  src: url('/2023/fonts/DecimaMonoCyr-Bold.woff2') format('woff2'),
  ('/2023/fonts/DecimaMonoCyr-Bold.woff') format('woff'),
  font-weight: bold;
  font-style: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'DecimaMonoPro', sans-serif;
}

body {
  background-color: #fdfbf6;
  height: 100%;
  min-height: 100%;
  min-width: 375px;
  font-weight: 400;
  font-size: 16px;
  line-hidden: 126%;
}

button {
  color: #43433E;
}

.wrapper {
}

/* HEADER */

a, a:link {
  font-size: 14px;
  text-decoration: none;
  color: #43433E;
}
a:visited {
  color: #43433E;
}

.header {
  padding: 55px 50px;
  display: flex;
  align-items: center;
  gap: 100px;
}

.logo {
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

.menu {
  display: flex;
  text-transform: uppercase;
  gap: 100px;
}
a.menu-item {
  font-size: 14px;
  display: inline-block;
  line-height: 28px;
  vertical-align: middle;
  border-bottom: none;
}
a.menu-item:last-child {
  margin-right: 0;
}
a.menu-item:link, a.menu-item:visited {
  color: #43433E;
  text-decoration: none;
}
a.menu-item.active {
  color: #000;
  text-decoration: underline;
  font-style: italic;
}

/* MAIN */

strong {
  font-weight: bold;
  font-family: 'DecimaMonoProBold', sans-serif;
}

.container {
  display: flex;
}

.container-left,
.container-rigth {
  width: 50%;
  padding: 0 25px;
}

.container-left {
  margin-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 60px
}

.container-rigth {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-right: 25px;
  border-left: 1px #43433d solid;
  border-right: 1px #43433d solid;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.list {
  display: flex;
  gap: 25px;
}
.item {
  width: auto;
  font-size: 0.81em
}
.title {
  font-size: 1.5em;
}
.desc {
  font-size: 0.93em;
}

.italica {
  font-style: italic;
}

.underline {
  border-bottom: 1px #000 solid;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 10px;
}

.section + .mob-order-3 {
  gap: 0px;
}

.section__title {
  font-weight: 400;
  font-size: 2.8em;
  color: #43433d;
}

.section__desc {
  font-size: 1.1em;
  line-height: 126%;
}

.bullet-list {
  list-style-type: none;
}

.bullet-list li {
  padding: 10px 0;
}

.bullet-list li::marker {
  font-size: 20px;
}
.border-top {
  padding: 20px 0 0 0;
  border-top: 1px #43433d solid;
}
.img-duck {
  width: 80px;
  height: 75px;
  position: absolute;
  right: 10px;
  border: 1px #43433d solid;
  background-color: #fdfbf6;
  display: flex;
  align-items: center;
}

.img-duck > img {
  width: 100%
}

.btn-donate {
  font-size: 1.81em;
  padding: 20px 90px;
  background-color: #D2D1E6;
  color: #000000;
  border: 1px #43433D solid;
  transition: 0.3s all;
  cursor: pointer;
}

.btn-donate:hover {
  background-color: #2A2A2A;
  color: #D2D1E6;
}

/* FOOTER */

.footer {
  box-sizing: border-box;
  height: 60px;
  padding: 20px 25px;
  text-align: right;
  margin-top: 100px;
}
.footer-item {
  font-size: 14px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin-right: 45px;
  border-bottom: 1px solid;
  cursor: pointer;
  text-transform: uppercase;
}
.footer-item:last-child {
  margin-right: 0;
}
.footer-contactus {
  display: none;
  text-align: left;
  white-space: nowrap;
  position: absolute;
  bottom: 25px;
  right: 0;
  padding: 25px;
  background-color: rgba(0, 0, 0, 0.2);
  line-height: 160%;
}

#contactus {
  display: none; /* Блок скрыт по умолчанию */
  padding: 10px;
  background: #f3f3f3;
  border: 1px solid #ccc;
  margin-top: 10px;
}

/* slider */

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.controls {
  padding: 0 10px;
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.control {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FDFBF7;
  color: #43433D;
  border: none;
  cursor: pointer;
  border-radius: 100px;
  transition: 0.1s all;
}

.control:hover {
  background-color: #e2e2e2;
}

.thumbnails {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.thumbnail {
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.thumbnail.active {
  display:none;
}

.thumbnail:hover {
  opacity: 1;
}


/* popup */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: white;
  padding: 20px;
  border: 2px solid #43433E;
  width: 320px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.close-popup {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
}

.popup input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup .radio-btn {
  width: auto;
}

.popup button {
  padding: 10px;
  border: 1px solid #43433E;
  border-radius: 5px;
}

.popup label {
  display: flex;
  margin: 2px 0;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.popup button {
  background: white;
  color: #43433E;
  border: 1px #43433E solid;
  cursor: pointer;
  font-size: 16px;
}

.popup button:hover {
  background: #e2e2e2;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

/* MEDIA */

@media(max-width: 1300px) {
  body {
    font-size: 14px
  }

  .btn-donate {
    padding: 20px 83px;
  }

  .img-duck {
    height: 71px;
  }
}

@media(max-width: 1100px) {
  body {
    font-size: 16px
  }

  .btn-donate {
    padding: 20px 91px;
  }

  .header, .footer, a.project-item {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header {
    gap: 50px;
  }

  .menu {
    gap: 50px
  }

  .footer {
    margin-top: 70px
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  .container-left, .container-rigth {
    width: 100%;
    padding: 0 20px;
  }

  .container-left {
    margin-left: 0;
  }

  .container-right {
    border: 0;
    margin: 0;
  }

  .section__title {
    font-size: 1.8em;
    width: 100%;
  }

  .border-top {
    border: 0;
    padding: 0;
  }

  .thumbnails {
    display: none;
  }

  .container-left > .list {
    display: none;
  }

  .img-duck {
    display:none;
  }

  .section__header {
    padding: 10px;
    position: relative;
    border-left: 1px solid #43433E;
    border-bottom: 1px solid #43433E;
  }

  .section__header::before,
  .section__header::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -1px;
    width: 5px;
    height: 20px;
    background: #fdfbf6;
  }

  .section__header::before {
      left: -2px;
  }

  .section__header::after {
      right: -2px;
  }

  .section {
    border-right: 1px solid #43433E;
  }

  .mob-order-2, .mob-order-3 {
    border: 0;
  }
}

@media(max-width: 767px) {
  body {
    font-size: 10px;
  }

  .header {
    height: auto;
    padding: 20px;
  }

  .footer {
    margin-top: 50px;
  }

  .header {
    gap: 20px;
  }

  .menu {
    gap: 20px;
  }

  a.project-item {
    width: 100%;
  }
  .footer-item {
    margin-right: 15px;
  }

  .container-rigth {
    border: 0;
  }

  .section {
    gap: 10px;
  }

  .mob-order-3 {
    order: 3;
  }

  .mob-order-2 {
    order: 2;
  }

  .mob-d-none {
    display: none;
  }

  .section__title {
    font-size: 6vw;
  }

  .section__desc,
  .bullet-list li {
    font-size: 14px;
    line-height: 126%;
  }

  .btn-donate {
    padding: 15px 0;
    font-size: 1.9em;
    width: 100%;
  }

  .list {
    gap: 10px;
    justify-content: space-between;
  }

  .item {
    font-size: 1.4em;
  }

  .popup {
    font-size: 1.4em;
  }
}

@media(max-width: 429px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .logo {
    width: auto;
  }
}
