body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  /* background-color: #f0efea; */
  color: #333;
  font-weight: 700;
  background-image: url(./squarebg.png);
}

body,
button,
input,
select,
textarea {
  font-family: "Nunito", sans-serif;
}

.container,
.container * {
  font-family: "Nunito", sans-serif;
}
html {
  background: linear-gradient(
    to bottom,
    #fef6f6,
    #f5f8f9,
    #fbf7ef,
    #f6f6fc,
    #f2f9f1
  );
  min-height: 100%;
}

.features {
  margin: 40px 0;
  width: 100%;
  overflow: hidden;
}
i {
  font-style: normal;
  position: relative;
  padding-left: 7px;
  padding-right: 7px;
  margin-left: -5px;
  margin-right: -5px;
  display: inline-block;
}

i::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 60%;
  background-color: #f9e3ba;
  transform: rotate(2deg);
  z-index: 0;
}

i span,
i * {
  position: relative;
  z-index: 1;
}

.feature-label {
  margin-top: -30px;
  text-align: center;
  font-weight: 400;
  padding-left: 20px;
  padding-right: 20px;
}

.feature-block {
  flex: 0 0 300px;
  width: 300px;
  height: 450px;
  border-radius: 20px;
  padding: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.features h2 {
  margin-top: 210px;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #2b2a2a;
}

.feature-block h2 {
  margin-top: 38px;
  font-size: 2.2rem;
  font-weight: 600;
  color: #2b2a2a;
}

.feature-block:hover {
  transform: translateY(-10px);
}

.container {
  text-align: left;
}

header {
  padding: 18px;
}

.logo {
  max-width: 250px;
  margin: 20px 40px;
  margin-left: 65px;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (max-width: 1024px) {
  .desktop-cta {
    display: none;
  }
  .desktop-buttons {
    display: none;
  }
}

@media (min-width: 1024px) {
  .desktop-cta {
    display: block;
    /* Add a border bottom */
    max-width: 50%;
    padding-bottom: 50px;
    margin-bottom: -20px;
  }
  .desktop-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -20px;
    margin-right: 70px;
  }
  .desktop-buttons a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    color: black;
    font-weight: bold;
    display: flex;
    font-size: 1.3rem;
    align-items: center;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2),
      0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    gap: 10px;
  }
  .store-buttons {
    display: none !important;
  }
  .desktop-cta a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    background-color: #7ca5a7;
    display: flex;
    font-size: 24px;
    align-items: center;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2),
      0px 0px 0px 1px rgba(0, 0, 0, 0.1);
    gap: 10px;
    max-width: 220px;
  }
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .phone-image {
    margin-top: 0px !important;
  }
}

@media (min-width: 768px) {
  .content {
    flex-direction: row;
    margin-left: 30px;
    justify-content: space-between;
  }
}

.text-column {
  flex: 1;
  max-width: 45vw;
  padding: 20px;
}

.text-column h1 {
  font-size: 3rem;
  font-weight: 700;
}

.text-column p {
  font-size: 1.25rem;
  margin: 20px 0;
}

.image-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* h1 {
  font-size: 1rem;
  margin: 20px 0;
  color: rgb(41, 40, 40);
  font-weight: 1200;
}

p {
  font-size: 1rem;
  margin: 20px 0;
} */

.store-buttons {
  display: flex;
  gap: 50px;
  margin: 20px 0;
}

.store-buttons a {
  margin-top: 50px;
  text-decoration: none;
  padding: 7px 20px;
  border-radius: 10px;
  color: black;
  font-weight: bold;
  display: flex;
  align-items: center;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2),
    0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  gap: 10px;
}

.store-buttons a strong {
  font-size: 1.2rem;
}

.store-buttons img {
  width: 30px;
  margin-left: -5px;
}

.app-store {
  background-color: #7ca5a7;
}

.google-play {
  background-color: #e4c890;
}

.phone-image {
  max-width: 300px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 4rem;
    font-weight: 700;
  }

  p {
    font-size: 1.25rem;
  }

  @media (min-width: 768px) {
    .phone-image {
      margin-top: -50px;
      margin-right: 0px;
      max-width: 700px;
      width: 100%;
      height: auto;
    }
  }
}

.features {
  margin: 40px 0px;
  width: 100%;
  overflow: hidden;
}

