/* ================= BASE ================= */

body {
    margin: 0 0 0 20px;
    height: 1080px;
    background: url(../images/fondo.jpg) #1E325F;
    font-family: "Cuprum", Arial, sans-serif;
    color: #fff;
    overflow: hidden;
}

p { color: #fff; }

/* ================= FONT ================= */

@font-face {
    font-family: "Cuprum";
    src: url("https://themes.googleusercontent.com/static/fonts/cuprum/v4/dS-oM09uC7agWFnFSCUGievvDin1pK8aKteLpeZ5c0A.woff") format("woff");
}

/* ================= TOP ================= */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo {
    height: 80px;
}

.info {
    display: flex;
    align-items: center;
    gap: 40px;
}

#clock {
    font-size: 40px;
    font-weight: bold;
}

#date {
    font-size: 25px;
}

#weather {
    width: 200px;
    font-size: 25px;
}

/* ================= MAIN LAYOUT ================= */

.main {
    display: flex;
}

/* ================= VIDEO ================= */

.video {
   /* background: url(../images/fondo-video.png) no-repeat;*/
    width: 1280px;
    padding: 10px;
}

.video video {
    width: 100%;
    border-radius: 20px;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* ================= BOX GENERICI ================= */

#mainNews,
#box1,
#box2,
#box3 {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* ================= BOX GRANDE ================= */

#mainNews {
    width: 530px;
    height: 730px;
    margin-left: 10px;
}

/* ================= BOX PICCOLI ================= */

.bottom {
    display: flex;
    margin-top: 20px;
}

#box1,
#box2,
#box3 {
    flex: 1;
    height: 150px;
    margin: 0 10px;
}

/* ================= HEADER ================= */

.box-header {
    background: rgba(134, 194, 231, 0.25);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ================= CONTENUTO ================= */

.box-content {
    padding: 10px;
    height: calc(100% - 40px);
    overflow: hidden;
}

/* ================= TICKER ================= */

.ticker {
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease;
}

/* ================= NEWS ================= */

.news-item {
    margin-bottom: 20px;
    padding-right: 5px;
}


#mainNews .news-item {
    margin-bottom: 50px;
}

/* MAIN più grande */
#mainNews .news-title {
    font-size: 30px;
    line-height: 30px;
}

#mainNews .news-desc {
    font-size:22px;
}

/* BOX piccoli */
.news-title {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
}

.news-title a {
    color: #fff;
    text-decoration: none;
}

.news-title a:hover {
    color: #86C2E7;
}

#mainNews .news-desc {
    margin-top:20px;
}

.news-desc {
    font-size: 15px;
    opacity: 0.8;
    line-height: 22px;
}

/* ================= FIX LEGACY ================= */

.fw-branding {
    display: none;
}

font {
    color: #fff;
}