body {
    background-image: url(/images/IMG_4731-bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    font-size: 1.5rem;
	font-family: "Josefin Sans", sans-serif;
	padding-top: 4rem;
    margin: 0;
}
.wrap {
    display: inline-flex;
	
}
.head {
    text-align: center;
	margin: 0 auto;
}
.head img {
    max-width: 600px;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.main {
    padding: 2rem;
	width: 50%;
}
a {
    color: yellow;
    font-weight: bold;
}
a.button {
    background-color: #27549b;
    padding: 1rem 2rem 0.7rem;
    border-radius: 0.7rem;
    box-shadow: inset 0 0 8px 7px #4067a2;
    border: 3px solid #2858a4;
    text-decoration: none;
    color: #fbfb8b;
}
a.button:hover {
    background-color: #4772b5;
    box-shadow: inset 0 0 8px 7px #4c7dc7;
    color: yellow;
}
.signature {
	font-family: "Marck Script", cursive;
    position: relative;
    font-size: 2rem;
    z-index: -1;
}

.exclamation {
    position: absolute;
    transform: rotate(-24deg);
    left: 72%;
    top: -2rem;
}
figcaption {
    font-size: 0.95rem;
	font-family: "Arial", "Helvetica", sans-serif;
    font-style: italic;
}

.videos {
    width: 100%;
    display: inline-flex;
    text-align: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 2rem 0;
    margin: 2rem 0;
    background-color: #00000099;
}
.videos iframe {
	padding-bottom: 1rem; 
}

@media only screen and (max-width: 51rem) { 
	.wrap{ 
		display: block !important; 
	}
	.main { 
		width: 100%; 
	}
}
	
* { box-sizing: border-box; }


@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.ticker-wrap {
  
  position: fixed;
  top: 0;
  width: 100%;
  overflow: hidden;
  height: 4rem;
  background-color: rgba(40, 88, 163, 0.95); 
  padding-left: 100%;
  box-sizing: content-box;
}
  .ticker {

    display: inline-block;
    height: 4rem;
    line-height: 4rem;  
    white-space: nowrap;
    padding-right: 100%;
    box-sizing: content-box;

    -webkit-animation-iteration-count: infinite; 
            animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
   -webkit-animation-name: ticker;
           animation-name: ticker;
    -webkit-animation-duration: 20s;
            animation-duration: 20s;
}
    .ticker__item {

      display: inline-block;

      padding: 0 2rem;
      font-size: 2rem;
      color: white;   

    }


.slideshow--10-for-4 {
  position: relative;
  z-index: 1;
}

.slideshow--10-for-4 img {
  color: transparent;
  opacity: 0;
  z-index: 0;
  animation: slideshow__fade--10-for-4 40s linear infinite 0s;
  backface-visibility: hidden;
}

.slideshow--10-for-4 img:not(:first-child) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slideshow--10-for-4 img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow--10-for-4 img:nth-child(2) {
  animation-delay: 4s;
}

.slideshow--10-for-4 img:nth-child(3) {
  animation-delay: 8s;
}

.slideshow--10-for-4 img:nth-child(4) {
  animation-delay: 12s;
}

.slideshow--10-for-4 img:nth-child(5) {
  animation-delay: 16s;
}

.slideshow--10-for-4 img:nth-child(6) {
  animation-delay: 20s;
}

.slideshow--10-for-4 img:nth-child(7) {
  animation-delay: 24s;
}

.slideshow--10-for-4 img:nth-child(8) {
  animation-delay: 28s;
}

.slideshow--10-for-4 img:nth-child(9) {
  animation-delay: 32s;
}

.slideshow--10-for-4 img:nth-child(10) {
  animation-delay: 36s;
}

@keyframes slideshow__fade--10-for-4 {  
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  5.00% {
   opacity: 1;
   animation-timing-function: ease-out;
  }
  10.00% {
    opacity: 1;
  }
  15.00% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


.slideshow--16-for-3 {
  position: relative;
  z-index: 1;
}

.slideshow--16-for-3 img {
  color: transparent;
  opacity: 0;
  z-index: 0;
  animation: slideshow__fade--16-for-3 48s linear infinite 0s;
  backface-visibility: hidden;
}

.slideshow--16-for-3 img:not(:first-child) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slideshow--16-for-3 img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow--16-for-3 img:nth-child(2) {
  animation-delay: 3s;
}

.slideshow--16-for-3 img:nth-child(3) {
  animation-delay: 6s;
}

.slideshow--16-for-3 img:nth-child(4) {
  animation-delay: 9s;
}

.slideshow--16-for-3 img:nth-child(5) {
  animation-delay: 12s;
}

.slideshow--16-for-3 img:nth-child(6) {
  animation-delay: 15s;
}

.slideshow--16-for-3 img:nth-child(7) {
  animation-delay: 18s;
}

.slideshow--16-for-3 img:nth-child(8) {
  animation-delay: 21s;
}

.slideshow--16-for-3 img:nth-child(9) {
  animation-delay: 24s;
}

.slideshow--16-for-3 img:nth-child(10) {
  animation-delay: 27s;
}

.slideshow--16-for-3 img:nth-child(11) {
  animation-delay: 30s;
}

.slideshow--16-for-3 img:nth-child(12) {
  animation-delay: 33s;
}

.slideshow--16-for-3 img:nth-child(13) {
  animation-delay: 36s;
}

.slideshow--16-for-3 img:nth-child(14) {
  animation-delay: 39s;
}

.slideshow--16-for-3 img:nth-child(15) {
  animation-delay: 42s;
}

.slideshow--16-for-3 img:nth-child(16) {
  animation-delay: 45s;
}

@keyframes slideshow__fade--16-for-3 {  
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  3.13% {
   opacity: 1;
   animation-timing-function: ease-out;
  }
  6.25% {
    opacity: 1;
  }
  9.38% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

[class^="slideshow"] {
    padding: 2rem;
    background-color: #00000099;
    border-radius: 1rem;
}
[class^="slideshow"] img {
    margin: auto;
}