@font-face {
  font-family: "fontello";
  src: url("./assets/font/fontello.eot?79599245");
  src: url("./assets/font/fontello.eot?79599245#iefix")
      format("embedded-opentype"),
    url("./assets/font/fontello.woff?79599245") format("woff"),
    url("./assets/font/fontello.ttf?79599245") format("truetype"),
    url("./assets/font/fontello.svg?79599245#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  background: #f1f1f1;
  color: #3a4150;
  margin: 0;
}

.root-container {
  box-sizing: border-box;
  display: table;
  width: 100%;
  height: 100%;
}

.above-footer-container {
  display: table-row;
  height: 100%;
}

.primary-content {
  height: 100%;
}

header {
  color: #fff;
  height: 80px;
  padding-left: 30px;
  padding-right: 30px;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
    0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
}

header,
footer {
  display: flex;
  align-items: center;
  background-color: #1d263a;
}

footer {
  height: 50px;
  justify-content: center;
  font-size: 0.9em;
  color: #a2a2a2;
}

footer a {
  color: inherit;
}

footer a:hover {
  color: #00c9db;
}

main {
  margin: 2rem;
}

.intro-container {
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 5px;
  padding: 1rem;
  align-self: stretch;
}

h1.primary {
  text-transform: uppercase;
  font-size: 1.1em;
}

@media (min-width: 640px) {
  h1.primary {
    font-size: 1.5em;
  }
}

@media (min-width: 960px) {
  h1.primary {
    font-size: 2em;
  }
}

p.secondary {
  font-size: 1.1em;
  max-width: 400px;
}

.logo {
  max-height: 60px;
  width: auto;
}

.logo-container {
  flex: 0 1 auto;
  margin-right: 30px;
}

.heading-container {
  flex: 1 1 auto;
}

.wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  grid-auto-rows: minmax(100px, auto);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.intro-col-left {
  grid-column: 1 / span 2;
  grid-row: 1;
  text-align: left;
}

.intro-col-right {
  grid-column: 3 / span 2;
  grid-row: 1;
  text-align: left;
}

.col-one {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.col-two {
  grid-column: 3 / span 2;
  grid-row: 2;
}

@media screen and (max-width: 640px) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .intro-col-left {
    grid-area: 1 / 1 / 1 / 1;
  }

  .intro-col-right {
    grid-area: 2 / 1 / 2 / 1;
  }

  .col-one {
    grid-area: 3 / 1 / 3 / 1;
  }

  .col-two {
    grid-area: 3 / 2 / 3 / 2;
  }
}

/* Card derived from Less source:
https://codepen.io/ChynoDeluxe/pen/bdXeqQ/?__cf_chl_jschl_tk__=aecddaa429471e4e7383b2fb4194fc23b1a05f06-1605798090-0-AWWrT3qOhUiQl1s37seW1i4hpvQfolqadG-0OCoz9lw0OFptRxcwltVuafXn9htsQsJ8iFfMab-RNG2JBLosqZDAPEdS-vY8l9k_OcokXOESyEubnt8BQ9BbZXt9i9R-kPRG3HalrwOvhO49v7d9B4_ZhDuU-OBmA1MmCve5W7vEmNFgPHm4TtiCkIPkpDDL6dYjKmEZ-CjqjPyJ4bBeJBPVAcTTJC3ozNugrcWYpBjgGfpzri5nE81nxoZm7FC8vT1nqNaEH21jR74jdsqiys8aKaPUuu56PfVQx_W8uWUMz5AniQIhi-rRI9AGE9uLtdcswNMAwM28x3JMVVBdEkk-ct8u3EwZEdJRXlJzCMNaON78Ufl_JbEKk_j_LuTXARR1nV9xkuXkZw7bufI5Zjg
*/
.prod,
.read-more.prod a,
.read-more.prod a:hover {
  color: #00c9db;
}

hr.prod {
  background: #00c9db;
}

.uat,
.read-more.uat a,
.read-more.uat a:hover {
  color: #e33371;
}

hr.uat {
  background: #e33371;
}

.blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  background: #fff;
  line-height: 1.4;
  font-family: sans-serif;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
}

.blog-card a {
  color: inherit;
}

.blog-card:hover .photo {
  transform: scale(1.3) rotate(3deg);
}

.blog-card a:hover {
  color: #00c9db;
}

.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}

.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}

.blog-card .details,
.blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}

.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -120%;
  margin: auto;
  transition: left 0.2s;
  background: rgba(0, 0, 0, 0.6);
  color: #00c9db;
  padding: 10px;
  width: 100%;
  font-size: 2rem;
}

.blog-card .details a {
  text-decoration: dotted underline;
}
.blog-card .details ul li {
  display: inline-block;
}

.blog-card .details .env:before {
  font-family: fontello;
  margin-right: 10px;
  content: "\26a0";
}

.blog-card .description {
  padding: 1rem;
  background: #fff;
  position: relative;
  z-index: 1;
}

.blog-card .description h1,
.blog-card .description h2 {
  font-family: Poppins, sans-serif;
}

.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1.7rem;
}

.blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: inherit;
  margin-top: 5px;
}

.blog-card .description .read-more {
  text-align: right;
}

.blog-card .description .read-more a {
  display: inline-block;
  position: relative;
}

.blog-card .description .read-more a:after {
  content: "\e75e";
  font-family: fontello;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.3s, opacity 0.3s;
}

.blog-card .description .read-more a:hover:after {
  margin-left: 5px;
  opacity: 1;
}

.blog-card p {
  position: relative;
  margin: 1rem 0 0;
}

.blog-card hr {
  height: 5px;
  width: 35px;
  border-radius: 3px;
  border-style: none;
}

.blog-card:hover .details {
  left: 0%;
}

@media (min-width: 640px) {
  .blog-card {
    flex-direction: row;
    max-width: 700px;
  }

  .blog-card .meta {
    flex-basis: 40%;
    height: auto;
  }

  .blog-card .description {
    flex-basis: 60%;
  }

  .blog-card .description:before {
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .blog-card .description.alt {
    flex-direction: row-reverse;
  }

  .blog-card .description.alt .details {
    padding-left: 25px;
  }

  .blog-card .description.alt .description:before {
    left: inherit;
    right: -10px;
    transform: skew(3deg);
  }
}
