:root {
  --violet: hsl(257, 40%, 49%);
  --soft-magenta: hsl(300, 69%, 71%);

  --font1: "Open Sans", sans-serif;
  --font2: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: var(--font1);
  background-color: rgb(15, 5, 5);
}

.hero {
  background-color: var(--violet);
  /* position: relative; */
  min-height: 100vh;
  /* max-width: 1200px; */
  padding: 20px 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 400px;
  background-image: url("../images/bg-mobile.svg");
  background-repeat: no-repeat;
  background-size: 100% 400px;
}

.container {
  /* width: 90%; */
  /* margin: 0 auto; */
  overflow: hidden;

  position: relative;
  /* background-color: #ffff; */
}

.nav {
  --padding-cotainer: 30px 0;
}

.nav__logo {
  width: 150px;
  display: block;
  padding: 0 0 2em 2em;
}

.hero__container {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.hero__img {
  max-width: 350px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.hero__texts {
  /* margin: 3.5em 0; */
  color: #fff;
  text-align: center;
  padding: 1px 50px;
  gap: 1em;
  display: flex;
  flex-direction: column;
}

.hero__title {
  font-size: 1.7rem;
  font-family: var(--font2);
  padding: 1em 0 0 0;
}

.hero__paragraph {
  line-height: 1.5;
  /* margin: 1.2em 0 1.7em; */
}

.hero__cta {
  display: inline-block;
  color: var(--violet);
  background-color: #fff;
  text-decoration: none;
  padding: 1em 6em;
  border-radius: 2em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 2em;
}

.hero__contact {
  display: flex;
  gap: 1.5em;
}

.hero__link {
  text-decoration: none;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__icon {
  width: 23px;
}

@media (min-width: 768px) {
  .hero__texts {
    /* margin: 3.5em 0;
    color: #fff;
    text-align: center;
    padding: 1px 50px;
    gap: 1em;
    display: flex;
    flex-direction: column; */
    width: 60%;
    /* background-color: #ffff; */
  }
}
