/*
   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(../images/rose-red.jpg);
  background-size: cover;
  pointer-events: none; /* Stops user interaction */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

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

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

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


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

main > div > div, .bottom {
    font-size: 2.0rem;
}
/* REMOVE CSS STYLE ABOVE BEFORE STYLING BELOW */


/*Logo Pane*/
.left-side-top {
  height: 12.5rem;
}

.header {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* top header row */
.top {
  display: grid;
  grid-template-columns: 15rem 0.1875rem 2.8125rem 1fr;
  align-items: center;
  height: 100%;
}

/* logo */
.dc {
  display: flex;
  justify-content: center;
}

.dc img {
  width: 90%;
  max-width: 340px;
  margin-left: 2rem;
  height: auto;
  display: block;
}

/* vertical divider */
.divider {
  width: 0.1875rem;
  margin-left: 5rem;
  height: 78%;
  background-color: #111;
  justify-self: center;
}

/* MAD vertical */
.mad {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 900;
  font-size: 3.2rem;
  margin-left: 6rem;
  line-height: 1;
  color: #0b7f59;
  font-family: "Oswald", sans-serif;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* title */
.title {
  display: flex;
  align-items: center;
}

.title h1 {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.3;
  margin-left: 5rem;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  color: #000;
}


/* BOTTOM COLOR BAR */
.timestamp{
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 5.5rem;
  margin-top: 0.625rem;    
}

/* time block */
#timeText{
  background: #721B43;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* date block */
#dateText{
  background: #10bc8b;
  color: #fff;
  font-size: 3rem;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}


/*Weather Pane*/
.left-side-middle {
    height: 12.5rem;
}

/*GSAP Motion Graphic Ads Pane*/

.left-side-bottom{
  height: 37.5rem;
  position: relative;
  overflow: hidden;
}

#gsap-iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

section {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

/* AD 1 ANIMATIONS */
#screen1 {
    background-color: #255748;
    opacity: 1;
}

/* AD 1 ANIMATIONS */
#screen2 {
    background-color: #FFB600;
}

/* AD 1 ANIMATIONS */
#screen3 {
    background-color: #90D5AC;
}


/*GSAP Motion Graphic Ads Pane*/


/*Youtube Pane*/
.right-side-top {
    height: 43.875rem;
    background-color: #7ADAA5;
}
/*Youtube Pane*/


/* News Pane */
.right-side-bottom {
    height: 18.625rem;
    background-color: #f3f3f3;
    overflow: hidden;
    position: relative;
    padding: 0.75rem 1rem;
    box-sizing: border-box;
}

#news-slider{
    width: 100%;
    height: 100%;
}

.news-item{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
}

/* top section */
.news-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    width: 31.25rem;
}

.news-brand h1{
    margin: 0;
    font-family: "Oswald", sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    color: #111;
    font-weight: 700;
}

.brand-line{
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.35rem;
}

.black-line{
    width: 4rem;
    height: 0.5rem;
    background: #111;
    display: block;
}

.green-line{
    width: 8.5rem;
    height: 0.5rem;
    background: #3f8a6d;
    display: block;
}

.news-dots{
    display: flex;
    gap: 0.45rem;
    margin-top: 0.2rem;
    z-index: 2;
}

.news-dots span{
    width: 0.9rem;
    height: 0.9rem;
    background: white;
    border-radius: 50%;
    display: block;
}


/* content section */
.news-slide{
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 2;
    margin-top: 0.75rem;
    flex-direction: row-reverse;
}

.news-slide > img {
    width: 18rem;
    height: 18rem;
    object-fit: cover;
    display: block;
    border-radius: 0.2rem;
    flex-shrink: 0;
    margin-top: -6.1875rem;
}

.news-text{
    flex: 1;
    min-width: 0;
}

.news-text h2{
    margin: 0 0 0.50rem 0;
    font-family: "Oswald", sans-serif;
    font-size: 3rem;
    font-weight: 200;
    color: #2f8a71;
    line-height: 1.15;
}

.news-text p{
    margin: 0;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.35;
    color: #111;
}

/* slick dots */
.slick-dots{
  bottom: 0.2rem;
}

.slick-dots li button:before{
  color: #999;
  font-size: 1rem;
}

.slick-dots li.slick-active button:before{
  color: #3f8a6d;
}


/* TICKER */

/*Ticker Tape Pane*/
.bottom {
    grid-column: 1 / -1;
    background-color: #255748;
}

/* left logo area */
.ticker-left{
    background: #fff;
    height: 100%;
    width: 10%;
    font-weight: 900;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0 0.5rem;
}

/* DC part */
.greendc{
    color: #255748;
    font-size: 3rem;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    margin-left: 0.3125rem;
}

.eats{
    font-size: 3rem;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    color: #111;
}

/* MENU vertical */
.menu{
    font-size: 1.2rem;
    margin-left: -0.5625rem;
    font-family: "Oswald", sans-serif;
    font-weight: 600;
    transform: rotate(-90deg);
}

/* ticker area */

/* scrolling text */
.marquee{
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#ticker-content{
    margin-top: -4.5rem;
    margin-left: 12rem;
}

.meal{
    color: #FFB600;
    font-weight: 900;
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
}

.set-menu{
    display: inline-flex;   
    align-items: center;   
    gap: 0.5rem;
}

.meal-icon{
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.meals{ 
    align-items: center;   
    color: white;
    font-family: "Inter", sans-serif;
    padding-right: 3.125rem;
}

.sep{
  color: #90D5AC;
  font-size: 2.5rem;  
}

/* =============================
============WEATHER============*/

#weather-container{
  display: flex;
  align-items: center;
}

.weather-item{
  width: calc(100%/5);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.weather-item:nth-child(1){
  background-color: #085841; 
}

.weather-item:nth-child(2){
  background-color: #0B8261; 
}

.weather-item:nth-child(3){
  background-color: #085841; 
}

.weather-item:nth-child(4){
  background-color: #0B8261; 
}

.weather-item:nth-child(5){
  background-color: #085841; 
}

.weather-item > img {
  width: 60%;
}

.weather-day {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
  /*color: #ffe7aa;*/
  font-weight: 900;
  font-family: "Oswald", sans-serif;
}

.weather-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 100;
  font-family: "Oswald", sans-serif;
}

.weather-temp{
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1rem;
}

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