/*
   Fixed-size web application
   Uses rem units for proportional scaling during development
   Layout is intentionally non-responsive
*/

html {
    /* FINAL SIZE FOR MAKING IT 1920x1080 */
    font-size: 16px;
}

body {

    font-family: 'lato', sans-serif;
    background-image: url(../images/brick_wall.jpg);
    background-size: cover;
    pointer-events: none; /*Stops user interaction */
        display: flex;
    height: 100vh;
    align-items: center;
}


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: 36rem;
    padding: 0.7rem 0 0.6rem 2rem;
}

.left-side {
    background-color: #BBB;
    display: grid;
    grid-template-rows: 11.5rem 13.5rem 37.5rem;
    overflow:hidden;
}

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

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

.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: #0f8261;

}

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

.left-side-middle {
    height: 13.5rem;
    background-color: #fdb614;
}

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

.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%;
    background-color: #006b44;

}

#date {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    justify-content: start;
    width: 100%;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    padding-left:1rem;
}

#time {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16rem;
    height: auto;
    background-color: #721b43;
    color: #fff;
    font-family: "Oswald", sans-serif;
    border-radius: 1rem 0 0 1rem;
}

sup {
  margin-bottom: 1rem;
  font-size:0.9rem;
  vertical-align: super;
    text-transform: uppercase;
}

/* NEWS PANE */

.news-slide {
    display: flex;
    gap:2rem;
    padding-left:2rem;
}

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

.news-slide h2{
    font-size: 2.3rem;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    color:#0f8261;
    margin:2rem 0 1rem 0; 
}

.news-slide p{
    color: #721c43 !important;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.slick-dots {
    bottom: 2rem !important;
    left: -15rem !important;
    width:50rem !important;
}

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

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

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

/* TICKER */

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

.meal {
    font-weight: bold;
    color: #fdb614;
    margin:0 0.3rem 0 3rem;
}

.news{
    position: absolute;
    bottom: 2.5rem;
    left: 40rem;
    width: 6rem;
    z-index: 1;
}

.dceats{
    background-color: #721b43;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-weight: bold;
    position: absolute;
    width: 12rem;
    border-radius: 0 3rem 3rem 0;
    font-size: 2.3rem;
    height: 5rem;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

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

#weather-container > div{
    width: 8.4rem;
}

#weather-container > div:nth-child(-n+4){
    border-right:1.5px solid #fff !important;
}

#weather-container .icons img{
    width: 4.5rem;
    padding:0 !important;
}

.weather{
    font-size: 1.5rem;
}

.temperature{
    display: flex;
    justify-content: center;
    margin-top: 3px;
    font-size: 1.5rem;
}

.temperature > div p{
    font-family: 'lato', sans-serif !important;
    font-size: 1.2rem;
    margin-top: 0.4rem;
}

.icons{
    margin: 0.3rem 0 0.4rem 0;
}

.nameoftheday{
    background-color: #d58f29;
    font-size: 1.7rem;
    color: #fff;
    padding: 0.4rem 0;
}

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