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

    font-family: 'lato', sans-serif;
    background-image: url(../images/brick_wall.jpg);
    background-size: cover;
    pointer-events: none; /* Stops user interaction */
}

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;
    background-color: #000;
}

.left-side img{
    width: 34rem;
    padding: 0.7rem 0;
}

.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: #721c43;
}


.branding-container {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #fff;
    height: 8.5rem;
    box-sizing: border-box;
    
}

.logo-img {
    width: auto;
}

.left-side-top {
    height: 12.5rem;
    background-color: #fff;    text-align: center;
}

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

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

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

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

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

.time-date-container {
    display: flex;
    font-size: 2rem;
    color: #fff;
    height: 4rem;
    width: 100%;
}

#date {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right:1rem;
    width: 30rem;
    height: auto;
    background-color: #006b44;
    font-family: "Oswald", sans-serif;
}

#time {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12rem;
    height: auto;
    background-color: #f04b23;
    font-family: "Oswald", sans-serif;
    color: #fff;
}

sup {
  font-size: 0.6em;
  margin-bottom: 1rem;
  vertical-align: super;
}

/* NEWS PANE */

.news-slide h2{
    color:#0a7954;
    font-family: "Oswald", sans-serif;
    margin-bottom:1rem;
    padding-bottom:1rem; 
    margin-top: 1rem;
    font-size: 2.2rem;
    border-bottom:2px solid #3e2b2f;
}

.news-slide p{
    font-size: 1.3rem;
    font-weight: 700 !important;
    line-height: 2rem;
    color:#3e2b2f;
}

.news-slide {
    display: flex;
    gap:1.5rem;
    padding-right:1.5rem;
}

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

.slick-dots {
    bottom: 2rem !important;
    left: -6rem  !important;
}

.slick-dots li button:before {
    color: #92d0aa !important;
    font-size: 1.2rem !important;
    opacity: 1 !important;
}

.slick-dots li.slick-active button:before {
    color: #0a7954 !important;
}

/* TICKER */

.marquee {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    color:#fff !important;
    font-family: "Oswald", sans-serif;
    margin-left: 13rem;
    font-size: 1.6rem;
}

.meal {
    font-weight: bold;
    color: #fdb614;
    text-transform: uppercase;
    margin-left:3rem;
}

.dc-news{
    position: absolute;
    width: 8rem;
    right: 1rem;
    bottom: 1rem;
}

.dc-eats{
    position: absolute;
    background-color: #fff;
    padding: 1rem;
}

.dc-eats img{
    width: 11rem;
}

#weather-container{
    display:flex;
}

.content{
    width:calc(100%/5);
    font-size: 1.4rem;
    text-align: center;
    font-family: "Oswald", sans-serif;
    color:#3e2b2f ;
    text-transform: uppercase;
}

.content:nth-child(odd) {
  background-color: #0a7954;
  color:#fff !important;
}


.icon{
    margin:4px 0;
}
.icon img{
    width: 5rem !important;
    padding: 0 !important;
}

.day{
    background-color: #fff;
    margin-top:0;
    padding: 0.3rem;
    margin-bottom:4px;
    color:#3e2b2f !important;
    font-size: 1.9rem;
}

.condition{
    font-size: 1.3rem;
}

.hl span{
    margin:0 8px;
}

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

#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 */
  margin:0 auto;
}

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