/*
Theme Name: CANA Theme
*/

@import url('https://fonts.googleapis.com/css2?family=Mali:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

:root {
    font-size: 16px;
    box-sizing: border-box;
    background-color: #c8c8c8;
    font-family: "Source Sans Pro", sans-serif;
    line-height: 1.5; 
    --main-color: #161D2D;
    --background-color: #c8c8c8;
    --secondary-color: #E38D48;
}
html, body {
    height:100%;
    flex-direction: column;
}
* {
    margin: 0;
    padding: 0; 
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Mali", cursive; 
}
  
a {
text-decoration: none;
color: var(--secondary-color);
}
input[type="button"],input[type="submit"] {
    background-color: var(--secondary-color);
    color: var(--main-color);
    padding-right: 1rem;
    padding-left: 1rem;
    border:0;
    font-size:1.1rem;
}
input[type="search"]{
    padding-right: 1rem;
    padding-top:.1rem;
    padding-left: 1rem;
    padding-bottom:.1rem;
}


.container {
    min-height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff; 
    display:flex;
    flex-direction: column;
}
.container header {
    display:flex;
    flex-direction: column;
}
#search-and-social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: .5rem; 
}
#login-prompt {
    /* flex:37%; */
    text-align: right;
    padding-right:2rem;
    
}
#login-prompt a {
    color: var(--main-color);
}
#searchbox {
    /* flex:37%; */
    text-align: right;
    padding-right:2rem;
}
#searchbox span.screen-reader-text {
    display:none;
}
#socialmedia {
    /* flex:15%; */
    text-align: right;
}
#socialmedia ul {
    list-style: none;
}
#socialmedia ul li {
    display:inline-block;
}

#title-and-main-nav {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding-left: 0;
    padding-bottom: .5rem;
    padding-right: .5rem;
    color: var(--main-color);
}
#title-and-main-nav a {
    text-decoration: none;
    font-weight: bold;
    color: var(--main-color);
}
#title-and-main-nav #logo {
    flex: 10%;
    position: relative; 
}
#title-and-main-nav #logo img {
    position: absolute;
    bottom: -50px;
    max-width: 100%;
    z-index: 1; 
}
#title-and-main-nav #title {
    flex: 47%; 
    padding-left:1rem;
}
#title-and-main-nav #title h1 {
    font-size: 1.2rem; 
}
#title-and-main-nav #main-nav {
    flex: 47%; 
}
#title-and-main-nav #main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
}
#title-and-main-nav #main-nav ul li {
    display: inline-block; 
    padding:.2rem;
}
#front-hero {
    background: cyan url("img/newBanner.jpg") no-repeat center center/cover;
    height: 30vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem; 
}
#front-hero img.mobile {
    display: none; 
}
#front-hero .truth, #front-hero .spirituality, #front-hero .occult, #front-hero .new-age {
    font-family: "Mali", cursive;
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
}

.post-article-header {
    background-color: var(--main-color);
    padding:1rem;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    color:#fff;
}

.post-article-title h2 {
    color:var(--secondary-color);
}
.post-article-author {
    flex:100;
}
.post-article-share {
    display:flex;
    flex-direction: row;
    width:100%;

    color:#000;
    background-color:#A7B0C2;
    align-items: center;
    padding-top:.5rem;
}
.post-article-share h4 {
    flex:50%;
    text-align: right;
}
.post-article-share ul {
    flex:50%;
    list-style-type: none;
}
.post-article-share li {
    display:inline-block;
}
.post-article-share img {
    vertical-align: center;
    height:30px;
    width:auto;
    object-fit: contain;
}
.post-article-content {
    padding:1rem;
}
.post-article-pic {
    float:left;
    margin:1rem;
}
/*------------------section card----------------*/
.card {
    display:flex;
    flex-direction: column;
}
.card .card-header {
    padding: .5rem 1rem;
    background-color: var(--secondary-color);
}
.card .card-header h2 {
    text-align: left;
}
.card .card-content {
    display:flex;
    flex-direction: column;
    padding:1rem;
}
.card .card-content .card-full-width {
    width:100%;
}
.card .card-content .card-two-part {
    display:flex;
    flex-direction: row;
}
.card .card-content .card-text {
    flex: 75%;
    padding-left: 1rem;
}

