/*
   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 {
  background-image: url(../assests/brick_wall.jpg);
  font-family: "Lato", sans-serif;
  background-size: cover;
  pointer-events: none; /* Stops user interaction */
}

main {
  background-color: #000;
}

/*   **********    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: 11.5rem 13.5rem 37.5rem;
}

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

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

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

main > div > div, .bottom {
    color: #000;
    font-size: 2.0rem;
}
.left-side-top {
    height: 11.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;
    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;
}

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

.bar-right {
    background-color: #731c43;
    flex: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 1rem;
}

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

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

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

#time{
    color: #731c43;
    font-family: oswald;
}

#date{
    color: #ffffff;
    font-family: oswald;
}

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

/* NEWS PANE */

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

#dcnews{
    font-family: "Oswald", sans-serif !important;
    color:#0a7954;
    margin-top:1.5rem ;
        position: fixed;
    display: inline-block;
    left: 94.5rem;
}

#dcnews span{
    color:#3e2c2f;
}

.news-slide h2{
    font-family: "Oswald", sans-serif !important;
    color:#0a7954;
        margin: 4.5rem 0 0.5rem 0;
}

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

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

.slick-dots {
    bottom: 1rem;
}

.slick-dots{
    bottom: 1.5rem !important;
    left: -4.5rem !important;
}

.slick-dots li button:before {
    color: #93d0aa !important;
    font-size: 13px !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;
    margin-left: 17rem;
    color: #fff;
    font-family: "Oswald", sans-serif;
}

.meal {
    color: #fdb614;
    text-transform: uppercase;
    margin-left: 2rem;
}

#ticker-tape-container .menu{
    position: absolute;
    color: #fff;
    background-color: #731c43;
    height: 5rem;
    width: 17rem;
    border-radius: 0 5rem 5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: 700;
    font-family: "Oswald", sans-serif;
}

#ticker-tape-container .menu span{
    display: block;
    letter-spacing: 0.7rem;
    margin-left: 0.7rem;
}

#weather-container{
    display: flex;
}

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

#imgg{
    width: 45px  !important;
    padding:0 !important;
    margin: 5px 0 2px 0;
}

#high-low{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

#nameday{
    background-color:#118362;
    color:#fdb614;
    padding: 6px 0;
    font-size: 2rem;
}

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

#date sup{
    vertical-align: super;
  font-size: 0.6em;
}

#condition{
    
    margin-top: 0.3rem;
    font-size: 1.3rem;
}

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