/* Base */
body {
  width: 100%;
  background-color: #E0EFFC;
  color: #282828;
  font-size: 90%;
  font-family: 'Mukta Malar', sans-serif;
}

@media screen and (min-width: 56.250rem) {

  body {
    font-size: 100%;
  }
}

@media screen and (min-width: 112.500rem) {

  body {
    width: 112.500rem;
    margin: 0 auto;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
}

a,
a:visited,
a:active {
  color: #282828;
}

a:hover {
  color: #A14000;
}
 
/* Header */
header {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: auto;
}

.branding {
  width: 100%;
}

.text {
  background-color: #fff;
  padding: .8rem;
  }

  .text h1 {
  font-size: 2rem;
  font-weight: 400;
  margin:0;
  
}

.text a,
.text a:hover {
  color: #282828;
  text-decoration: none;
  margin: 0;
  }

@supports (grid-area: auto) {
  @media screen and (min-width: 56.250em)  {

    header {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }

    .branding {
      display: grid;
      background-image: url("../images/foto_top.jpg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover;
      width: 50%;
    }

    .text {
      grid: 1;
      background-color: rgba(255, 255, 255, .8);
    }

    .text h1 {
      font-size: 3rem;
       margin:0;
    }
    
  }

}

  
/* Navigation */

nav {
  display: flex;
  justify-content: flex-start;
}

.button {
  padding: 10px;
  margin-right: 10px;
}

.button a {
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

/* Breadcrumb line */

.breadcrumbs {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px 5px 0;
  background-color: #fff;
}

.crumb::before {
  font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f0a9";
  margin: 0 10px;
}

.breadcrumbs a,
.breadcrumbs a:visited,
.breadcrumbs a:active,
.breadcrumbs a:hover {
  font-size: 0.8rem;
  text-decoration: none;
  color: #282828;
  cursor: pointer;
}

@supports (grid-area: auto) {
  @media screen and (min-width: 56.250em)  {

    nav {
      display: flex;
      flex-direction: row;
      justify-items: flex-end;
    }

    .button a {
      font-weight: 600;
      font-size: 1.3rem;
      text-decoration: none;
      cursor: pointer;
    }
  }
}

/* Main Section*/

main {
  width: 80%;
  margin: 0 auto;
}

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

.info-text {
  width: 100%;
  }

  .projects {
    margin-bottom: 2rem;
  }

.project-card {
  -webkit-box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.75);
  -moz-box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.75);
  box-shadow: 2px 2px 5px 2px rgba(0,0,0,0.75);
  font-size: 1.2rem;
  text-align: center;
  padding-bottom: 15px;
}

@supports (grid-area: auto) {

  @media screen and (min-width: 56.250rem) {
    
    main {
      width:98%;
    }

    .page-info {
      display: flex;
      flex-direction: row-reverse;
    }

    .info-text {
      padding: 0 10px;
    }

    .solutions {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-gap: 1.3rem;
    }
  }
}



/* Footer */

footer {
  background-color: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.contact {
  display: none;
}

.contact a {
  margin-bottom: 10px;
}

.social a {
  font-size: 1.5rem;
}

.copy {
  text-align: center;
}

.social {
  width: 100%;
  display: flex;
  justify-content: space-around;
  
}



@supports (grid-area: auto) {

  @media screen and (min-width: 56.250rem) {
    footer {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
    
    .contact {
      display: flex;
      flex-direction: column;
      flex-shrink: 1;
    }
    
    .contact a {
      margin-bottom: 10px;
    }
    
    .social a {
      font-size: 1.5rem;
    }
    
    .copy {
      flex-grow: 1;
      text-align: center;
    }
    
    .social {
      width: auto;
      flex-grow: 1;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
    }

  }

}