*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  /* Size */
  --mobile: 375px;
  --tablet: 768px;
  --desktop: 1440px;

  /* Color */
  --color-violet: hsl(257, 40%, 49%);
  --color-soft-magenta: hsl(300, 69%, 71%);
  --color-white: #ffffff;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --font-normal: 400;
  --font-semi-bold: 600;
}

html {
  box-sizing: inherit;
  font-size: 62.5%;
  height: 100%;
}

body {
  background-attachment: fixed;
  background-color: var(--color-violet);
  background-image: url("images/bg-mobile.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  color: var(--color-white);
  font-size: 1.6rem;
  margin: 0 auto;
  max-width: var(--desktop);
  padding: 3.8rem;
}

@media screen and (min-width: 768px) {
  body {
    background-size: cover;
  }
}

@media screen and (min-width: 1024px) {
  body {
    padding: 8rem;
  }
}

@media screen and (min-width: 1280px) {
  body {
    background-image: url("images/bg-desktop.svg");
  }
}

@media screen and (min-width: 1440px) {
  body {
    background-position: 200%;
  }
}

.header {
  margin-bottom: 4.5rem;
}

@media screen and (min-width: 1280px) {
  .header {
    margin-bottom: 6.5rem;
  }
}

@media screen and (min-width: 1920px) {
  .header {
    margin-bottom: 5rem;
  }
}

.header-logo {
  width: 15rem;
}

@media screen and (min-width: 768px) {
  .header-logo {
    width: 20rem;
  }
}

@media screen and (min-width: 1440px) {
  .header-logo {
    width: 25rem;
  }
}

.main-section {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 1280px) {
  .main-section {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}

.main-section_image {
  margin-bottom: 4rem;
  width: 100%;
}

@media screen and (min-width: 1280px) {
  .main-section_image {
    height: 100%;
    width: 55%;
  }
}

@media screen and (min-width: 1440px) {
  .main-section_image {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1920px) {
  .main-section_image {
    width: 62%;
  }
}

.main-section_description {
  text-align: center;
}

@media screen and (min-width: 1280px) {
  .main-section_description {
    text-align: left;
    width: 40%;
  }
}

@media screen and (min-width: 1920px) {
  .main-section_description {
    width: 35%;
  }
}

.main-section_heading {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: var(--font-semi-bold);
}

@media screen and (min-width: 768px) {
  .main-section_heading {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1024px) {
  .main-section_heading {
    font-size: 4rem;
  }
}

@media screen and (min-width: 1920px) {
  .main-section_heading {
    padding-top: 2rem;
  }
}

.main-section_paragraph {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: var(--font-normal);
  line-height: 1.5;
  margin-bottom: 3rem;
}

@media screen and (min-width: 768px) {
  .main-section_paragraph {
    font-size: 2rem;
  }
}

@media screen and (min-width: 1440px) {
  .main-section_paragraph {
    font-size: 1.8rem;
  }
}

.main-section_button {
  background-color: var(--color-white);
  border: none;
  border-radius: 50rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  color: var(--color-violet);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  height: 4.5rem;
  width: 24rem;
}

@media screen and (min-width: 1280px) {
  .main-section_button {
    height: 5.5rem;
    width: 20rem;
  }
}

.main-section_button:hover {
  background-color: var(--color-soft-magenta);
  color: var(--color-white);
}

.footer {
  display: flex;
  justify-content: center;
  padding-top: 8rem;
}

@media screen and (min-width: 1280px) {
  .footer {
    justify-content: flex-end;
  }
}

@media screen and (min-width: 1440px) {
  .footer {
    padding-top: 0;
  }
}

.footer_social-icon-wrapper {
  display: flex;
}

@media screen and (min-width: 1024px) {
  .footer_social-icon-wrapper {
    justify-content: flex-end;
  }
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color-white);
  border-radius: 100%;
  cursor: pointer;
  height: 35px;
  width: 35px;
}

span.social-icon:hover {
  border-color: var(--color-soft-magenta);
  color: var(--color-soft-magenta);
}

.twitter {
  margin: 0 1rem;
}
