/*****************************************
Table Of Contents:
- General
- Navigation
- Header
- Details
- Footer
- Copyright
- Media Queries
******************************************/

/**************************/
/*     General   */
/**************************/
body,
html {
    width: 100%;
    height: 100%;
    background: #388b6f;
}

body,
p {
    font: 400 1rem/1.625rem "Open Sans", sans-serif;
}

h1 {
    color: #1c4537;
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 3.25rem;
    font-family: "Poppins"
}

h4 {
    color: #1c4537;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 2rem;
    font-family: "Poppins"
}

a {
    color: #53575a;
    text-decoration: underline;
}

a:hover {
    color: #53575a;
    text-decoration: underline;
}

.no-line {
    text-decoration: none;
}

.no-line:hover {
    text-decoration: none;
}

.read-more {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5rem;
}

.read-more .fas {
    margin-left: 0.625rem;
    font-size: 1rem;
    vertical-align: -8%;
}

.green {
    color: #7dc22b;
}

input[type=text],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

input[type=email],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/**********************/
/*     Navigation     */
/**********************/
.navbar {
    background-color: #1c4537;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0.875rem;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
}

.navbar .navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar .logo-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1rem;
    text-decoration: none;
}

.offcanvas-collapse {
    position: fixed;
    top: 3.25rem;
    /* adjusts the height between the top of the page and the offcanvas menu */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #1c4537;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
}

.offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.navbar .navbar-nav {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.navbar .nav-item .nav-link {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    color: #eeeeee;
    text-decoration: none;
    transition: all 0.2s ease;
}

.navbar .nav-item.dropdown.show .nav-link,
.navbar .nav-item .nav-link:hover,
.navbar .nav-item .nav-link.active {
    color: #7dc22b;
}


.navbar .fa-stack {
    width: 2em;
    margin-right: 0.25rem;
    font-size: 0.75rem;
}

.navbar .fa-stack-2x {
    color: #7dc22b;
    transition: all 0.2s ease;
}

.navbar .fa-stack-1x {
    color: #ffffff;
    transition: all 0.2s ease;
}

.navbar .fa-stack:hover .fa-stack-2x {
    color: #ffffff;
}

.navbar .fa-stack:hover .fa-stack-1x {
    color: #7dc22b;
}

.navbar .navbar-toggler {
    padding: 0;
    border: none;
    font-size: 1.25rem;
}


/*****************/
/*    Header     */
/*****************/
.header {
    position: relative;
}

.header .header-content {
    padding-top: 11rem;
    padding-bottom: 9rem;
    background-size: cover;
    text-align: center;
}

.header .h1-large {
    margin-bottom: 2.25rem;
    color: #ffffff;
    font-size: 3rem;
    line-height: 3.75rem;
}

/*******************/
/*     Details     */
/*******************/
.containerholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100vw;
    grid-template-columns: repeat(auto-fit, minmax(20ch, 1fr));
}

.container1 {
    background-color: #2b8ac2;
    padding: 50px;
}

.container2 {
    background-color: #5d3f72;
    padding: 50px;
}

.container3 {
    background: url('../images/cover.jpg') no-repeat;
    background-size: cover;
    padding: 50px;
}

.container4 {
    background-color: #10194d;
    padding: 50px;
}

.container5 {
    background-color: #FF8466;
    padding: 50px;
}

.coveralt {
    width: 100%;
    height: auto;
}

.center {
    margin: auto;
    width: 75%;
}

.authorimage {
    background: url('../images/authorPhoto.jpg');
    background-size: cover;
}

.coverimage {
    background-image: url('../images/cover.jpg');
    background-position: center;
    background-color: #5d3f72;
    background-size: contain;
    background-repeat: no-repeat;

}

a:link {
    color: #7dc22b;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: #7dc22b;
    background-color: transparent;
    text-decoration: none;
}

.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight: 600;
}

.active,
.collapsible:hover {
    background-color: #7dc22b;
}

.content {
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    padding: 10%;
}

.tab {
    text-indent: 25px;
}

