/*
   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(../assets/images/brick_wall.jpg);
    background-size: cover;
    pointer-events: none; /* Stops user interaction */
}

/*   **********    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: #ffffff;
    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;
    color:#731c43;
}

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

main > div > div, .bottom {
    color: #000;
    font-size: 2.0rem;
}
.left-side-top {
    height: 12.5rem;
    background-color: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.left-side-top img {
    width: 35rem;
    height: auto;
    object-fit: contain;
    padding: 1.0rem;
    margin-left: 3rem;  /* Move logo to the RIGHT */
    font-family: oswald;
}

.bar-wrapper {
    display: flex;
    width: 100%;
    height: 3.75rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #731c43;
}

.bar-left {
    width: 25%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#fff;
   
}

.bar-right {
    color:#fff;
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    margin-left: 2rem;
    padding-right: 1rem;
}

.bar-right::before {
    content: '';
    position: absolute;
    left: -1.875rem;
    top: 0;
    height: 100%;
    background-color: #731c43;
    z-index: 2;
}

.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: #0a7954;
    overflow: hidden;
    color:#fff;
}

#time{
    color: #fff;
    font-family: "Lato", sans-serif;
}

#date{
    color: #ffffff;
    font-family: "Lato", sans-serif;
}

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

/* NEWS PANE */

.news-slide {
    display: flex;
    gap:1rem;    
    margin-left: 30px;
}

.news-slide div > span{
    font-family: "Oswald", sans-serif !important;
    color:#fff;
    margin-top:1.5rem ;
    display: inline-block;
}

.news-slide h2{
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color:#fff;
    margin: 0.5rem 0;
}

.news-slide p{
    color:#fff;
    font-size: 1.5rem;
}

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

.slick-dots {
    bottom: 1rem;
}

.slick-dots{
    bottom: 2.5rem !important;
    left: -16rem !important;
}

.slick-dots li button:before {
    color: #fff !important;
    font-size: 15px !important;
}

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

/* TICKER */

.marquee {
    display: flex;
    font-size: 1.7rem;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow: hidden;
    margin-left: 17rem;
    color:#731c43;
    background-color: #fff;
    font-family: "Lato", sans-serif;
}

.meal {
    text-transform: uppercase;
    margin-left: 2rem;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
}

#ticker-tape-container .menu{
    position: absolute;
    color: #731c43;
    background-color: #92d0aa;
    height: 5rem;
    width: 17rem;
    display: flex;
    padding-left: 2rem;
    font-size: 2.3rem;
    align-items: center;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

#ticker-tape-container .menu span{
    display: block;
    margin-left: 0.3rem;
    position: relative;
    font-size: 1.2rem;
    top: 5px;
}

#weather-container{
    display: flex;
    justify-content: center;
    text-align: center;
    color:#721c43;
    font-weight: 600;
    text-transform: uppercase;
}

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

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

.temperature {
    display: flex;
    justify-content: center;
    gap:7px;
    font-size:14px;
}

.name{
    font-size: 9px;
    margin: 2px 0 5px 0;
}

.day{
    font-size: 14px;
    margin: 7px 0 2px 0;
}

.weather-icons{
    padding:0 !important;
    width:50px !important;
}

/* Youtube */

.right-side-top{
    position: relative;
    background-color: black;
    overflow: hidden;
}

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

}

#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: 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.7vw, 1px));
  }
}