* {
  box-sizing: border-box;
}

html {
  background-color: #efefef;
  overflow-y: scroll;
  cursor: url(../img/cursor_hexa.svg) 12 10, auto !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-weight: normal;
  color: #ffffff;
  line-height: 1.33;
  padding: 24px;
  cursor: url(../img/cursor_hexa.svg) 12 10, auto !important;
}

::selection {
  color: #000;
  background: #fff;
}

::-moz-selection {
  color: #000;
  background: #fff;
}

a,
a:visited {
  color: #000;
  text-decoration: none;
  background-color: #fff;
  background-color: hsl(210, 100%, 95%);
}

a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #000;
  cursor: url(../img/cursor_hexa_white.svg) 14 16, auto;
}

h2 {
  font-size: 21.5px;
  font-weight: 500;
}

#container_loading {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #efefef;
  z-index: 10;
}

#header {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  text-align: center;
  color: #000;
  line-height: 1.33;
  border: 1.5px solid #000;
  padding: 0;
  columns: 3;
  column-rule: 1.5px solid #000;
  column-gap: 0;
  background-color: #fff;
}

#header .info-elem:first-child {
  background-color: hsl(210, 100%, 95%);
  margin: 0 0.75px;
}

#header .info-elem h2 {
  line-height: 1;
}

#header .info-elem {
  display: block;
  position: relative;
  padding: 24px;
  color: #000;
  height: 200px;
}

#header .info-elem span {
  display: block;
  top: 50%;
  position: relative;
  transform: translate(0, -50%);
}

.logo {
  background: url(../img/INTERPRETER_LOGO.png) no-repeat scroll center center;
  width: auto;
  display: block;
  height: 152px;
  background-size: contain;
  filter: invert(1);
}

#header span {
  font-size: 15px;
  font-weight: 400;
}

#container_info {
  border: 1.5px solid #000;
  display: block;
  column-count: 2;
  column-rule: 1.5px solid #000;
  column-gap: 0;
  border-width: 0 1.5px;
  background: #fff;
}

#container_info .info-elem {
  display: block;
  position: relative;
  padding: 24px;
  color: #000;
  font-weight: 400;
}

#container_main {
  position: relative;
  width: 100%;
  color: #ffffff;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
}

#container_main img {
  width: 100%;
}

#container_main p {
  position: relative;
  font-size: 15px;
  font-weight: 300;
  text-align: justify;
  word-break: break-word;
  hyphens: auto;
  word-spacing: -1.5px;
  color: #000;
  line-height: 1.33;
  margin: 24px 0;
  padding: 0 24px;
}

#container_main h3 {
  position: relative;
  font-size: 17px;
  font-weight: 400;
  padding: 24px 0px 24px 24px;
  border-bottom: 1.5px solid #000;
  border-top: 1.5px solid #000;
  color: #000;
  margin: 0 0.75px;
  background-color: hsl(0, 100%, 95%);
  box-sizing: border-box;
}

#container_main h3 i {
  padding-left: 0 !important;
  margin-left: -0.2em !important;
}

#container_main h3:first-child {
  background-color: hsl(210, 100%, 95%);
}

#container_main h3:nth-child(3) {
  background-color: hsl(105, 100%, 95%);
}


#container_main h3:first-child:before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15px;
    height: 15px;
    border: 2px solid hsl(210, 100%, 80%);
    border-radius: 50%;
    margin-right: 7px;
    margin-bottom: 10px;
    z-index: 3;
    box-sizing: border-box;
    background: hsl(210, 100%, 80%);
}

#container_main h3:nth-child(3):before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: hsl(105, 100%, 80%);
    border: 2px solid hsl(105, 100%, 80%);
    border-radius: 50%;
    margin-right: 7px;
    margin-top: 10px;
    z-index: 3;
    box-sizing: border-box;
}

#container_main h3:nth-child(3):after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15px;
    height: 15px;
    background: hsl(105, 100%, 80%);
    border: 2px solid hsl(105, 100%, 80%);
    border-radius: 50%;
    margin-right: 7px;
    margin-bottom: 10px;
    z-index: 3;
    box-sizing: border-box;
}

#container_main h3:nth-child(5):before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: hsl(0, 100%, 80%);
    border: 2px solid hsl(0, 100%, 80%);
    border-radius: 50%;
    margin-right: 7px;
    margin-top: 10px;
    z-index: 3;
    box-sizing: border-box;
}

.work-input-holder {
    position: relative;
}

.work-input-holder:before {
    content: '';
    position: absolute;
    right: 14px;
    top: -16px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, hsl(210, 100%, 80%), 50%, hsl(105, 100%, 80%));
    z-index: 2;
    padding-bottom: 32px;
}

.work-text:before {
    content: '';
    position: absolute;
    right: 14px;
    top: -36px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, hsl(105, 100%, 80%), 50%, hsl(0, 100%, 80%));
    z-index: 2;
    padding-bottom: 78px;
}

