#main h3 {
  margin-bottom: 20px;
}
.offers {
  margin: auto;
  padding-bottom: 100px;
}
.offer-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.offer-list .offer-item {
  cursor: pointer;
}
.offer-list .offer-item:hover h4 {
  color: #395362;
}
.offer-list .image {
  border: 1px solid #395362;
  height: 23vw;
  box-sizing: border-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  padding: 20px;
}
.offer-list .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.offer-list h3,
.offer-list h4 {
  text-align: center;
  -webkit-transition: 0.3s color ease-in-out;
  -moz-transition: 0.3s color ease-in-out;
  -o-transition: 0.3s color ease-in-out;
  -ms-transition: 0.3s color ease-in-out;
  transition: 0.3s color ease-in-out;
}
.offer-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 9999;
}
.offer-modal .backdrop {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 35, 35, 0.5);
}
.offer-modal-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  background: white;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 1048px;
  min-height: 80%;
  box-sizing: border-box;
  padding: 50px 40px 200px;
}
.offer-modal .image img {
  margin: auto;
  max-height: 13vw;
}
.offer-modal .text {
  text-align: center;
  max-width: 690px;
  margin: auto;
}
.offer-modal .text h3 {
  color: #395362;
  text-transform: none;
  line-height: 120%;
  font-size: 45px;
}
.offer-modal .text h3:after {
  display: none;
}
.offer-modal .text p {
  font-size: 30px;
  line-height: 125%;
  font-weight: 700;
}
.offer-modal .link-website {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: calc(100% - 24px);
  border: 1px solid #707070;
  height: 115px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 700;
  color: #395362;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition: 0.3s all ease-in-out;
  -moz-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  -ms-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
.offer-modal .link-website .icon svg {
  width: 30px;
  height: auto;
  position: relative;
  top: 5px;
}
.offer-modal .link-website .icon svg path {
  -webkit-transition: 0.3s all ease-in-out;
  -moz-transition: 0.3s all ease-in-out;
  -o-transition: 0.3s all ease-in-out;
  -ms-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
  stroke: #395362;
}
.offer-modal .link-website:hover {
  background: #395362;
  color: white !important;
}
.offer-modal .link-website:hover .icon svg path {
  stroke: white;
}
.offer-modal [data-close] {
  float: right;
  margin-top: -20px;
  font-size: 30px;
}
@media screen and (max-width: 1600px) {
  .offer-modal-inner {
    padding-bottom: 150px;
  }
  .offer-modal .text h3 {
    margin: 30px 0;
    font-size: 42px;
  }
  .offer-modal .text p {
    font-size: 28px;
  }
  .offer-modal .link-website {
    height: 100px;
  }
}
@media screen and (max-width: 1200px) {
  .offer-list h4 {
    font-size: 32px;
  }
  .offer-modal-inner {
    padding-bottom: 110px;
    padding-top: 30px;
  }
  .offer-modal .text h3 {
    font-size: 36px;
  }
  .offer-modal .text p {
    font-size: 24px;
  }
  .offer-modal .link-website {
    height: 80px;
    font-size: 28px;
  }
  .offer-modal .link-website .icon svg {
    width: 26px;
    top: 3px;
  }
}
@media screen and (max-width: 1024px) {
  .offer-list h4 {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  .offer-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .offer-list .image {
    height: 28vw;
  }
  .offer-modal .text h3 {
    font-size: 32px;
  }
  .offer-modal .text p {
    font-size: 20px;
    font-weight: 500;
  }
  .offer-modal .link-website {
    height: 60px;
    font-size: 22px;
  }
  .offer-modal .link-website .icon svg {
    width: 20px;
  }
}
@media screen and (max-width: 425px) {
  .offer-list {
    grid-template-columns: 1fr;
  }
  .offer-list .image {
    height: 64vw;
  }
  .offer-modal .image img {
    max-height: 30vw;
  }
  .offer-modal .text p {
    font-size: 18px;
  }
  .offer-modal .link-website {
    height: 48px;
    font-size: 18px;
  }
  .offer-modal .link-website .icon svg {
    width: 16px;
    top: 1px;
  }
}
