/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root{
    --primary-color: #254633;
    --secondary-color: #ecdbb3;
    --page-text-color: #1c3627;
}

/*General styles*/
.btn {
    border: 2px solid var(--page-text-color);
    background-color: var(--secondary-color);
    color: var(--page-text-color);
    font-weight: bold;
    font-size: 1.3rem;
    padding: 10px;
}

.btn:hover {
    border: 2px solid var(--secondary-color);
    background-color: var(--page-text-color);
    color: var(--secondary-color);
}

.logo {
    width: 4.5rem;
    border-radius: 5px;
}

.hero-image {
    width: 100%;
    height: 600px;
    position: relative;
}

.overlay {
    position: absolute;
    background-color: rgba(236, 219, 179, 0.5);
    text-align: start;
    top: 100px;
    width: 80%;
}

.hero-home-appointment {
    background: url("../images/hero-landing-page.jpg") no-repeat center center/cover;
}

.scale {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.active {
    color: black;
}

.btn-active {
    border: 2px solid var(--secondary-color);
    background-color: var(--page-text-color);
    color: var(--secondary-color);
}

.card {
    border: 2px solid var(--primary-color);
    background-color: var(--secondary-color);
    color: var(--page-text-color);
}

.higher-weight-text {
    font-weight: 500;
}

/* ↓↓↓ CREDIT: Stackoverflow.com ↓↓↓ */
.alert {
  -webkit-transition: opacity 0.5s ease-out, -webkit-transform 0.5s ease-out;
  transition: opacity 0.5s ease-out, -webkit-transform 0.5s ease-out;
  -o-transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out, -webkit-transform 0.5s ease-out;
  opacity: 1;
}

.alert.fade-out {
  opacity: 0;
  pointer-events: none;
}
/* ↑↑↑ CREDIT: Stackoverflow.com ↑↑↑ */

/*Navbar styles*/
nav {
    background-color: var(--primary-color);
}

.nav-link {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 20px;
}

nav>div>span>#logstatus {
    color: var(--secondary-color);
    font-weight: bold;
}
/*Main styles*/
main {
    background-color: var(--secondary-color);
    color: var(--page-text-color);
}

/*Footer styles*/
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

footer img.logo {
    margin: 10px auto;
}

#social-media>a>i {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 16px 10px;
}

/*TREATMENTS.HTML*/
#hero-treatments {
    background: url("../images/hero-image-treatments.jpg") no-repeat center center/cover;
}

/*GET-IN-TOUCH.HTML*/
#hero-contact {
    background: url("../images/hero-image-contact.jpg") no-repeat center center/cover;
}

#cinfo-container {
    border: 2px solid var(--primary-color);
    border-radius: 6px;
}

/*MY-APPOINTMENTS.HTML*/
.app-management {
    width: 228px;
}

.modal-content {
    background-color: var(--secondary-color);
    color: var(--page-text-color);
}

#cancelConfirm {
    color: rgb(184, 3, 3);
    border: 2px solid rgb(184, 3, 3);
}

#cancelConfirm:hover {
    background-color: rgb(184, 3, 3);
    color: var(--secondary-color);
}

/*MEDIA QUERIES*/
/*Media query: tablets and smaller (768px and up)*/
@media screen and (max-width: 768px) {
    /*General styles*/
    .card {
        width: 80%;
        margin-left: auto;
    }

    /*Footer*/
    footer {
        font-size: 0.7rem;
    }

    #social-media>a>i {
        font-size: 0.9rem;
    }

    /*MY-APPOINTMENTS.HTML*/
    .cancel-btn {
        margin-bottom: 10px;
    }
}

@media screen and (min-width: 621px){
    .cancel-btn {
        margin-bottom: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 891px){
    /*MY-APPOINTMENTS.HTML*/
    .cancel-btn {
        margin-bottom: 10px;
    }
}