html,
body {
  height: 100%;
  width: 100%;
}
* { /*Firefox merda*/
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  -webkit-transition: background-color 2s ease-in;
  transition: background-color 2s ease-in;
}

::-webkit-scrollbar {
  display: none;
}

html.loading {
  background: black;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  transition: background-color 0;
}

html.loading body {
  opacity: 0;

  -webkit-transition: opacity 0;
  transition: opacity 0;
}

body {
  -webkit-transition: opacity 0.5s ease-in;
  transition: opacity 0.5s ease-in;
  background: no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.section.lighter {
  background-color: #eee;
}
/*@media {*/
.section.lighter {
  background-color: #121212;
}
/*}*/
#projects {
  /*background-image: url('../res/orion/img1.jpg');*/
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  z-index: 1;
  color: black;
}
#projects > .background-filter > .container > .title {
  color: black;
}

.background-filter.firefox::after {
  background-color: rgba(0, 0, 0, 0.8);
}
.background-filter::after {
  background-color: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px); /* Use for Safari 9+, Edge 17+ (not a mistake) and iOS Safari 9.2+ */
  backdrop-filter: blur(6px); /* Supported in Chrome 76 */
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
/*@media {*/
#projects {
  color: #f0f0f0;
}
#projects > .background-filter > .container > .title {
  color: #f0f0f0;
}
.background-filter::after {
  background-color: rgba(0, 0, 0, 0.5);
}
/*}*/
@media screen and (min-width: 1024px) {
  .background-filter::after {
    max-width: 960px;
  }
}
@media screen and (min-width: 1216px) {
  .background-filter::after {
    max-width: 1152px;
  }
}
@media screen and (min-width: 1408px) {
  .background-filter::after {
    max-width: 1344px;
  }
}
.background-filter {
  position: relative;
  z-index: 1;
}

.background-filter > .container {
  padding: 30px;
  padding-bottom: 32px;
}

.fullscreen {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  min-height: 90vh;
  height: 100%;
}

.fullscreen-body {
  flex-grow: 1;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
}

.third-four-centered {
  margin: auto;
  max-width: 80%;
}

.show-container {
  flex-grow: 1;
  margin: 0px auto 0px auto;
  position: relative;
  width: auto;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}
.show-container > .columns {
  max-width: 100%;
  margin: 0 auto;
}
.random-text {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.75);
}

.show-button {
  position: relative;
  display: block;
  height: 60px;
  width: 160px;
  font-weight: 1000;
  font-size: 17px;
  letter-spacing: 2px;
  color: #ffffff;
  border: 1px #ffffff solid;
  background-color: rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  outline: 0;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  transition: 0.08s ease-in;
  -o-transition: 0.08s ease-in;
  -ms-transition: 0.08s ease-in;
  -moz-transition: 0.08s ease-in;
  -webkit-transition: 0.08s ease-in;
}

.fill:hover {
  color: #383736;
}

.fill:before {
  content: "";
  position: absolute;
  background: #ffffff;
  bottom: 0;
  left: 0;
  right: 0;
  top: 100%;
  z-index: -1;
  -webkit-transition: top 0.09s ease-in;
}

.fill:hover:before {
  top: 0;
}
.column.is-narrow {
  max-width: 181px;
}
.column.is-vcentered {
  display: flex;
  justify-content: center;
  align-items: center;
}
.column.is-vcentered.right {
  text-align: right;
}
.column.is-vcentered.left {
  text-align: left;
}
.content.is-vcentered {
  flex: 0 100px 120px;
}

#gallery-selector li {
  margin: 5px 0;
}

#gallery-selector li .box,
.box.hoverable {
  transition: box-shadow 0.3s;
}
#gallery-selector li .box:hover,
.box.hoverable:hover {
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 7px 0px rgba(100, 100, 100, 0.55);
  -moz-box-shadow: 0px 0px 7px 0px rgba(100, 100, 100, 0.55);
  box-shadow: 0px 0px 7px 0px rgba(100, 100, 100, 0.55);
}

