/*   **********    SETUP OF DOCUMENT     **********     */

html,
body * {
  box-sizing: border-box;
}

html {
  font-size: 8px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Oswald", sans-serif;
  background-color: #ddd;
  background-image: url("../images/wall.jpg");
  background-size: cover;
  background-position: center;
}

/*   **********    MAIN ELEMENTS     **********     */

main {
  width: 120rem;
  height: 67.5rem;
  margin: 0 auto;
  margin-top: 10rem;
  color: #bbb;
}
.border {
  height: 500px;
  width: 120rem;
}
/*   **********    Container ELEMENTS     **********     */

.left-side {
  width: 42rem;
  height: 62.5rem;
  background-color: #bbb;
  color: #fff;
  float: left;
}

.right-side {
  width: 78rem;
  height: 62.5rem;
  background-color: #aaa;
  color: #fff;
  float: left;
}

.bottom {
  width: 120rem;
  height: 5rem;
  background-color: pink;
  color: #fff;
}

/*   **********    Content ELEMENTS     **********     */

.left-side-top {
  width: 46rem;
  height: 12.5rem;
  background-color: #ffffff;
  color: #fff;
  padding: 1rem;
  font-size: 3rem;
}

.logo {
  width: 15rem;
  height: auto;
  padding-top: 0.6rem;
  padding-left: 1rem;
  margin-left: 1rem;
}

.vl {
  border-left: 0.2rem solid green;
  height: 5rem;
  position: relative;
  left: 18rem;
  top: -5rem;
}

.sidetext {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  width: 17rem;
  height: auto;
  position: relative;
  left: 20rem;
  color: #3d2a2f;
  top: -9.5rem;
}

.left-side-middle {
  width: 42rem;
  height: 12.5rem;
  background-color: #0c99fe;
  color: #fff;
}

.left-side-bottom {
  width: 42rem;
  height: 37.5rem;
  background-color: #727272;
  color: #fff;
}

.right-side-img {
  width: 18.8rem;
  height: auto;
  float: left;
  /* position: absolute; */
}

.right-side-top {
  width: 78rem;
  height: 43.875rem;
  background-color: #ababab;
  color: #fff;
}

.right-side-bottom {
  width: 78rem;
  height: 18.625rem;
  background-color: #fafafa;
  color: #0a7a55;
}

/*   **********    LOGO and DATE TIME     **********     */

.date-time {
  text-align: center;
  /* font-family: "Lato", sans-serif; */
  font-weight: 900;
  font-size: 1.6rem;
  color: #ffffff;
  background-color: #0a7a55;
  width: 22rem;
  height: 3rem;
  position: relative;
  text-align: center;
  padding-top: 0.6rem;
  left: 18rem;
  top: -10.1rem;
}

.slider {
  font-size: 2.5rem;
  padding: 2rem;
  font-weight: 300;
}

.slick-dots {
  bottom: -9rem;
  left: 9rem;
}

.slick-dots li button:before {
  bottom: 0;
  opacity: 1;
  color: #007853;
}

.slick-dots li.slick-active button:before {
  bottom: 0;
  opacity: 1;
  color: #f34e08;
}

.date-only {
  /* font-family: "Lato", sans-serif; */
  font-weight: 900;
  font-size: 1.6rem;
  color: #007853;
  background-color: #8fcea9;
  padding-top: 0.6rem;
  width: 24rem;
  height: 3rem;
  position: relative;
  left: -2rem;
  top: -7.1rem;
  text-align: center;
  z-index: 1;
}
/* ********** TICKER TAPE ********** */

.ticker-transition {
  /* width: 20.0rem; */
  height: 5rem;
  line-height: 5rem;
  display: inline-block;
  white-space: nowrap;
  display: flex;
  gap: 3rem;
  flex: 0 0 auto;
  padding-right: 100%;
  box-sizing: content-box;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: ticker;
  animation-duration: 30s;
}

@keyframes swap {
  0%,
  50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}

.ticker-transition span {
  padding: 0.25rem 2rem;
}

.marquee {
  animation-delay: 15s;
}

.left-bottom {
  position: absolute;
  top: 72.5rem;
  z-index: 100;
  height: 5rem;
  width: 13.5rem;
  line-height: 5rem;
  background-color: #6e1c45;
  padding: 0 1rem;
  font-size: 300%;
  text-wrap: nowrap;
}
.ticker-wrapper {
  bottom: 0;
  width: 120rem;
  overflow: hidden;
  height: 5rem;
  background-color: #8fcea9;
  white-space: nowrap;
  color: #007853;
  /* padding-left: 30%;
        box-sizing: content-box; */
  line-height: 5rem;
  font-size: 200%;
}
/* @keyframes ticker {
            0% {transform: translate3d(0, 0, 0);}
            100% {transform: translate3d(-200%, 0, 0);}
            } */

.ticker {
  display: inline-block;
  margin-top: 5px;
  animation: marquee 20s linear infinite;
}

.item-collection-1 {
  position: relative;
  left: 0%;
  animation: swap 20s linear infinite;
}

.item {
  display: inline-block;
  padding: 0 1rem;
  font-size: 200%;
  color: black;
  font-weight: 800;
  /* font-family: sans-serif; */
  height: 5rem;
  line-height: 4rem;
}

/* Transition */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes swap {
  0%,
  50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}

/*   **********    WEATHER     **********     */

.left-side-middle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #6e1c46;
}

.weather-item:nth-child(even) {
  background-color: #6e1c46;
}

.weather-item {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  font-size: 1.5rem;
}

.weather-name {
  font-size: 1.5rem;
}

.weather-icon {
  width: 50%;
}

.weather-temp {
  font-size: 1.75rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* padding-inline: 0.75rem; */
}

.weather-temp img {
  width: 25%;
  margin-inline: 0.5rem;
}

.weather-temp span {
  display: block;
  width: 4rem;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
}

.weather-temp .high {
  background-image: url(../images/weather/high_bg.svg);
}

.weather-temp .low {
  background-image: url(../images/weather/low_bg.svg);
}

/*   **********    CLEAR CODE FOR FLOATS     **********     */

.clear-float {
  float: none;
  clear: both;
}

#youtube-iframe,
#motion-graphics-iframe {
  width: 100%;
  height: 100%;
}
