/* BODY */
body {
    background-color: rgb(254, 248, 250);
}

/* REMOVE PADDING AND NEGATIVE MARGINS FROM CONTAINER TO MAKE IT FIT THE SCREEN  */

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

/* THIS IS A CLAUDE AI FIX FOR HORIZONTAL JIGGLE -  IT REMOVES THE NEGATIVE MARGINS FROM THE NESTED COLUMNS - CHECK FOR OVERWRITES */
.container-fluid>.row {
    margin-left: 0;
    margin-right: 0;
}

.container-fluid>.row>[class*="col-"] {  /* [class*="col-"]: This is an attribute selector. It selects elements whose class attribute contains the string "col-".
                                             The asterisk (*) means "contains" in this context.*/
    padding-left: 0;
    padding-right: 0;
}

h2 {
    font-size: 1.4rem;
    font-weight: 200;
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    font-weight: 100;
    text-align: center;
    line-height: 30px;
}

/* ------------------------ */


/* NAV */


#logo {
    height: 65px
}

.navbox {
    position: fixed;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

#menubtn {
    height: 50px;
    width: 50px;
}

.navbar-toggler {
    padding: 0;
}


/* PAD NAV LINKS */
.navbar-nav .nav-link {
    padding: 15px
}

/* JUMBOTRON */

.bpsky {
    background-image: url(../images/jess-loiterton-people-on-sea-under-blue-and-pink-sky.jpg);
    background-size: cover;
    background-position: center -100px;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

.jumbotron {
    margin-bottom: 10px;
    margin-top: 65px
        /*MAKE JUMBOTRON SIT JUST ON EDGE OF NAVBAR*/
}

/* EMOTION SECTION */

.card {
    border: none;

}
.emotions {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 1600px;
    /* CENTER CONTENT */
    margin-left: auto;
    margin-right: auto
}

/* EMOTION CARDS */

.card {
    margin-bottom: 50px;
    box-shadow: 0 5px 9px 0 rgba(59, 59, 59, 0.2);
    background-color: #95cfd945;
}

.card-text {
    text-align: center;
    margin: 0 10px 10px 10px;
    font-size: 0.9rem;
}

/* CARD IMAGE WRAPPERS */

.imgwrapper {
    height: 346.05px;
    overflow: hidden;

}

.imgwrapper img {
    object-fit: cover;
    height: 100%;
}


/* COPING STATEGIES */

.cope {
    padding-bottom: 0 !important;
}

/* IMAGE TRACK   --- I replaced the carousel with this paralax image track i found a video about online. https://codepen.io/Hyperplexed/full/MWXBRBp */

.image-track-container {
    position: relative;
    width: 100%;
    height: 70vh;
    touch-action: none;
    overflow: hidden;
    margin: 2rem 0;
    
}

#image-track {
    display: flex;
    gap: 4vmin;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(0%, -50%);
    user-select: none;
    width: max-content;
    touch-action: pan-x;
    cursor: grab;
}

#image-track:active {
    cursor: grabbing;
}

.image-container {
    position: relative;
    width: 80vw;
    height: 60vh;
}

.image-container .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% center;
    pointer-events: none;
}

.image-text {
    position: absolute;
    color: rgb(255, 255, 255);
    padding-right: 20px;
    font-size: 0.8rem !important;
    font-weight: 200;
    line-height: 15px;
    text-align: left;
    pointer-events: none;
    z-index: 10;
    width: 70%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
/* AI fix for aligning vertically with position absolute */
    top: 50%;
    transform: translateY(-50%); /*shift the text block up by half its own height to centre it*/
}


.grabtab {
    font-size: 2rem;
}


/* MINDFULLNESS CENTER */

.tabnav li a {
    color: #77a7af
}

.nav-tabs .nav-link.active {
    background-color: #95cfd945;

}



.mindfulness h4 {
    font-size: 1.5rem;
    font-weight: 200;
    text-align: center;
}

.mindfulness h5 {
    font-size: 1.3rem;
    font-weight: 200;
    text-align: center;
}

.mindfulness p {
    font-size: 1rem;
    font-weight: 100;
    text-align: center;
}

/* TABS */

#resources btn-link {
    color: black;
}



/* FOOTER */
.footer {
    box-shadow: 3px 3px 6px 0 rgba(59, 59, 59, 0.2);
}

/* RESOURCES */



.fa-brands {
    font-size: 1.2rem;


}

.footer-text {
    font-size: 1rem;
}

.column1 {
    width: 50%
}



/* FORM */

.form-format {
    height: 700px;
    width: 100%;
}







/* MEDIA QUERY FOR TABLETS AND ABOVE */

@media screen and (min-width: 768px) {

    .image-container {
        width: 40vmin;
        height: 56vmin;
    }

    .image-text {
        font-size: 0.8rem;
        width: 80%;
    }



@media (min-width: 1200px) {
    .image-text {
        font-size: 1rem;
        width: 70%;
    }
}

}