/*////////////////////////////////////////////////////////////
HTML TWEAKS
////////////////////////////////////////////////////////////*/
/* #region tweaks */

@font-face {
  font-family: URW;
  src: url("/fonts/URWImperialTExtBol.ttf");
}

@font-face {
  font-family: LucidaCal;
  src: url("/fonts/Lucida Calligraphy Italic.ttf");
}

/* @font-face {
  font-family: Franchise;
  src: url("images/Franchise-Bold.ttf");
} */

html,body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body{
  background: #0D497D;
  background-position: bottom;
  background-image: url("/images/BG.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: URW;
}
a {
  color: white;
  text-decoration: none;
}

section{
  width: 100vw;
  min-height: 30vh;
  padding: 100px 0px;
}
h1{
  font-family: URW;
}
/* #endregion */

/*////////////////////////////////////////////////////////////
NAV
////////////////////////////////////////////////////////////*/
/* #region NAV */
#nav{
  position: fixed;
  top: 0;
  left: 0;
  height: 84px;
  width: 100vw;
  /* background-color: rgba(255,255,255,0.35); */
  z-index: 2001;
  transition: height 0.3s ease;
}
#navBG{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  z-index: 0;
}
#nav.compact{
  height: 70px;
}
#nav.compact #navBG{
  opacity: 0.98;
}

#navLogo{
  position: absolute;
  top: 50%;
  left: 21px;
  transform: translateY(-50%);
  height: 90%;
  cursor: pointer;
}
#nav-links{
  position: absolute;
  right: 21px;
  top: 50%;
  transform: translateY(-50%);
}
.nav-link{
  color: #333;
  margin: 0 4px;
  position: relative;
}
.nav-link::after{
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  background-color: turquoise;
  width: 0;
  height: 0;
  transition: width 0.3s ease, height 0.2s ease;
}
.nav-link:hover::after{
  width: 100%;
  height: 3px;
}
#nav-toggler{
  display: none;
  position: absolute;
  width: 35px;
  height: 35px;
  right: 21px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
#nav-toggler .nav-toggler-mid,
#nav-toggler::before, #nav-toggler::after{
  content: '';
  position: absolute;
  width: 80%;
  left: 10%;
  height: 2px;
  border-radius: 3px;
  background-color: white;
  transform-origin: 0% 50%;
  transition: transform 0.3s linear;
}
.compact #nav-toggler .nav-toggler-mid,
.compact #nav-toggler::before, .compact #nav-toggler::after{
  background-color: #333;
}
#nav-toggler::before{
  top: 7px;
}
#nav-toggler::after{
  bottom: 7px;
}
#nav-toggler .nav-toggler-mid{
  top: 50%;
  transform: translateY(-50%);
}
.open #nav-toggler::before{
  transform: rotate(45deg);
}
.open #nav-toggler::after{
  transform: rotate(-45deg);
}
.open #nav-toggler .nav-toggler-mid{
  transform: translateY(-50%) scaleX(0);
}
/* #endregion */

/*////////////////////////////////////////////////////////////
FOOTER
////////////////////////////////////////////////////////////*/
/* #region Footer */
#footer{
  text-align: center;
  background-color: rgba(255,255,255,0.6);
  color: #333;
  padding: 21px 14px;
}
#footer a{
  color: #333;
  text-decoration: none;
}
/* #endregion */
/*////////////////////////////////////////////////////////////
LAYOUT
////////////////////////////////////////////////////////////*/
/* #region layout */
.container {
  max-width: 770px;
  padding: 0px 14px;
  margin: 0 auto;
}

.centerText {
  text-align: center;
}

/* #endregion */

/*////////////////////////////////////////////////////////////
MEDIA QUERIES
////////////////////////////////////////////////////////////*/

@media only screen and (max-width: 784px) {
  #nav-links{
    width: 102%;
    position: absolute;
    top: 100%;
    left: 100%;
    text-align: center;
    box-sizing: border-box;
    transform: none;
    transition: transform 0.42s ease;
  }
  .open #nav-links{
    transform: translateX(-100%);
  }
  .nav-link{
    display: block;
    padding: 14px 0px;
    background-color: rgba(255,255,255,0.91);
  }
  #nav-toggler{
    display: block;
  }
}

/*////////////////////////////////////////////////////////////
SKY / CLOUDS
////////////////////////////////////////////////////////////*/
/* #region SKY */

#logoBG {
  position: fixed;
  width: 140px;
  height: 140px;
  top: 100px;
  right: 21px;
  z-index: -1;
}

#bgContainer{
  z-index: -1;
}

#cloud_text {
  color: white;
  text-align: center;
}

.topLogo {
  position: absolute;
  right: 0;
  margin-left: 20px;
  margin-top: 50px;
}

.botLogo {
  position: absolute;
  z-index: 10;
}

.sky {
  height: 100%;
  width: 100%;
  position: fixed;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  z-index: -1;
}
.cloud{
  position: absolute;
  bottom: 0;
  width: 294px;
  height: 98px;
  /* background-color: black; */
  background-size: cover;
  background-position: center;
  transform: scale(2);
}

.clouds_one {
  background-image: url("/images/cloud_one.png");
  animation: cloud_move 15s linear infinite;
  top: 35%;
}

.clouds_two {
  background-image: url("/images/cloud_two.png");
  animation: cloud_move 20s linear infinite;
  top: 14%;
}

.clouds_three {
  background-image: url("/images/cloud_three.png");
  animation: cloud_move 25s linear infinite;
  top: 49%;
}


@keyframes cloud_move{
  from {left: 150%;}
  to {left: -50%}
}
/* #endregion */