.img-link,
#work_gen_single {
  opacity: 1;
  transition: all 0.5s ease;
}

.img-link:hover,
#work_gen_single:hover {
  opacity: 0.85;
}

#footer {
  position: relative;
  border: 1.5px solid;
  padding: 0;
  color: #000;
  border-width: 0 1.5px 1.5px 1.5px;
  background: #fff;
  column-count: 2;
  column-gap: 0;
  column-rule: 1.5px solid #000;
}

#footer p {
  font-size: 14px;
  font-weight: 300;
  position: relative;
  padding: 24px;
}

/* GRID */

.masonry {
  columns: 3;
  column-gap: 0;
  column-rule: 1.5px solid #000;
  border: 1.5px solid #000;
  border-width: 0 1.5px 1.5px 1.5px;
  overflow: hidden;
}

.masonry .grid-item {
  display: inline-block;
  position: relative;
  padding: 0;
  color: #000;
}

.masonry .grid-item img {
  display: block;
  height: auto;
  padding: 24px;
}

img.lazy {
  opacity: 0;
}

img:not(.initial) {
  transition: opacity 1.35s ease;
}

img.initial,
img.loaded,
img.error {
  opacity: 1;
}

img:not([src]) {
  visibility: hidden;
}

/* Fixes Firefox anomaly during image load */
@-moz-document url-prefix() {
  img:-moz-loading {
    visibility: hidden;
  }
}

.masonry .grid-body {
  position: relative;
  left: 0;
  top: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.work-input {
  width: 100%;
  position: relative;
  pointer-events: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  outline: 18px solid hsl(210, 100%, 100%);
  outline-offset: -40px;
}

#single_holder {
  top: 50%;
  left: 150vw;
  width: 90vw;
  position: fixed;
  transform: translate(-50%, -50%);
  max-width: 600px;
}

#work_gen_single:hover {
  cursor: url(../img/cursor_hexa_white.svg) 14 16, auto;
}

.masonry .grid-title {
  font-size: 28px;
  font-weight: 500;
  margin: 0px 0px 10px 0px;
}

/* QUERIES */
@media (min-width: 1919px) {
  .masonry {
    columns: 4;
  }
}

@media (max-width: 992px) {
  .masonry {
    columns: 2;
  }

  .work-input {
    outline: 20px solid hsl(210, 100%, 100%);
    outline-offset: -44px;
  }
}

@media (max-width: 640px) {
  .masonry {
    columns: 1;
    column-gap: 0;
    column-rule: none;
  }

  #header {
    columns: 1;
  }

  #header .info-elem {
    border-bottom: 1.5px solid #000;
  }

  #header .info-elem:last-child {
    border-bottom: none;
  }

  .logo {
    height: 120px;
  }

  h2 {
    font-size: 18px;
    word-spacing: -1.5px;
  }

  #header .info-elem {
    height: auto;
  }

  #header .info-elem h2,
  #header .info-elem span {
    top: 0;
    transform: none;
  }

  .work-input {
    outline: 4vw solid hsl(210, 100%, 100%);
    outline-offset: -7.75vw;
  }

  #container_info .info-elem,
  #footer p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  #header h2, #header span {
    font-size: 14px;
    word-spacing: -2px;
  }

  #container_main h3, #header .info-elem:first-child {
    margin: 0;
  }

  #container_info .info-elem,
  #footer p {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
  }
}

/* HARAM */
.icon {
  padding: 0 4px;
}

.icon-heart:before {
  content: '\e800';
}

.icon-calendar-outline:before {
  content: '\e801';
}

.icon-wristwatch:before {
  content: '\e802';
}

.icon-eye-outline:before {
  content: '\e804';
}

.icon-wrench-outline:before {
  content: '\e805';
}

.icon-calculator:before {
  content: '\e806';
}

.icon-user-outline:before {
  content: '\e807';
}

.icon-temperature:before {
  content: '\e80a';
}

.clear {
  clear: both;
}

.space {
  margin: 24px;
}

.shadow {
  box-shadow: 0px 4px 8px rgba(0, 0, 0, .35);
  -moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, .35);
  ;
}

.left {
  float: left;
}

.right {
  float: right;
}

.lsi-blue {
  background-color: hsl(210, 100%, 95%);
}

.lsi-red {
  background-color: hsl(0, 100%, 95%);
}

.loader {
  width: 48px;
  height: 48px;
  background: #000;
  display: block;
  top: 50%;
  margin: -24px auto;
  position: relative;
  box-sizing: border-box;
  animation: rotationBack 1s ease-in-out infinite reverse;
}

.loader::before {
  content: '';  
  box-sizing: border-box;
  left: 0;
  top: 0;
  transform: rotate(45deg);
  position: absolute;
  width: 48px;
  height: 48px;
  background: #000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.loader::after {
  content: '';  
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  background: #efefef;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}