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

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

/*   **********    Container ELEMENTS     **********     */

.left-side img{
    width: 35rem;
    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: #fff;
    border-top:2px solid #006b44;
}

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

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

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

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

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

.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;
    background-color: #0f8261;
    height: 4rem;
    width: 100%;
    justify-content: space-between;
}

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

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

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


.news-slide {
    display: flex;
    gap:1rem;
    margin-right:4rem;
}

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

.news-slide h1{
    color:#721c43;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 2rem;
}

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

.news-slide p{
    color:#721c43;
    font-family: "Oswald", sans-serif;    
    font-size: 1.8rem;
}

.slick-dots {
    position: absolute;
    bottom: 25px !important;
    right: 0 !important;
    display: flex !important;
    z-index: 100 !important;
    flex-direction: column !important;
    width: 5% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    text-align: right !important;
}

.slick-dots li button:before {
    color: #79b29d !important;
    opacity:1 !important;
    font-size:13px !important;
}

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

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

.meal {
    font-weight: 800 !important;
    font-family: 'lato', sans-serif;
    color: #721c43;
    margin-left:0.3rem;
    text-transform: uppercase;
}

.border{
    background: #006b44;
    width: 51%;
    height: 0.3rem;
    position: absolute;
    z-index: 1;
    left: 36rem;
    top: 3rem;
}

.eats{
    background-color: #fdb614;
    color:#721c43;
    font-family: "Oswald", sans-serif;    
    font-weight: bold;
    position: absolute;
    width:10rem;
    padding: 1.4rem;
    text-align: center;
}

#weather-container{
    display:flex;
    justify-content: center;
    text-align:center;
    font-family: "Oswald", sans-serif;
    font-size:1.5rem; 
    color:#721c43;
}

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

#weather-container .item .icon img{
    width:4rem !important;
    padding:0 !important;
}

#weather-container .item .dayname{
    background-color: #721c43;
    padding: 3px 0;
    color: #fdb614 !important;
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

#weather-container .item .high-low{
    display: flex;
    gap:10px;
    justify-content: center;
}

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

.weather{
    margin: 0 0 0.8rem 0;
}

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