@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lexend+Deca&display=swap");

:root {
  --white: hsl(0, 0%, 100%);
  --light-white: hsla(0, 0%, 100%, 0.6);
  --desaturated-blue: hsl(244, 38%, 16%);
  --dark-blue: hsl(233, 47%, 7%);
  --soft-violet: hsl(277, 64%, 61%);
  --lexend-deca: "Lexend Deca", sans-serif;
  --inter: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

html,
body {
  overflow-x: hidden;
}

body {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
  min-height: 100vh;
  background-color: var(--dark-blue);
}
body::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

/** Center Container **/
.center-container {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  text-align: center;
  width: 77.01%;
  max-width: 69.3rem;
  background-color: var(--desaturated-blue);
  margin: 0 auto;
  margin-top: 11.2rem;
  margin-bottom: 10rem;
  border-radius: 10px;
}

/** Image Container **/
.image-container {
  display: inherit;
  position: relative;
  width: 100%;
  border-radius: 0 10px 10px 0;
  background-color: var(--soft-violet);
}
.main-image {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  border-radius: 0 10px 10px 0;
  mix-blend-mode: multiply;
  opacity: 0.75;
}

/** Stats Container **/
.stats-container {
  width: 100%;
  text-align: left;
  padding: 4.5rem;
}

/** Stats Container **/
h1 {
  color: var(--white);
  font-size: 2rem;
  font-family: var(--inter);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 2.8rem;
}

.insights-text {
  color: var(--soft-violet);
}

.description {
  color: var(--light-white);
  font-family: var(--lexend-deca);
  margin-top: 1.4rem;
  line-height: 25px;
  font-size: 1rem;
}

/** Numbers Container **/
.numbers-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 3.5rem;
  font-weight: 400;
  font-family: var(--inter);
  margin-top: 4.5rem;
}

h2 {
  color: var(--white);
}

.title-p {
  color: var(--light-white);
  text-transform: uppercase;
  font-family: var(--lexend-deca);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/** Media Queries **/

@media screen and (max-width: 1200px) {
  /** Center Container **/
  .center-container {
    flex-direction: column-reverse;
    width: 86.94%;
    margin-top: 5.6rem;
  }

  .image-container {
    border-radius: 10px 10px 0 0;
  }
  .main-image {
    border-radius: 0;
  }

  /** Stats Container **/
  .stats-container {
    text-align: center;
    padding: 2rem;
  }
  h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 2rem;
  }

  .description {
    font-size: 0.9rem;
  }
  /** Numbers Container **/
  .numbers-container {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
  }
  .title-p {
    font-size: 0.7rem;
  }
}