.box.hoverable:hover {
  color: #fff;
  background-color: #070707;
}
.box.hoverable {
  transition: box-shadow 0.3s, color 0.5s, background-color 0.5s;
}

.fancy-show {
  transform: translateY(50px);
  transition-duration: 0.5s;
  transition-delay: 0.35s;
  transition-property: transform, opacity;
  opacity: 0;
}

.fancy-show.only-opacity {
  transform: none;
}

.fancy-show.no-opacity {
  opacity: 1;
}

.fancy-show.small-delay {
  transition-delay: 0.25s;
}

.fancy-show.big-delay {
  transition-delay: 0.45s;
}

.fancy-show.from-right {
  transform: translateX(200px);
}

.fancy-show.from-right.passed-by {
  transform: translateX(0px);
}

.fancy-show.from-left {
  transform: translateX(-200px);
}

.fancy-show.from-left.passed-by {
  transform: translateX(0px);
}

.fancy-show.passed-by {
  transform: translateY(0);
  opacity: 1;
}

/*@media {*/
.box.hoverable:hover {
  color: #070707;
  background-color: #fff;
}
.box.hoverable {
  transition: box-shadow 0.3s, color 0.5s, background-color 0.5s;
}
/*}*/

.column.hoverable:hover {
  cursor: pointer;
}
.box.box-container {
  max-height: 70vh;
  overflow-y: scroll;
}
.box.is-active {
  -webkit-box-shadow: 0px 0px 0px 3px rgba(100, 100, 100, 0.55);
  -moz-box-shadow: 0px 0px 0px 3px rgba(100, 100, 100, 0.55);
  box-shadow: 0px 0px 0px 3px rgba(100, 100, 100, 0.55);
}
.box.is-round {
  border-radius: 50%;
  margin: 0 auto;
}
.box.is-round.is-large {
  max-width: 88px;
}
.box.is-round.is-medium {
  max-width: 73px;
}
.list-box {
  padding: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.list-box.is-active {
  background-color: rgba(150, 150, 150, 0.1);
}
.list-box:hover {
  -webkit-box-shadow: 0px 0px 8px 1px rgba(150, 150, 150, 0.55);
  -moz-box-shadow: 0px 0px 8px 1px rgba(150, 150, 150, 0.55);
  box-shadow: 0px 0px 8px 1px rgba(150, 150, 150, 0.55);
  transition: box-shadow 0.3s;
}
img.box {
  max-height: 70vh;
  object-fit: contain;
  padding: 0;
  margin-bottom: 0px !important;
}
#projects-panel {
  max-height: 60vh;
  overflow-y: scroll;
}

.project-buttons {
  text-align: right;
  margin-right: 1em;
}

.owl-nav {
  height: 0;
}

.owl-prev,
.owl-next {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  position: relative !important;
  top: -60px;
  height: 40px !important;
  width: 40px !important;
  background-color: gray !important;
  border: none !important;
  color: black !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin: 4px 10px !important;
  border-radius: 50%;
  -webkit-transition: background-color 0.2s ease-in;
  transition: background-color 0.2s ease-in;
}
.owl-prev:hover,
.owl-next:hover {
  background-color: white !important;
}
.owl-prev:focus,
.owl-next:focus {
  outline: none;
}
.owl-prev span,
.owl-next span {
  top: -18px;
  font-size: 45px !important;
  position: relative;
  max-height: 10px;
}
@media screen and (max-width: 768px) {
  .owl-prev,
  .owl-next {
    display: none !important;
  }
}

@media screen and (max-width: 360px) {
  .show-button {
    width: 100%;
  }
}

#gallery-selector > li {
  transition-duration: 0.3s;
  transform: translateY(100px);
  opacity: 0;
}

#gallery-selector > li.passed-by {
  transform: translateY(0px);
  opacity: 1;
}

#contacts .column .box {
  margin-bottom: 15px;
}

#bio {
  min-height: 1vh;
  box-sizing: border-box;
  align-items: center;
}

@keyframes blurBox {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.blur-box-animation {
  animation-name: blurBox;
  animation-duration: 0.5s;
}

.show-button {
  display: inline-block;
}
