/* Global */

    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 15px;
        line-height: 1.5;
        /* One-line alternative - font: 15px/1.5, Arial, Helvetica, sans-serif; */
        padding: 0;
        margin: 0;
        background-color: #f4f4f4;
        box-sizing: b
    }

    .container {
        width: 80%;
        margin: auto;
        overflow: hidden;
    }
    #left {
        float: left;
    }

    #right {
        float: right;
    }

    ul {
        margin: 0;
        padding: 0;
    }

    .button1 {
        height: 38px;
        background: #ab9724;
        border: 0;
        padding-left: 20px;
        padding-right: 20px;
        color: white;
    }

    .dark {
        padding: 15px;
        background: #143a63;
        color: white;
    }

    .text-dark-green {
        color: darkgreen;
    }

    .text-italic {
        font-style: italic;
    }

    .bolden {
        font-weight: bold;
    }

    .emphasis {
        font-weight: none;
        font-style: italic;
    }

    .indent20 {
        margin-left: 20px;
    }

    .bit-bigger {
        font-size: 1.2em;
    }
    .bit-smaller {
        font-size: 0.9em;
    }

    .center {
        text-align: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .responsive {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    .flash-text {
        animation: flashtext 0.5s;
        animation-iteration-count: 8;
    }
    @keyframes flashtext {
        from {color: white;}
        to {color:#ab9724;}
    }

    .phone-num {
        text-decoration: none;
        color:#ab9724;
    }

    .subtitle {
        text-align: center;
    }

/* Global end */

/* All Pages */

    /* Header */

        header{
            background: #143a63;
            color: white;
            padding-top: 30px;
            min-height: 70px;
            border-bottom: #ab9724 3px solid;
        }

        header a {
            color: white;
            text-decoration: none;
        }
        nav a {
            color: white;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 16px;
        }

        header li {
            float: left;
            display: inline;
            padding: 0 20px 0 20px; 
        }

        header #branding {
            float: left;
        }

        header #branding h1 {
            margin: 0; 
        }

        header #branding h3 {
            text-transform: none;
            font-size: 0.8rem;
        }

        header nav {
            float: right;
            margin-top: 10px;
            margin-bottom: 20px;
        }

        header nav ul {
            margin-left: 50px;
            margin-right: 10px;
        }

        .resp-nav label {
            font-size: 26px;
            line-height: 70px;
            display: none;
            float: right;
        }

        .resp-nav input {
            float: right;
            display: none;
        }

        header .highlight, header .current a, aside .highlight {
            /* color: #e8491d; */
            color: #ab9724;
            font-weight: bold;
        }

        header a:hover {
            color: yellow;
            font-weight: bold;
        }
        #branding h1 {
            display: inline;
            font-size: 40px;
        }

        #branding img {
            vertical-align: bottom;
            width: 60px;
            margin-right: 10px;
    }

    /* Header end */


    /* Phone-us */

        #phone-us {
            height: auto;
            padding: 15px;
            color: #ffffff;
            background: #143a63;
            border-top: #ab9724 3px solid;
        }

        #phone-us .container {
            text-align: right;
        }

        #phone-us h2{
            display: inline;
        }

        #phone-us .highlight {
            color: #ab9724
        }

    /* Phone-us end */

        /* Footer */

        footer {
            padding: 20px;
            color: white;
            background-color: #ab9724;
            text-align: center;
        }

        footer li {
            display: inline;
        }

        footer img {
            vertical-align: middle;
            height: 55px;
        }
    /* Footer End */

/* All Pages end */

/* Homepage */

    /* Showcase */
        #showcase {
            min-height: 360px;
            background: url('../img/jigsaw-brain.jpg') no-repeat 0 -400px;
            text-align: center;
            color: white;
        }

        #tagline1, #tagline2{    
            animation-name: taglines-arrive;
            animation-duration: 4s;
            animation-fill-mode: forwards;
        }
        @keyframes taglines-arrive {
            from {transform: translateY(30px) translateX(30px); opacity: 0;}
            to {transform: translateY(0px) translateX(0px); opacity: 100;}
        }

        #showcase h1 {
            margin-top: 80px;
            font-size: 55px; 
            margin-bottom: 10px;
            text-shadow: 2px 2px darkgrey ;
        }

        #showcase p {
            font-size: 20px;
            text-shadow: 1px 1px darkgrey ;
        }

    /* Showcase end */

    /* Boxes */

        #boxes {
            margin: 20px 0 20px 0;
        }

        #boxes .box {
        float: left;
        text-align: center;
        width: 30%;
        min-width: 170px;
        padding: 10px;
        margin: 5px; 
        }

        #boxes .box img{
            width: 90px;
        }

    /* Boxes end */

/* Homepage end */

