* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;

}

*:focus {
    outline: none;
}

body {
    font-family: "Visby Round CF";
    overflow-x: hidden;
}

.notHomeIcon
{
    margin-top: -48px !important;
    
}

.notHomeLinks
{
    margin-top: 10px !important;
}

.posts-container
{
    margin-bottom: 50px;
}

.p-header
{
    transition: all 0.3s ease-in-out;
    position: fixed;
    width: 100%;
    display: flex;
    padding: 0.5vh 5vh;
    height: 8vh;
    z-index: 1;
    background: rgb(158,0,39);
    background: -moz-linear-gradient(90deg, rgba(158,0,39,1.0) 0%, rgba(194,0,47,1.0) 100%);
    background: -webkit-linear-gradient(90deg, rgba(158,0,39,1.0) 0%, rgba(194,0,47,1.0) 100%);
    background: linear-gradient(90deg, rgba(158,0,39,1.0) 0%, rgba(194,0,47,1.0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9e0027",endColorstr="#c2002f",GradientType=1);
    /* background: rgb(110,194,208);
    background: -moz-linear-gradient(90deg, rgba(110,194,208, 1.0) 0%, rgba(97,166,208, 1.0) 100%);
    background: -webkit-linear-gradient(90deg, rgba(110,194,208, 1.0) 0%, rgba(97,166,208, 1.0) 100%);
    background: linear-gradient(90deg, rgba(110,194,208, 1.0) 0%, rgba(97,166,208, 1.0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6ec2d0",endColorstr="#61a6d0",GradientType=1); */
}

.p-header h1
{
    align-self: center;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.2em;
}

.p-section-tab
{
    -webkit-user-select: none;  
        -moz-user-select: none;   
            -ms-user-select: none;      
                user-select: none;
}

.posts-main
{
    display: grid;
    height: 92vh;
    padding-top: 8vh;
    padding-left: 50px;
    padding-right: 50px;
    grid-template-areas: 
    'a b'
    'c b';
    grid-template-columns: 2fr 20vw;
    grid-template-rows: auto 2fr;
    overflow-y: hidden;
    overflow-x: hidden;
}

.p-main-header
{
    grid-area: a;
    height: auto;
    margin-top: 5px;
    margin-right: 50px;
    padding-top: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #D6CFCF;
}

.p-section-title
{
    display: inline-block;
    vertical-align: middle;
    color: #68acff;
    font-size: 35px;
    width: 130px;
}

.tabs
{
    margin-left: 3vw;
    display: inline-flex;
    justify-content: space-around;
}

.tabs p:nth-child(3)
{
    margin-left: 2vw !important;
    margin-right: 2vw !important;
}

.tabs > *
{
    display: inline-block;
    font-size: 18px;
    color: #A8A8A8;
    margin-right: 4vw;
    font-size: 20px;
}

.tabs input:focus
{
    margin-top: -11px;
    margin-left: -webkit-calc(1vw - 1px);
    margin-left: -moz-calc(1vw - 1px);
    margin-left: -o-calc(1vw - 1px);
    margin-left: calc(1vw - 1px);
    border-color: black;
    border-width: 2px;
}
.tabs input::placeholder
{
    font-size: 15px;
    letter-spacing: 1px;
    color: #A8A8A8;
}
.tabs input
{
    border: 1px solid #A8A8A8;
    font-size: 15px;
    width: auto;
    margin-left: 1vw;
    padding: 10px;
    border-radius: 50px;
    box-sizing: border-box;
    margin-right: 0;
    margin-top: -10px;
    -webkit-user-select: none;  
        -moz-user-select: none;   
            -ms-user-select: none;      
                 user-select: none;
}

.p-main-side
{
    grid-area: b;
    margin-top: 5px;
    border-left: 1px solid #A8A8A8;
    padding: 50px;
    width: -webkit-calc(100% - 50px);
    width: -moz-calc(100% - 50px);
    width: -o-calc(100% - 50px);
    width: calc(100% - 50px);
}

.p-s-title
{
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    color: #474747;
    margin-bottom: 20px;
    text-align: center;
}

.p-side 
{
    margin-top: 20px;
}
.p-side li:hover
{
    text-decoration: underline;
    color: black;
}
.p-side li
{
    color: #575656;
    padding: 5px;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}
.link:hover
{
    color: black;
    transition: 0.1s ease;
}
.link
{
    position: relative;
}
.link:after
{
    content: '';
    width: 0%;
    display: block;
    bottom: 0;
    left: 50%;
    position: absolute;
    transition: 0.3s ease;
}

.link:hover:after
{
    border-radius: 1px;
    border: 1px solid;
    width: 100%;
    left: 0;
}

.link-active
{
    color: black !important;
}

.link-active:after
{
    content: '';
    width: 100%;
    display: block;
    bottom: 0;
    left: 0;
    position: absolute;
    transition: 0.3s ease;
    border-radius: 1px;
    border: 1px solid;
}


.scroll::-webkit-scrollbar {
    width: 12px;
  }
.scroll::-webkit-scrollbar-track {
    background: white;
}
.scroll::-webkit-scrollbar-thumb {
    background-color: #A8A8A8;
    border-radius: 20px;
    border: 3px solid white;
}

.p-main-content
{
    grid-area: c;
    margin-right: 50px;
}
.no-scroll
{
    overflow-y: hidden !important;
    animation: none;
}

.scroll
{
    overflow-y: scroll !important;
    animation: fadeIn 0.3s forwards ease-in;
}

.p-main-content .img-container
{
    width: auto;
    object-fit: cover;
    /* max-width: 500px; */
    height: auto;
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
}

.p-main-content .img-container img
{
    width: 100%;
    height: 100%;
}
.p-after
{
    margin-top: 20px !important;
}

.post-body
{
    text-align: justify;
    color: #545454;
    padding-right: 15px;
    padding-bottom: 20px;
}

@keyframes fadeIn
{
    from{opacity: 0;}
    to {opacity: 1;}
}



.post-title
{
    font-size: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D6CFCF;
}

.post-info
{
    margin-top: 15px;
    margin-bottom: 15px;
}

.post-info > *
{
    display: inline-block;
    color: #A8A8A8;
    margin-right: 20px;
}

.a-category
{
    font-weight: bold;
    margin-right: 40px;
}

.tags
{
    margin-top: 15px;
}

.tags button:hover
{
    color: white;
    background-color: #db2653;
    border-color: #db2653;
}
.tags .tag-btn
{
    padding: 5px;
    background-color: transparent;
    border-radius: 15px;
    border: 2px solid #B32045;
    color: #B32045;
    min-width: 40px;
    font-weight: bold;
    font-family: "Visby Round CF";
    font-size: 15px;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.search-results
{
    margin-top: 20px;
    font-weight: bold;
}

.tags .active-btn
{
    color: white;
    background-color: #db2653;
    border-color: #db2653;
}

.a-title i
{
    margin-left: 20px;
}

.a-title:hover
{
    opacity: 0.5;
}

.a-posts-active 
{
    margin-bottom: 20px;
    transition: all 0.2s;
}
.a-posts-active .a-post-body
{
    height: 45vh;
}

.a-posts-active .a-title
{
    background-color: #D6CFCF;
    opacity: 0.5;
    padding-left: 10px;
}

.a-title
{
    font-size: 20px;
    border-bottom: 2px solid #D6CFCF;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
}

.a-post-body
{
    overflow-y: hidden;
    height: 0;
}

.no-posts 
{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 25px;
}

.post form
{
    height: 55px;
    display: grid;
    margin-top: 20px;
    margin-bottom: 5px;
    padding: 10px;
    border: 1px solid #A8A8A8;
}
.post .a-post-title:hover
{
    opacity: 0.5;
}
.post .a-post-title
{
    font-size: 20px;
    text-decoration: underline;
    grid-column: span 2;
    color: #2c89fa;
    cursor: pointer;
}

.post h2:nth-child(3)
{
    justify-self: end;
}
.post h2
{
    font-size: 15px;
    display: inline-block;
    align-self: end;
    grid-row: 2;
    color: #A8A8A8;
    font-weight: normal;
}

.back:hover
{
    opacity: 0.5;
}

.back i
{
    margin-right: 10px;
}
.back
{
    margin-top: 25px;
    display: inline-block;
    font-size: 20px;
    color: black;
    font-weight: bold;
    transition: opacity 0.2s ease-in-out;
}

/* Featured Books Page */

.books-container
{
    height: auto;
    margin-bottom: 50px;
    padding-top: 8vh;
    padding-left: 50px;
    padding-right: 50px;
}


.b-container
{
    position: relative;
    height: 36vh;
    width: 95%;
    margin: auto;
}

.books-scroll
{
    height: 70vh;
    overflow: hidden;
    background-color: #f7f7f7;
}

.books
{
    height: 100%;
    width: calc(100% - 65px);
    z-index: 1;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
    padding-bottom: 2%;
    scroll-behavior: smooth;
    padding-left: 10px;
    padding-right: 55px;
    background-color: #c5647d;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.section-title
{
    margin-top: 5vh;
    color: #68acff;
    font-size: 30px; 
    padding: 10px;
    padding-left: 0;
}

.b-title
{
    margin-top: 5%;
    margin-bottom: 1%;
    border-bottom: 2px solid #db2653;
    padding: 5px;
    font-weight: bold;
    color: #db2653;
}

.b-wrapper:not(:nth-child(1))
{
    margin-left: 5%;
}

.b-wrapper img:hover
{
    opacity: 0.5;
} 
.b-wrapper a
{
    width: 20vh;
    height: 32vh;
}
.b-wrapper img 
{
    width: 100%;
    height: 100%;
}

.b-wrapper
{
    border: 4px solid #ffffff;
    width: auto;
    width: 20vh;
    height: 32vh;
    margin-top: 2%;
    background-color: #f5f5f5f5;
    display: inline-block;
    transition: 0.3s ease-in-out;
    -webkit-box-shadow: 0px 10px 21px -6px rgba(0,0,0,0.38);
        -moz-box-shadow: 0px 10px 21px -6px rgba(0,0,0,0.38);
            box-shadow: 0px 10px 21px -6px rgba(0,0,0,0.38);
}

.arrow-right
{
    right: 0;
    top: 0;
}
.arrow-left
{
    left: 0;
    top: 0;
}

.arrow-right::after
{
    content: '';
    position: absolute;
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-left: 10px solid white; 
    top: 50%;
    left: 50%;
    margin-left: -5px;
    margin-top: -15px;
}

.arrow-left::after
{
    content: '';
    position: absolute;
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right: 10px solid white; 
    top: 50%;
    left: 50%;
    margin-left: -5px;
    margin-top: -15px;
}
.arrow-left:hover, .arrow-right:hover
{
    background-color: #B32045;
}
.arrow-left, .arrow-right
{
    position: absolute;
    background-color: #db2653;
    width: 50px;
    height: 36vh;
    margin-top: 1%;
    z-index: 1;
    transition: 0.2s all;
}

.featured-links
{
    margin-bottom: 5px;
    margin-top: 2%;
    padding-bottom: 10px;
    border-bottom: 2px solid #A8A8A8;
}
.featured-link:not(:nth-child(1))
{
    margin-left: 25px;
    padding: 5px !important;
}
.featured-link
{
    color: rgb(141, 141, 141);
    font-weight: bold;
    padding: 5px;
    padding-left: 0px;
}