/*
   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; */
}
/*   **********    BRICK WALL / MONITOR     **********   */

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

  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

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;

  /* 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 */
}



/*   **********    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;
}

/*   **********    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;
}

.logo-time {
    width: 17rem;
    background-color: #92cfaa;
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.logo-date {
    width: 25rem;
    color: #010101;
    font-size: 1.8rem;
    border: none;
}

.logo-date sup {
    
    vertical-align: text-top;
}

.logo-time p,
.logo-date p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.ampm {
    vertical-align: baseline;
    margin-left: 0.5rem;
}


/* 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;
    position: relative;
    overflow: hidden;
}

.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;
    position: relative;
}


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

.news-slide {
    display: flex;
}

.dc-news {
    width: 9.78rem;
    height: 15rem;
    margin-top: 3.0rem;
}

.top-news {
    width: 37rem;
    margin-top: 1.5rem;
    margin-left: 1.0rem;
}
.news-slide>img {
    width: 26rem;
    height: 15.0rem;
    margin-top: 2.0rem;
    margin-left: 2rem;
}

.slick-dots {
    bottom: 0.3rem;
}

.slick-dots li button:before {
    color: #92cfaa;
    font-size: 12px; 
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    color: #138162;
    font-size: 14px;
}

.mainline {
    font-family: "Oswald", sans-serif;
    font-size: 1.875rem;
    margin-top: 1rem;
    margin-left: 1rem;
}

.news-text {
    font-family: "lato", sans-serif;
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-left: 1rem;
    width: 37rem;
}

/* TICKER TAPE */
.marquee {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    overflow: hidden;
    font-size: 2rem;
    margin-left: 18.975rem;
    
}

#ticker-tape-container{
    width: 100%;
    height: 100%;
}

.meal {
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #0B8261;
    margin-left: 2rem;
    text-transform: uppercase;
}

.meals {
    font-family: "Oswald", sans-serif;
    font-weight: normal;
    font-size: 2.4rem;
    margin-right: 2rem;
}

.sep {
    margin: 0.1rem;
    color: #0B8261;
    font-weight: bold;
}


.dc-eats {
    position: relative;
    top: -98.5%;
    width: 18.5rem;
    height: 4.875rem;
}

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


#weather-container{
    display: flex;
    align-items: center;
    text-align: center;
    font-family: "Oswald", sans-serif;
    color: #fff;
    width: 100%;
    height: 100%;
    background-image: url("../images/weather_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.weather-item {
    width: calc(100% / 5);
    text-align: center;
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.weather-day {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

.weather-name {
    font-size: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: #fbb03a;
}

.weather-temp {
    font-size: 1.2rem;
    color: white;
    font-style: italic;
}


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

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

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