
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

main {
    /* padding-top: 10rem; */
    margin: 0 2rem;
}

.authors img {
    width: 80px;
    height: 80px;
}

.side-bar-nav li a {
    font-weight: 500;
    font-size: 1.3rem;
    background-image: linear-gradient( to right, #54b3d6, #54b3d6 50%, #000 50% );
    background-size: 200% 100%;
    background-position: -100%;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out;
}

.side-bar-nav li a:before {
    content: '';
    background: #54b3d6;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    transition: all 0.3s ease-in-out;
}

.side-bar-nav li a:hover {
    background-position: 0;
}

.side-bar-nav li a:hover::before {
    width: 100%;
}

/* added the following to give the background color of the arrows as red for visibility, the default which can be found in the slick-theme.css was white */
.slick-prev:before,
.slick-next:before {
    color: darkgray;
}

#slick .slick-list {
    margin-left: -5px;
    margin-right: -5px;
  }
  
  #slick .slick-slide {
    padding-right: 5px;
    padding-left: 5px;
  }
  
  #slick .slick-slide:focus {
    outline: none;
  }
  
  .slide:hover {
      outline-color: black;
  }

ul {
    list-style: none;
}

.carousel-item img {
    opacity: 0.4;
}

footer a {
    text-decoration: none;
    color: whitesmoke;
}

.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .collapsible:hover {
    background-color: #ccc;
}
  
  /* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;

}

#alertcookies {
    text-align: center;
    font-size: 1rem;
    position: fixed;
    bottom: 50px;
    z-index: 1;
}

#navbarsExampleDefault {
    z-index: 10;
}

.postlist {
    transition: all 0.3s;
    width: 6rem; 
    height: 6rem; 
    background-position: center; 
    background-size: 5.5rem auto; 
    background-repeat: no-repeat; 
    background-origin: content-box; 
}

.postlist:hover {
    border: 2.5px solid #2d2d2d;
    /* background-color: rgb(246, 246, 246); */
}

.postlistindex:hover {
    border: 1.5px solid #2d2d2d;
    /* background-color: rgb(246, 246, 246); */
}

.projectlist:hover {
    border: 1.5px solid #2d2d2d;
}

#category-tagname {
    display: block;
}

#categories-list.responsive a:not(:first-child) {
    display: none;
}

#nav-links .nav-link:focus {
    color: aliceblue;
}

.clearfix {
    overflow: auto;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* padding-left: 1rem;
    padding-right: 1rem; */
}

.search {
    font-size: 0.8rem;
}

#nav-icon {
    display: block;
    position: absolute;
    top: 1.8rem;
    right: 2rem;
    font-size: 2.5rem;
}

#nav-links.responsive li:not(:nth-child(1)) {
    display: none;
}

.nav-link {
    font-size: 1.2rem;
}

#navbarLogo {
    max-width: 70px;
    display: inline-flex;
}

#mainPadding {
    padding-top: 85px;
}

.navbar hr {
    color: whitesmoke;
}

#nav-why, #nav-vision {
    background-color: white;
}

#details-body {
    font-family: 'Comfortaa', cursive;
    font-weight: 400;
}

.homePage {
    display: none;
}

.offcanvas-collapse {
    position: fixed;
    top: 85px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
}

.offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
}

.catMenu {
    display: none;
}

.copyrght {
    width: 100%;
    color: whitesmoke;
    display: block;
}

@media (min-width: 267px) {

    html {
        font-size: 10px;
    }
  
    .container {
        max-width: 263px;
    }

    .nav-link {
        font-size: 1rem;
    }

    .catMenu {
        display: none;
    }

    .allCategories {
        display: inline-block;
    }

    .catDisplayIndex {
        display: none;
    }

    #mainPadding {
        padding-top: 90px;
    }

    .postlistindex {
        transition: all 0.3s;
        width: 6rem; 
        height: 6rem; 
        background-position: center; 
        background-size: 100% auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }

    #posts-list-index {
        display: inline-flex;
        overflow: visible;
    }

    .slider {
        margin: 5px auto;
        width: 250px;
    }
    

}

