/* Prayer Times Clock Styles */

/* Font faces */
@font-face {
  font-family: BebasNeue;
  src: url('../fonts/BebasNeue.otf');
}

@font-face {
  font-family: CustomAriel;
  src: url('../fonts/ariblk.ttf');
}

/* Base styles */
body {
  background-repeat: repeat-y;
  background-size: cover;
  background-color: #cccccc;
  color: darkgoldenrod;
  min-width: 100%;
  min-height: 100%;
  overflow: hidden; /* Hide scrollbars */
  margin: 100px 0 0 0;
  font-family: BebasNeue, serif;
  line-height: 1;
}

/* Background images for different prayer times */
.lightBody-fajr {
  background-image: url('../images/fajr.png');
}

.lightBody-zhur {
  background-image: url('../images/zhur.png');
}

.lightBody-asr {
  background-image: url('../images/asr.png');
}

.lightBody-maghrib {
  background-image: url('../images/maghrib.png');
}

.lightBody-isha {
  background-image: url('../images/isha.png');
}

.normalBody {
  background-image: url('../images/bg.png');
}

* {
  height: auto;
  width: auto;
}

.myContainer {
  height: 100%;
}

.logo {
  text-align: center;
  margin: -8px;
  width: 100%;
  height: 150px;
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#time {
  text-align: center;
  font-size: 200px;
  font-weight: 900;
  margin: 20px auto 0px auto;
  width: 50%;
  padding: 0 0 20px 0;
  font-family: CustomAriel, serif;
  -webkit-text-stroke: 2px black;
}

.date {
  text-align: center;
  font-size: 30px;
  margin: auto;
  width: 70%;
  padding: 0 10px 10px 10px;
}

.card-deck-wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 0px;
  display: flex;
  flex-direction: row;
  padding: 0px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px;
  margin: 10px;
  flex: 1;
}

.card-block {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.card-title {
  font-size: 100px;
  height: 100px;
  margin: 0;
  color: darkgoldenrod;
  -webkit-text-stroke: 0.5px black;
  line-height: 1;
  display: block;
}

.card-text.start {
  font-size: 60px;
  margin: 20px 0px 40px 0px;
  color: darkgoldenrod;
  -webkit-text-stroke: 0.5px black;
  line-height: 1;
  display: block;
}

.card-text.jam {
  font-size: 140px;
  margin: 0 0 40px 0;
  color: darkgoldenrod;
  -webkit-text-stroke: 1px black;
  line-height: 1;
  display: block;
}

.announcements {
  height: 50px;
  width: 80%;
  margin: auto;
  overflow: hidden;
  position: relative;
  padding-bottom: 60px;
  margin-bottom: 20px;
}

.announcements div {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 60px;
  line-height: 50px;
  text-align: center;
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -moz-animation: scroll-left 2s linear infinite;
  -webkit-animation: scroll-left 2s linear infinite;
  animation: scroll-left 50s linear infinite;
}

@-moz-keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
  }
}

@-webkit-keyframes scroll-left {
  0% {
    -webkit-transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
  }
}

@keyframes scroll-left {
  0% {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.dark {
  opacity: 0.3;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
