body {
	font-family: 'Open Sans', arial, sans-serif;
	color: $text-color;
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

p {
	margin-bottom: 15px;
	line-height: 1.5;
}

a {
	color: darken($color-primary, 5%);
	@include transition (all 0.4s ease-in-out);
	&:hover {
		text-decoration: underline;
		color: darken($color-primary, 10%);
	}
	&:active {
		text-decoration: none;
	}
	&:focus {
		text-decoration: none;
	}
}

.btn, a.btn {
	@include transition (all 0.4s ease-in-out);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	.fa {
		margin-right: 5px;
	}
	&:focus {
	    @include box-shadow(none);
    }

}

.btn-cta, a.btn-cta {
    font-weight: bold;
    font-size: 16px;
    padding: 10px 30px;
}

.btn-primary {
	background: $color-primary;
	border: 1px solid $color-primary;
	color: #fff;
	&:hover, &:focus, &:active, &.active, &.hover {
		background: darken($color-primary, 5%);
		color: #fff;
		border: 1px solid darken($color-primary, 5%);
	}

}

.btn-inverse {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid transparent;
	color: #fff;
	&:hover, &:focus, &:active, &.active, &.hover {
		background: rgba(0, 0, 0, 0.5);
		color: #fff;
		border: 1px solid transparent;
	}

}

.carousel-fade {
    .carousel-inner {
        .item {
            transition-property: opacity;
        }
        
        .item,
        .active.left,
        .active.right {
            opacity: 0;
        }

        .active,
        .next.left,
        .prev.right {
            opacity: 1;
        }

        .next,
        .prev,
        .active.left,
        .active.right {
            left: 0;
            transform: translate3d(0, 0, 0);
        }
    }

    .carousel-control {
        z-index: 2;
    }
}

.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
    z-index: 10;
    
    button[data-bs-target] {
        background-color: rgba(256, 256, 256, 0.4);
        border: none;
        width: 11px;
        height: 11px;
	    margin-left: 5px;
	    margin-right: 5px;
        @include border-radius(50%);
        &.active {
            background-color: $color-primary;
            width: 11px;
            height: 11px;
        }
    }
}
    
/* ======= Header ======= */
.header {
    position: fixed;
    width: 100%;
    z-index: 30;    
    height: 60px;
    @include transition (none);

    &.header-scrolled {
        background: #fff;
        @include box-shadow(0 0 4px rgba(0, 0, 0, 0.5));
        a {
            color: $text-color;
        }
        .logo {
            color: $color-primary;
            top: 0;
            
            &:focus {
	            color: $text-color;
            }
           
            .logo-icon-wrapper {
                background: $color-primary;
                width: 40px;
                height: 40px;
                @include border-radius(50%);
                text-align: center;
                
                
            }
            .logo-icon {
                width: 20px;
                height: 20px;
                margin-right: 0;
                
                
            }
        }
        .main-nav .nav .nav-link {
            color: $text-color-secondary;
            &:hover {
	            color: darken($text-color-secondary, 5%);
            }
        }
        .main-nav .nav .active .nav-link {
            color: $text-color;
            border-bottom: 4px solid $color-primary;
        }
    }
    a {
        color: #fff;
        @include transition (none);
        &:hover, &:focus {
            text-decoration: none;
            color: white;
        }
    }
    .logo {
        margin: 0;
        font-size: 28px;
        text-decoration: none;
        position: absolute;
        left: 1rem;
        top: 8px;
        &:focus {
	        color: white;
        }
        .logo-icon-wrapper {
            margin-right: 3px;
            position:relative;
            display: inline-block;
            top: -3px;
            line-height: 1.2;
        }
        
        .logo-icon {
            width: 30px;
            height: 30px;
        }
        .highlight {
            font-weight:800;
        }
    }
}


.main-nav {
    margin-top: 6px;
    .navbar-toggler {
        margin-right: 0;
        margin-top: 0;
        background: none;
        position: absolute;
        padding: 8px 10px;
        right:10px;
        top: 8px;
        background: rgba(0, 0, 0, 0.8);
        @include border-radius(2px);
        
        
        &:focus {
            outline: none;
        }
        .icon-bar {
	        display: block;
            background-color: #fff;
            height: 3px;
            width: 22px;
            @include border-radius(1px);
            & + .icon-bar {
	            margin-top: 4px;
	            
            }
        }
        &:hover {
            .icon-bar {
                background-color: #fff;
            }
        }
    }
    
    .nav {
        .nav-item{
            font-weight: normal;
            font-size: 14px;
            margin-right: 30px;
            
            .nav-link {
                color: rgba(256, 256, 256, 0.65);
                font-weight: 700;

                &:hover {  
                    color: #fff;   
                    background: none;         
                }
                &:focus {
                    outline: none;
                    background: none;
                }
                &:active {
                    outline: none;
                    background: none;
                }
            }    

            &:last-child {
                margin-right: 0;
            }
        }
        
        &.active .nav-link {
	        position: relative;
            background: none;
            color: #fff;
        }

        
    }
}

.nav>li>a {
    padding-left: 5px;
    padding-right: 5px;
}

.nav-link {
	padding: 15px;
}

/* ====== Footer ====== */
.footer {
    background: darken($text-color, 15%);
    color: rgba(256, 256, 256, 0.6);
    padding: 15px 0;
    a {
        color: $color-primary;
    }
    .fa-heart {
        color: $color-pink;
    }
}