@media (min-width: 379px) {

    html {
        font-size: 12px;
    }
  
    .container {
        max-width: 370px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .postlist {
        transition: all 0.3s;
        width: 6rem; 
        height: 6rem; 
        background-position: center; 
        background-size: 5.5rem auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }
    
    .postlistindex {
        transition: all 0.3s;
        width: 6rem; 
        height: 6rem; 
        background-position: center; 
        background-size: 100% auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }

    .catMenu {
        display: none;
    }

    .allCategories {
        display: inline-block;
    }

    .catDisplayIndex {
        display: none;
    }

    .slider {
        margin: 5px auto;
        width: 300px;
    }
    
}

@media (min-width: 567px) {
    html {
        font-size: 13px;
    }
    .container {
        max-width: 560px;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    #nav-icon {
        display: none;
    }
    
    /* #nav-links.responsive li:not(:nth-child(1)) {
        display: inline-flex;
    } */

    .colDetails {
        width: 100%;
        display: inline-block;
    }

    .heading-main {
        font-size: 7rem;
        letter-spacing: 0.5rem;
    }
    
    .heading-sub {
        font-size: 1.4rem;
        text-align: end;
    }

    #mainPadding {
        padding-top: 90px;
    }

    #navbarLogo {
        max-width: 110px;
        display: flex;
        justify-content: center;
        align-items: center;    
    }

    .catMenu {
        display: none;
    }

    .allCategories {
        display: inline-block;
    }

    .catDisplayIndex {
        display: none;
    }

    .authors img {
        width: 100px;
        height: 100px;
    }

    .postlist {
        transition: all 0.3s;
        width: 8rem; 
        height: 8rem; 
        background-position: center; 
        background-size: 7rem auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }
    
    .postlistindex {
        transition: all 0.3s;
        width: 8rem; 
        height: 8rem; 
        background-position: center; 
        background-size: 100% auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }

    .slider {
        margin: 7px auto;
        width: 500px;
    }
    
}

@media (min-width: 787px) {
    html {
        font-size: 14px;
    }

    .container {
        max-width: 720px;
    }

    .colDetails {
        width: 100%;
        display: inline-block;
    }
    
    #navbarLogo {
        max-width: 120px;
        display: flex;
        justify-content: center;
        align-items: center;    
    }

    #nav-links.responsive li:not(:nth-child(1)) {
        display: inline-flex;
    }
    
    #mainPadding {
        padding-top: 100px;
    }

    .postlist {
        transition: all 0.3s;
        width: 8rem; 
        height: 8rem; 
        background-position: center; 
        background-size: 7rem auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }
    
    .postlistindex {
        transition: all 0.3s;
        width: 8rem; 
        height: 8rem; 
        background-position: center; 
        background-size: 100% auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
        margin: 1rem;
    }

    .slider {
        margin: 10px auto;
        width: 700px;
    }    

}

@media (min-width: 991px) {
    html {
        font-size: 14px;
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .postlist {
        transition: all 0.3s;
        width: 10rem; 
        height: 10rem; 
        background-position: center; 
        background-size: 9rem auto; 
        background-repeat: no-repeat; 
        background-origin: content-box; 
    }

    .catMenu {
        display: inline-block;
    }

    .allCategories {
        display: none;
    }

    #category-tagname {
        display: none;
    }
    
    #categories-list.responsive a:not(:first-child) {
        display: block;
    }    

    .container {
        max-width: 950px;
    }

    #mainPadding {
        padding-top: 120px;
    }

    #navbarLogo {
        max-width: 140px;
        display: flex;
        justify-content: center;
        align-items: center;    
    }

    .slider {
        margin: 10px auto;
        width: 900px;
    }
    
}

@media (min-width: 1200px) {
    html {
        font-size: 14px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .container {
        max-width: 1140px;
    }

}