@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poppins:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Handlee&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}
:root {
  font-size: 10px;
  --spacing-y: 4rem;
  --logo-w: 12rem;
  --logo-h: 4rem;
  --txt-xl: 3rem;
  --txt-semi-l: 2.6rem;
  --txt-l: 2rem;
  --txt-m: 1.8rem;
  --txt-r: 1.6rem;
  --txt-s: 1.4rem;
  --cl-white: #fff;
  --cl-blue: #1c355e;
  --cl-blue-opacity-5: rgb(28, 53, 94, 0.5);
  --cl-blue-opacity-7: rgb(28, 53, 94, 0.7);
  --cl-yellow: #edce55;
  --cl-yellow-light: #edce551a;
  --cl-gray:#F7F7F7;
  --cl-dark-gray:#8C94A4;
}
.pointer{
  cursor: pointer;
}
a {
  text-decoration: none;
}
body{
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}
button {
  border: none;
  outline: none;
}
.container{
  width: 100%;
}
p {
  line-height: 120%;
}
.flex{
  display: flex;
}
.flex-j-sb{
  justify-content: space-between;
}
.flex-j-center{
  justify-content: center;
}
.flex-a-center{
  align-items: center;
}
.flex-a-end{
  align-items: flex-end;
}
.txt-xl {
  font-size: var(--txt-xl);
}
.txt-semi-l {
  font-size: var(--txt-semi-l);
}
.txt-l {
  font-size: var(--txt-l);
}
.txt-m {
  font-size: var(--txt-m);
}
.txt-r {
  font-size: var(--txt-r);
}
.txt-s {
  font-size: var(--txt-s);
}
.lato-light {
  font-weight: 300;
}
.lato-regular {
  font-weight: 400;
}
.lato-bold {
  font-weight: bold;
}
.lato-black {
  font-weight: 900;
}
.bradley-bold {
  font-family: "Handlee";
  font-weight: 600;
}
.popins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}
.cl-dark-gray{
  color: var(--cl-dark-gray);
}
.cl-white {
  color: var(--cl-white);
}
.cl-yellow {
  color: var(--cl-yellow);
}
.cl-blue {
  color: var(--cl-blue);
}
.bg-yellow {
  background-color: var(--cl-yellow);
}
.bg-yellow-light {
  background-color: var(--cl-yellow-light);
}
.txt-transparent {
  opacity: 0.75;
}
.icon-box {
  height: 6rem;
  width: 6rem;
}
.m-t-5 {
  margin-top: 5rem;
}
.m-2 {
  margin-bottom: 2rem;
}
.m-3 {
  margin-bottom: 3rem;
}
.m-4{
  margin-bottom: 4rem;
}
.m-6 {
  margin-bottom: 6rem;
}
.m-10 {
  margin-bottom: 10rem;
}
header {
  padding: 2rem var(--spacing-y);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: background-color 0.3s ease;
  transition: padding 0.3s ease;

}
header.scrollable{
  background-color: var(--cl-blue);
  padding: 1rem var(--spacing-y);
}
header .logo,footer .logo {
  height: var(--logo-h);
  width: var(--logo-w);
}
.hamburger svg {
  height: 3.5rem;
  width: 3.5rem;
}
nav {
  display: none;
}
header.open {
  background-color: var(--cl-blue);
}
.open nav {
  position: absolute;
  top: 100%;
  display: flex;
  left: 0;
  flex-direction: column;
  width: 100%;
  background-color: var(--cl-blue);
}
nav a {
  width: 100%;
  padding: 1.5rem 0;
  font-size: var(--txt-s);
}
nav a svg,
button svg,
.footer-links svg {
  height: 0.7rem;
  width: 1.5rem;
  margin-left: 1rem;
}
svg.icon-white {
  fill: var(--cl-white);
}
svg.icon-blue {
  fill: var(--cl-blue);
}
svg.icon-yellow {
    fill: var(--cl-yellow);
  }
