html {
	height: 100%;
	  scroll-behavior: smooth;
}

body {
	color: #2e5182;
	background-color: #ebeced;
	height: 100%;
	font-family: sans-serif;
}

#main {
	margin-top: -6px;
	padding: 20px;
	width: 80%;
	height: 100%;
	max-width: 80em;
	margin: auto;
	min-width: 30em;
	
}
.topmenu {    
	width: 100%;
	display: contents;
	position: fixed;
}
#floor {
	background-color: red;
}

.headlogo {
	vertical-align: middle;
}

#menu li {
   display: inline;
   margin: 1em;
   font-size: 1.2em;
   font-weight: bold;
}

#menu li:hover { 
  color: rgb(236, 168, 0);
}
#menu li a { 
	color: inherit;
  	text-decoration: inherit;
}

#menu {
	float: right;
	margin-right: 0em;
	margin-top: 30px;
}

#home h1 {
	width: 100%;
}
#home h1 strong {
	color: white;
}

#home p {
	font-size: 0.8em;
}

#home {
	text-align: center;
	font-size: 3em;
	color: #2e5182;
	margin-top: -1em;
}


#emailImageWrapper {
	margin-top: 2em;
}
#footer {
	position: absolute;
	bottom: 10px;
	margin: auto;
	text-align: center;
	width: 80%;
	min-width: 38em;
	left: 5em;
	right: 5em;
	font-size: 0.7em;
}

@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}

.carousel * {
  box-sizing: border-box;
  scrollbar-color: transparent transparent;
  scrollbar-width: 0px; 
  outline: none;
}

.carousel *::-webkit-scrollbar {
  width: 0;
  outline: none;
}

.carousel *::-webkit-scrollbar-track {
  background: transparent;
  outline: none;
}

.carousel *::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
  outline: none;
}

.carousel * {
  -ms-overflow-style: none;
  outline: none;
}


.carousel  * ol, li {
  list-style: none;
  margin: 0;
  padding: 0;
  outline: none;
   scroll-margin-top: 14rem;

}

.carousel {
 position: relative; 
  /* padding-top: 40%; */
  height: 50%;
  margin-top: -1em;
  outline: none;

}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow : hidden;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  outline: none;
 scroll-margin-top: 14rem;

}


.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  top: 0;
  margin-left: 2em;
  margin-right: 2em;
 	scroll-margin-top: 14rem;
}
.carousel__slide:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
   scroll-margin-top: 14rem;

}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
  /*  animation-duration: 4s;
    animation-iteration-count: infinite; */
  }

/*  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  } */
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}




