@font-face {
  font-family: "Cooper";
  src: url("../fonts/CooperBlack.woff") format("woff"),
    url("../fonts/CooperBlack.ttf") format("truetype");
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  background: #fff !important;
  font-family: "Muli", sans-serif !important;
  font-weight: 300;
}

.logo {
  position: absolute;
  top: 2vw;
  z-index: 90;
  padding: 0 2vw;
}

.logo img {
  left: 2vw;
}

.popup h3 {
  color: #fff;
  margin-bottom: 0;
  font-weight: 100;
  text-align: right;
  margin-right: 0.2vw;
  margin-top: 2px;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

.popup h3:last-of-type,
.navbar-nav .o {
  width: 0px;
  animation: reveal 5s forwards;
}

.popup h3:last-of-type span {
  margin-left: 355px;
  animation: slidein 5s forwards;
}

.popup h3:first-of-type,
.navbar-nav > li:first-of-type {
  animation: showup 5s forwards;
}

.navbar-nav .o {
  width: 0px;
  animation: reveal-a 4s forwards;
}

.fixed {
  position: fixed;
}

.navbar .navbar-nav > li a {
  margin-left: 50px;
  text-align: center;
  animation: slidein 5s forwards;
}

.dropdown-item {
  animation: none !important;
  margin-left: 0px !important;
}

@keyframes showup {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slidein {
  0% {
    margin-left: -100px;
  }
  20% {
    margin-left: -100px;
  }
  35% {
    margin-left: 0px;
  }
  100% {
    margin-left: 0px;
  }
}

@keyframes reveal {
  0% {
    opacity: 0;
    width: 0px;
  }
  20% {
    opacity: 1;
    width: 0px;
  }
  30% {
    width: 225px;
  }
  80% {
    opacity: 1;
  }
  100% {
    width: 225px;
  }
}

@keyframes reveal-a {
  0% {
    opacity: 0;
    width: 0px;
  }
  20% {
    opacity: 1;
    width: 0px;
  }
  30% {
    width: 125px;
  }
  80% {
    opacity: 1;
  }
  100% {
    width: 125px;
  }
}

@keyframes reveal-b {
  0% {
    opacity: 0;
    width: 0px;
  }
  20% {
    opacity: 1;
    width: 0px;
  }
  30% {
    width: 100px;
  }
  80% {
    opacity: 1;
  }
  100% {
    width: 100px;
  }
}

.container-fluid {
  padding: 0;
}

.heading h1 {
  position: absolute;
  bottom: 2vw;
  font-weight: 100;
  font-size: 4em;
  font-family: "Cooper", sans-serif;
  color: #212121;
}

.heading .line {
  width: 23vw;
  height: 1px;
  background: #95989c;
  position: absolute;
  bottom: 3.5vw;
  left: 14vw;
  z-index: 1000;
  opacity: 0.6;
}

.cover {
  background-size: cover !important;
  transition: 0.6s ease-out;
}

.img-logo {
  background: url("../imgs/logo.svg");
  background-size: cover;
  width: 80px;
  height: 80px;
  display: block;
}

/* NAVIGATION */

.navigation {
  position: absolute;
}

.view {
  overflow: hidden;
  height: 100% !important;
  max-width: 100%;
}

.img-fluid {
  min-height: 100%;
  width: auto !important;
}

.blue-gradient {
  background: -webkit-linear-gradient(310deg, #45cafc, #303f9f) !important;
  background: -o-linear-gradient(310deg, #45cafc, #303f9f) !important;
  background: linear-gradient(40deg, #45cafc, #303f9f) !important;
}

.maya-blue-gradient {
  background-image: -webkit-linear-gradient(
    bottom,
    #6a85b6 0%,
    #bac8e0 100%
  ) !important;
  background-image: -o-linear-gradient(
    bottom,
    #6a85b6 0%,
    #bac8e0 100%
  ) !important;
  background-image: linear-gradient(
    to top,
    #6a85b6 0%,
    #bac8e0 100%
  ) !important;
}

.sharp-blue-gradient {
  background-image: -webkit-linear-gradient(bottom, #00c6fb 0%, #005bea 100%);
  background-image: -o-linear-gradient(bottom, #00c6fb 0%, #005bea 100%);
  background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
}

.great-blue-gradient {
  background-image: -webkit-linear-gradient(bottom, #a3bded 0%, #6991c7 100%);
  background-image: -o-linear-gradient(bottom, #a3bded 0%, #6991c7 100%);
  background-image: linear-gradient(to top, #a3bded 0%, #6991c7 100%);
}

.view .mask {
  position: absolute;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
  opacity: 0.6;
  transition: 0.6s ease-out;
}

.view a.fade-in .text h4 {
  font-size: 2em;
  color: #fff;
  font-weight: 800;
  font-family: "Cooper", sans-serif;
}

.view a.fade-in .text {
  position: absolute;
  z-index: 1000;
  top: 20vw;
  padding: 0 10%;
}

.view a.fade-in .text p {
  margin-top: 35px;
  color: #fff;
  font-size: 1.2rem;
}

.view a.fade-in:hover .mask {
  opacity: 0.95;
}

.view .cover {
  -webkit-transition: transform 0.8s ease-out;
  -moz-transition: transform 0.8s ease-out;
  -o-transition: transform 0.8s ease-out;
  transition: transform 0.8s ease-out;
}

.view:hover .cover {
  -webkit-transform: scale(1.1); /* Safari and Chrome */
  -moz-transform: scale(1.1); /* Firefox */
  -ms-transform: scale(1.1); /* IE 9 */
  -o-transform: scale(1.1); /* Opera */
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .popup {
    padding-left: 30px;
  }
}

/* HEADER */

.row {
  max-width: 100%;
}

header {
  top: 4vw;
  position: absolute;
  z-index: 100;
  min-width: 100%;
}

.navbar {
  padding: 0px;
}

.navbar-light .navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  width: 2em;
  height: 2em;
}

.navbar-brand {
  padding: 0px;
  margin-right: 46px;
}

.nav-item {
  font-size: 1.3rem;
}

.navbar-nav {
  position: absolute;
  right: 2vw;
  background: #fff;
}

.bastlirna {
  background: #fff;
  z-index: 200;
  display: block;
  height: 50px;
  width: 180px;
  margin-right: -90px;
}

#bastled-cover {
  animation-delay: 0.8s;
  -webkit-animation-duration: 0.5s;
  -moz-animation-duration: 0.5s;
  -ms-transition-animation-duration: 0.5s;
}

.dropdown-menu {
  border: none;
}

/* PAGE */
.l1 {
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1;
  -ms-transition-animation-duration: 1s;
}

.right-text {
  margin-top: 10vw;
  padding: 2vw 6vw 2vw 6vw;
}

.left-bg {
  background-size: cover !important;
}

.grad {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.8;
}

.right-text h1 {
  background: #6197d3;
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 3rem;
  font-family: "Cooper", sans-serif;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}

.list-group-item::before {
  content: "• ";
  color: #6197d3;
  margin-right: 10px;
}

.active::before {
  content: none;
}

.right-text h2 {
  color: #6197d3;
  font-weight: 600;
  font-size: 1.7rem;
  padding: 30px 0 0;
}

.right-text p {
  margin: 30px 0;
}

.margin-top {
  margin-top: 2rem;
}

.button-close {
  width: 4vw;
  min-height: 4vw;
  border-radius: 2vw;
  background: blue;
  z-index: 100000;
  position: fixed;
  top: 50vh;
  left: 5vw;
  transform: translateY(-50%);
}

.close {
  position: absolute;
  right: 2vw;
  top: 2vw;
  width: 32px;
  height: 32px;
  opacity: 0.5;
  transform: translate(50%, -50%);
  transition: 0.3s;
}

.close:hover {
  opacity: 1;
}

.close:before,
.close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 4px;
  background-color: #fff;
}

.close:before {
  transform: rotate(45deg);
}

.close:after {
  transform: rotate(-45deg);
}

.barba-container {
  min-height: 100vh;
}

.left-heading {
  color: #fff;
  position: absolute;
  font-size: 2.5rem;
  font-weight: 700;
  left: 2vw;
  bottom: 6vw;
}

.right-text p {
  text-align: justify;
  text-justify: inter-word;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

.e404 {
  text-align: center;
  position: absolute;
  top: 50vh;
  left: 50vw;
  transform: translate(-50%, -50%);
}

.e404 h1 {
  font-size: 12rem;
  color: #005bea;
  font-weight: 900;
  background-image: -webkit-linear-gradient(right, #00c6fb 0%, #005bea 100%);
  background-image: -o-linear-gradient(right, #00c6fb 0%, #005bea 100%);
  background-image: linear-gradient(to top, #00c6fb 0%, #005bea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.e404 h2 {
  color: #00c6fb;
  font-size: 2.5rem;
}

.blue .img-logo {
  background: url("../imgs/logo_blue.svg");
  background-size: cover;
}

/* FOOTER */

footer {
  z-index: 500;
  position: fixed;
  bottom: 2vw;
  left: 2vw;
  color: #fff;
}

footer.blue {
  color: #45cafc;
}

/* GALLERY */

.item img {
  width: 100%;
  height: auto;
  transition: 0.8s;
  min-height: 280px;
}

.item {
  overflow: hidden;
  background: #000;
  height: 280px;
}

a.item:hover > h3 {
  opacity: 1;
}

.item > h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: #fff;
  font-weight: 800;
  z-index: 200;
  transition: 0.4s;
  font-size: 1.3rem;
}

a.item:hover img {
  opacity: 0.7;
  -webkit-transform: scale(1.1); /* Safari and Chrome */
  -moz-transform: scale(1.1); /* Firefox */
  -ms-transform: scale(1.1); /* IE 9 */
  -o-transform: scale(1.1); /* Opera */
  transform: scale(1.1);
}

a.no-scale:hover img {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.lg-backdrop.in {
  opacity: 0.8 !important;
}

.lg-backdrop.in {
  opacity: 0.85;
}

.fixed-size.lg-outer .lg-sub-html {
  position: absolute;
  text-align: left;
}
.fixed-size.lg-outer .lg-toolbar {
  background-color: transparent;
  height: 0;
}
.fixed-size.lg-outer .lg-toolbar .lg-icon {
  color: #fff;
}
.fixed-size.lg-outer .lg-img-wrap {
  padding: 12px;
}

.fixed-size.lg-outer .lg-sub-html {
  text-align: center !important;
  font-size: 1.2rem;
}

i {
  border: solid #fff;
  border-width: 0 7px 7px 0;
  display: inline-block;
  padding: 10px;
  margin-bottom: 3px;
  margin-left: 15px;
  margin-right: 20px;
  transition: 0.3s;
}

a:hover i {
  opacity: 0.5;
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.ref a.item img {
  opacity: 0.4;
}

.ref a.item:hover img {
  opacity: 0.1;
}

.ref a.item h2 {
  position: absolute;
  bottom: 10%;
  left: 10%;
  margin-bottom: 0px;
  color: #fff;
  font-weight: 1000;
  z-index: 200;
  transition: 0.4s;
  font-size: 2.8rem;
}

.ref .item {
  background: #00c6fb;
}

.borderless td,
.borderless th {
  border: none;
}

.kontakt {
  margin: 0 5vw 40px 0;
}

.background-logo {
  position: fixed;
  width: 100%;
  min-height: 100vh;
  background: url(../imgs/logo_blue.svg);
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: 30% 80%;
  z-index: -1000;
  opacity: 0.5;
}

.list-group-item {
  background-color: rgba(255, 255, 255, 0);
}

@media (max-width: 992px) {
  footer {
    bottom: 0px;
    left: 0px;
    position: relative;
    display: none;
  }

  .img-logo {
    width: 60px;
    height: 60px;
  }
}

@media only screen and (max-width: 1246px) {
  .nav-item {
    font-size: 1rem;
  }
  .navbar-nav .o {
    animation: reveal-b 4s forwards;
  }
}

@media (max-width: 992px) {
  .view a.fade-in .text {
    top: 50%;
    transform: translateY(-15%);
  }
  .navigation {
    top: 115px;
  }

  .logo {
    padding: 20px 0px 0px 8vw;
  }
  .popup h3 {
    font-size: 1.2rem;
    color: #45cafc;
    font-weight: 300;
  }
  .popup h3:last-of-type {
    width: 100%;
    animation: none;
    text-align: left;
  }

  .popup h3:last-of-type span {
    margin-left: 0px;
    animation: none;
  }

  .popup h3:first-of-type {
    animation: none;
  }

  .img-logo {
    background: url("../imgs/logo_blue.svg");
    background-size: cover;
  }
  .cover {
    background-position: 50% 20% !important;
  }
  .left-column {
    display: none;
  }

  .fixed {
    position: absolute;
  }
  .right-text {
    padding: 12vh 8vw 0;
  }
  .right-text h1 {
    font-size: 2.4rem;
  }
  .navbar-header {
    position: absolute;
    right: 8vw;
    top: 20px;
  }
  footer.blue {
    color: #fff;
  }

  .navbar-nav {
    width: 100vw;
    margin-top: 12vh;
    padding-top: 10vw;
  }

  .navbar-nav > li:first-of-type {
    animation: none;
  }

  .navbar-nav .o {
    width: 100%;
    animation: none;
  }

  .navbar .navbar-nav > li a {
    animation: none;
  }

  .navbar-nav .bastlirna {
    display: none;
  }

  .navbar .navbar-nav > li a {
    margin-left: 0px;
  }
  .view a.fade-in .text p {
    display: none;
  }
  .background-logo {
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }
}

@media (max-width: 576px) {
  .view a.fade-in .text h4 {
    font-size: 1.7em;
  }
  .arrow.left {
    display: none;
  }

  .info th {
    padding-right: 20px;
  }

  .osv img {
    width: 100%;
  }
}
