/* ========== GLOBAL ========== */
body {
  background-color: #f2f1f1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.text-center {
  text-align: center;
}

.content {
  margin-top: 85px;
  color: #1a1a1a;
}

.content h1,
.content h2,
.content h3 {
  color: #111;
}

/* ========== NAVIGATION ========== */

.navbar {
  background-color: #33363b;
}

a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover {
    --bulma-navbar-item-background-l-delta: var(--bulma-navbar-item-hover-background-l-delta);
    --bulma-navbar-item-background-a: 0;
}

/* ========== VIDEO EMBEDS ========== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ========== BACK TO TOP ========== */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 36px;
  line-height: 1;
  background-color: #00a5e4;
  color: white;
  cursor: pointer;
  border: none;
  padding: 15px 15px 10px;
  border-radius: 6px;
}
#myBtn:hover {
  background-color: #007bb5;
}

/* ========== BUTTON STYLES ========== */
.button.is-teal {
  background-color: #037E8C;
  border: 2px solid #037E8C;
  color: whitesmoke;
}
.button.is-teal:hover {
  background-color: whitesmoke;
  color: #037E8C;bulma
}
.button.is-green {
  background-color: #ABB82E;
  border: 2px solid #ABB82E;
  color: whitesmoke;
}
.button.is-green:hover {
  background-color: whitesmoke;
  color: #8C8111;
}

/* ========== CAROUSEL ========== */

.carousel-wrapper {
  background-color: #33363b;
  background-image: url('/assets/images/hero-bg.png');
  background-position-x: center;
  background-position-y: bottom;
  background-size: initial;
  background-repeat: no-repeat;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  overflow: hidden;
  height: 600px;
  padding: 2rem 1rem 0;
  border-bottom: 2px solid #ccc;
}

.carousel-inner {
  position: relative;
  height: 100%;
  text-align: center;
  overflow: hidden;
}

.carousel-caption {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 2rem;
  color: #fff;
  z-index: 2;
  position: relative;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity: 0;
  transition: left 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.carousel-item.is-active {
  left: 0;
  opacity: 1;
  z-index: 1;
}

/* Fix image width + centering */
.carousel-img {
  width: 150%;
  max-width: none;
  height: auto;
  margin-top: 1rem;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  transform: translate(-50%, 80px);
  opacity: 0;
  position: relative;
  left: 50%;
}

.carousel-item.scrolled .carousel-img {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Chevron placement */
.carousel-inner .buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between !important;
  padding: 0 1rem;
  z-index: 3;
}

/* ========== FEATURES ========== */

.feature-section .container {
  max-width: 1080px !important;
  margin-left: auto;
  margin-right: auto;
}

.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s ease-out;
}
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s ease-out;
}
.animate-left.visible,
.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.featurette-heading {
  font-size: 25px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: #33363b;
}
.featurette-text {
  font-size: 16px;
  line-height: 1.5;
  color: #5f6368;
  max-width: 640px;
}

/* ========== FOOTER ========== */
.footer {
  background-color: inherit !important;
  border-top: 1px solid #e7e6e6;
}
.gap-horizontal-md > * + * {
  margin-left: 1rem;
}

/* ========== BLOG UTILITIES ========== */
.blog-post-title a {
  font-size: 30px;
  color: #00a5e4;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.blog-post-title a:hover {
  text-decoration: none;
  color: #454545;
}