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

body {
    background-image: url(https://images.unsplash.com/photo-1556834047-1c1b85b13e23?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
  background-size: cover;
  pointer-events: none; /* Stops user interaction */
    font-family: "lato", sans-serif;
    background-color: #000;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

main {
    background-color: #000;
    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;
}
/* 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 */
}

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

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


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

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

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

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

/* LOGO PANE */
.left-side-top {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.0625rem;
}

.time-date-container {
    position: relative;
    height: 4rem;
    width: 100%;
    top: 0.0625rem;
    background-color: #fdb614;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.time-date-container img {
    height: 80%;
    width: auto;
    margin-left: 17.80rem;
}

#time {
    font-size: 2.7rem;
    font-weight: 600;
    position: absolute;
    color: #0a3d1f;
    left: 2.5rem;
}

#date {
    font-size: 1.8rem;
    position: absolute;
    left: 21rem;
    color: #0a3d1f;
}


/* WEATHER PANE */
.left-side-middle {
    height: 12.5rem;

}

#weather-container {
    display: flex;
    width: 100%;
    height: 16.875rem;
    overflow: hidden;
    background: #0e8f67;
}

.weather-items {
    flex: 1;
    padding: 0.375rem 0.5rem 0.625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* dark cards */
.weather-items:nth-child(odd) {
    color: #054525;
    background: #a7d3b0;
}



.weather-items:nth-child(even) .weather-day,
.weather-items:nth-child(even) .weather-name,
.weather-items:nth-child(even) .weather-temp {
    color: #c3f1da;
}


.weather-day {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.0625rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.weather-items img {
    width: 5.5rem;
    height: 3.625rem;
    object-fit: contain;
    margin-top: 0.3125rem;
    display: block;
}

.weather-name {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
     min-height: 1.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
}

.weather-temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    gap: 0.3rem;
}

.weather-labels {
    display: flex;
    gap: 1.625rem;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.9;
}

/* GSAP */
#gsap-iframe {
    width: 42rem;
    height: 37.5rem;
    
}

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

.right-side-top {
    height: 41.875rem;
    background-color: #ABABAB;
    object-fit: cover;
}

/* NEWS PANE */

.right-side-bottom {
    height: 20.625rem;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
}

.news-slide {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 18.625rem;
    background-color: #f8f8f8;
    overflow: hidden;
}

.news-copy {
    flex: 1;
    position: relative;
    padding: 2.1rem 3rem 3.2rem 8.8rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f8f8f8;
}

/* space for your bar image */
.news-copy::before {
    content: "";
    position: absolute;
    left: 6.5rem;
    top: 0;
    width: 1.8rem;
    height: 100%;
    background-size: contain;
}

.news-copy::after {
    content: "DC NEWS";
    position: absolute;
    left: 2.7rem;
    top: 0;
    height: 100%;
    width: 3.2rem;
    color: #0a3d1f;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-copy h2 {
    margin: 0 0 1.8rem 0;
    font-size: 2.45rem;
    font-weight: 400;
    line-height: 1.1;
    color: #0a3d1f;
}

.news-copy p {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.45;
    color: #4a3f3f;
    max-width: 46rem;
}

.news-slide>img {
    height: 15.8rem;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    margin: 1.4rem 1.6rem 0 0;
    align-self: flex-start;
    background: #ddd;
}


/* Ticker */

#ticker-tape-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 100%;
    background-color: #b0124b;
    padding: 0;
    z-index: 100;
}

.dc-eat-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 128%;
    max-width: 23.75rem;
  
}

.dc-eat-logo img {
    height: 75%;
    width: auto;
    object-fit: contain;
    display: block;
}

.marquee {
    flex-grow: 1;
    overflow: hidden;
    margin-left: -2.8125rem;
    height: 100%;
    margin-top: 2.5rem;
}

/* label blocks like BREAKFAST / LUNCH / DINNER */
.meal {
    align-items: center;
    justify-content: center;
    height: 3.2rem;
    width: 3.2rem;
    padding: 0 1.6rem;
    font-weight: 700;
    font-size: 1.9rem;
    color: #f4c51c;
    text-transform: uppercase;
}

/* meal description text */
.meals {
    align-items: center;
    font-size: 1.45rem;
    letter-spacing: 0.6px;
    font-weight: 400;
    color: #ffffff;
    height: 100%;
}


/* Youtube Pane */

.right-side-top {
    position: relative;
}

#youtube-iframe {
    width: 78.1rem;
    height: 44rem;
    top: -8rem;
    left: -0.1rem;
    pointer-events: none;
    
}