/*
   Fixed-size web application
   Uses rem units for proportional scaling during development
   Layout is intentionally non-responsive
*/

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

html {
    /* FINAL SIZE FOR MAKING IT 1920x1080 */
    font-size: 16px;
    /* SIZE FOR DEVELOPMENT */
    /* comment below out for final submission */
    /* can change based on size needed */
    /* font-size: 11px; */
}

body {
    background-color: #000;
}

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

main {
    width: 120.0rem;
    height: 67.5rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 42.0rem 78.0rem;
    grid-template-rows: 62.5rem 5.0rem;
}

/*   **********    BRICK WALL / MONITOR     **********   */

body {
  background-image: url(../images/wall.jpg);
  background-size: cover;
  pointer-events: none; /* Stops user interaction */
}

main {
  background-color: #000;
}

/* Wrapper slightly larger than main to hold TV frame */
#tv-wrapper {
  width: calc(120rem + 4rem);
  height: calc(67.5rem + 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4% auto;

  /* TV frame border */
  border: 2rem solid #222; /* dark bezel */
  border-radius: 1rem;
  box-shadow:
    0 0 3rem rgba(0, 0, 0, 0.7), /* soft shadow for depth */ 
    inset 0 0 2rem rgba(255, 255, 255, 0.05); /* subtle sheen inside */

  background: linear-gradient(
    to top left,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0)
  ); /* small highlight */
  position: relative;
  pointer-events: none;
}

/* update size of screen based on browser width */
@media screen and (max-width: 1919px) {
  html {
    font-size: calc(round(nearest, 0.5vw, 1px));
  }
}

/*   **********    Container ELEMENTS     **********     */


/* LOGO PANE */
.left-side {
    background-color: #BBB;
    display: grid;
    grid-template-rows: 12.5rem 12.5rem 37.5rem;
}

.logo-top-pane {
    height: 8rem;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-top-pane img {
    width: 75%;
    display: block;
}

.logo-time-date {
    height: 4.5rem;
    display: flex;
    align-items: center;
    text-align: center;
    background-color: #fff;
}

.logo-time,
.logo-date {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Oswald", sans-serif;
}

sup{
    vertical-align: super;
    font-size: 1.75rem;
}

.logo-time {
    width: 20.8rem;
    background-color: #661d3f;
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.logo-date {
    width: 21.2rem;
    color: #661d3f;
    font-size: 2.5rem;
    border: 0.09375rem inset #661d3f;
}

.logo-time p,
.logo-date p {
    margin: 0;
}

.ampm {
    font-size: 1.75rem;
}


/* WEATHER PANE */

.right-side {
    background-color: #AAA;
    display: grid;
    grid-template-rows: 43.875rem 18.625rem;
}

/* AD PANE */

/*   **********    MOTION GRAPHIC ADs     **********     */

#gsap-iframe {
    width: 100%;
    height: 100%;
}

.bottom {
    grid-column: 1 / -1;
    background-color: #fff;
}

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

.left-side-top {
    height: 12.5rem;
    background-color: #bababa;
}

.left-side-middle {
    height: 12.5rem;
    background-color: #909090;
}

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

.right-side-top {
    height: 43.875rem;
    background-color: #bababa;
    overflow: hidden;
}

.right-side-bottom {
    height: 18.625rem;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}


/* NEWS PANE */
#news-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #3e2b2f;
}

.news-slide {
    display: flex;
}

.dc-news {
    width: 11.625rem;
    height: 19.375rem;
    /* position: absolute;
    left: 92rem;
    top: 45rem; */
}

.news-slide>img {
    width: 27.9375rem;
    height: 18.625rem;
}

.slick-dots {
    bottom: 0.1rem;
}

.slick-dots li button:before {
    color: #3e2b2f;
    background-color: #3e2b2f;
    content: "" !important;
    border-radius: 0;
    width: 0.5rem;
    height: 0.5rem;
}

.slick-dots li.slick-active button:before {
    color: #0B8261;
    width: 1rem;
    height: 0.6rem;
}

.headline {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    margin-top: 1rem;
    margin-left: 1rem;
    width: 36rem;
    line-height: 2.2rem;
    color:  #721B43;
}

.news-info {
    font-family: "lato", sans-serif;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-left: 1rem;
    width: 35rem;
    line-height: 1.65rem;
}

/* TICKER TAPE */
#ticker-tape-container{
    width: 100%;
    height: 100%;
}

.marquee {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    margin-left: 18.5rem;
}

.meal {
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    color: #0B8261;
}

.meals {
    font-family: "lato", sans-serif;
    font-weight: bold;
    font-size: 2.45rem;
    color: #3e2b2f;
}

.tt-arrows {
    margin-left: 2rem;
    margin-right: 2rem;
    height: 2rem;
}

.dc-eats {
    position: absolute;
    bottom: 0rem;
    width: 18.974rem;
    height: 5rem;
}


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

#weather-container{
    display: flex;
    align-items: center;
    text-align: center;
    background: #0B8261;
    font-family: "Oswald", sans-serif;
    color: #fff;
    overflow: hidden;
}

.weather-item{
    width: calc(100%/5);
    text-align: center;
}

.weather-item:not(.weather-item:last-child){
    border-right:dotted 0.15rem #fff;
}

.weather-item > img{
    height: 3.5rem;
    width: auto;
}

.weather-day{
    font-size: 1.7rem;
    margin-bottom: 1rem;
    background: #fff;
    text-align: center;
    padding: 0.8rem;
    color: #0B8261;
    border-radius: 0 0 1rem 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
}

.weather-name{
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 0.75rem;
}

.weather-temp{
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.hi-lo{
    font-weight: 500;
    font-size: 1.3rem;
}

/*   **********    YOUTUBE     **********     */

.right-side-top{
    position: relative;
    background-color: #000;
    overflow: hidden;
}

#youtube-iframe{
    position: absolute;
    width: 78.1rem;
    height: 60rem;
    top:-8rem;
    left: -0.1rem;
}