body {
    overflow: hidden;
    background-color: black;
    font-family: 'Myriad Pro Light';
    font-weight: normal;
    font-style: normal;
}

.wrapper {
    display: flex;
    flex-direction: row;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .0s;
    transition-property: opacity;
}

.carousel-item {
    background: url('/static/background.jpg');
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

.alert-message {
    font-size: 38px;
    color: white;
    text-align: center;
    padding: 100px;
}

.weather {
    flex-grow: 1;
}

.weather-card {
    color: white;
    text-align: center;
}

.weather-card h3 {
    font-size: 1.1vw;
}

.weather-card h4 {
    font-size: 1.9vw;
}

.sidebar {
    position: relative;
    flex-grow: 1;
    text-align: center;
    padding: 20px;
    width: 20vw;
    background-color: transparent !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

/* Removido elementos de fundo complexos que não funcionaram */
.sidebar-background,
.sidebar::before {
    display: none;
}

.logo-sidebar {
    width: 65% !important;
    height: auto;
    margin: 20px auto 40px auto;
    /* Aumentado margin-bottom e garantido margin-top */
    display: block;
}

.sidebar h2.org-name {
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-top: 1vw;
    margin-bottom: 2vw;
    font-size: 1.8vw;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.sidebar img {
    padding: 10px;
    align-content: center;
    width: 15vw;
}

.footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 12vw;
    /* Altura do rodapé */
    background: linear-gradient(to right, #001a33, #003366);
    /* Azul Marinho profundo */
    padding: 0 4vw;
    z-index: 10;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.datetime-container {
    color: white;
    text-align: left;
}

.datetime-container h1 {
    font-size: 5vw;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    font-family: 'Myriad Pro', sans-serif;
}

.datetime-container h2 {
    font-size: 2.2vw;
    font-weight: 400;
    margin: 0 0 0.5vw 0;
    font-family: 'Myriad Pro', sans-serif;
}

.weather-container {
    color: white;
}

.weather-text {
    line-height: 1.2;
}

.weather-city {
    font-size: 1.2vw;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.weather-temp {
    font-size: 3.5vw;
    font-weight: 700;
}

.weather-desc {
    font-size: 1.5vw;
    font-weight: 300;
    display: block;
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 2vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    color: white;
    font-size: 2vw;
    font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
}

.ticker-item {
    display: inline-block;
    padding: 0 1vw;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
        visibility: visible;
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

.weather-icon-main {
    width: 8vw;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* Removido estilos antigos para dar lugar ao novo rodapé fixo */
.datetime,
.weather-outer,
.weather {
    display: none;
}

.sidebar-inner {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
    height: 95%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinha o conteúdo no topo */
    background-color: rgba(0, 0, 0, 0.4);
    /* Fundo semi-transparente */
    backdrop-filter: blur(10px);
    /* Efeito Glass */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 10px;
}

.datetime {
    flex-grow: 1;
    background-color: black;
    padding: 40px 20px 80px 40px;
    /* Aumentado padding inferior para subir o relógio */
    width: 5vw;
}

.weather-card img {
    width: 6vw;
}

@font-face {
    font-family: 'Myriad Pro Light';
    src: url('fonts/MyriadPro-Light.woff2') format('woff2'),
        url('fonts/MyriadPro-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro Cond';
    src: url('fonts/MyriadPro-Cond.woff2') format('woff2'),
        url('fonts/MyriadPro-Cond.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro';
    src: url('fonts/MyriadPro-Regular.woff2') format('woff2'),
        url('fonts/MyriadPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Myriad Pro Semibold Cond';
    src: url('fonts/MyriadPro-SemiboldCond.woff2') format('woff2'),
        url('fonts/MyriadPro-SemiboldCond.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}