/* HowItWorks Page */

    #works {
        background: url('../img/lara-far-EUg3mLMKfbo-unsplash.jpg');
        width: 100%;
        background-position: center; 
        background-repeat: no-repeat; 
        background-size: cover; 
        height: auto;
    }

    #works .container {
        display: flex;
        justify-content: space-between;
        height: auto;
    }

    #works article {
        float: left;
        text-align: left;
        width: 40%;
        list-style: disc;
        font-size: 18px;
        margin: 50px 0 50px 0;
        padding: 40px;
    }

    #works article ul {
        padding-left: 20px;
    }

    #works article li {
        padding-top: 15px;
    }

/* How It Works Page End */

/* Examples */

#cases h1, h2 {
    text-align: center;
}

.tmpblue {
    color:#143a63;
}

.tmpgreen {
    color: #ab9724;
}

/* CARD FLIP */

    #cases .container {
        font-size: 16px;
    }
    .cards{
        display: flex;
        justify-content: space-evenly; 
    }

    #card1 .card-front {
        background: linear-gradient(0deg, rgba(215, 228, 186, 0.5), rgba(215, 228, 186, 1)),
        url(../img/medical330.png);
        background-size: cover;
        background-position: center;
    }

    #card2 .card-front {
        background: #ccc1da;
    }

    #card2 .card-front {
        background: linear-gradient(0deg, rgba(204, 193, 218, 0.5), rgba(204, 193, 218, 1)),
            url(../img/corona330.png);
        background-size: cover;
        background-position: center;
    }

    #card3 .card-front {
        background: linear-gradient(0deg, rgba(183, 222, 229, 0.5), rgba(0.683, 222, 229, 1)),
            url(../img/expenses330.png);
        background-size: cover;
        background-position: center;
    }

    #card4 .card-front {
        background: #fcd5b5;
    }

    #card4 .card-front {
        background: linear-gradient(0deg, rgba(252, 213, 181, 0.5), rgba(252, 213, 181, 1)),
            url(../img/supermarket330.png);
        background-size: cover;
        background-position: center;
    }

    .card {
        background-color: transparent;
        margin-left: 3px;
        margin-right: 3px;
        width: 350px;
        margin-top: 30px;
        margin-bottom: 30px;
        perspective: 600px;
    }

    .card-inner {
        min-width: 230px;
        min-height: 500px;
        transition: transform 1000ms;
        transform-style: preserve-3d;
    }
    .card:hover .card-inner {
        transform: rotateY(180deg);
    }

    .card-front {
        cursor: pointer;
        text-align: center;
        color: #143A63;
        font-size: 16px;
    }

    .card-front h1 {
        margin-top: 130px;
        font-size: 28px;
    }

    .card-front h3 {
        width: 90%;
        margin: auto;
        font-size: 20px;
    }

    .card-front h1, .card-front h3 {
        font-weight: bold;
    }

    .card-front, .card-back {
        position: absolute;
        border-style: solid;
        border-radius: 15px;
        border: 2px solid #AB9724;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 5px;
        -webkit-backface-visibility: hidden; 
        backface-visibility: hidden;
    }

    .card-back {
        background-color: palegoldenrod;
        transform: rotateY(180deg);
    }

    .card-back-elements{
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .example-desc  {
        top: 0;
        left: 0;

    }
    .example-fin {
        position: absolute;
        height: 95%;
        background-color: palegreen;
        left: 0;
        padding-left: 10px;
        padding-right: 10px;
        top: 425px;
        border-radius: 15px;
    }

    .example-fin:hover {
        transition-duration: 2s;
        transform: translateY(-400px);
    }

    .card-img {
        max-width: 220px;
        min-width: 160px;
        max-height: 250px;
    }

    .card-text{
        font-size: 0.8rem;
    }
    /* Card Flip end  */

/* Examples end  */

/* About */

    #regtext {
        color: gray;
        font-style: italic;
        font-size: 12px;
    }

    /* 'About-pic'*/
        #about-pic {
            min-height: 360px;
            width: 80%;
            margin: auto;
            background-image: url('../img/designing-training.jpg');
            height: 500px; 
            background-position: center; 
            background-repeat: no-repeat; 
            background-size: cover; 
            text-align: center;
            color: white;
        }

    /*  About-pic ends */


    #main-col {
        float: left;
        width: 45%;
    /*    max-width: 300px; */
    }

    #main-col ul li {
        list-style-type: disc;
    }

    /* 'About' side-col */

        #side-col {
            float: right;
            display: inline;
            width: 45%;
            margin-top: 10px;
            margin-left: 20px;
            text-align: left;
        }

    /*About side-col end*/

    #flashbox {
        margin-top: 10px;
        padding: 5px;
        position: relative;
        background: #143a63;
        text-align: center;
        color: white; 
    }

    #flashbox p {
        padding: 0;
    }

    #regtext {
        text-align: center;
    }

    aside .highlight {
        color: #e8491d;
        font-weight: bold;
        font-size: 20px;
    }

    aside a {
        /* color: white; */
        text-decoration: none;
    }

    #buttonspace {
        text-align: center;
    }

    #btn-contact {
        height: 40px;
        min-width: 80px;
        font-size: 20px;
        background: #ab9724;
        border: 0;
        border-radius: 5px;
        padding-left: 20px;
        padding-right: 20px;
        color: white;
        cursor: pointer;
    }

    #btn-contact:hover {
        background: yellow;
        color: #143a63;
        border: 2px solid;
        border-color: #143a63;
    }

