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

@font-face {
    font-family: lato;
    src: url(../assets/font/Lato-Bold.ttf);
    font-weight: bold;
}

@font-face {
    font-family: oshwald;
    src: url(../assets/font/Oswald-Regular.ttf);
    font-weight: bold;
}

body {
    font-family: Roboto;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*   **********    MAIN ELEMENTS     **********     */

main {
    width: 120.0rem;
    height: 67.5rem;
    display: grid;
    grid-template-columns: 42.0rem 78.0rem;
    grid-template-rows: 62.5rem 5.0rem;
}

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

.left-side {
    display: grid;
    grid-template-rows: 12.5rem 12.5rem 37.5rem;
}

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

.bottom {
    height: 5rem;
    grid-column: 1 / -1;
    background-color: #fff;
    display: flex;
    align-items: center;
    background-image: url(../assets/image/footer-bg.png);
    background-repeat: no-repeat;
    background-position: center;

    background-size: 100% 100%;
}

    

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

main > div > div,
.bottom {
    padding: 1.0rem;
    font-size: 2.0rem;
}

#gsap-iframe {
    width: 42.0rem;
    height: 37.5rem;
  
}

/* REMOVE CSS STYLE ABOVE BEFORE STYLING BELOW */

.left-side-middle {
    padding: 0;
    height: 12.5rem;
    background-color: #ffffff;
}

.left-side-bottom {
    display: flex;
    padding: 0;
    height: 37.5rem;
    background-color: #fff;
}

.right-side-top {
    height: 43.875rem;
    background-color: #c9c6c6;
}

.right-side-bottom {
    padding: 0;
    height: 18.625rem;
    background-color: rgba(15, 130, 97, 0.1);
    overflow: hidden;
}

.logo-pane {
    background-color: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.logo-row {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    gap: 1rem;
}

.dc-logo {
    width: 13rem;
    margin: 0.61rem;
    margin-right: 2rem;
}

.faculty-text {
    margin-left: 2rem;
    font-family: oshwald;
    color: #0f8261;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.faculty-small {
    font-size: 1.5rem;
    font-weight: 500;
}

.faculty-big {
    font-size: 3rem;
    font-weight: 700;
}

/* TIME + DATE ROW */

.datetime-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

/* TIME BAR */

.time-bar {
    font-family: oshwald;
    height: 5.4rem;
    text-align: center;
    background-color: #721c43;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 1rem;
    clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%);
    
}

/* DATE BAR */

.date-bar {
    font-family: oshwald;
    height: 5.4rem;
    background-color: #0f8261;
    color: #fff;
    font-size: 2.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 4.5% 105%);
    display: flex;          /* make it a flex container */
    align-items: center;    /* vertical centering */
    justify-content: center; /* horizontal centering */
}

.date-bar sup {
    font-size: 1.2rem;       /* smaller than main date */
    vertical-align: super;    /* push it above baseline */
    margin-left: 0.1rem;      /* optional spacing */
}

.logo-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 1rem; /* spacing between logo and faculty */
    height: 100%;    /* full height of logo-row */
}

.logo-separator .rect-top {
    width: 0.25rem;       /* thickness of rectangle */
    height: 1rem;   /* shorter top rectangle */
    background-color: #3e2b2f; /* bar color */
    margin-bottom: 0.3rem;     /* gap between rectangles */
}

.logo-separator .rect-bottom {
    width: 0.25rem;       /* same thickness */
    height: 3rem;     /* longer bottom rectangle */
    background-color: #0f8261; 
}

.name {
    color: #0f8261;
   
   
}

.data {
    color: #6d6e71;

    
}

.divider {
    color: #721c43;
    margin-right: 0.2rem;
}

.marquee {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow: hidden;
   
    font-family: oswald;
    padding: 0;
    margin-left: 16rem;
}

.bottom {
    display: flex;
   
  
}

/* ---------------------- NEWS SLIDER ---------------------- */
/* ---------------------- NEWS SLIDER FIX ---------------------- */
.news-slide {
    position: relative;
    display: flex;

    width: 100%;
    height: 100%;
    flex-direction: row; /* Image on right, content on left */
    margin: 0; /* remove any default margin */
    padding: 0; /* remove padding from slider container */
}

.news-image {
    position: absolute;

    width: 35%;
    height: 100%;
    margin: 0; /* remove gap */
    padding: 0;
    position: relative; /* for absolute img if needed */
}

.news-image img {
 
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0; /* remove extra margin */
    padding: 0; /* remove extra padding */
}

.news-content {
    position: absolute;
    width: 65%;
    padding: 0 2rem; /* only horizontal padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin-left: 28rem;
    margin-top: -20rem; /* remove any gap */
    gap: 0.5rem;
}

/* Titles and text */
.news-content h2 {
    color: #0f8261;
    font-weight: bold;
    font-family: lato;
    font-size: 2.5rem;
  
    margin: 0 0 0.2rem 0; /* remove extra margin */
}

.news-content h3 {
    color: #0f8261;
    font-size: 2rem;
    font-weight: bold;
    font-family: lato;
    margin: 0 0 0.2rem 0;
}

.news-content p {
    color: #6d6e71;
    font-family: lato;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
}

/* Slick Dots as circles */
.slick-dots {
    display: flex !important;
    justify-content: center;
    margin-top: -6rem;
    margin-left: 25rem;
    gap: 1rem;
}

.slick-dots li button {
    width: 0.8rem;
    height: 0.8rem;
    padding: 0;
    border: none;
    background: none;
    font-size: 0;
    gap: 1rem;
}

/* Circle inside button */
.slick-dots li button::before {
    content: "";
    display: block;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: #0f8261;
    opacity: 0.4;
    margin: 0 auto;
    
}

.slick-dots li.slick-active button::before {
    opacity: 1;
}

/* WEATHER PANE */

/* WEATHER PANE */

#weather-container {
    display: flex;
    height: 100%;
    margin-top: 0.5rem;
    align-items: stretch;
    background-color: rgb(15, 130, 97, 0.8);
}

.weather-item {
    width: calc(100% / 5);
    height: 100%;
    text-align: center;
    padding: 1.5rem 0;
    background-color: transparent;
}

.weather-item:nth-child(2),
.weather-item:nth-child(4) {
   
    background-color: #0f8261;
    
}

.weather-item > img {
    height: 4rem;
    width: auto;
    position: relative;
    top: -0.6rem;
}

.weather-day {
    font-size: 1.8rem;
    font-family: "oswald";
    margin-bottom: 1rem;
    color: white;
    position: relative;
    top: -0.2rem;
}

.weather-name {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: "lato";

    color: white;
    position: relative;
    top: -0.2rem;
}

.weather-temp {
    font-size: 1.15rem;
    font-family: "oswald";
    color: white;
    margin-top: -0.2rem;
    position: relative;
    top: -0.2rem;
}

.right-side-top {
    position: relative;
    background-color: #000;
    overflow: hidden;
    pointer-events: none;
}

#youtube-iframe {
    position: absolute;
    width: 78.1rem;
    height: 60rem;
    top: -8rem;
    left: -0.1rem;
    pointer-events: none;
}

/*   **********    BRICK WALL / MONITOR     **********   */

body {
    background-image: url(../assets/image/brick_wall.jpg);
    width: 100%;
    height: 100%;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    pointer-events: none;
    overflow: hidden;
    min-height: 100vh;  
}
  
  main {
    background-color: #000;
  }
  
  /* 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 */
  }
  
  /* update size of screen based on browser width */ 
  @media screen and (max-width: 1919px) {
    html {
      font-size: calc(round(nearest, 0.7vw, 1px));
    }
  }
