/*!
 * Start Bootstrap - One Page Wonder v5.0.7 (https://startbootstrap.com/template-overviews/one-page-wonder)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-one-page-wonder/blob/master/LICENSE)
 */

body {
  font-family: 'Lato';
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Catamaran';
  font-weight: 800 !important;
}

.btn-xl {
  text-transform: uppercase;
  padding: 1.5rem 3rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.bg-black {
  background-color: #000 !important;
}

.rounded-pill {
  border-radius: 5rem;
}

.navbar-custom {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  background-color: rgba(191,173,132, 1);
}

.navbar-custom .navbar-brand {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  font-weight: 700;
}

.navbar-brand img {
    width:42px;
}

.navbar-custom .navbar-nav .nav-item .nav-link {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}
.overflow-auto {
    overflow:auto;
}

.navbar-dark .navbar-toggler {
    color: rgba(255,255,255,1);
    border:none;
    border-color: rgba(255,255,255,.1)
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1);
}

.navbar-toggler:focus,.navbar-toggler:active {
   outline: none !important;
   box-shadow: none;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url(data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000…p='round' stroke-miterlimit='10' /%3e%3c/svg%3e);
}

header.masthead {
  position: relative;
  overflow: hidden;
  padding-top: calc(7rem + 72px);
  padding-bottom: 7rem;
  background: linear-gradient(0deg, #ff6a00 0%, #ee0979 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  background-size: cover;
}

header.masthead .masthead-content {
  z-index: 1;
  position: relative;
}

header.masthead .masthead-content .masthead-heading {
  font-size: 4rem;
}

header.masthead .masthead-content .masthead-subheading {
  font-size: 2rem;
}

header.masthead .bg-circle {
  z-index: 0;
  position: absolute;
  border-radius: 100%;
  background: linear-gradient(0deg, #ee0979 0%, #ff6a00 100%);
}

header.masthead .bg-circle-1 {
  height: 90rem;
  width: 90rem;
  bottom: -55rem;
  left: -55rem;
}

header.masthead .bg-circle-2 {
  height: 50rem;
  width: 50rem;
  top: -25rem;
  right: -25rem;
}

header.masthead .bg-circle-3 {
  height: 20rem;
  width: 20rem;
  bottom: -10rem;
  right: 5%;
}

header.masthead .bg-circle-4 {
  height: 30rem;
  width: 30rem;
  top: -5rem;
  right: 35%;
}

.ani-back {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  width:100%;
  height:calc(80vh - 62px);
  background:url(/img/kings-arms.jpg);
  background-size:cover;
  background-position:bottom;
}

.ani-img {
    width:100%;
    max-width:650px;
    position: absolute;
    animation: moveImage linear 10s infinite;
    animation-direction: reverse;
    left: -755px;
    bottom: -100px;
}

@keyframes moveImage {
    5% {
        bottom: -100px;        
    }
    10% {
        bottom: -50px;        
    }
    15% {
        bottom: -100px;
    }
    20% {
        bottom: -50px;
    }
    25% {
        bottom: -100px;
    }
    30% {
        bottom: -50px;
    }
    35% {
        bottom: -100px;
    }
    40% {
        bottom: -50px;
    }
    45% {
        bottom: -100px;
    }
    50% {
        bottom: -50px;
    }
    55% {
        bottom: -100px;
    }
    60% {
        bottom: -50px;
    }
    65% {
        bottom: -100px;
    }
    70% {
        bottom: -50px;
    }
    75% {
        bottom: -100px;
    }
    80% {
        bottom: -50px;
    }
    85% {
        bottom: -100px;
    }
    90% {
        bottom: -50px;
    }
    95% {
        bottom: -100px;
    }
    100% {
      transform: translateX(calc(100vw + 755px));
      will-change: transform;
      bottom:-100px;
    }
}

@keyframes moveImageSmall {
    5% {
        bottom: -80px;        
    }
    10% {
        bottom: -50px;        
    }
    15% {
        bottom: -80px;
    }
    20% {
        bottom: -50px;
    }
    25% {
        bottom: -80px;
    }
    30% {
        bottom: -50px;
    }
    35% {
        bottom: -80px;
    }
    40% {
        bottom: -50px;
    }
    45% {
        bottom: -80px;
    }
    50% {
        bottom: -50px;
    }
    55% {
        bottom: -80px;
    }
    60% {
        bottom: -50px;
    }
    65% {
        bottom: -80px;
    }
    70% {
        bottom: -50px;
    }
    75% {
        bottom: -80px;
    }
    80% {
        bottom: -50px;
    }
    85% {
        bottom: -80px;
    }
    90% {
        bottom: -50px;
    }
    95% {
        bottom: -80px;
    }
    100% {
      transform: translateX(calc(100vw + 755px));
      will-change: transform;
      bottom: -80px;
    }
}

@keyframes moveImageExtraSmall {
    5% {
        bottom: -30px;        
    }
    10% {
        bottom: -50px;        
    }
    15% {
        bottom: -30px;
    }
    20% {
        bottom: -50px;
    }
    25% {
        bottom: -30px;
    }
    30% {
        bottom: -50px;
    }
    35% {
        bottom: -30px;
    }
    40% {
        bottom: -50px;
    }
    45% {
        bottom: -30px;
    }
    50% {
        bottom: -50px;
    }
    55% {
        bottom: -30px;
    }
    60% {
        bottom: -50px;
    }
    65% {
        bottom: -30px;
    }
    70% {
        bottom: -50px;
    }
    75% {
        bottom: -30px;
    }
    80% {
        bottom: -50px;
    }
    85% {
        bottom: -30px;
    }
    90% {
        bottom: -50px;
    }
    95% {
        bottom: -30px;
    }
    100% {
      transform: translateX(calc(100vw + 755px));
      will-change: transform;
      bottom: -80px;
    }
}

.bg-primary {
  background-color: #ee0979 !important;
}

.btn-primary {
  background-color: #ee0979;
  border-color: #ee0979;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #bd0760 !important;
  border-color: #bd0760 !important;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(238, 9, 121, 0.5);
}

.btn-secondary {
  background-color: #ff6a00;
  border-color: #ff6a00;
}

.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
  background-color: #cc5500 !important;
  border-color: #cc5500 !important;
}

.btn-secondary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.5);
}


