@import url('https://fonts.googleapis.com/css?family=Open+Sans:600');
@import url('https://fonts.googleapis.com/css?family=Roboto:700');
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
#footer a{
  color: #dee2e6;
}
#footer li i{
  color: #fff !important;
}

@media print {
  footer {
    break-after: always;
  }
}
#firstbannera{height:400px;}

@media (max-width:600px){
  #samuelphoto{width:180px;}
  #firstbannera{height: 330px;}
  .bannertext{
    font-size: 18px;}
#toolongCon{display: none;}

    .logohome{
      font-size:19px;}

}


#containershow {
  margin:0px;
  font-family:'Roboto';
  text-align:center;
  color:rgba(22, 20, 20, 0.7);
  text-transform: uppercase;
  font-size:36px;
  font-weight:bold;
  padding-top:100px; 
  padding-bottom: 100px; 
  position: relative;
  width:100%;
  bottom:45%;
  display:block;
}

#flip {
  height:50px;
  overflow:hidden;
}

#flip > div > div {
  color:#fff;
  padding:0;
  height:45px;
  margin-bottom:45px;
  display:inline-block;
}

#flip div:first-child {
  animation: show21 10s linear infinite;
}

#flip div div {
  background:#42c58a;
}
#flip div:first-child div {
  background:#4ec7f3;
}
#flip div:last-child div {
  background:#DC143C;
}

@keyframes show21 {
  0% {margin-top:-270px;}
  5% {margin-top:-180px;}
  33% {margin-top:-180px;}
  38% {margin-top:-90px;}
  66% {margin-top:-90px;}
  71% {margin-top:0px;}
  99.99% {margin-top:0px;}
  100% {margin-top:-270px;}
}


.text {
  position: relative;
    
 /*   width: 450px;
 /*   left: 40%;*/
    font-size: 170%;
    height: 40px;
    top: 200px;
    margin-top: -20px;
    /*margin-bottom: -20px;*/
  }
  
  p {
    display: inline-block;
    vertical-align: top;
    margin: 0;
  }
  
  .word {
    position: absolute;
    width: 220px;
    opacity: 0;
  }
  
  .letter {
    display: inline-block;
    position: relative;
   /* float: left;*/
    transform: translateZ(25px);
    transform-origin: 50% 50% 25px;
  }

.letter.out {
  transform: rotateX(90deg);
  transition: transform 0.32s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.letter.behind {
  transform: rotateX(-90deg);
}

.letter.in {
  transform: rotateX(0deg);
  transition: transform 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wisteria {
  color: #ad4478;
}

.belize {
  color: #2980b9;
}

.pomegranate {
  color: #c0392b;
}

.green {
  color: #16a085;
}

.midnight {
  color: #5b3ad4;
}

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
#footer .heading{margin-bottom:5px; font-size:1.2rem;}
body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
  font-family: Microsoft JhengHei;
  position: relative;
  font:bold;
  /*margin:0px;
  padding-left:0px ;
  padding-right:0px;*/
}
.slideanim {visibility:hidden;}
.slide {
  /* The name of the animation */
  animation-name: slide;
  -webkit-animation-name: slide;
  /* The duration of the animation */
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  /* Make the element visible */
  visibility: visible;
}

/* Go from 0% to 100% opacity (see-through) and specify the percentage from when to slide in the element along the Y-axis */
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}

.nav-link{
  font-size:17px;
  color: #ad4478;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.9);
}
label{color:var(--info);
  font: bold;
  font-size:x-large;
}
.carousel-caption {
  position: absolute;
  right: 15%;
  top: 80px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: center;
}

#copyright_year::before {
  content:  myFunction();
}
/*.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}*/
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


.border6 {
  border: 4px solid #dee2e6 !important;
  
}
/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

/*.carousel-control-prev{
  height: 60%;
}

.carousel-control-next{
  height:60%;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 3rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}

.blockquote-footer {
  display: block;
  font-size: 200%;
  color: #6c757d;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
@media(max-width:1000px){
  .navbar-dark .navbar-nav .nav-link {
  

    font-size: 16px;
    
  }

  }
  @media (max-width:800px){
    .text p {font-size:smaller;
    bottom:0px;}
    .text + p{font-size: smaller;}
  }