.card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.card-title {
    font-size: 1rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.card-img-top {
    object-fit: cover;
    height: 200px;
    width: 100%;
}

/* Estilo do Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    border-radius: 50%;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: yellow;
}

input:checked+.slider:before {
    transform: translateX(24px);
    background-color: black;
}

/* Estilo para o modo escuro */
.dark-mode {
    background-color: #121212;
    color: white;
}

.dark-mode .navbar {
    background-color: #333 !important;
    color: white !important;
}

.dark-mode .navbar .navbar-brand {
    color: yellow !important;
}

.dark-mode .nav-link {
    color: yellow !important;
}

.dark-mode .card {
    background-color: #333;
    border-color: yellow;
}

.dark-mode .btn-dark {
    background-color: #555;
    border: none;
}

.cabecalho {
    background-color: #F6CD01;
}

.nav-link {
    color: #F6CD01 !important;
    font-weight: 500;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 200px;
    height: auto;
    margin-left: 235px;
}

.logo-ad img {
    max-width: 300px;
    height: auto;
}

@media (max-width: 768px) {
    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        max-width: 150px;
        height: auto;
        margin-left: 2px;
    }

    .logo-ad img {
        max-width: 200px;
        height: auto;
    }
}