/******************/
/*     Footer     */
/******************/
.footer {
    bottom: 0;
    width: 100%;
}

/*********************/
/*     Copyright     */
/*********************/
.copyright {
    padding-bottom: 1rem;
    text-align: center;
}

.copyright p,
.copyright a {
    color: #ffffff;
    text-decoration: none;
}

/*************************/
/*     Media Queries     */
/*************************/
/* Min-width 768px */
@media (max-width: 480px) {
    .containerholder {
        grid-template-columns: 100%;
        grid-template-rows: 1fr;
        width: 100%;
    }

    .row {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .container1 {
        width: 100%;
        padding: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .container2 {
        width: 100%;
        padding: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .container3 {
        width: 100%;
        padding: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .container4 {
        width: 100%;
        padding: 10px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .container5 {
        width: 100%;
        padding: 10px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .coveralt {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .coverimage {
        background-image: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }


    .authorimage {
        background-image: none;
        padding: 0;
        margin: 0;
    }

    .width {
        width: 80%;
    }

    .nav-item {
        font-size: 30px;
    }
    


}

@media (max-width: 768px) {    .coverimage {
        background-image: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
}

@media (min-width: 768px) {



    /* Header */
    .header .header-content {
        padding-top: 15rem;
        padding-bottom: 13rem;
    }

    /* end of header */


    /* Statistics */
    .counter .counter-cell {
        display: inline-block;
        margin-right: 1.5rem;
        margin-left: 1.5rem;
        vertical-align: top;
    }

    .counter .purecounter {
        font-size: 6rem;
        line-height: 4rem;
    }

    .phoneimage {
        display: none !important;
    }

    /* end of statistics */

}

/* end of min-width 768px */


/* Min-width 992px */
@media (min-width: 992px) {


    .phoneimage {
        display: none !important;
    }

    /* General Styles */
    .h2-heading {
        width: 35.25rem;
        margin-right: auto;
        margin-left: auto;
    }

    .p-heading {
        width: 46rem;
        margin-right: auto;
        margin-left: auto;
    }

    /* end of general styles */


    /* Navigation */
    .navbar {
        padding-top: 1.75rem;
        background-color: transparent;
        box-shadow: none;
        transition: all 0.2s;
    }

    .navbar.top-nav-collapse {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        background-color: #1c4537;
        box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.025);
    }

    .offcanvas-collapse {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        width: auto;
        padding-right: 0;
        padding-left: 0;
        background-color: transparent;
        overflow-y: visible;
        visibility: visible;
    }

    .offcanvas-collapse.open {
        -webkit-transform: none;
        transform: none;
    }

    .navbar .navbar-nav {
        margin-top: 0;
        margin-bottom: 0;
    }

    .navbar .nav-item .nav-link {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
    }

    .navbar .dropdown-menu {
        padding-top: 0.75rem;
        padding-bottom: 0.875rem;
        box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.08);
    }

    .navbar .dropdown-divider {
        width: 90%;
    }

    .navbar .social-icons {
        margin-left: 0.5rem;
    }

    .navbar .fa-stack {
        margin-right: 0;
        margin-left: 0.25rem;
    }

    /* end of navigation */


    /* Header */
    .header .header-content {
        padding-top: 18rem;
        padding-bottom: 16rem;
    }

    .header .h1-large {
        margin-bottom: 2.75rem;
        font-size: 5rem;
        line-height: 5.75rem;
    }

    /* end of header */

}

/* end of min-width 992px */


/* Min-width 1200px */
@media (min-width: 1200px) {

    /* General Styles */
    .container {
        max-width: 1140px;
    }

    /* end of general styles */

    .phoneimage {
        display: none !important;
    }

    /* Header */
    .header {
        height: 100vh;
    }

    .header .header-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100vh;
        padding-top: 0;
        padding-bottom: 0;
    }

    .header .btn-solid-lg {
        padding: 1.875rem 3rem;
        font-size: 1rem;
    }

    /* end of header */
}

/* end of min-width 1200px */
