*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

body{
    background:#f5f5f5;
    color:#222;
}

.container{
    width:90%;
    max-width:90%;
    margin:auto;
}

/* Top Bar */

.top-bar{
    background:#0037ff;
    color:#fff;
    display:flex;
    align-items:center;
}

.top-bar span{
    background:#fff700;
    color:#000;
    font-weight:bold;
    padding:12px 20px;
}

.top-bar marquee{
    padding-left:20px;
}

/* Header */

header{
 
background: #d7eb00;
background: linear-gradient(90deg, rgba(215, 235, 0, 1) 0%, rgba(255, 255, 255, 1) 100%);
    /*background-image: url('https://static.vecteezy.com/ti/fotos-gratis/p2/6661845-ceu-azul-e-nuvem-branca-usar-como-fundo-o-ceu-e-brilhante-azul-com-nuvens-brancas-imagens-da-natureza-espalhadas-com-ceu-e-nuvens-perfeito-para-usar-como-papel-de-parede-banner-ou-fundo-gratis-foto.jpg');*/
    background-image: url('/img/topbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.menu {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
 
}
.logo h1{
    font-size:5rem;
    color:#0037ff;
    line-height:1;
}

.logo span{
    display:block;
}

.logo p{
    margin-top:15px;
    font-size:1.2rem;
}
 
.logo img {
        
        width: 500px;
    }
/* Menu */

nav{
    background:#000d32;
}

nav ul{
    list-style:none;
    display:flex;
    gap:30px;
    padding:20px 0;
}
nav ul li {
    z-index: 9999;
}
nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    z-index: 9999;
}

/* Main */

.main-grid{
    margin-top:30px;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:30px;
}

.hero{
    min-height:550px;
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center;
    border-radius:8px;
    display:flex;
    align-items:flex-end;
}

.hero-content{
    color:white;
    padding:40px;
    position: relative;
    
}

.tag{
    background:#fff700;
    color:#000;
    padding:8px 15px;
    font-weight:bold;
}

.hero h2{
    font-size:3rem;
    margin:20px 0;
}

.hero p{
    font-size:1.1rem;
    margin-bottom:20px;
}

.btn{
    background:#0037ff;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    display:inline-block;
}

/* Sidebar */

.newsletter,
.popular{
  
    padding:25px;
    border-radius:8px;
    margin-bottom:20px;
}

.newsletter{
    background:#fff700;
}

.newsletter input,
footer input{
    width:100%;
    padding:12px;
    margin-top:15px;
}

.newsletter button,
footer button{
    width:100%;
    padding:12px;
    border:none;
    background:#0037ff;
    color:white;
    font-weight:bold;
    margin-top:10px;
    cursor:pointer;
}

.popular ul{
    margin-top:15px;
}

.popular li{
    margin-bottom:15px;
    list-style:none;
    border-bottom:1px solid #ddd;
    padding-bottom:15px;
}

/* Sections */

.section{
    margin:60px auto;
}

.section-title{
    display:inline-block;
    background:#fff700;
    padding:10px 20px;
    margin-bottom:25px;
}

/* Cards */

.cards{
    display:flex;
    flex-wrap: wrap;

    margin: auto;
    gap:20px;
}
.cards.ads {
    display: grid;
    
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    max-width: 100%;
    grid-template-columns: repeat(4, 1fr);
    
}

.cards.ads .card {
    min-width: 300px;
    background-color: rgba(0, 0, 0, .5);
    transition: all .1s;
    border-radius: 10px;
    margin-bottom: 20px;
     
}

.card .bg {
 
    width: 100%;
    height: 150px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    
    
}

.cards.ads h3 {
    background: #000d32;
    color: white;
    border-radius: 10px;
}

.cards.news {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
   
}
 
.cards.news .card{
    height: 300px;
    width: 100%;
    flex: 1;
    max-width: 100%;
}

.cards.news h3 {
    background: rgba(255, 255, 255, .5);
}
.cards.news p {
    padding: .5em;
    margin-top: 10px;
    background: rgba(255, 255, 255, .5);
}
.card{
    background-position: center;
    background-size: cover;
    
 
    width: 200px; 
    
}
 