.features-container {
  display: flex;
  gap: 55px;
  overflow-x: scroll;
  padding: 20px 40px 20px 40px;
  cursor: grab;
}

.features-container::-webkit-scrollbar {
  display: none;
}

/* Drag to scroll functionality cursors */
.features-container.active {
  cursor: grabbing;
}

.feature-block-1 {
  background-image: url(bloc-jaune-mockup-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-block-2 {
  background-image: url(bloc-bleu-mockup-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-block-3 {
  background-image: url(bloc-rose-mockup-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-block-4 {
  background-image: url(bloc-vert-mockup-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-block-5 {
  background-image: url(bloc-mauve-mockup-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.metrics {
  text-align: center;
}

.metrics-container {
  gap: 2rem;
}

.metric-block {
  width: 350px;
  height: 350px;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.metric-block-1 {
  background-image: url(post-it-rose-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -100px;
  margin-left: -100px;
}

.metric-row {
  display: flex;
  justify-content: center;
  gap: 7rem;
}

.metric-block-2 {
  background-image: url(post-it-vert-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-left: -20px;
}

.metric-block-3 {
  background-image: url(post-it-jaune-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -150px;
  margin-right: -120px;
}

.metric-block-4 {
  background-image: url(post-it-bleu-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: -20px;
  margin-left: -200px;
}

.metric-block-5 {
  background-image: url(post-it-mauve-crop.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: -25px;
  margin-right: -150px;
}

.footer {
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 40px;
  padding-bottom: 100px;
}

.footer .columns {
  margin-top: 50px;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  width: 95vw;
}

.footer-img {
  width: 45vw;
  height: auto;
  object-fit: contain;
  margin-left: 40px;
}

.footer-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 35vw;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: -50px;
}

.footer-subtitle {
  text-align: center;
  font-weight: 500;
  color: grey;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .metric-row {
    display: block;
  }
  .metric-block {
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .metric-block {
    width: 100%;
  }
}

.metric-label {
  padding-top: 10px;
}
.metric-label h3 {
  font-size: 3rem;
  margin-bottom: 0;
  margin-top: 25px;
}
.metric-label h5 {
  margin-top: 0;
  font-size: 1.2rem;
  padding: 20px;
  padding-left: 40px;
  padding-right: 40px;
}
.metric-label p {
  font-size: 15px;
  margin-top: 0;
  font-weight: 500;
  padding-left: 40px;
  padding-right: 40px;
}

@media (min-width: 1280px) {
  .text-column {
    padding-left: 50px;
  }
  .text-column h1 {
    max-width: 35vw;
  }
  .text-column p {
    max-width: 35vw;
  }
}
@media (max-width: 1280px) {
  .metric-row {
    flex-wrap: wrap;
    gap: 3rem;
  }
  .metric-block {
    width: 300px;
    height: 300px;
    margin: 1rem auto !important;
  }
  .metric-label h3 {
    font-size: 2.5rem;
  }
  .metric-label h5 {
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 5px;
  }
  .footer {
    padding-left: 0px;
    padding-right: 0px;
  }
  .footer .columns {
    display: block;
  }
  .footer-img {
    width: 70vw;
    margin-left: 15vw;
    display: none;
  }
  .footer-title {
    margin: auto;
    max-width: 50vw;
  }
}

/* Tablet landscape (max-width:1024px, min-width:769px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
  .text-column,
  .image-column {
    max-width: 90%;
    padding: 10px;
  }
  .features-container {
    gap: 30px;
    padding: 20px;
  }
  .feature-block {
    flex: 0 0 250px;
    width: 250px;
    height: 400px;
  }
  .metric-row {
    flex-wrap: wrap;
    gap: 3rem;
  }
  .metric-block {
    width: 300px;
    height: 300px;
    margin: 1rem auto !important;
  }
}

@media (max-width: 1024px) {
  header {
    display: flex;
    justify-content: center;
  }
  .logo {
    margin-left: auto;
    margin-right: auto;
  }
  .text-column {
    width: 90vw;
    min-width: 90vw;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
  }
  .store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  .features-title {
    margin-top: 10px !important;
    font-size: 1.6rem !important;
    margin-bottom: -30px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .metrics-title {
    margin-top: 10px !important;
    font-size: 1.6rem !important;
    margin-bottom: -30px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .metrics-subtitle {
    font-weight: 500;
    margin-top: 30px;
  }
}

/* Tablet portrait (max-width:768px, min-width:481px) */
@media (max-width: 769px) and (min-width: 481px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
  .text-column {
    width: 90vw;
    min-width: 90vw;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
  }

  .features-container {
    gap: 20px;
    padding: 10px;
  }
  .phone-image {
    min-width: 80vw;
  }
  .feature-block {
    flex: 0 0 300px;
    width: 300px;
    height: 450px;
  }
  .metric-row {
    flex-wrap: wrap;
    gap: 3rem;
  }
  .metric-block {
    width: 300px;
    height: 300px;
    margin: 1rem auto !important;
  }
  /* .metric-row {
    display: block;
  }
  .metric-block {
    width: 80%;
    height: auto;
    margin: 1rem auto !important;
  } */

  .text-column h1 {
    font-size: 2rem;
  }
  .text-column p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .metric-block-1 {
    margin-left: calc(50vw - 200px) !important;
  }
  .metric-block-2 {
    margin-left: calc(50vw - 100px) !important;
  }
  .metric-block-3 {
    margin-left: calc(50vw - 200px) !important;
  }
  .metric-block-4 {
    margin-left: calc(50vw - 100px) !important;
  }
  .metric-block-5 {
    margin-left: calc(50vw - 200px) !important;
  }
  .footer-title {
    margin: auto;
    max-width: 75vw;
  }
}

/* Phone adjustments (max-width:480px) */
@media (max-width: 480px) {
  .features-container {
    gap: 15px;
    padding: 10px;
    padding-left: 20px;
  }
  .logo {
    max-width: 150px;
  }
  .text-column {
    width: 85vw;
    min-width: 85vw;
  }

  .store-buttons a {
    margin-top: 0px;
  }
  .feature-block {
    flex: 0 0 250px;
    width: 250px;
    height: 450px;
  }
  .phone-image {
    min-width: 80vw;
    max-width: 80vw;
  }
  .feature-block h2 {
    font-size: 1.6rem;
    margin-top: 60px;
  }
  .store-buttons {
    gap: 20px;
    display: flex;
    justify-content: center;
  }
  .store-buttons a {
    padding: 5px 15px;
    font-size: 0.6rem;
  }
  .store-buttons img {
    width: 20px;
  }
  .store-buttons a strong {
    font-size: 0.8rem;
  }
  .footer .store-buttons {
    margin-top: 50px;
  }
  .footer {
    margin-top: -80px;
  }
  .columns {
    margin-left: 10px;
  }
  .footer-title {
    font-size: 1.6rem;
  }
  /* .metric-block {
    width: 100%;
    margin: 0 auto !important;
  } */
  .text-column h1 {
    font-size: 1.6rem;
  }
  .text-column p {
    font-size: 1rem;
  }

  .metric-block {
    width: 250px;
    margin: 0 !important;
  }
  .metric-block-1 {
    margin-left: calc(50vw - 175px) !important;
  }
  .metric-block-2 {
    margin-left: calc(50vw - 75px) !important;
  }
  .metric-block-3 {
    margin-left: calc(50vw - 175px) !important;
  }
  .metric-block-4 {
    margin-left: calc(50vw - 75px) !important;
  }
  .metric-block-5 {
    margin-left: calc(50vw - 175px) !important;
  }
  .metric-label h3 {
    font-size: 2rem;
    padding-top: 10px;
  }
  .metric-label h5 {
    font-size: 0.8rem;
    padding-top: 10px;
    padding-bottom: 0px;
  }
  .metric-label h4 {
    font-size: 1.2rem;
    padding-top: 5px;
  }
}

.site-footer {
  margin-top: 48px;
  padding: 28px 16px 36px;
  text-align: center;
  background-color: #fefcf8;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.site-footer small {
  display: block;
  margin-bottom: 10px;
  color: #5c5c5c;
  font-weight: 500;
  font-size: 0.85rem;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer .footer-links a {
  color: #2b2a2a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 24px 12px 32px;
  }

  .site-footer .footer-links {
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .site-footer small {
    font-size: 0.8rem;
  }

  .site-footer .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .site-footer .footer-links a {
    font-size: 0.85rem;
  }
}