@media (min-width: 992px) {
  header.masthead {
    padding-top: calc(10rem + 55px);
    padding-bottom: 10rem;
  }
  header.masthead .masthead-content .masthead-heading {
    font-size: 6rem;
  }
  header.masthead .masthead-content .masthead-subheading {
    font-size: 4rem;
  }
  
}

@media (max-width: 600px) {
    .ani-img {
        width:100%;
        max-width:450px;
        position: absolute;
        animation: moveImageSmall linear 10s infinite;
        animation-direction: reverse;
        left: -755px;
        bottom: -80px;
    }
    h1 {
        font-size:2rem;
    }
    .display-4 {
        font-size:2.2rem;
    }
    .container.ani {
        padding-left:0;
        padding-right:0;
        margin-left:0;
        margin-right:0;
        max-width:100%;
    }
    .container.ani .row {
        margin-left:0;
        margin-right:0;        
    }
    .container.ani .row .col-12 {
        padding-left:0;
        padding-right:0;  
    }
}

@media (max-width: 450px) {
    .navbar-brand-text {
        display:none;
    }
}

@media (max-width: 400px) {
    .ani-img {
        width:100%;
        max-width:450px;
        position: absolute;
        animation: moveImageExtraSmall linear 10s infinite;
        animation-direction: reverse;
        left: -755px;
        bottom: -50px;
    }
    h1 {
        font-size:1.7rem;
    }
    .display-4 {
        font-size:2rem;
    }

}