:root {
  --font-family: "DM Sans", sans-serif;
  --second-family: "Fraunces", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

*,
::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  margin: 0 auto;
  background: #0b1320;
  color: #ede6d8;
}

html {
  scroll-behavior: smooth;
}

.section {
  padding: 42px 0;
}

.container {
  max-width: 100%;
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 32px;

  div {
    display: flex;
    align-items: center;
    gap: 12px;
    div {
      width: 101px;
      height: 1px;
      background-color: #ede6d8;
    }
  }

  span {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 100;
    font-size: 22px;
    line-height: 100%;
    color: #ede6d8;
  }

  h2 {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 100;
    font-size: 32px;
    line-height: 125%;
    color: #ede6d8;
  }
}

.text {
  display: flex;
  flex-direction: column;
  gap: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #ede6d8;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 100;
    font-size: 16px;
    line-height: 150%;
    color: #ede6d8;
  }
}

@media screen and (min-width: 375px) {
  .container {
    width: 375px;
  }
}

@media screen and (min-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .container {
    width: 768px;
    padding: 0 32px;
  }
}

@media screen and (min-width: 1440px) {
  .section {
    padding: 82px 0;
  }

  .container {
    width: 1440px;
    padding: 0 62px;
  }

  .flex {
    display: flex;
    align-items: center;
    gap: 32px;

    .title {
      margin: 0;
    }
  }

  .title {
    width: 500px;
    flex-shrink: 0;

    span {
      font-size: 22px;
    }

    h2 {
      font-size: 52px;
    }
  }
}
