:root {
  --body-background-color: #e8e7e7;
  --block-background-color: #ffffff;
  --header-color: #0623e2;

  --link-color: #ffffff;
  --link-hover-color: #12e520;
  --button-color: #283525ee;

  --h1-color: #32e70e;
  --h2-color: #090cea;
  --header-description: #15efce;
}
body {
  font-family: "Montserrat", sans-serif;
}
.main-wrapp {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 40px;
}
header {
  background: linear-gradient(to right, #498bc5, #460bdb);
  height: 100vh;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;

  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}
.main-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 35px;
}
.main-menu li {
  color: var(--link-color);
  font-weight: bold;
}
.main-menu li:hover {
  color: var(--link-hover-color);
}
.logo-img {
  width: 50px;
}
.search {
  height: 40px;
  width: 300px;
  border: none;
  padding: 15px;
  border-radius: 20px;
  outline: none;
  color: #565656;
}
.mt5 {
  margin-top: 5px;
}
.mt10 {
  margin-top: 10px;
}
.mt20 {
  margin-top: 20px;
}
.mt30 {
  margin-top: 30px;
}
.mt40 {
  margin-top: 40px;
}
.mt50 {
  margin-top: 50px;
}
.mt100 {
  margin-top: 100px;
}
.header-1 {
  font-size: 48px;
  font-weight: bold;
  color: var(--h1-color);
}
.header-sesciption {
  font-size: 36px;
  font-weight: bold;
  color: var(--header-description);
}
.subscribe-button {
  background-color: var(--button-color);
  border: 3px solid var(--button-color);
  width: 200px;
  height: 50px;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 2px;
}
section {
  padding: 85px 0;
}
.section-1 {
  max-width: 900px;
  font-size: 26px;
  line-height: 36px;
  text-align: center;
  font-family: "Inter", sans-serif;
  color: #3e3e3e;
  margin: 0 auto;
}
.section-2 {
  background-color: #f1fbff;
}
.section-2-wrapp {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 20px;
}
.section-2-wrapp div {
  flex: 1 1 calc(33.333% - 30px);
  padding: 0 20px;
}
.section-2-wrapp div img {
  width: 100%;
}
.section-2-wrapp div p {
  font-size: 16px;
  font-weight: 500;
  margin-top: 30px;
  color: #5f5f5f;
}
.section-3-wrapp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
}
.section-3-wrapp img {
  width: 50%;
  object-fit: cover;
}
.section-3-wrapp div {
  width: 50%;
}
.section-3-content {
  font-size: 16px;
  line-height: 20px;
  font-family: "Inter", sans-serif;
  color: #6b6b6b;
}
.header-2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--h2-color);
}
.grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
}
.grid-list li {
  background: #efefef;
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
}
.list-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e26817;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.section-4 {
  background-color: #f8f8f8;
}
footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100vh;
  background: linear-gradient(to right, #179791, #7323dd);
  padding: 55px 0;
  width: 100%;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: bold;
  color: #fff;
}
.footer-links li a {
  font-weight: bold;
  color: #fff;
  font-size: 22px;
}
.footer-links li a:hover {
  color: #0ee123;
}
.footer-wrapp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 50px;
  width: 100%;
}
.form-block {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 500px;
  background-color: #fff;
  padding: 35px 15px;
  border-radius: 8px;
}
.send-form {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.send-form input {
  width: 350px;
  margin-top: 20px;
  height: 45px;
  padding: 14px;
  border-radius: 15px;
  outline: none;
  border: none;
  background-color: #f0f0f0;
}
.form-button {
  margin: 20px auto;
}
.copyright {
  margin-top: 50px;
  color: #fff;
}
.popup {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  transition: transform 0.5s ease-in-out;
}
.popup-content {
  max-width: 500px;
  margin: 0 auto;
}
.close-btn {
  background-color: #ff5722;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}
.close-btn:hover {
  background-color: #e64a19;
}
.form-text {
  text-align: center;
  font-size: 14px;
  color: #555555;
  max-width: 350px;
}
