@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Poppins:wght@600&display=swap");
h1,
h2 {
  font-family: "Poppins", sans-serif;
}
body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
header {
  background-color: rgb(235, 251, 255);
  background-image: url(images/bg-hero-desktop.svg);
}
.header-initial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 30px 70px;
}
.huddle-logo {
  height: auto;
  width: 175px;
}
.trial-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 82, 191);
  border-radius: 50px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  padding: 15px 40px;
  transition: 200ms;
}
.try-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  border-radius: 50px;
  box-shadow: -1px 1px 1px -1px rgba(0, 0, 0, 0.2);
  padding: 10px 50px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: 200ms;
}
.header-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 70px;
  gap: 58px;
}
.header-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 35px;
}
.header-content h1 {
  font-size: 38px;
}
.header-content p {
  font-size: 18px;
}
.mockups {
  height: auto;
  width: 50%;
}
main {
  padding: 125px 70px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.main-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(255, 255, 255);
  box-shadow: 1px 1px 12px rgba(212, 211, 211, 0.5);
  border-radius: 15px;
  padding: 85px 18px 46px 114px;
}
.box:nth-child(2) {
  flex-direction: row-reverse;
}
.main-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  max-width: 50%;
  flex: 2;
}
.main-content h2 {
  font-size: 28px;
}
.main-content p {
  font-size: 18px;
  color: rgb(90, 90, 90);
}
.main-image {
  height: auto;
  width: 45%;
}
.poped-box {
  box-shadow: 1px 1px 12px rgba(212, 211, 211, 0.5);
  border-radius: 15px;
  margin-top: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  width: 60%;
  margin-bottom: -200px;
  background-color: rgb(255, 255, 255);
  gap: 25px;
}
.poped-box-content h2 {
  font-size: 30px;
  text-align: center;
}
footer {
  background-color: hsl(192, 100%, 9%);
  color: rgb(255, 255, 255);
  display: flex;
  padding: 200px 0 80px 0;
  justify-content: space-around;
  flex-direction: column;
  font-size: small;
}
.footer-container {
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.logo-white {
  height: auto;
  width: 250px;
  padding-bottom: 40px;
}
.footer-content {
  display: flex;
  gap: 100px;
}
.footer-initial {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  flex: 1.5;
}
.footer-initial a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgb(255, 255, 255);

  font-weight: 400;
}
.footer-initial img {
  width: 15px;
  height: auto;
}
.footer-final {
  display: flex;
  gap: 100px;
  flex: 2;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.links {
  color: rgb(255, 255, 255);
  text-decoration: none;
}
.contact-links {
  display: flex;
  gap: 100px;
}
.social-media {
  display: flex;
  align-items: start;
  gap: 10px;
}
.social {
  filter: invert(100%) sepia(25%) saturate(39%) hue-rotate(27deg)
    brightness(109%) contrast(111%);
  height: auto;
  width: 40px;
}
.footer-copyright {
  align-self: self-end;
  user-select: none;
}
.trial-button:hover {
  background-color: rgb(251, 119, 203);
}
.try-button:hover {
  background-color: rgb(250, 250, 250);
}
.links:hover {
  text-decoration: underline;
}
.social:hover {
  filter: invert(68%) sepia(69%) saturate(5200%) hue-rotate(294deg)
    brightness(100%) contrast(105%);
}
@media (max-width: 1024px) {
  .header-content h1 {
    font-size: 34px;
  }
  .header-content p {
    font-size: 12px;
  }
  .main-image {
    width: 35%;
  }
  .main-content p {
    font-size: 14px;
  }
  .main-content h2 {
    font-size: 24px;
  }
  .poped-box-content h2 {
    font-size: 20px;
  }
  .trial-button {
    padding: 12px 34px;
    font-size: 12px;
  }
  .try-button {
    font-size: 12px;
  }
  .poped-box {
    width: 70%;
  }
}
@media (max-width: 768px) {
  header {
    background-image: url(images/bg-hero-mobile.svg);
  }
  .header-final {
    flex-direction: column;
  }
  .header-content {
    align-items: center;
  }
  .trial-button {
    font-size: 18px;
    padding: 15px 54px;
  }
  .trial-button:nth-child(2) {
    font-size: 12px;
    padding: 14px 38px;
  }
  .header-content h1 {
    font-size: 46px;
    text-align: center;
  }
  .header-content p {
    font-size: 18px;
    text-align: center;
  }
  .mockups {
    width: 58%;
  }
  .box {
    padding: 78px 32px;
  }
  .main-content p {
    font-size: 12px;
  }
  .poped-box-content h2 {
    font-size: 16px;
  }
  .poped-box {
    padding: 58px 0;
  }
  .footer-content {
    flex-direction: column;
    gap: 58px;
  }
  .footer-final {
    flex-direction: column;
    gap: 58px;
  }
  .contact-links {
    flex-direction: column;
    gap: 8px;
  }
  .social-media {
    justify-content: center;
  }
  .footer-copyright {
    align-self: center;
  }
  footer {
    padding: 200px 0 38px 0;
  }
}
@media (max-width: 425px) {
  .header-initial {
    padding: 28px 18px;
  }
  .huddle-logo {
    width: 158px;
  }
  .try-button {
    font-size: 12px;
    padding: 9px 38px;
  }
  .header-content h1 {
    font-size: 25px;
  }
  .header-content p {
    font-size: 16px;
  }
  .trial-button {
    font-size: 14px;
  }
  .mockups {
    width: 80%;
  }
  .box {
    flex-direction: column-reverse;
    padding: 78px 38px;
    gap: 35px;
  }
  .box:nth-child(2) {
    flex-direction: column-reverse;
  }
  main {
    padding: 128px 28px;
  }
  .main-content {
    align-items: center;
    text-align: center;
  }
  .main-content {
    max-width: 100%;
  }
  .poped-box {
    width: 100%;
  }
  .trial-button {
    padding: 15px 42px;
  }
  .main-image {
    width: 70%;
  }
}
@media (max-width: 320px) {
  .header-initial {
    padding: 28px 8px;
  }
  .huddle-logo {
    width: 100px;
  }
  .try-button {
    padding: 8px 28px;
  }
  .header-final {
    padding: 30px;
  }
  .header-content h1 {
    font-size: 23px;
  }
  .header-content p {
    font-size: 14px;
  }
  .trial-button {
    padding: 12px 28px;
    font-size: 12px;
  }
}