section {
  min-height: 100vh;
  padding: var(--spacing-y);
}
section:nth-of-type(1) {
  background: linear-gradient(
      to bottom,
      var(--cl-blue),
      var(--cl-blue-opacity-5));
    
  background-position: center;
  background-size: cover;
}
.section-cover-image{
  position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
section:nth-of-type(1) > div {
  background-color: var(--cl-blue-opacity-7);
  padding: 1rem;
}
section:nth-of-type(1) button {
  padding: 1.8rem 2rem;
}
.grid-3 {
  display: grid;
  gap: 5rem;
}
section:nth-of-type(2) > div > div > p:nth-of-type(1) {
  margin: 1.5rem 0;
}
section:nth-of-type(3) > div {
  display: grid;
  gap: 4rem;
}
section:nth-of-type(5) > div {
    display: grid;
    gap: 4rem;
  }

section:nth-of-type(3) .icon-box {
  background-color: var(--cl-yellow);
}
section:nth-of-type(5) .icon-box {
    background-color: var(--cl-yellow);
  }
section:nth-of-type(3) svg {
  height: 1.5rem;
  width: 1.9rem;
}
section:nth-of-type(5) svg {
    height: 1.5rem;
    width: 1.9rem;
  }
section:nth-of-type(3) > div > div:nth-of-type(2) > div {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 9rem auto;
  justify-items: flex-start;
}
section:nth-of-type(5) > div > div:nth-of-type(2) > div {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 9rem auto;
    justify-items: flex-start;
  }
.desktop {
  display: none;
}
footer{
  padding: var(--spacing-y);
  display: grid;
  gap: 5rem;
  background-color: var(--cl-gray);
}
.footer-links{
  flex-direction: column;
  margin: 0 2rem;
}
.footer-links a{
  cursor: pointer;
  margin-bottom: 2rem;
}
.footer-links svg{
  opacity: 0;
}
.footer-links a:hover{
  color: var(--cl-blue);
  font-weight: bold;
}
.footer-links a:hover svg{
  opacity: 1;
}
@media screen and (min-width: 992px) {
  :root {
    --spacing-y: 10rem;
    --logo-w: 16rem;
    --logo-h: 4rem;
    --txt-xl: 4.8rem;
    --txt-semi-l: 3.6rem;
    --txt-l: 2.4rem;
    --txt-m: 2rem;
    --txt-r: 1.8rem;
    --txt-s: 1.6rem;
  }
  section {
    height: 100vh;
    padding: 0 var(--spacing-y);
  }
  .hamburger {
    display: none;
  }
  header {
    padding: 4rem var(--spacing-y);
  }

  header.open {
    background-color: transparent;
  }
  nav,
  .open nav {
    display: grid;
    gap: 2.2rem;
    grid-auto-flow: column;
    background-color: transparent;
    position: static;
    width: auto;
  }
  nav a:nth-of-type(5) {
    margin-left: 5rem;
    padding-right: 2.2rem;
    border-right: 0px solid var(--cl-white);
  }
  nav a {
    padding: 0;
    width: auto;
  }
  section:nth-of-type(1) > div {
    width: 65%;
  }
  section:nth-of-type(1) > div {
    padding: 2rem 3rem;
  }
  section:nth-of-type(1) button {
    padding: 1.8rem 3.5rem;
  }
  section:nth-of-type(2) > div {
    height: 100%;
    align-content: center;
  }
  section:nth-of-type(2) > div > div > p:nth-of-type(1) {
    margin: 2.5rem 0 0;
    height: 6.5rem;
  }
  .grid-3 {
    gap: 6rem;
    grid-template-columns: repeat(3, 1fr);
  }
  section:nth-of-type(3),
  section:nth-of-type(3) > div {
    display: flex;
    align-items: center;
  }
  section:nth-of-type(5),
  section:nth-of-type(5) > div {
    display: flex;
    align-items: center;
  }
  section:nth-of-type(3) {
    background-image: url("../images/line.svg");
    background-repeat: no-repeat;
    background-position-x: 52%;
    background-size: contain;
  }

  section:nth-of-type(5) {
    background-image: url("../images/line.svg");
    background-repeat: no-repeat;
    background-position-x: 52%;
    background-size: contain;
  }
  section:nth-of-type(3) > div > div:nth-of-type(2) > div {
    align-items: center;
  }

  section:nth-of-type(3) > div > div {
    width: 50%;
  }
  section:nth-of-type(3) > div > div:nth-child(1) > p {
    width: 60%;
  }

  section:nth-of-type(5) > div > div:nth-of-type(2) > div {
    align-items: center;
  }

  section:nth-of-type(5) > div > div {
    width: 50%;
  }
  section:nth-of-type(5) > div > div:nth-child(1) > p {
    width: 60%;
  }
  .desktop {
    display: block;
  }
  section:nth-of-type(4) > div > div:nth-of-type(1) {
    display: grid;
    grid-template-columns: 6.3fr 3fr;
  }
  section:nth-of-type(4) img {
    width: 95%;
    justify-self: flex-end;
  }
  section:nth-of-type(4) > div > div:nth-of-type(1) > div > p:nth-of-type(2) {
    width: 70%;
  }
  section:nth-of-type(6) > div > div:nth-of-type(1) {
    display: grid;
    grid-template-columns: 5.3fr 4fr;
  }
  section:nth-of-type(6) img {
    width: 70%;
    justify-self: flex-end;
    padding-top: 20px;
  }
  section:nth-of-type(6) > div > div:nth-of-type(1) > div > p:nth-of-type(2) {
    width: 70%;
  }


  footer{
    padding: 15rem var(--spacing-y) 5rem;
    grid-template-columns: 3fr 7fr;
  }
  footer>div:nth-of-type(3){
    grid-column: span 2;
  }
  .footer-links a{
    width: 15rem;
  }
}
@media screen and (min-width: 1440px) {
  :root {
    --spacing-y: 20rem;
  }
}
@media screen and (min-width: 1920px) {
  :root {
    --spacing-y: 26rem;
    --txt-xl: 5.4rem;
    --txt-semi-l: 4.2rem;
    --txt-l: 3rem;
    --txt-m: 2.5rem;
    --txt-r: 2.2rem;
    --txt-s: 2rem;
  }
  section:nth-of-type(1) > div {
    width: 50%;
  }
  .container{
    width: 1920px;
  }
  header{
    width: 1920px;
    left: auto;
  }
}

.button-space {
    padding: 2rem;
    margin-top: 2rem;
}

/* Screenshot container */
.screenshots-container {
    border: 0px solid red;
    padding-top: 2rem;;
    padding-left: var(--spacing-y);
    padding-right: var(--spacing-y);
    background-color: var(--cl-yellow-light);
}

/* SUBSCRIBE FORM */
form { max-width:420px; margin:50px auto; }

.subscribe-success {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight:500;
  font-size: 14px;
  border-radius: 5px;
  line-height: 18px;
  padding: 15px;;
  background-color: var(--cl-blue);
  color: var(--cl-yellow);
}

.feedback-input {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight:500;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:2px solid var(--cl-blue);
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:2px solid var(--cl-yellow); }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
}

[type="submit"] {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  width: 100%;
  background: var(--cl-yellow);;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:var(--cl-blue);
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
  font-weight:700;
}
[type="submit"]:hover { 
    background:var(--cl-blue);
    color: var(--cl-yellow); 
}

label {
    font-size: 1.6rem;
}

.left-image {
    padding: 35px;
}