/* Related to Dark-Mode functionality */

body {
    transition-property: background-color, color;
    transition-duration: 0.8s;
}

.dark-mode .text-muted {
    color: #a0a0a0 !important;;
}

.dark-mode {
    background-color: #2c3034;
    color: #f1f1f1;
}

.icon {
    color: #ffffff;
    padding: 8px 0;
    width: 16px;
}

.icon:hover {
    color: #ffc800;
}

/* Dropdown-Menu styling and functionality */

.dropdown-menu {
    background-color: #2c3034;
}

.dropdown-item {
    color: #f1f1f1;
}

.dropdown-item:hover {
    color: #f1f1f1;
    background-color: rgba(105, 105, 105, 0.2) !important;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* Section background settings */

section:nth-child(even) {
    background-color: rgba(105, 105, 105, 0.05);
}

/* Text display settings */

.text-justify {
    text-align: justify;
}

/* About section styling */

#about img {
    border-radius: 50%;
}

#about p {
    text-indent: 1em;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.5
}

/* Testimonials section styling */

#testimonials img {
    height: 70px;
    width: auto;
    margin-bottom: 10px;
}

.costumer-testimonial {
    background: rgba(164, 164, 164, 0.1);
    padding: 22px;
}

/* Contact section styling */

.contact .info {
    width: 100%;
}

.contact .info h4 {
    padding: 0 0 0 60px;
    margin-bottom: 5px;
}

.contact .info span {
    color: #ffc800;
}

.contact .info p {
    padding: 0 0 0 60px;
    margin-bottom: 0;
    color: #8f8f8f;

}

.contact .info .open-hours, .contact .info .email, .contact .info .phone {
    margin-top: 40px;
}

/* Blog type pages styling */

.blog-item,
.side-bar {
    background: rgba(164, 164, 164, 0.1);
}

.blog-item .h4 {
    margin: 0;
}

.blog-avatar {
    height: 70px;
    width: auto;
    border-radius: 50%;
}

/* Gallery styling */

.categorias a{
    margin: 5px;
}

.categorias a.active {
    background-color: #ffc800;
    padding-top: 9px;
    margin-left: 5px;
    color: white;
    border-radius: 4px;
}

.categorias  a:hover:not(.active) {
    background-color: #555;
    color: white;
    border-radius: 4px;
}

/* Misc */

.navbar-spacer {
    height: 3rem;
}

.portfolio-item .img-fluid,
.portfolio-modal .img-fluid,
.blog-item .img-fluid,
.carousel img {
    object-fit: cover;
    aspect-ratio: 2/1;
}