/* ==========================================================================
National Lottery Case Study

Author: Mateus Bettio Moreira
========================================================================== */
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.justify {
  text-align: justify;
}
.hidden-sm {
  display: none;
}
.hidden-md {
  display: none;
}
.position-relative {
  position: relative;
}
.container-fluid {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  max-width: 1920px;
  margin: 0 auto;
}
.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 33.75em) {
  .container {
    width: 80%;
  }
}
@media only screen and (min-width: 70rem) {
  .container {
    width: 75%;
    max-width: 60rem;
  }
}
.row {
  position: relative;
  width: 100%;
}
.row [class^="col"] {
  float: left;
  margin: 0.5rem 2% 2rem;
  min-height: 0.125rem;
}
.row::after {
  content: "";
  display: table;
  clear: both;
}
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}
.col-1-sm {
  width: 4.33333333%;
}
.col-2-sm {
  width: 12.66666667%;
}
.col-3-sm {
  width: 21%;
}
.col-4-sm {
  width: 29.33333333%;
}
.col-5-sm {
  width: 37.66666667%;
}
.col-6-sm {
  width: 46%;
}
.col-7-sm {
  width: 54.33333333%;
}
.col-8-sm {
  width: 62.66666667%;
}
.col-9-sm {
  width: 71%;
}
.col-10-sm {
  width: 79.33333333%;
}
.col-11-sm {
  width: 87.66666667%;
}
.col-12-sm {
  width: 96%;
}
@media only screen and (min-width: 45rem) {
  .hidden-sm {
    display: block;
  }
}
@media only screen and (min-width: 1400px) {
  .hidden-md {
    display: block;
  }
}
@media only screen and (min-width: 70rem) {
  .col-1 {
    width: 4.33333333%;
  }
  .col-2 {
    width: 12.66666667%;
  }
  .col-3 {
    width: 21%;
  }
  .col-4 {
    width: 29.33333333%;
  }
  .col-5 {
    width: 37.66666667%;
  }
  .col-6 {
    width: 46%;
  }
  .col-7 {
    width: 54.33333333%;
  }
  .col-8 {
    width: 62.66666667%;
  }
  .col-9 {
    width: 71%;
  }
  .col-10 {
    width: 79.33333333%;
  }
  .col-11 {
    width: 87.66666667%;
  }
  .col-12 {
    width: 96%;
  }
}
.btn {
  display: block;
  padding: 10px 30px;
  text-decoration: none;
  font-size: 1.2rem;
  border-radius: 7px;
  transition: 0.15s ease all;
  outline: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  border: none;
  box-sizing: border-box;
  line-height: 120%;
}
.btn.icon {
  background-color: transparent;
  padding: 10px;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn.icon.secondary.inverted {
  outline: none;
}
.btn.primary {
  padding: 13px 30px;
  color: #4361ee;
  border: 2px solid #4361ee;
  background-color: transparent;
}
.btn.primary:hover,
.btn.primary:focus-visible {
  background-color: #4361ee;
  color: white;
}
.btn.primary:active {
  background-color: #03254E;
  transition: none;
}
.btn.secondary {
  color: #212121;
}
.btn.secondary:hover {
  outline-color: transparent;
}
.btn.secondary:focus-visible {
  outline-color: #4361ee;
  transition: none;
}
.btn.secondary:active {
  outline-color: #4361ee;
  transition: none;
}
.btn.secondary.inverted {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}
.btn.secondary.inverted:hover,
.btn.secondary.inverted:focus-visible {
  border-color: #4361ee;
  background-color: #4361ee;
  color: white;
}
.btn.secondary.inverted:hover {
  outline: none;
}
.btn.secondary.inverted:active {
  background-color: #03254E;
  transition: none;
}
header {
  box-sizing: border-box;
  font-weight: 400;
}
header .logo-dark {
  display: none;
}
header .logo-standard {
  display: block;
}
header.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 1px 30px;
}
header .top {
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
}
header .menu ul {
  display: flex;
  padding: 0;
  margin: 0;
}
header .menu li {
  list-style: none;
  margin: 0 15px;
}
header .menu li a {
  transition: 0.1s ease top;
  position: relative;
  top: 0;
  padding: 25px 30px;
}
header .menu li a::after {
  content: "";
  color: transparent;
  font-size: 30px;
  line-height: 0;
  transition: 0.2s ease color, 0.1s ease top 0.1s;
  display: block;
  text-align: center;
  bottom: -12px;
  position: relative;
}
header .menu li a:active {
  outline: none;
  color: #4361ee;
}
header .menu li a:hover {
  top: -5px;
}
header .menu li a:hover::after {
  color: #4361ee;
  bottom: -5px;
}
header.internal {
  font-family: "Inter", sans-serif;
}
header.internal .top {
  margin: 10px auto;
}
header.internal .logo img {
  max-width: 50px;
}
header.internal .logo a {
  display: flex;
  align-items: center;
}
header.internal .logo a:hover {
  text-decoration: underline;
}
header.internal .logo a > p {
  padding: 10px 20px;
  margin: 0;
  font-size: 1.2rem;
  color: #212121;
}
header.internal li a::after {
  content: "↑";
  bottom: -20px;
}
header.internal li a:hover {
  top: -5px;
}
header.internal li a:hover::after {
  bottom: -15px;
}
header.dark a,
header.dark p {
  color: white !important;
}
header.dark .logo > a,
header.dark .logo p {
  color: white !important;
}
header.dark .logo-dark {
  display: block;
}
header.dark .logo-standard {
  display: none;
}
header.dark.sticky {
  background: rgba(26, 26, 26, 0.95);
}
html,
body,
div,
form,
fieldset,
legend,
label {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td {
  text-align: left;
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6,
th,
td,
caption {
  font-weight: normal;
}
img {
  border: 0;
}
body {
  font-family: "Montserrat", sans-serif;
  background: white url(/d8e2fbb16581788804e5.png) no-repeat top center fixed;
  background-position-y: 60px;
  scroll-behavior: smooth;
}
body .desktop {
  display: none;
}
body .mobile {
  display: block;
}
body .container {
  position: relative;
}
body hr {
  margin: 50px 0;
  border-style: dotted;
  height: 1px;
  padding: 0;
  color: #eaeaea;
  border-width: 2px;
  overflow: hidden;
  width: 100%;
}
body .clear {
  clear: both;
}
body .overflow-fix {
  overflow: hidden;
}
body .come-in {
  transform: translateY(50px);
  animation: come-in 0.8s ease forwards;
}
body .img-fluid {
  max-width: 100%;
  height: auto;
}
body .img-shadow {
  box-shadow: 0px 8px 20px 0px #eaeaea;
}
body .come-in:nth-child(even) {
  animation-duration: 0.5s;
}
body.bye section.top {
  animation: go-out-up 0.2s ease forwards;
}
body.bye main {
  animation: go-out 0.2s ease forwards;
}
@keyframes come-in {
  from {
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes go-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    transform: translateY(80px);
    opacity: 0;
  }
}
@keyframes go-out-up {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    transform: translateY(-80px);
    opacity: 0;
  }
}
body a {
  cursor: pointer;
  text-decoration: none;
}
body a:hover {
  transition: 0.3s all ease-in-out;
}
.intro {
  display: block;
  width: 100%;
  padding: 80px 0 0px;
  height: auto;
  display: flex;
  box-sizing: border-box;
  align-items: center;
  flex-direction: column;
}
.intro .title {
  text-align: center;
  margin: auto;
  width: 100%;
  position: relative;
  z-index: 0;
}
.intro .title h1 {
  font-size: 3rem;
  color: #abd776;
  font-weight: 600;
  margin: 0;
}
.intro .title h2 {
  font-size: 13px;
  margin: 0;
  color: #212121;
  font-weight: 500;
  display: none;
}
blockquote {
  text-align: center;
  margin: 50px auto;
  padding: 0 20px;
  display: block;
  font-size: 23px;
  color: #212121;
  font-weight: 600;
  font-style: normal;
  max-width: 530px;
  line-height: 180%;
}
blockquote.small {
  max-width: none;
  font-size: 18px;
  padding: 0px;
  margin: 20px auto;
}
blockquote cite {
  font-size: 17px;
  color: #aab4be;
  display: block;
  padding-top: 7px;
  font-weight: 400;
  font-style: normal;
}
.blog-content {
  width: 100%;
  margin: 0 auto 80px;
  padding: 0 20px;
  clear: both;
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
}
.blog-content > article {
  width: 100%;
  height: auto;
  margin: 0 0 40px;
  padding: 0px;
  box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
}
.blog-content > article > a {
  display: block;
  cursor: pointer;
}
.blog-content > article img {
  background-color: #eaeaea;
  border-radius: 12px;
  padding: 0px;
  overflow: hidden;
  margin: 0px;
  width: 100%;
  max-width: none;
  max-height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
.blog-content > article time {
  font-size: 12px;
  color: #abd776;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 15px;
  display: block;
}
.blog-content > article h3 {
  font-size: 20px;
  color: #212121;
  font-weight: 600;
  margin: 10px 0 0px;
}
.blog-content > article p {
  font-size: 15px;
  color: #92949b;
  line-height: 140%;
  margin-top: 5px;
}
footer {
  display: block;
  position: static;
  bottom: 0;
  width: 100%;
  padding: 25px;
  box-sizing: border-box;
}
footer a.top {
  font-size: 15px;
  font-weight: 500;
  color: #92949b;
  text-align: center;
  display: table;
  margin: auto;
  border-radius: 10px;
  padding: 15px 40px;
}
footer a.top:hover {
  background-color: #eaeaea;
}
@media (min-width: 768px) {
  body .desktop {
    display: block;
  }
  body .mobile {
    display: none;
  }
  header {
    height: 80px;
  }
  header .title {
    margin-left: 0px;
  }
  header .title h2 {
    font-size: 15px;
    display: block;
  }
  header .title a {
    display: table;
    margin: auto;
  }
  header .title a:hover h1 {
    text-decoration: underline;
  }
  header a.back,
  header a.next {
    display: block;
    padding: 12px 30px;
  }
  blockquote {
    font-size: 27px;
    margin: 80px auto;
  }
  .blog-content {
    flex-direction: row;
    flex-wrap: wrap;
    flex-grow: 1;
    max-width: 1700px;
  }
  .blog-content > article {
    margin: 15px;
    overflow: visible;
    flex: 1 1 15%;
  }
  .blog-content > article a:hover img {
    transition: 0.4s all ease;
    transform: scale(1.03);
    box-shadow: 0px 10px 20px 0 #d6d6d6;
  }
  .blog-content > article img {
    height: 220px;
    max-height: none;
  }
  footer {
    display: none;
  }
}
.post-content {
  margin: 0 auto;
  clear: both;
  width: 100%;
}
.post-content .title {
  margin: 60px auto 40px;
  padding: 0 20px;
}
.post-content .title h2 {
  font-size: 27px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 7px;
  margin-bottom: 10px;
}
.post-content .title p {
  color: #92949b;
  font-size: 17px;
  text-align: center;
  display: block;
}
.post-content img.cover {
  margin: 0 auto 40px;
  display: block;
  border-radius: 0px;
  max-height: 350px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
.post-content .essay {
  padding: 0 20px;
  margin-bottom: 60px;
}
.post-content .essay hr {
  margin: 50px 0;
  border-style: dotted;
  height: 1px;
  padding: 0;
  color: #eaeaea;
  border-width: 2px;
  overflow: hidden;
}
.post-content .essay a.secondary {
  font-size: 15px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  color: #151515;
  font-family: "Montserrat", sans-serif;
  margin: 10px 0;
  border: 2px solid #151515;
  font-weight: 500;
}
.post-content .essay a.secondary:hover {
  background-color: #151515;
  color: white;
  text-decoration: none;
}
.post-content .essay h3 {
  color: #212121;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 40px;
}
.post-content .essay h4 {
  font-size: 19px;
  font-weight: 600;
  font-family: "Merriweather";
  margin-bottom: 0px;
  margin-top: 25px;
}
.post-content .essay h5 {
  font-size: 17px;
  font-weight: 600;
  font-family: "Merriweather";
  margin-bottom: 0px;
  margin-top: 25px;
}
.post-content .essay figure {
  margin: 25px 0 50px;
}
.post-content .essay figure iframe {
  border-radius: 10px;
  margin-bottom: 10px;
}
.post-content .essay figure img {
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 8px;
  display: table;
}
.post-content .essay figure figcaption {
  font-size: 13px;
  color: #92949b;
  text-align: center;
  font-family: "Merriweather";
  padding-top: 3px;
}
.post-content .essay strong {
  font-weight: 600;
}
.post-content .essay p {
  color: #212121;
  line-height: 165%;
  font-family: "Merriweather";
}
.post-content .essay p.failed {
  padding-left: 45px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAACI0lEQVRIiZ3V24tOURjH8c/7XpAhRJOSYZiU1BQSRU6NNJPDFHJIKRfKKZpy5cYfQHKIUuJCFI3COE7EOERJXDGTJBpGJI3RXJC42GtnbO9e7/C7W8/pu569nrV2oae2VkZLcClr7KdG4xS24HlqLPYJKGA/WrDnPwBjcBvzcQuTs5ACDmJHWO/EvmDvj6oCYGJYjwrr2hRSwGFsyyQ2STorBxqHNtRk7JW4iSlFHMDmnALbcSgCqg47Hp/jr8TeIi6jN7LTrThSAjRB0kF1JPcJVhdxHY1lQJtwtA+oRtLB2EjOY9ThU3rwNySjGwNtxDFMCh1URWIfYSE+QyFzT+biCgZHCvSiIuJ/iHp0p4ZiJuAOGtATKRID3M8CSkHgbgB9iRQrpXshrzvrKAXJ3VFE0S+QB4EHkvH9WQbwEcvwNS8gBpkquajlbnwljmPAv0KmScZ6ZBlAquU4mwcqBZkueXNG9BOQqhHNpUBZyAxJB8Mjxb5FfEtxHgPzILPQimGRIi2YiQ+RmIYAGpSFzMbVMoALWImnWID3kdj6AKpIIXNwDUMjSeewyu9P9SyAuiI5i3ARFUXswpBIcDPW+vss2gPoXSS3DieKWCF5tkvpDNbge46/Q/JP78zxd2F3UfKqLpZMVV+dxjr8iOwUXgTQm4z9raTT9vTgeyVz3hrWJ7G+H4BULwPodVh3BkAHf45wCmrChn8ApHoVQG2YJ+kQ/AJZ3HO2Bj9f2gAAAABJRU5ErkJggg==) no-repeat center left;
}
.post-content .essay p.score {
  background: #eaeaea;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  font-family: "Montserrat";
  font-size: 15px;
  font-weight: 500;
  color: #92949b;
}
.post-content .essay a:hover {
  text-decoration: underline;
}
.post-content .essay blockquote {
  text-align: left;
  color: #abd776;
}
.post-content .essay .testers {
  display: block;
}
.post-content .essay .testers > div {
  padding: 0px;
  margin: auto;
  display: table;
}
.post-content .essay .testers > div time {
  display: block;
}
.post-content .essay .testers > div a {
  display: block;
}
.post-content .essay .testers > div a:hover img {
  transition: 0.3s all ease;
  transform: scale(1.1);
}
.post-content .essay ul.no-bullets {
  padding-left: 25px;
}
.post-content .essay ul.no-bullets li {
  list-style: none;
}
.post-content .essay ul li {
  font-family: "Merriweather";
  line-height: 170%;
}
footer {
  display: block;
}
footer a.next {
  margin: 20px auto;
  display: block;
  text-align: center;
  max-width: 400px;
  font-size: 16px;
  padding: 17px;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  header {
    height: auto;
  }
  .post-content .essay {
    max-width: 800px;
    margin: 0 auto;
  }
  .post-content .title {
    margin: 60px auto 40px;
  }
  .post-content .title h2 {
    font-size: 35px;
  }
  .post-content img.cover {
    border-radius: 10px;
  }
  .post-content .essay {
    padding: 0 15px;
  }
  .post-content .essay blockquote {
    margin: 60px auto;
  }
  .post-content .essay blockquote.small {
    max-width: none;
    font-size: 17px;
    padding: 0px;
    margin: 20px auto;
    line-height: 145%;
    font-weight: 400;
  }
  .post-content .essay .testers {
    display: flex;
  }
  .post-content .essay .testers > div {
    padding: 10px;
  }
  .post-content .essay ul {
    margin: 0;
    padding: 0;
  }
  .post-content .essay ul li {
    list-style: inside;
    margin: 10px 0;
  }
}

