/*CSS Variables*/

:root {
  --bg-color: #0A0C1C;
  --card-bg-color: #1B1937;
  --highlight-color: #AB5CDB;
  --text-color: #FFFFFF;
}

/* CSS Reset */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

body {
  background-color: var(--bg-color);
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 5. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

/*
  9. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/* Typography*/

.text-preset-1 {
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  font-size: clamp(1.75rem, 1.65rem + 0.5vw, 2.25rem);
  font-style: normal;
  font-weight: 700;
  line-height: 2rem;
  text-align: center;
}

.text-preset-2 {
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5625rem;
  opacity: 0.75;
  text-align: center;
}

.text-preset-3 {
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.text-preset-4 {
  color: var(--text-color);
  font-family: "Lexend Deca", sans-serif;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5625rem;
  letter-spacing: 0.0625rem;
  opacity: 0.6;
  text-align: center;
}

/* Layout */

.container {
  background-color: var(--card-bg-color);
  border-radius: 0.5rem;
  box-shadow: 0px 20px 20px -10px rgba(23, 25, 41, 0.20);
  height: 48.75rem;
  width: 20.4375rem;
}

.header-photo-container{
  height: 15rem;
  width: 100%;
}

.header-photo {
  position: relative;
  height: 100%;
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  background: url(./images/image-header-mobile.jpg) lightblue 50% / cover no-repeat;
  
}

.photo-mask{
  position: relative;
  height: 100%;
  width: 100%;
  opacity: 0.6;
  background-color: #580582;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.text-section {
  padding: 2rem;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight {
  color: var(--highlight-color);
}

.stats-section{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2.5rem;
}

