/* LIGHT THEME */
.bg-container {
    background-color: rgb(255, 235, 205);
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.bg-card {
    background-color:rgb(255, 228, 196) !important;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border 0.2s ease !important;
}

.bg-card-name {
    background-color:blanchedalmond;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.bg-table th,
.bg-table td {
    background-color: bisque;
    border: 1px solid rgb(153, 143, 132);
    padding: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease !important;
}

nav {
    border: 1px solid rgb(210, 188, 161);
    border-radius: 0 0 15px 15px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border 0.2s ease !important;
}

.btn-card {
    background-color: rgb(252, 149, 59);
    color: white;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.btn-card:hover {
    background-color: rgb(227, 130, 45);
    color: white;
}

.btn-card:active, .btn-card:focus {
    background-color: rgb(227, 130, 45) !important;
    color: white !important; 
    border: none;
    opacity: 1;
}

.short-line {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 70px;
    border: 1px solid rgb(0, 0, 0);
    margin-left: 09;
}

.link {
    color: rgb(76, 75, 71);
    text-decoration: none;
}

.link:hover {
    color: rgb(135, 133, 133);
}

.bg-input {
    background-color: bisque;
    border-color: rgb(210, 188, 161);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.3s ease;
}

.bg-input:focus {
    background-color: bisque;
    box-shadow: 0 0 0 0.2rem rgb(210, 188, 161);
    border-color: rgb(210, 188, 161);
}

.portfolio-card {
    background-color: rgb(242, 216, 186);
    transition: transform 0.5s ease, background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.link-portfolio {
    text-decoration: none;
    color: rgb(33, 37, 41);
}

/* DARK THEME */

.dark-theme .bg-container {
    background-color: rgb(18, 18, 18);
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dark-theme .bg-card {
    background-color:rgb(30, 30, 31) !important;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 0 20px rgba(189, 86, 245, 0.4) !important;
    border: 1px solid rgb(189, 86, 245, 0.3);
}

.dark-theme .btn-card {
    background-color: rgba(186, 57, 255, 0.3);
    color: white;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dark-theme .btn-card:hover {
    background-color: rgba(186, 57, 255, 0.6);
    color: white;
}

.dark-theme .btn-card:active, .dark-theme .btn-card:focus {
    background-color: rgba(186, 57, 255, 0.6) !important;
    color: white;
    border: none;
    opacity: 1;
}

.dark-theme .bg-table th,
.dark-theme .bg-table td {
    background-color: rgb(30, 30, 31);
    border: 1px solid rgb(189, 86, 245, 0.3);
    padding: 8px;
    color: rgb(233, 233, 233) !important;
    transition: background-color 0.2s ease, color 0.2s ease, border 0.2s ease !important;
}

.dark-theme nav {
    border: 1px solid rgb(189, 86, 245, 0.3);
    border-radius: 0 0 15px 15px;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border 0.2s ease !important;
}

.dark-theme .short-line {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 70px;
    border: 1px solid rgb(189, 86, 245);
    margin-left: 0;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dark-theme .text {
    color: rgb(233, 233, 233) !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.dark-theme .link {
    color: rgb(233, 233, 233);
    text-decoration: none;
    transition: color 0.2s ease !important;
}

.dark-theme .link:hover {
    color: rgb(181, 181, 181);
}

.dark-theme .bg-input {
    background-color: rgb(30, 30, 31);
    border-color: rgb(189, 86, 245, 0.3);
}

.dark-theme .bg-input:focus {
    background-color: rgb(30, 30, 31);
    box-shadow: 0 0 0 0.2rem rgb(189, 86, 245, 0.3);
    border-color: rgb(189, 86, 245, 0.1);
}

.dark-theme input, .dark-theme input::placeholder {
    color: rgb(233, 233, 233) !important;
}

.dark-theme .portfolio-card {
    background-color: rgb(34, 34, 34);
    color: rgb(233, 233, 233) !important;
    transition: transform 0.5s ease, background-color 0.2s ease, color 0.2s ease, border 0.2s ease;
    border: 1px solid rgb(189, 86, 245, 0.3);
}

.dark-theme .navbar-toggler {
    background-color: rgb(189, 86, 245, 0.5);
}

.dark-theme .navbar-toggler:focus {
    background-color: rgb(30, 30, 31);
    box-shadow: 0 0 0 0.2rem rgb(189, 86, 245, 0.3);
    border-color: rgb(189, 86, 245, 0.1);
    background-color: rgb(189, 86, 245, 0.5);
}

.link-portfolio {
    text-decoration: none;
    color: rgb(33, 37, 41);
}

/* OTHER */
.card-fix {
    width: 100%;
}

.required-text {
    color: tomato;
}

.container {
    padding-top: 60px;
}

.portfolio-card:hover {
    transform: scale(1.03);
}

.text {
    opacity: var(--bs-text-opacity, 1);
}

input::placeholder {
    transition: color 0.2s ease;
}

.responsive-img {
    max-width: 100%;
    height: auto;
}

.navbar-toggler:focus {
    transition: background-color 0.2s ease, box-shadow 0.3s ease;
}

.navbar-toggler {
    transition: background-color 0.2s ease;
}