/* reset selector */
* {
    margin: 0;
    padding: 0;
}





/* the styles for the elements */
html {
    background-color: #282828;
}

body {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    width: 98%;
    max-width: 960px;
    margin: 0 auto;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: #282828;
    
    
}

/* the styles for the header */
header {
    align-content: center;
    background-image: url("../images/headerbg.png");
    background-repeat: no-repeat;
    background-position: top;
}


header img {
	/*float: left;*/
}


header h2 {
    font-size: 370%;
    color: #3c54a5;
    text-shadow: 2px 2px 4px #000000;
}

header h3 {
    font-size: 130%;
    font-style: italic;
}

.shadow {
    text-shadow: 2px 2px 4px #800000;
}


/* hide the mobile menu */

#mobile_menu {
    display: none;
}


/* the styles for the nav */
#nav_menu ul{
    font-family: Arial, Helvetica, sans-serif;
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
}

#nav_menu li {
    float: left;
    width: 25%;
}

#nav_menu li a {
    display: block;
    text-align: center;
    padding: 1em 0 1em 0;
    text-decoration: none;
    background-color: #282828;
    color: white;
    font-weight: bold;
}

#nav_menu li a:hover {
    text-decoration: underline;
}

#nav_menu li a.current {
    color: cyan;
}


#nav_menu ul ul {
    display: none;
    position: absolute;
    width: 100%;
}

#nav_menu ul ul li {
    float: none;
}

#nav_menu ul li:hover > ul {
    display: block;
}

#nav_menu ul::after {
    content: "";
    display: block;
    clear: both;
}


/* the styles for the carousel 

.container {
  position: relative;
  width: 320px;
  margin: 100px auto 0 auto;
  perspective: 1000px;
}

.carousel {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; 
  animation: rotate360 60s infinite forwards linear;
}
.carousel__face { 
  position: absolute;
  width: 300px;
  height: 187px;
  top: 20px;
  left: 10px;
  right: 10px;
  background-size: cover;
  box-shadow:inset 0 0 0 2000px rgba(0,0,0,0.5);
  display: flex;
}

span {
  margin: auto;
  font-size: 2rem;
}


.carousel__face:nth-child(1) {
  background-image: url("https://images.pexels.com/photos/1141853/pexels-photo-1141853.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  transform: rotateY(  0deg) translateZ(430px); }
.carousel__face:nth-child(2) { 
  background-image: url("https://images.pexels.com/photos/1258865/pexels-photo-1258865.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
    transform: rotateY( 40deg) translateZ(430px); }
.carousel__face:nth-child(3) {
  background-image: url("https://images.pexels.com/photos/808466/pexels-photo-808466.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  transform: rotateY( 80deg) translateZ(430px); }
.carousel__face:nth-child(4) {
  background-image: url("https://images.pexels.com/photos/1394841/pexels-photo-1394841.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  transform: rotateY(120deg) translateZ(430px); }
.carousel__face:nth-child(5) { 
  background-image: url("https://images.pexels.com/photos/969679/pexels-photo-969679.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
 transform: rotateY(160deg) translateZ(430px); }
.carousel__face:nth-child(6) { 
  background-image: url("https://images.pexels.com/photos/1834400/pexels-photo-1834400.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
 transform: rotateY(200deg) translateZ(430px); }
.carousel__face:nth-child(7) { 
  background-image: url("https://images.pexels.com/photos/1415268/pexels-photo-1415268.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
 transform: rotateY(240deg) translateZ(430px); }
.carousel__face:nth-child(8) {
  background-image: url("https://images.pexels.com/photos/135018/pexels-photo-135018.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  transform: rotateY(280deg) translateZ(430px); }
.carousel__face:nth-child(9) {
  background-image: url("https://images.pexels.com/photos/1175135/pexels-photo-1175135.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260");
  transform: rotateY(320deg) translateZ(430px); }



@keyframes rotate360 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(-360deg);
  }

    */
    
    
    
    /* styles for carousel 2 
    
.wrapper{
  display: flex;
  max-width: 1200px;
  position: relative;
}
.wrapper i{
  top: 50%;
  height: 44px;
  width: 44px;
  color: #343F4F;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  text-align: center;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
}
.wrapper i:active{
  transform: translateY(-50%) scale(0.9);
}
.wrapper i:hover{
  background: #f2f2f2;
}
.wrapper i:first-child{
  left: -22px;
  display: none;
}
.wrapper i:last-child{
  right: -22px;
}
.wrapper .carousel{
  font-size: 0px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.carousel.dragging{
  cursor: grab;
  scroll-behavior: auto;
}
.carousel.dragging img{
  pointer-events: none;
}
.carousel img{
  height: 340px;
  object-fit: cover;
  user-select: none;
  margin-left: 14px;
  width: calc(100% / 3);
}
.carousel img:first-child{
  margin-left: 0px;
}

    */
    
    
