@import url("https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700&display=swap");

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  color: #1a1a1a;
  background-color: #f2f4fc;
}
.grey-text {
  color: #6b708d;
}
main,
footer {
  padding-top: 8rem;
  padding-left: 9rem;
  padding-right: 9rem;
}
/*                         HEADER                         */
#header {
  padding: 0;
}
#header > div {
  margin: 0;
  padding-left: 9rem;
  position: fixed;
  top: 0;
  z-index: 9999;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f4fc;
}
nav {
  width: 60%;
  padding-right: 9rem;
}
nav label,
#hamburger {
  display: none;
}
nav ul {
  padding-left: 0;
  padding-right: 7em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
a {
  text-decoration: none;
  color: #6b708d;
}
a:hover:not(.blue-btn) {
  color: #072ac8;
}
.circle-logo {
  width: 4.5em;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}
nav ul li .blue-btn {
  margin-left: 6em;
}
.blue-btn {
  text-decoration: none;
  background-color: #072ac8;
  color: white;
  font-weight: bold;
  padding: 0.7em 1.5rem;
  text-align: center;
}

/*                         FOOTER                      */
footer div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
#footer-01 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .grid {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  column-count: 2;
  align-content: center;
}
footer ul {
  list-style: none;
  display: grid;
  grid-gap: 1em;
  grid-template-columns: repeat(3, 8em);
  grid-template-rows: repeat(2, 2.5em);
}
footer a {
  text-decoration: none;
  color: #6b708d;
}
address {
  font-size: 0.9em;
  font-style: normal;
  margin-bottom: 30px;
  color: #6b708d;
}

/*                         HERO                       */
#hero-section {
  margin-bottom: 20rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#hero-section .ex-article {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
h1 {
  font-size: 3.75em;
  font-weight: bold;
}
#hero-section p {
  font-size: 1.25rem;
}
#hero-section .hero-btns {
  display: grid;
  grid-gap: 5rem;
  grid-template-columns: repeat(2, 10rem);
  grid-template-rows: repeat(1, 2.5em);
  align-items: center;
}
.landing-smile {
  background-image: url(../assets/hero-section/hero-image.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: space-between;
}
#card-1 {
  width: 22vw;
  margin-bottom: 10rem;
  z-index: 1;
}
#card-2 {
  width: 22vw;
  align-self: flex-end;
  margin-bottom: -7rem;
  z-index: 1;
}

/*                         CLIENT                      */
#client-section div {
  display: flex;
  justify-content: space-around;
}
#client-section .filter-grey {
  filter: grayscale(100%);
  width: 10vw;
}
#client-section {
  margin-bottom: 4em;
}

/*                         PROJECTS                      */
.projects-section img {
  width: 20vw;
}
.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.project-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  width: 20vw;
}
h3 {
  font-size: 2.5em;
  font-weight: bold;
}
.project-card .card-text {
  padding: 1.5em;
  display: flex;
  flex-direction: column;
}
.project-card .card-text p {
  font-size: 1.25rem;
}
.blue {
  color: #072ac8;
  font-size: 1.1rem;
}
h4 {
  font-size: 1.5rem;
}

/*               TESTIMONIAL SECTION                   */
#testimonial-section {
  margin-top: 10rem;
  height: 40rem;
  background-color: #292e47;
  color: white;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-rows: 3fr 4fr 3fr;
  text-align: center;
  align-items: flex-end;
  margin-left: -3rem;
  margin-right: -3rem;
}
#testimonial-section span {
  color: #a2d6f9;
}
#round img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}
#testimonial-section .memoji img {
  width: 10vw;
}
.yellow-text {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  color: #ffc600;
  font-size: 1.5rem;
}
.down-1 {
  grid-column: 1 / 2;
  grid-row: span 3;
}
.down-2 {
  grid-column: 3 / 4;
  grid-row: span 3;
}

/*               SERVICES SECTION                   */
#services-Section {
  margin-top: 10rem;
}
#services-Section .strech {
  margin: 1.5em;
  width: 5rem;
  height: 5rem;
  background-color: #ecf7ff;
  border-radius: 50%;
}
#services-Section img {
  padding: 1.2em;
  width: min-content;
}
#services-Section p {
  font-size: 1.25rem;
}
#services-Section .project-card {
  width: 23vw;
}

