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

body {
    font-family: "oswald", sans-serif;
    background-color: #000000;
    line-height: 2rem;
}
h2{
    font-size: 2rem;
}
p{
    font-size: 1.3rem;
    font-family: "lato", sans-serif;
font-weight: 400;
font-style: normal;
padding-top: 1rem;
   
}
/*   **********    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 {
    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     **********     */

main>div>div,
.bottom {
    color: #000;
    /* padding: 1.0rem; */
    font-size: 2.0rem;
}

/* REMOVE CSS STYLE ABOVE BEFORE STYLING BELOW */

.left-side-top {
    width: 70%;
    height: 12.5rem;
    background-color: #ffffff;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* margin: 27px; */
}

.time-s {
    width: 13rem;
    flex: 1;
    background-color: #6d1644;
    color: #ffffff;
    font-family: "oswald", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-s {
    width: 13rem;
    flex: 1;
    background-color: #7fcaa0;
    color: #077656;
    font-size: 2rem;
    font-family: "oswald", sans-serif;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* letter-spacing: 1px; */
line-height: 2.2rem;
}

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

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

.right-side-top {
    height: 43.875rem;
    background-color: #ABABAB;
}

.right-side-bottom {
    width:100%;
    height: 18.625rem;
    background-color: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    /* text-align: center; */
   gap: 2rem;
}
.news-image{
     width:24%;
}
.news-image img{
    width: 100%;
    height: 100%;
    /* object-fit: contain; or cover if you want full fill */
}


.right-side-bottom-rt {
    width:76%;
    height: 18.625rem;
    background-color: #ffffff;
    
}

#gsap-iframe {
     width: 100%;
     height: 100%;
}
#time .ampm {
  font-size: 1.375rem;   /* Smaller AM/PM */
  

  opacity: 0.8;
}
/* news */
.news-slide{
     display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    height: 100%;
}

.news-slide > img{

    /* width: 18.6rem; */
    height: 18.6rem;

}
.news-text{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* 🔥 vertical center */
   
}
.slick-dots{
    bottom: 1rem;
    left: -13rem;
}

.slick-dots li button:before{
    color: #347458;

}
.slick-dots li.slick-active button:before{
    color: 077656;

}

.marquee{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin-left:-2rem;
    overflow: hidden;
    background-color: #347458;
}
.meal{
    font-weight: bold;
    color: #efad42;
     padding-right: 1rem;
}
.meals{
      font-size: 1.6rem;
    font-family: "lato", sans-serif;
font-weight: 400;
    color: #ffffff;
    padding-right: 2rem;
   
}

#ticker-tape-container{
    display: flex;
    align-items: center;   /* vertical center */
    gap: 2rem;
    height: 100%;
}

/* FIX IMAGE SIZE */
.dc_menu{
    height: 100%;     /* match ticker height */
    width: auto;      /* let image control width */
    display: flex;
    align-items: center;
}

.dc_menu img{
    height: 100%;      /* scale nicely inside */
    width: auto;
    object-fit: contain;
}



/* weather */
#weather-container{
    display: flex;
    align-items: center;
    text-align: center;
    background-color: #077656;
    color: white;
    

}
.weather-item{
    width: calc(100% / 5);
     
     position: relative;
    
}

.weather-item:not(:last-child)::after{
   content: "";
   position:absolute;
   right:0;
   top:62%;
   transform: translateY(-50%);
   width: 0.0625rem;
   height:59%;
   opacity: 0.4;
   background-color: #89c5a1;
    
}
.weather-item> img{
    height: 4.3rem;
    width:auto;
   

}
.weather-day{
    font-size: 1.5rem;
    /* margin-bottom: 1rem; */
    background-color: #6d1644;
    padding: .8rem;
    z-index: 999;
}
.weather-name{
   font-size: 1.2rem;
   /* margin-bottom: 1rem; */
   font-family: "lato", sans-serif;
font-weight: 400;

}
.weather-temp{
   font-size: 1.2rem;
    font-family: "oswald", sans-serif;
    font-weight: 700;
   margin-bottom: 1rem;
}


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

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

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

body {
  background-image: url(../assets/images/brick_wall.jpg);
  background-size: cover;
  pointer-events: none;

  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  height: 100vh;            /* full viewport height */
  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 */
}

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