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

main {
  background-color: #000;
}

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

.left-side img{
    width: 41rem;
    padding: 0.7rem 0 0.6rem 2rem;
}

.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: #721b43;
    color:#fff;
}


.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;
}

#date-display {
    background-color: #006b44;
}

#time-display {
    background-color: #ffb81c;
}

.left-side-top {
    height: 12.5rem;
    background-color: #ffffff;
}

.left-side-middle {
    height: 12.5rem;
    background-color: #721b43;
    color:#fff;
}

.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;
}

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

.time-date-container {
    display: flex;
    font-size: 2rem;
    color: #fff;
    background-color: #90d5ac;
    height: 4rem;
    width: 100%;
    justify-content: space-between;
}

#date {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3e2b2f;
    height: auto;
    margin-right: 2rem;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
}

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

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

/* NEWS PANE */

.news-slide {
    display: flex;
}

.news-slide > img {
    width: 16.625rem;
    height: 16.625rem;
    margin:1rem;
}

.news-slide h1{
    font-family: "Oswald", sans-serif;
    color: #3e2b2f;
    font-weight: 500;
    margin-top: 3rem;
    font-size: 2rem;  
}

.news-slide h1 span{
    font-family: "Oswald", sans-serif;
    color:#0b8261;
}

.news-slide h2{
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    color:#0b8261;
    font-weight: 500;    
    margin-top:1rem;
    margin-bottom:1rem;
    font-size: 2rem;  
}

.news-slide p{
    font-size: 1.6rem;
}

.slick-dots {
    bottom: 1rem;
}

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

.slick-dots li button:before {
    color: #006b44 !important;
    content: '─' !important;
    font-size: 6rem !important;
    line-height:unset !important;
    height:unset !important;
    width:unset !important;
    
}

.slick-dots li{
    margin: 2rem !important;
}

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

/* TICKER */

.marquee {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    font-size: 1.6rem;
    margin-left: 10rem;
}

.meal {
    font-weight: bold;
    color: #721b43;
    font-weight: 700;
    background-color: #ffb600;
    padding:0.3rem;
    margin:0 0.5rem 0 2rem;
}

.dc-eats{
    background-color: #006b44;
    color: #fff;
    font-family: "Oswald", sans-serif;
    position: absolute;
    font-size: 2rem;
    height: 5rem;
    width: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#weather-container{
    display: flex;
    justify-content: center;
    text-align:center;
    font-family: "Oswald", sans-serif !important;
    align-items: center;
    font-size: 1.3rem;
}

#weather-container > div{
    width: calc(100%/5);
    display: flex;
    flex-direction: column;
    gap:0.5rem;
}

#picture img{
    width: 4.5rem;
    padding:0 !important;
}

#temperature{
    display: flex;
    justify-content: center;
    gap:1.3rem;
}

#name_of_day{
    font-size: 1.5rem;
}

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

#tv-wrapper {
  width: calc(120rem + 4rem);
  height: calc(67.5rem + 4rem);
  display: flex;
  justify-content: center;
  align-items: center;
  margin:0 auto;

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