/* Minimal CSS Reset */

html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

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

/* Typography */

html, body {
  font-family: "Roboto", sans-serif;
}

a {
  text-decoration: none;
  color: #fff;
}

canvas {
  display: block;
  background: rgb(33, 36, 50);
  position: fixed;
  z-index: -1;
}

#particles-js {
  position: absolute;
}

.icons-social i {
  font-size: 3em;
}

main {
  display: grid;
  min-height: 100vh;
  height: 100%;
  justify-items: center;
  align-content: center;
  grid-gap: 10px;
  color: #fafafa;
  margin: 0;
  padding: 0 10px;
}

main>.intro {
  font-family: "Reem Kufi", arial, sans-serif;
  font-size: 3.75em;
  font-weight: 600;
  text-align: center;
}

main>.tagline {
  font-size: 1.5rem;
  font-weight: 100;
  text-align: center;
}

main>p {
  margin: 1rem 0;
  text-align: center;
}

.icons-social i {
  padding: 10px;
}

.icons-social a {
  color: #fafafa;
}

/*portfolio grid */

.container {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;
  justify-content: center;
}

.item {
  /* We center the contents of these items. You can also do this with flexbox too! */
  display: grid;
  justify-content: center;
  /* align-items: center; */
  border: 5px solid rgba(0, 0, 0, 0.03);
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.03);
  /* best colour */
  overflow: hidden;
  grid-template-columns: 1;
  grid-template-rows: 1;
  /*position:absolute;*/
}

.item img, .item a {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.item__overlay {
  background: rgba(54, 43, 7, 0.818);
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative;
  display: grid;
  justify-items: center;
  align-items: center;
  transition: 0.2s;
  transform: translateY(100%);
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 24px;
}

.item a:hover .item__overlay {
  transform: translateY(-100%);
}

h4, h6 {
  align-self: start;
  padding: 0 10px;
}

h4 {
  padding-top: 5px;
  font-weight: bold;
  font-size: 24px;
}

h6 {
  font-size: 20px;
}

.clients {
  margin: 55px 10px;
  padding: 30px 20px;
  /* background-color: rgba(255, 255, 255, 0.4); */
  background-color: rgba(255, 255, 255, 0.03);
  width: 100%;
  border: 5px solid rgba(0, 0, 0, 0.03);
  border-right: 0;
  border-left: 0;
}

.clientsSect {
  color: rgb(33, 36, 50);
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  width: 100%;
  background-color: #fff;
}

.sect {
  font-family: 'Reem Kufi', sans-serif;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: bold;
  justify-content: center;
  text-align: center;
  padding: 15px 0;
}

.sect:nth-last-of-type(2) {
  border: 5px solid rgba(0, 0, 0, 0.03);
  border-top: 0;
  border-bottom: 0;
}

.sect p {
  font-size: 20px;
  line-height: 34px;
}

h1 {
  /* color: #212432; */
  color: #fff;
  text-align: center;
  padding-bottom: 35px;
}

h1:after {
  /* background: none repeat scroll 0 0 rgba(33, 36, 50, 0.8); */
  background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
  bottom: 5px;
  content: "";
  display: block;
  height: 3px;
  position: relative;
  width: 180px;
  margin: auto;
}

@media (min-width: 576px) {
  html {
    font-size: 16px;
  }
  p {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 20px;
  }
  .container {
    max-width: 950px;
  }
  .clientsSect {
    /* max-width: 990px; */
    margin: auto;
  }
  .sect p {
    font-size: 20px;
    line-height: 34px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 22px;
  }
}