/*               CTA SECTION                   */
#CTA-section {
  margin-top: 10rem;
  height: 30rem;
  background-color: #ffc600;
  display: grid;
  grid-template-columns: 1fr 4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
  text-align: center;
  align-items: center;
  margin-left: -3rem;
  margin-right: -3rem;
}
#CTA-section h3 {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}
.caption-2 {
  grid-column: 2 / 4;
  grid-row: 3 / 4;
  font-size: 1rem;
}
.other-btns {
  grid-column: 2 / 4;
  grid-row: 4 / 5;
}
#CTA-section .other-btns {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#CTA-section input {
  width: 25vw;
  padding: 2rem;
  border: none;
}
#CTA-section input,
#CTA-section textarea {
  font-size: 1.06rem;
  background-image: url(../assets/newletter/mail.svg);
  background-size: 10%;
  background-repeat: no-repeat;
  background-position: left 2rem center;
}
#CTA-section a {
  font-size: 1.1rem;
  padding: 2rem;
  width: 8rem;
}

/*               PROJECT PAGE                   */
h2 {
  font-size: 3.12rem;
  margin-bottom: 1rem;
}
#big-project .date {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4rem;
}
.big-project-img img {
  max-width: 81vw;
  margin-bottom: 2rem;
}
#big-project p {
  font-size: 1.25rem;
}

/*               CONTACT PAGE                  */
:root {
  --succes-color: #2ecc71;
  --error-color: #e74c3c;
}

#contact h2 {
  margin-bottom: 3rem;
  font-weight: bold;
}
#contact .contact-form {
  display: flex;
  flex-direction: column;
}
#contact .contact-div {
  display: flex;
  justify-content: space-between;
}
#contact .grey {
  background-color: #dddee6;
  border-style: solid;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  min-width: 100%;
}
#contact .form-control {
  margin-bottom: 2rem;
}
#email {
  width: 30vw;
}
#phone {
  width: 30vw;
}
#contact .form-btn {
  min-width: 104%;
  margin-top: 1rem;
  font-size: 1.25rem;
  border: #072ac8;
  cursor: pointer;
}
#contact label {
  font-size: 1.25rem;
  letter-spacing: 0.08rem;
}
#contact textarea {
  font-family: "Roboto", sans-serif;
}

.form-control input:focus {
  outline: 0;
}

.form-control.success input {
  border-color: var(--succes-color);
}

.form-control.error input {
  border-color: var(--error-color);
}

.form-control small {
  color: var(--error-color);
  bottom: 0;
  left: 0;
  visibility: hidden;
}

.form-control.error small {
  visibility: visible;
}

/*                                  HIDE & SHOW                */
#loadingGif {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hide {
  visibility: hidden;
  max-height: 0;
}
.show {
  visibility: visible;
}

/*               MEDIA QUERYS                    */
@media (max-width: 1024px) {
  html {
    font-size: 11px;
  }
  h1 {
    font-size: 3.25rem;
  }
}

@media (max-width: 750px) {
  html {
    font-size: 10px;
  }
  #header > div {
    flex-flow: column wrap;
    padding-left: 0;
  }
  #page-nav {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  nav ul {
    padding: 0;
  }
  .circle-logo {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
  }
  nav a {
    font-weight: 500;
    cursor: pointer;
  }

  /* Show Hamburger */
  #page-nav label {
    display: inline-block;
    color: rgb(25, 25, 25);
    font-style: normal;
    font-size: 2em;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 3rem;
  }

  /* Break down menu items into vertical */

  nav ul li {
    font-size: 1.7em;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: block;
  }

  nav ul li .blue-btn {
    padding: 0.2rem 1rem;
    margin: 0;
  }

  /* Toggle show/hide menu on checkbox click */
  #page-nav ul {
    display: none;
  }

  #page-nav input[type="checkbox"]:checked ~ ul {
    animation: fadein 1s forwards;
    display: block;
  }
  h1 {
    font-size: 3.3rem;
  }
}

@media (max-width: 570px) {
  html {
    font-size: 7px;
  }
  #services-Section img {
    padding: 1.2em;
    width: 3rem;
  }
}