.card .card-picture {
    flex:25%;
}
.card .card-picture img {
    width: 100%;
    height: auto;
    object-fit: contain; 
}
.card .card-content .card-footer {
    text-align: right;
    padding-top: 1rem;

}
/*000000000000000000000000000000000000000000000*/
/*----------post-article-list-cards------------*/
.post-article-list-item {
    border:#000 2px solid;
    width:100%;
    margin-top:1rem;
    display:flex;
    flex-direction: column;
    
}
.item-header {
    color:#fff;
    background-color:var(--main-color);
    padding:.5rem;
    display:flex;
    flex-direction: row;
}
.item-title {
    flex:70%;
}
.item-author {
    flex:30%;
}
.item-content {
    padding:.5rem;
    display:flex;
    flex-direction: row;
}
.item-image {
    flex:10%;
}
.item-image img {
    max-width:100%;
    height:auto;
    object-fit: contain;
}
.item-excerpt {
    flex:70%;
    padding-left:1rem;
}
.item-button {
    flex:20%;
    text-align: right;
}
.btn {
    background-color: var(--secondary-color);
    color: var(--main-color);
    display: inline-block;
    text-decoration: none;
    padding-right: 1rem;
    padding-left: 1rem; 
    border-radius: 5px;
}

.btn:hover {
    background-color: var(--main-color);
    color:var(--secondary-color);
}
footer {
    width: 100%;
    margin-top:auto;
    display: flex;
    flex-direction: row;
    background-color: var(--main-color);
}
footer #contact, footer #all-links, footer #action {
    flex: 33%;
    padding: 1rem;
    color: #fff; 
}
footer #contact h4, footer #all-links h4, footer #action h4 {
    border-bottom: 3px #fff solid; 
}
footer #contact ul, footer #all-links ul, footer #action ul {
    list-style: none; 
}
.tags {
    font-weight: bold;
    font-size:1.1rem;
}
@media (max-width: 575.98px) {
    :root {
        font-size:1.1rem;
    }
    #title-and-main-nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0; 
        color: var(--main-color);
    }
    #title-and-main-nav #title {
        flex: 100%;
        width: 100%;
        text-align: center;
        background-color: var(--secondary-color);
        padding: .2rem; 
    }
    #title-and-main-nav #main-nav {
        flex: 100%;
        width: 100%;
        align-items: center; 
    }
    #title-and-main-nav #main-nav ul {
        padding: .2rem .5rem; 
    }
    
    #front-hero {
        justify-content: center;
        height: 10vh; 
    }
    
    #front-hero img.mobile {
        display: inline;
        width: auto;
        height: 100%;
        object-fit: contain;
    }
    
    .card .card-header h2 {
        text-align: center;
        font-size: .9rem;
    }


    .card .card-content .card-full-width {
        width:100%;
    }
    .card .card-content .card-two-part {
        flex-direction: column;
    }
    .card .card-content .card-text {
        flex: 100%;
        padding-left: 1rem;
    }
    .card .card-content .card-text h3 {
        text-align: center;
    }
    
    .card .card-picture {
        flex:100%;
    }
    .card .card-content .card-footer {
        text-align: center;
    }


    #front-hero .truth, #front-hero .spirituality, #front-hero .occult, #front-hero .new-age {
        display:none;
    }
    footer {
        flex-direction: column;
    }
    f#contact, #all-links, #action {
        flex: 100%;
        padding: 1rem;
        color: #fff; 
    }
   #contact h4, #all-links h4, footer #action h4 {
        text-align: center;
    }
    .item-header {
        color:#fff;
        background-color:var(--main-color);
        padding:.5rem;
        display:flex;
        flex-direction: column;
    }
    .item-title {
        flex:100%;
        text-align: center;
    }
    .item-author {
        flex:100%;
        text-align:center;
    }
    .item-content {
        flex-direction: column;
    }
    .item-image {
        flex:100%;
        text-align:center;
    }
    .item-image img {
        max-width:100%;
        height:auto;
        object-fit: contain;
    }
    .item-excerpt {
        flex:100%;
        padding:1rem;
        text-align:center;
    }
    .item-button {
        flex:100%;
        text-align: center;
    }
    .post-article-pic {
        float:none;
        margin:1rem;
        display:block;
        align-self: center;
    }
    

}
@media (max-width: 376px) {
    #title-and-main-nav #title h1 {
        font-size: 1rem;
    }
    #title-and-main-nav #main-nav ul {
        font-size: 1rem;
    }
    
    
}
@media print {
    :root {
        color:#000;
        
        font-size:14pt;
    }
    .container {
        page-break-after: always;
    }
    h1, h2, h3, h4, h5, h6 {
        
    }
    .container {
        max-height:9in;
    }
    #title-and-main-nav {
        display:none;
    }
    #search-and-social-media {
        display:none;
    }
    footer {
        display:none;
    }
    .post-article-header h2 {
        color:#000;
     
    }
    .post-article-share {
        display:none;
    }
    .post-article-author {
        color:#000;
    }
    .post-article-author a {
        color:#000;
    }
    .post-article-pic {
        display:none;
    }

}
