:root {
  --grayish-blue: hsl(217, 28%, 15%);
  --bg-blue: hsl(218, 28%, 13%);
  --ftr-blue: hsl(216, 53%, 9%);
  --dark-blue: hsl(219, 30%, 18%);
  --cyan-clr: #65e2d9;
  --blue-clr: #339ecc;
  --pale-blue: #78c3e4;
  --light-red: hsl(0, 100%, 63%);
  --white-clr: hsl(0, 0%, 100%);
  --pale-gray: rgb(187, 189, 189);
}

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

a {
  text-decoration: none;
  color: var(--pale-gray);
}

button {
  border: none;
}

ul {
  list-style: none;
}

body {
  font-size: 0.875rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--white-clr);
}

header {
  background-color: var(--grayish-blue);
  background-image: url("../images/bg-curvy-desktop.svg");
  background-repeat: no-repeat;
  width: 100%;
  background-size: contain;
  background-position: left bottom -2rem;
}

.header {
  display: flex;
  justify-content: space-between;
  padding: 5rem 5.5rem 4.5rem 5.5rem;
  font-family: "Raleway", sans-serif;
}

.header__image {
  width: 185px;
}

.header__ul {
  display: flex;
  font-size: 1rem;
  align-items: center;
}

.header__list {
  padding: 0 2rem;
}

.header__list a {
  transition: color 200ms ease;
}

.header__list a:hover {
  text-decoration: underline;
  color: var(--white-clr);
}

.header__list:last-child {
  padding-right: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  max-width: 50rem;
}

.hero__image {
  width: 49rem;
}

.hero__heading {
  font-size: 2.7rem;
  padding-top: 2rem;
}

.hero__paragraph {
  font-size: 1.36rem;
  padding: 1.8rem 5rem 0 5rem;
}

.hero__btn {
  margin-top: 1.8rem;
  opacity: 1;
  transition: opacity 200ms ease;
}

.hero__btn:hover {
  opacity: 0.7;
}

main {
  background: var(--bg-blue);
}

.main-container {
  padding-top: 11.8rem;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  max-width: 62.5rem;
  margin: 0 auto;
  text-align: center;
}

.advantages-card {
  padding: 0 1rem;
}

.advantages-card__image {
  height: 90px;
}

.advantages-card__heading {
  font-size: 1.4rem;
  padding-top: 0.9rem;
}

.advantages-card__paragraph {
  padding: 0.5rem 1rem 0rem 1rem;
  font-size: 0.9rem;
}

.motivation {
  padding: 10rem 1rem;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 83rem;
}

.motivation__image {
  width: 660px;
}

.motivation-text {
  padding: 7.7rem 0 0 4rem;
}

.motivation__heading {
  font-size: 2.8rem;
  padding-right: 3rem;
  line-height: normal;
}

.motivation__paragraph-up {
  padding-top: 1.5rem;
  font-size: 1.1rem;
}

.motivation__paragraph-down {
  padding-top: 0.8rem;
  font-size: 1.1rem;
}

.motivation__link {
  /* display: inline-block; */
  padding-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--cyan-clr);
  border-bottom: 1px solid var(--cyan-clr);
  width: 12rem;
  display: flex;
  align-items: center;
  transition: border 200ms ease, color 200ms ease;
}

.motivation__link:hover {
  border-bottom: 1px solid var(--white-clr);
  color: var(--white-clr);
}

.motivation__arrow-container {
  /* display: inline-block; */
  padding-left: 0.5rem;
}

.reviews {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 2.5rem;
  max-width: 79rem;
  padding: 2rem 1rem;
  background-image: url("../images/bg-quotes.png");
  background-repeat: no-repeat;
}

.reviews-card {
  background-color: var(--dark-blue);
  border-radius: 0.5rem;
  padding: 2.8rem 1.8rem 1.5rem 1.8rem;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.reviews-card__paragraph {
  font-size: 1rem;
  line-height: 1.5;
}

.reviews-card__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem;
}

.reviews-card__image {
  width: 30px;
  border-radius: 50%;
}

.reviews-card__name {
  font-size: 0.8rem;
  font-weight: 600;
}

.reviews-card__position {
  font-size: 0.6rem;
  color: var(--pale-gray);
}

.enter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 58rem;
  background-color: var(--grayish-blue);
  padding: 3rem;
  border-radius: 0.5rem;
  transform: translateY(11.5rem);
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.enter__heading {
  font-size: 2.2rem;
}

.enter__paragraph {
  font-size: 1rem;
  text-align: center;
  padding: 1rem 3.5rem;
}

.enter__form {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
}

.enter__email {
  border-radius: 5rem;
  padding: 1rem 11rem;
  color: var(--pale-gray);
  border: none;
  display: flex;
}

.enter__btn {
  padding: 0.7rem 2rem;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 200ms ease;
}

.enter__btn:hover {
  opacity: 0.7;
}

footer {
  background-color: var(--ftr-blue);
  font-size: 1rem;
}

.footer-logo__image-container {
  padding: 17rem 0 2rem 8rem;
}

.footer-logo__image {
  width: 12.5rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 0 8rem;
}

.footer-location {
  display: flex;
  max-width: 25rem;
  gap: 2rem;
  align-items: flex-start;
}

.footer-meta__icon-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-meta__icon-container:last-child {
  padding-top: 1rem;
}

.footer-info {
  display: flex;
  flex-direction: row;
  gap: 5rem;
}

.footer-info__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-info__left-a,
.footer-info__right-a {
  transition: color 200ms ease;
}

.footer-info__left-a:hover,
.footer-info__right-a:hover {
  color: var(--white-clr);
}

.footer-info__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-icons {
  display: flex;
  gap: 1rem;
}

.footer-icon {
  box-sizing: initial;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  line-height: 30px;
  text-align: center;
  border: 1px solid var(--white-clr);
  transition: border 200ms ease, color 200ms ease;
}

.footer-icon:hover {
  cursor: pointer;
  border: 1px solid var(--cyan-clr);
  color: var(--cyan-clr);
}

.footer-attribution {
  text-align: center;
  padding: 2rem;
}

.footer-attribution a {
  color: var(--white-clr);
  transition: color 200ms ease;
}

.footer-attribution a:hover {
  color: var(--cyan-clr);
}
