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

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Lato:wght@400;700&display=swap');

/*   **********    CSS VARIABLES - DURHAM COLLEGE BRANDING     **********     */

:root {
    /* Fonts */
    --font-primary: 'Oswald', sans-serif;
    --font-heading: 'Lato', sans-serif;

    /* Durham College Brand Colors */
    --color-primary: #003d7a;
    /* Dark Blue */
    --color-secondary: #ffc400;
    /* Gold */
    --color-accent: #0B8261;
    /* Green */
    --color-dark: #1a1a1a;
    /* Dark Gray */
    --color-light: #f5f5f5;
    /* Light Gray */
    --color-white: #ffffff;
    /* White */
    --color-text: #000000;
    /* Black Text */

    /* Neutral Palette */
    --color-gray-light: #e8e8e8;
    --color-gray-medium: #999999;
    --color-gray-dark: #404040;
}

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

body {
    font-family: var(--font-primary);
    /* background-color: #fff; */
    background-image: url(../assets/brick_wall.jpg);
  background-size: cover;
  pointer-events: none; /* Stops user interaction */
  background-size: cover;
  pointer-events: none;

  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  height: 100vh;            /* full viewport height */
  margin: 0;
}

/*   **********    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: #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: var(--color-white);
    overflow: hidden;
}

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


.left-side-top {
    height: 12.5rem;
    background-color: #727272;
    background-size: cover;
}

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

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

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

.right-side-bottom {
    height: 18.625rem;
    width: 78rem;
    background-color: #ffffff;
    overflow: hidden;

    display: flex;
    flex-wrap: wrap;
}

#date {
    font-family: Oswald;
    font-weight: 400;
    font-style: normal;
    font-size: 1.625rem;
    /* leading-trim: NONE; */
    line-height: 147%;
    letter-spacing: normal;
    position: relative;
    left: 24rem;
    top: 0.8rem;
    color: #0B8261;
    /* text-align: center; */
}

.day-name {
    font-family: Oswald;
    font-weight: 700;
    font-style: Bold;
    font-size: 1.625rem;
    line-height: 147%;
    letter-spacing: 0%;
    text-align: center;

}

#time {
    font-family: Oswald;
    font-weight: 600;
    font-size: 2.5rem;
    /* leading-trim: NONE; */
    line-height: 100%;
    position: relative;
    left: 4rem;
    top: -1.8rem;
    color: #0B8261;
}

.logo {
    width: 12.0625rem;
    height: 4rem;
    position: relative;
    top: 2.5rem;
    left: 3.875rem;
    /* angle: 0 deg; */
    opacity: 1;

}

.faculty {
    /* width: 21.1875rem; */
    height: 4.3125rem;
    position: relative;
    top: -2.375rem;
    left: 24.75rem;
    /* angle: 0 deg; */
    opacity: 1;
    font-family: Oswald;
    font-weight: 700;
    font-style: Bold;
    font-size: 1.75rem;
    line-height: 2.7rem;
    letter-spacing: 0%;
    color: #0B8261;
}

.logo_top {
    background-image: url(../assets/logo_top.png);
    background-size: cover;
}

.logo_time {
    width: 42.125rem;
    height: 4.5rem;
    top: 8.625rem;
    /* angle: 0 deg; */
    opacity: 1;

    background-image: url(../assets/logo_time.png);
    background-size: cover;
}

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



/* news pane */
#news-slider {
    flex-grow: 1; 
    height: 15rem;
    width: 40rem;
}

.news-slide {
    display: flex;
    position: relative;
}

.news-slide>img {
    width: auto;
    /* height: 18.625rem; */
}

.news-main-image {
    width: 18.625rem;
    height: 18.625rem;
}

.news-overlay-image {
    z-index: 5;
    pointer-events: none;
}

.slick-dots {
    position: relative;
    bottom: 6rem;
    /* moves dots up */
    left: 30rem;
    transform: translateX(-50%);
    z-index: 1000;
    /* ensures dots stay above other elements */
    overflow: visible;
    font-size: 4rem;
}

.slick-dots li button:before {
    color: var(--color-accent);
}

.slick-dots li.slick-active button:before {
    color: #3E2B2F;
}

.marquee {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.meal {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-accent);
    font-size: 2rem;
}

.meals {
    font-family: var(--font-primary);
    font-weight: 500;
    color: #721B43;
    font-size: 2rem;
}

.sep {
    font-size: 0rem;
}

.ticker-image-fixed {
    position: absolute;
    height: 5.1rem;
    width: auto;
    z-index: 10;
}

.meal-icon{
    width: 2rem;
    margin-right: 1.2rem;
    margin-left: 1.2rem;
}

.marquee {
    margin-left: 3.75rem;
}

.news-container {
    display: flex;
}

.news_img {
    height: auto;
    width: auto;
}

.news-headline {
    font-family: var(--font-primary);
    font-size: 1.7rem;
    font-weight: 500;
    width: 50rem;
    position: absolute;
    top: 7rem;
    left: 25rem;
    color: var(--color-accent);
}

.news-content {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.5rem;
    position: absolute;
    line-height: 2rem;
    width: 48rem;
    top: 10rem;
    left: 25rem;
    color: #3E2B2F;
}

.slick-dots li button:before {
    font-size: 1rem;
}

.news-image-fixed {
    position: absolute;
    height: 5rem;
    left: 23rem;
    top: 1rem;
    z-index: -1;
}
#weather-container {
    display: flex;
    align-items: center;
}
.weather-item{
    width: calc(100%/5);
    text-align: center;
    padding: 1rem 0;
}
.weather-item:nth-child(1) {
    background-color: #721B43;
}
.weather-item:nth-child(2) {
    background-color: #803256;
}
.weather-item:nth-child(3) {
    background-color: #721B43;
}
.weather-item:nth-child(4) {
    background-color: #803256;
}
.weather-item:nth-child(5) {
    background-color: #721B43;
}
.weather-item > img {
    height: 3rem;
    width: 3rem;
    margin-bottom: 1rem;
}
.weather-day {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-white);
}
.weather-name {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--color-white);
    margin-bottom: 1rem;
}
.weather-temp {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--color-white);
}
.right-side-top{
    position: relative;
    background-color: #000;
    overflow: hidden;
   
}

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

#tv-wrapper {
    box-sizing: border-box;
    width: 124rem;
    height: 71.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2rem solid #222;
    border-radius: 1rem;
    box-shadow:
        0 0 3rem rgba(0, 0, 0, 0.7),
        inset 0 0 2rem rgba(255, 255, 255, 0.05);
    background: linear-gradient(
        to top left,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0)
    );
}