/* carousel 3 */
    
.carousel {
  width: 100%;
  cursor: -webkit-grab;
  cursor: grab;
}
.carousel.dragging {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.carousel--wrap {
  white-space: nowrap;
}
.carousel--item {
  display: inline-block;
  width: 20vw;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.carousel--item figure {
  position: relative;
  z-index: 1;
  display: block;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.carousel--item figure img {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: middle;
  transform-origin: center;
}
.carousel--item h2 {
  position: absolute;
  z-index: 1;
  bottom: 1.8vw;
  font-size: 6vw;
  bottom: 1vw;
  color: #fff;
}
.carousel--progress {
    display: none;
  position: fixed;
  z-index: 2;
  pointer-events: none;
  bottom: 2vw;
  width: 20vw;
  left: 3vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.carousel--progress-bar {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: 0% 0%;
}










/* the styles for the section */
main {
	clear: left;
}

section {
    width: 61.625%;
    float: left;
    padding-right: 2.5%;
    padding-left: 2.5%;
    padding-bottom: 20px; 
    background-color: #c9c9c9;
    background-image: url("../images/sectionbg.png");
    background-repeat: no-repeat;
}

section h1 {
    font-size: 150%;
    padding-top: .5em;
    padding-bottom: .25em;
    margin: 0;
    
}

section h2 {
    font-size: 130%;
    padding-top: .5em;
    padding-bottom: .25em;
}

section p {
    padding-bottom: .5em;
}

section blockquote {
    padding-left: 2em;
    padding-right: 2em;
    font-style: italic;
}

section ul {
    padding-bottom: .25em;
    padding-left: 1.25em; 
    list-style-type: circle;
}

article {
    padding-top: .5em;
    padding-bottom: .5em;
    
}

article img {
    float: left;
    max-width: 100%;
    min-width: 150px;
    margin: 0;
    padding-right: 5px;
    padding-bottom: 5px;
}

article h2 {
    padding-top: 10px;
}

article h3 {
    padding-bottom: .25em;
    font-size: 105%;
}

dl {padding-top: 1em;
}

dt {font-weight: bold;
}

dd {padding-bottom: 1em;
}



/* the styles for the aside */

aside {
    
    color: white;
    width: 33.375%;
    float: left;
    
    background-color: #282828;
}

aside h2 {
    font-size: 130%;
    color: #ffffff;
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: 0;
}

aside h3 {
    font-size: 105%;
    padding-bottom: .25em;
}


aside p {
    font-size: 80%;
    padding-top: .4em;
    padding-left: 1.62em;
    padding-bottom: 0;
    padding-right: 1.75em;
}

aside img {
    margin-bottom: 0;
    padding-bottom: 0;
    width: 100%;
}


form {
    
    padding-top: 1.5em;
    padding-left: 1.4em;
}

input {
    padding-top: 1em;
    margin-top: 0;
    margin-bottom: .7em;
    color: 000000;
    background-color: #333333;
     z-index:99999;
}

textarea {
    color: #ffffff;
    background-color: #333333;
     z-index:99999;
}


#textBox{ 
    z-index:99999;
    background-color: #333333;
    color: #000000; 
}


button {
    padding: .5em;
    margin-top: 1em;
    background-color: #333333;
}


a:focus, a:hover {
} 





/* the styles for the footer */

footer {
    background-color: #000000;
    clear: both;
}

footer p {
    text-align: center;
    color: white;
    padding-top: 1em;
    padding-bottom: 1em;
}




/* media query for tablet */

@media only screen and (max-width: 959px) {
    section h1 {
        font-size: 135%;
    }
    
    section h2 {
        font-size: 120%;
    }
    
    aside h2 {
        font-size: 120%;
    }
}



/* media query for phone in landscape orientation */

@media only screen and (max-width: 767px) {
    header img {
	    float: none;
    }
    
    header {
        margin: auto;
        text-align: center;
    }
    
    section {
        float: none;
        width: 95%;
    }
    
    article img {
        max-width: 30%;
    }
    
    aside {
        float:none;
        padding-right: 2.5%;
        width: 95%;
    }
    
    aside div {
        column-count: 2;
    }
    
    #nav_menu {
        display: none;
    }
    
    #mobile_menu {
        display: block;
    }
    
    .slicknav_menu {
        background-color: #282828 !important;
    }
    
}

/* media query for phone in portrait orientation */

@media only screen and (max-width: 479px) {
    aside {font-size: 90%;
    }
}
