:root {
  --navy-850: hsl(217, 28%, 15%);
  --navy-900: hsl(218, 28%, 13%);
  --navy-950: hsl(216, 53%, 9%);
  --navy-800: hsl(219, 30%, 18%);

  --teal-200: hsl(176, 68%, 64%);
  --cyan-500: hsl(198, 60%, 50%);
  --red-500: hsl(0, 100%, 63%);

  --white: hsl(0, 0%, 100%);
}

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

body {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  background-color: var(--navy-900);
  color: var(--white);
}

header {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2em;
}

header > nav > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
}

header > nav > ul > li {
  list-style: none;
}

header a {
  font-family: 'Raleway', sans-serif;
  color: var(--white);
  text-decoration: none;
  font-size: 1em;
}

header a:hover {
  border-bottom: 1px solid var(--white);
}

header img {
  width: 100%;
}

.logo {
  width: 20%;
  max-width: 250px;
}

.main {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em;
  text-align: center;
  max-width: 1200px;
  font-size: 1em;
}

.hero-section {
  background-image: url('images/bg-curvy-mobile.svg');
  background-repeat: no-repeat;
  background-position: bottom center; 
  background-size: fill;        
  width: 100%;
  max-width: 700px;
}

.hero-section img {
  width: 100%;
  margin-bottom: 2em;
}

.get-started.btn {
  width: 100%;
  max-width: 400px;
}

#features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.features {
  width: 100%;
  max-width: 400px;
  margin: 2.5em 0;
}

.features img {
  width: 20%;
  margin-bottom: 2em;
}

h2,
p {
  margin-bottom: 1em;
}

.btn {
  background-color: var(--teal-200);
  color: var(--white);
  padding: 0.5em 1em;
  border-radius: 1.5em;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.4em;
  cursor: pointer;
}

.stay-productive {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.stay-productive img {
  width: 100%;
  max-width: 450px;
}

.side {
  max-width: 450px;
}

#team {
  position: relative;
  margin: 150px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.quote-icon {
  position: absolute;
  left: -8px;
  top: -2em;
  width: 40px;
  z-index: -1;
}

.team-member {
  background-color: var(--navy-800);
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 2em;
  max-width: 350px;
}

.photo-and-details-container {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.photo-and-details-container img {
  align-self: flex-start;
  width: 50px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.name-and-position p {
  margin-bottom: 0;
}

.sign-in {
  max-width: 700px;
  background-color: var(--navy-800);
  padding: 2em;
  margin-bottom: 20px;
}

.sign-in div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.sign-in input {
  padding: 1em;
  border-radius: 1.5em;
}

.sign-in input,
.sign-in button {
  width: 100%;
  max-width: 300px;
}

footer {
  background-color: var(--navy-950);
  padding: 3em;
  padding-top: 10em;
  margin-top: -10em;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.footer-info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2em;
}

.footer-info div {
  flex: 1 1 250px;
}

.info-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1em;
}

.number-and-email div {
  margin-bottom: 0.5em;
}

.footer-info p {
  margin-bottom: 0;
}

.info-wrapper img {
  align-self: flex-start;
  width: 5%;
  height: fit-content;
  aspect-ratio: 1/1;
}

.footer-info li {
  list-style: none;
}

.social-links-container {
  justify-self: center;
  display: flex;
  justify-content: center;
  gap: 2em;
}

.footer-info a {
  color: var(--white);
  text-decoration: none;
}

.social-links-container a:active,
.social-links-container a:hover {
  color: var(--cyan-500);
}

@media screen and (min-width: 600px) {
  .hero-section {
    background-image: url('images/bg-curvy-desktop.svg');
    }
}
