@font-face {
  font-family: menuFont;
  src: url("font/BRRR-Medium.otf");
}

@font-face {
  font-family: textFont;
  src: url("http://myrbor.com/Font/Didot.otf");
}

body {
  margin: 0px !important;
  padding: 0px !important;
}

#nav {
  font-family: menuFont !important;
  font-size: 26px;
  background-color: transparent !important;
}
.active a {
  background-color: transparent !important;
}

section {
  font-family: textFont;
}

#ABOUT {
  line-height: 1rem;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.container-fluid {
  padding-left: 0px !important;
  padding-right: 0px !important;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 4rem;
  z-index: 100;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

html,
body {
  height: 60vw;
  min-height: 60vw;
  width: 100%;
  margin: 0;
  width: 100%;
}
.rows {
  height: 100%;
}
.cols {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /*float: centre;*/
  /*height: 100%;*/

  text-align: center;
  vertical-align: middle;
  border-color: black;
  display: inline-block;
  margin-right: -5px;
}
.mywrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: scroll;
  overflow-y: auto;
  white-space: nowrap;
}

.flier {
  pointer-events: none;
}

.flier > * {
  /* Adjust animation duration to change the element’s speed */
  animation: fly 30s linear infinite;
  pointer-events: none !important;
  top: 0;
  left: 0;
  transform: translateX(-120%) translateY(-120%);
  position: fixed;
  animation-delay: 1s;
  z-index: 999999;
}

/* Keyframe values control where the element will begin
    and end its trajectory across the screen. Each rule
    represents a path the element follows across the screen. */

@keyframes fly {
  98.001%,
  0% {
    display: block;
    transform: translateX(-200%) translateY(100vh) rotateZ(0deg);
  }

  15% {
    transform: translateX(100vw) translateY(-100%) rotateZ(180deg);
  }

  15.001%,
  18% {
    transform: translateX(100vw) translateY(-30%) rotateZ(0deg);
  }

  40% {
    transform: translateX(-200%) translateY(3vh) rotateZ(-180deg);
  }

  40.001%,
  43% {
    transform: translateX(-200%) translateY(-100%) rotateZ(-180deg);
  }

  65% {
    transform: translateX(100vw) translateY(50vh) rotateZ(0deg);
  }

  65.001%,
  68% {
    transform: translateX(20vw) translateY(-200%) rotateZ(180deg);
  }

  95% {
    transform: translateX(10vw) translateY(100vh) rotateZ(0deg);
  }
}

.contact {
  position: relative;
  height: 100%;
  width: 100%;
}
.contact img{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 576px) {
  .contact img{
    width: 100vw;
  }
}
.textcontact {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
}
