@charset "utf8";

.conteiner-Notícias-Tech02 h2{

    margin-top: 4%;
}
.conteiner-Notícias-Tech{
    list-style: none;
}
.conteiner-Notícias-Tech li{
    padding-bottom: 13px;
    display: flex;
    justify-content: flex-end;
    
    
}
.conteiner-Notícias-Tech li a{
    text-decoration: none;
    color: white;
    background-color: #2c2c2c;
    padding: 15px;
    max-width: 200px;
    border-radius: 15px;
}
.conteiner-Notícias-Tech li a:hover{
    text-decoration: none;
    color: white;
    background-color: #1cd8d2b7;
    
}

.container {
    text-align: center;
    width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #4d4b4b30;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    margin-bottom: 50px;
}
.carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 10px;
}
.slides {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
    transition: 0.5s;
    position: relative;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}
.slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.buttons {
    margin-top: 15px;
}
button {
    padding: 12px 20px;
    cursor: pointer;
    border: none;
    background-color: #333;
    color: white;
    font-size: 16px;
    margin: 5px;
    border-radius: 5px;
    transition: 0.3s;
    width: 115px;
}
button:hover {
    background-color: #555;
}
.indicators {
    margin-top: 10px;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.active {
    background-color: #333;
}

.conteiner-news{
    text-align: center;
    margin-bottom: 4%;
   }
    .dark-mode {
        background-color: #1a1a1a;
        color: #fff;
    }
    .menu {
        display: flex;
        justify-content: space-around;
        background-color: #3d3d3d7e;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 1%;
    }
    .menu button {
        background: none;
        border: none;
        color: white;
        font-size: 16px;
        cursor: pointer;
    }
    .menu button:hover {
        text-decoration: underline;
    }
    .tabs {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    .tab-button {
        padding: 10px 15px;
        border: none;
        cursor: pointer;
        background-color: #474747c9;
        color: white;
        border-radius: 5px;
        transition: background 0.3s;
    }
    .tab-button:hover, .tab-button.active {
        background:  #1cd8d2db;
    }
    .news-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }
    .news-card {
        width: 300px;
        background-color: #3d3d3d36;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        cursor: pointer;
        position: relative;
    }
    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }
    .news-card img {
        width: 100%;
        border-radius: 8px;
    }
    .news-details {
        display: none;
        padding: 20px;
        background-color: #2f2f2f;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 90vh;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        text-align: left;
    }
    .news-details h2 {
        margin-top: 9px;
    }
    .close-button {
        background-color: #474747c9;
        color: white;
        border: none;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }
    .close-button:hover{
        background-color:#1cd8d2db ;
    }
 
    .conteiner-Notícias-Tech {
        background-color: #00000000;
        text-align: right;
        justify-content: right;
    }

    .toggle-mode {
        cursor: pointer;
        font-size: 18px;
        padding: 10px;
        background: none;
        border: none;
        color: var(--primary-color);
        transition: 0.3s;
    }

    .news-container {
        display: block;
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
    }

    .search-bar {
        width: 97.8%;
        padding: 10px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        background: var(--card-bg);
        color: var(--text-color);
        outline: none;
        margin-bottom: 20px;
        background-color: #4d4b4b51;
    }

    .news-item {
        background: var(--card-bg);
        padding: 15px;
        margin: 10px 0;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        transition:all 2s;
        transform: scale(1);
       
    }

    .news-item:hover {
        transition:all 1.5s;
        transform: translateY(-10px);
        
        
    }

    .news-title {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .news-description {
        font-size: 14px;
        color: var(--text-color);
        margin-bottom: 10px;
    }

    .news-link {
        display: inline-block;
        text-decoration: none;
        color: #1cd8d2ee;
        font-size: 14px;
        transition: 0.3s;
    }

    .news-link:hover {
        text-decoration: underline;
    }

    .favorite-btn {
        position: absolute;
        right: 10px;
        width: 10%;
        cursor: pointer;
        font-size: 18px;
        color: #1cd8d2d5;
        background: none;
        border: none;
        
    } 
   
    

    .load-more {
        background: #1cd8d2d5;
        padding: 10px;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
        margin-top: 20px;
        transition: 0.3s;
    }

    .load-more:hover {
        opacity: 0.8;
        
        background-color: #1cd8d2cf;
    }

    .skeleton {
        background: #333;
        height: 100px;
        margin: 10px 0;
        border-radius: 10px;
        animation: loading 1.5s infinite alternate;
    }

    @keyframes loading {
        0% { opacity: 0.5; }
        100% { opacity: 1; }
    }
    