.card img{
    width:50%;
    height:120px;
    object-fit:cover;
}
.card .btn {
    position: absolute;
    bottom: 10px;
}

.card h3{
    padding:15px;
}

.card p{
    padding:0 15px 20px;
}

/* Opinião */

.opiniao{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.autor{
 
    padding:25px;
    text-align:center;
}

.autor img{
    width:90px;
    height:90px;
    border-radius:50%;
    margin-bottom:15px;
}

/* Footer */

footer{
    background:#0037ff;
    color:white;
    padding:50px 0;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

footer form{
    width:350px;
}

@media(max-width:900px){

    .main-grid{
        grid-template-columns:1fr;
    }

    .cards,
    .opiniao{
        grid-template-columns:1fr;
    }

    .footer-content{
        flex-direction:column;
    }

    .logo h1{
        font-size:3rem;
    }

}

.cards.news .btn {
    margin: 1em;
}

.news-section {
    width: 100%;
    max-width: 100%;
    
}
.news_wrapper {
    position: relative;
    min-height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #ccc;
    border-radius: 10px;
}
 /*Radio*/
 .player {
     display: flex;
     flex-direction: row;
     align-items: center;
     gap: 10px;
 }
 #player-btn {
     width: 30px;
     height: 30px;
     border: 1px solid #ccc;
     border-radius: 100%;
    background-color:white;
 
     background-position: center;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
 }
 #player-btn img {
     width: 80%;
 }
 .radio {
     z-index: 1000;
     width: 100%;
     max-width: 100%;
     gap: 5px;
     position: fixed;
     bottom:0;
     left: 0;
      
     background:rgba(0, 13, 50, .9);
     backdrop-filter: blur(5px);
     padding: .5em;
     display: flex;
 
     align-items: center;
     justify-content: space-around;
     color:white;
 }

 .radio audio {
     width: 200px;
 }
 .radio img {
     width: 100px;
     border-radius: 30px;
 }
 
 h1 {
    color: #555;
    font: bold 12px 'helvetica neue', helvetica, arial, sans-serif;
    left: 0;
    margin: 20px 0 0 0;
    position: absolute;
    top: 50%;
    text-align: center;
    width: 100%;   
}

#bars {
    height: 30px;
 
 position: relative;
    width: 40px;
}

.bar {
   background: #666;
    bottom: 1px;
    height: 3px;
    position: absolute;
    width: 3px;      
    animation: sound 0ms -800ms linear infinite alternate;
}

@keyframes sound {
    0% {
       opacity: .35;
        height: 3px; 
    }
    100% {
        opacity: 1;       
        height: 28px;        
    }
}

.bar:nth-child(1)  { left: 1px; animation-duration: 474ms; }
.bar:nth-child(2)  { left: 5px; animation-duration: 433ms; }
.bar:nth-child(3)  { left: 9px; animation-duration: 407ms; }
.bar:nth-child(4)  { left: 13px; animation-duration: 458ms; }
.bar:nth-child(5)  { left: 17px; animation-duration: 400ms; }
.bar:nth-child(6)  { left: 21px; animation-duration: 427ms; }
.bar:nth-child(7)  { left: 25px; animation-duration: 441ms; }
.bar:nth-child(8)  { left: 29px; animation-duration: 419ms; }
.bar:nth-child(9)  { left: 33px; animation-duration: 487ms; }
.bar:nth-child(10) { left: 37px; animation-duration: 442ms; }

 

  .clock {
        background: #000d32;
        width: 100%;
     gap: 10px;
     display: flex;
        top: 0;
        left: 0;
        padding: .5em;
        color: white;
        font-weight: bold;
    }
@media (max-width:700px) {
    .cards.news {
    grid-template-columns: repeat(1, 1fr);
    }
    .hero {
        width: 90%;
    }
    .cards.ads {
        width: 90%;
        display: flex ;
        flex-direction: column;
      
      
    }
    .cards.ads .card {
        width: 90%;
        
       
     }
    
    .logo img {
       
        width: 100%;
    }
}
