@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Raleway:wght@400;700&display=swap");

:root {
  /*========== Colors ==========*/

  --very-dark-blue: hsl(243, 87%, 12%);
  --desaturated-blue: hsl(238, 22%, 44%);

  --bright-blue: hsl(224, 93%, 58%);
  --bright-blue-hover: hsl(224, 97%, 65%);
  --moderate-cyan: hsl(170, 45%, 43%);
  --moderate-cyan-hover: hsl(170, 54%, 62%);

  --light-grayish-blue: hsl(240, 75%, 98%);
  --light-gray: hsl(0, 0%, 75%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Open Sans", sans-serif;
  --second-font: "Raleway", sans-serif;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.5rem;
  --big-font-size: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-bold: 700;
  --font-black: 900;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

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

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  color: var(--very-dark-blue);
}

h1,
h2,
h3 {
  color: var(--very-dark-blue);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  --max-width: 1110px;
  --padding: 1.75rem;

  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}

.button {
  padding: 0.8em;
  background-color: var(--bright-blue);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover {
  background-color: var(--bright-blue-hover);
}

/* Header */

.header__columnas {
  display: flex;
  padding-block: 1rem;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  width: 35%;
}

.navigation__list {
  display: flex;
  gap: 1rem;
}

.navigation__link {
  color: var(--very-dark-blue);
}
.navigation__link:hover {
  color: var(--bright-blue);
}

/* Home */

.home {
  padding-bottom: 5rem;
}

.home__columnas {
  display: flex;
  flex-direction: column-reverse;
}

.home__title {
  font-size: 1.5rem;
  font-family: var(--second-font);
  text-align: center;
  padding-bottom: 1rem;
}

.home__description {
  text-align: center;
  padding-bottom: 2rem;
}

.home__left {
  margin-block: auto;
}

.home__right {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.home__form {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  padding-bottom: 2rem;
}

.home__form-input {
  padding: 0.6rem;
  border: 1px solid var(--very-dark-blue);
  border-radius: 5px;
  color: var(--light-gray);
}

.home__form-inputred {
  border: 1px solid red;
}

.home__message {
  position: absolute;
  transform: translateY(2.7rem);
}

.color-red {
  color: red;
}

.home__form-button {
  margin-top: 1rem;
  color: #fff;
  font-weight: 700;
}

/* Productive */

.productive {
  background-color: var(--light-grayish-blue);
}

.productive__columnas {
  display: flex;
  flex-direction: column-reverse;
  row-gap: 4rem;
  padding-bottom: 2rem;
}

.productive__left {
  text-align: center;
}

.productive__blob-desktop {
  display: none;
}

.productive__blob-mobile {
  width: 100%;
  top: -45px;
  position: relative;
}

.productive__title {
  font-size: 1.5rem;
  font-family: var(--second-font);
  text-align: center;
  padding-bottom: 1rem;
}

.productive__description-a {
  padding-bottom: 1rem;
  text-align: initial;
  color: var(--desaturated-blue);
}

.productive__description-b {
  padding-bottom: 1rem;
  text-align: initial;
  color: var(--desaturated-blue);
}

.ri-arrow-right-circle-fill {
  font-size: 0.8rem;
}

.productive__description-link {
  font-size: 1rem;
  color: var(--moderate-cyan);
  text-decoration: underline;
}

.productive__description-link:hover {
  color: var(--moderate-cyan-hover);
}

.productive__testimonio {
  margin-block: 2rem;
  margin-inline: auto;
  background-color: #fff;
  width: 75%;
  border-radius: 5px;
  box-shadow: 0 4px 8px hsla(180, 12%, 4%, 0.3);
}

.producto__testimonio-quote {
  line-height: 1.5;
  text-align: left;
  font-size: 0.9rem;
  padding: 1rem;
}

.productive__testimonio-name {
  display: flex;
  font-size: 0.9rem;
  padding: 1rem;
}

.productive__testimonio-img {
  border-radius: 50%;
  width: 20%;
}

.productive__testimonio-line1 {
  text-align: left;
  margin-left: 0.5rem;
  font-weight: var(--font-bold);
}

.productive__testimonio-line2 {
  text-align: left;
  margin-left: 0.5rem;
  font-size: 0.7rem;
}

/* Access */

.access {
  background: var(--desaturated-blue);
  padding-block: 4rem;
  display: flex;
  flex-direction: column;
}

.access__title,
.access__description {
  padding-bottom: 2rem;
  text-align: center;
  color: #fff;
}

.access__form {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  padding-bottom: 2rem;
}

.access__form-input {
  padding: 0.6rem;
  border: 1px solid var(--very-dark-blue);
  border-radius: 5px;
  color: var(--light-gray);
}

.access__form-inputred {
  border: 1px solid red;
}

.access__message {
  position: absolute;
  transform: translateY(3rem);
}

.access__form-button {
  color: #fff;
  font-weight: 700;
}

/* Footer */

.footer {
  background-color: var(--very-dark-blue);
  color: #fff;
  padding-block: 3rem;
}

.footer a {
  color: #fff;
}

.footer__a {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer__b,
.footer__c {
  padding-bottom: 3rem;
}

.footer__d {
  display: flex;
  justify-content: center;
}

.footer__a,
.footer__b-links,
.footer__c-links,
.footer__d-links {
  margin-bottom: 1rem;
}
.footer a:hover {
  color: var(--bright-blue);
}

.footer__d-list {
  display: flex;
  font-size: 1.5rem;
  text-align: center;
  column-gap: 1rem;
}

.footer__info {
  text-align: center;
  font-size: 0.7rem;
}

/* ----Breakpoints---- */

@media screen and (min-width: 45em) {
  .header__columnas {
    padding-block: 2rem;
  }

  .home__columnas {
    flex-direction: row;
    column-gap: 3rem;
    padding-block: 2rem;
  }
  
  .home__form {
    align-items: baseline;
  }

  .home__form-input {
    height: 45px;
  }
  
  .home__message {
  transform: translateY(3.5rem);
  }

  .home__form {
    flex-direction: row;
    justify-content: space-between;
  }

  .home__form-input {
    width: 60%;
  }

  .home__form-button {
    width: 35%;
  }

  .home__title,
  .home__description,
  .productive__title,
  .productive__description-a,
  .productive__description-b,
  .productive__left {
    text-align: left;
  }

  .productive__columnas {
    flex-direction: row;
    column-gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .productive__blob-desktop {
    display: block;
    width: 100%;
    top: -58px;
    position: relative;
  }

  .productive__blob-mobile {
    display: none;
  }

  .productive__testimonio {
    margin-inline: initial;
  }

  .access__columnas {
    display: flex;
    column-gap: 3rem;
  }

  .access__left,
  .access__right {
    width: 50%;
  }

  .access__title,
  .access__description {
    text-align: left;
  }

  .footer__grid {
    display: flex;
    column-gap: 3rem;
    justify-content: space-between;
    align-items: baseline;
  }

  .access__form-button {
    width: 50%;
  }
}

@media screen and (min-width: 1182px) {
  
  .home__message {
    transform: translateY(4rem);
  }
  
  .productive__blob-desktop {
    display: block;
    width: 100%;
    top: -105px;
    position: relative;
  }
}