/* About Page end  */


/* Login Page*/
    #login-form {
        width: 50%;
        margin: 50px auto 50px auto;
    }

    #login-form form label { 
        float: left; 
        width: 110px; 
        margin-left: 5px;
    }

    #login-form input[type=text] {
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    #login-form input[type=text]:focus {
        outline: none !important;
        border: 1px solid #AB9724;
    }

    #login-form input[type=submit] {
        width: 25%;
        background-color: #143A63;
        color: white;
        padding: 14px 20px;
        margin: 8px 0 40px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        float: right;
    }

    #login-form input[type=submit]:hover {
        background-color: #AB9724;
    }

    #login-form div {
        border-radius: 5px;
        background-color: #f2f2f2;
        padding: 20px;
    }

/* Login Form Page end  */

/* Media Queries */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

    /* Phone for consultation - Fonts*/
    #phone-us .container {
        text-align: left !important;
    }

    #phone-us .highlight {
        display: block;
        text-align: left;
    }

    /* Homepage Services Boxes */
    #boxes .container {
        width: 100%;
    }

    /* How It Works Page */
    #works .container {
        flex-wrap: wrap;
    }

    #works article {
        width: 80%;
        margin: 50px auto 0 auto;
    }

    #works article:last-child {
        margin-bottom: 50px;
    }

    /* Examples Page */
    .cards {
        flex-wrap: wrap;
    }

    .cards:last-child {
        margin-bottom: 50px;
    }

    /* Login Page */

    #login-form input[type=submit] {
        width: 30%;
    }
}

/* Medium devices (tablets, less than 992px) */
@media only screen and (max-width: 991.98px) {

    /* Fonts */
    p {
        font-size: 18px;
        text-shadow: none;
    }

    /* Responsive Nav */
    .resp-nav label {
        display: block;
        cursor: pointer;
        float: right;
    }

    .resp-nav input {
        display: none;
    }

    header nav ul {
        margin: 0;
    }

    nav {
        width: 100%;
        visibility: hidden;
        height: 0;
        opacity: 0;
        -webkit-transition-duration: 0.5s;
        -moz-transition-duration: 0.5s;
        -o-transition-duration: 0.5s;
        transition-duration: 0.5s;
    }

    nav a {
        font-size: 18px;
    }

    header nav li {
        display: block;
        text-align: center;
        width: 100%;
        border-bottom: 1px solid rgb(171, 151, 36, 0.5);
        height: 70px;
        line-height: 70px;
        padding: 0;
    }

    header nav li:last-child {
        border-bottom: none;
    }

    #toggle:checked+nav {
        visibility: visible;
        height: auto;
        opacity: 100;
    }

    /* Homepage Services Boxes */
    #boxes .box {
        width: 50%;
        margin: auto;
        margin-top: 30px;
        float: none;
    }

    /* Examples Page */
    .cards {
        justify-content: center;
    }

    .card {
        min-width: 60% !important;
    }

    /* About Page */
    #about-pic {
        width: 100%;
        min-height: 200px;
        height: auto;
    }

    #main-col {
        float: none;
        width: 100%;
    }

    #side-col {
        float: none;
    }

    #buttonspace {
        margin-bottom: 30px;
    }

    /* Login Page */
    #login-form {
        width: 70%;
    }

    #login-form input[type=submit] {
        width: 40%;
    }

}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    /* Fonts */
    h1 {
        font-size: 28px !important;
        text-shadow: none !important;
    }

    h2 {
        font-size: 20px;
    }

    /* Homepage Branding */
    #branding {
        width: 80%;
    }

    header #branding h1 {
        font-size: 22px !important;
    }

    header #branding img {
        width: 42px;
    }

    header #branding h3 {
        font-size: 0.72rem;
    }


    /* Homepage Services Boxes */
    #boxes .box {
        width: 70%;
    }

    /* How It Works Page */
    #works article {
        padding: 20px !important;
        margin: 40px auto 0 auto;
    }

    /* Examples Page */
    .card {
        min-width: 90% ;
        margin: 40px auto 0 auto;
    }

    /* About Page */
    #about-pic {
        min-height: 150px;
        height: auto;
    }

    /* Login Page */
    #login-form {
        width: 100%;
    }

    #login-form input[type=submit] {
        width: 100%;
    }

    /* Footer */
    #text {
        font-size: 12px;
    }

}




