/*
   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: 14px; */
    /* font-size: 12px; */
}

body {
    background-image: url(../assets/images/brick_wall.jpg);
    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 {
    display: grid;
    grid-template-rows: 12.5rem 12.5rem 37.5rem;
}

.right-side {
    display: grid;
    grid-template-rows: 43.875rem 18.625rem;
}


/*   **********    Content ELEMENTS     **********     */
main>div>div,
.bottom {
    color: #ffffff;
    /* padding: 1.0rem; */
    font-size: 2.0rem;
    font-family: Oswald;
}

/* REMOVE CSS STYLE ABOVE BEFORE STYLING BELOW */

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

.left-side-middle {
    height: 12.5rem;
    width: 42rem;

}

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


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

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding img {
    position: static;
    width: 37rem;
    height: auto;
    padding: 0.5rem;
}

#timeDate {
    display: grid;
    grid-template-columns: 13.0rem 29.5rem;
    height: 4.2rem;
    width: auto;
    gap: .4rem;
}

#time {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3e2b2f;
}

#dateWeather {
    display: grid;
    grid-template-columns: 20.0rem 8.6rem;
}

#date {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #0f8261;
    padding-left: 1.5rem;
}

#weather {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f8261;
}

#weather img {
    height: 3.25rem;
    width: auto;
}

#time sup,
#dateWeather sup {
    font-size: 0.7em;
    vertical-align: super;
    margin-bottom: 0.313rem;
}

#date sup {
    margin: 0 0 .6rem .1rem;
}

#time sup {
    margin-left: .3rem;
}

.left-side-middle img {
    width: 4rem;
    height: 1.5rem;
}

.right-side-top img {
    width: 58.625rem;
    height: auto;
}

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

/* News */
/* News */
/* News */
.dc-news {
    width: 18.625rem;
    height: 18.625rem;
}

.dc-news img {
    width: 17.625rem;
    height: 18.625rem;
}

#news-slider {
    width: 59rem;
    height: auto;
    margin: 1.3rem auto auto -1rem;
}

.slick-slide {
    height: auto !important;
}

.head-line {
    color: #0f8261;
    font-size: 2.3rem;
    letter-spacing: .03rem;
    margin-bottom: 1.5rem;
}

.news-line {
    display: flex;
    gap: 2rem;
}

.news-line img {
    width: 14.625rem;
    height: 11.625rem;
}

.news-line p {
    font-family: Lato;
    font-size: 1.5rem;
    color: #3e2b2f;
    line-height: 2rem;
    font-weight: 400;
    margin-right: 1rem;
}

#news-slider .slick-dots {
    width: 13rem;
    left: 27rem;
    top: 13.4rem;
}

#news-slider .slick-dots li button::before {
    font-size: 1rem;
    color: #0f8261;
    opacity: 1;
}

#news-slider .slick-dots li.slick-active button::before {
    color: #3e2b2f;
}

#news-slider .slick-dots li {
    margin: 0 0.031rem;
    width: auto;
}


/* Ticker */
/* Ticker */
/* Ticker */
.bottom {
    grid-column: 1 / -1;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    box-shadow: inset 0 1.25rem 0.375rem -1.063rem #3e2b2f;
}

.dc-eat-logo {
    margin-top: .4rem;
    width: 7.5rem;
    flex-shrink: 0;
}

.dc-eat-logo img {
    padding: .5rem;
    width: 8rem;
}

.marquee {
    overflow: hidden;
    height: 100%;
}

#ticker-tape-container {
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0.4rem;
}

.meal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1rem;
    font-weight: 500;
    font-family: Lato;
    color: #e9fff9;
    background-color: #0f8261;
    border-radius: .4rem;
    margin-right: .4rem;
    text-transform: uppercase;
}

.meals {
    display: inline-flex;
    align-items: center;
    font-family: Lato;
    font-size: 1.8rem;
    font-weight: 400;
    color: #3e2b2f;
    margin-right: 3rem;
    height: 100%;
}

/* Weather pan */
/* Weather pan */
/* Weather pan */
#weather-container {
    background-color: #92d0aa;
    display: flex;
    align-items: center;
    color: #3e2b2f;
}

.weather-item {
    width: calc(100%/5);
    height: 100%;
    text-align: center;
    padding-top: .7rem;
}

.weather-item>img {
    height: 5rem;
    width: auto;
    margin-top: 0.7rem;
}

.weather-day {
    font-family: "oswald", sans-serif;
    font-size: 1.8rem;
}

.weather-name {
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    color: #3e2b2f;
    font-weight: 600;
    margin-top: 0.3rem;
}

.weather-temp {
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    padding-top: .7rem;
    font-weight: 600;
    letter-spacing: 0.031rem;
    color: #721B43;
}

.high-label,
.low-label {
    color: #721B43;
    font-weight: 600;
}

/* Targets the 2nd item */
.weather-item:nth-child(2),
.weather-item:nth-child(4) {
    background-color: #5bb67ea7;
}


/* Youtube */
.right-side-top {
    position: relative;
    overflow: hidden;
    background-color: #000;
}

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

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

