/* 
    Created on : Feb 19, 2019, 12:34:12 PM
    Author     : Edson
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald&display=swap');

:root {
    --nyanza: #d8f3dcff;
    --turquoise-green: #b7e4c7ff;
    --turquoise-green-2: #95d5b2ff;
    --ocean-green: #74c69dff;
    --ocean-green-2: #52b788ff;
    --illuminating-emerald: #40916cff;
    --bottle-green: #2d6a4fff;
    --brunswick-green: #1b4332ff;
    --dark-jungle-green: #081c15ff;
    --text-dark: #333;
}

* , *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--text-dark);
    font-family: 'Oswald', sans-serif;
    overflow-x: hidden;
}

input {
    font-family: 'Oswald', sans-serif;
}

button {
    background: var(--bottle-green);
    color: var(--nyanza);
    border: 1px solid white;
    border-radius: .25em;
    text-align: center;
    font-size: initial;
    width: 6em;
    height: 2.5em;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
}

@media screen and (max-width: 48em) {
    
    .case-list {
        width: 40em;
    }
    .case-list .ui-grid-a .ui-block-b p {
        width: 25em;
    }
}

@media screen and (max-width: 42em) {
    
    .case-list {
        width: 100%;
    }
    
    .case-list .ui-grid-a .ui-block-b, .ui-block-a {
        float: none;
        width: 100%!important;
    }
    
    .case-list .ui-grid-a .ui-block-b p {
        width: 95%!important;
    }
    
    .slide-show-wrap {
        padding-right: 0;
        margin: auto;
        padding-bottom: 1.5em;
        border-right: none;
    }
}

@media screen and (max-width: 600px) and (min-width: 480px), (max-width: 350px) {

    .menu-wrap {
        display: none!important;
        background-color: var(--bottle-green)!important;
        position: absolute;
        top: .5em;
        border-radius: .5em;
        z-index: 10;
        right: 1em!important;
        -webkit-box-shadow: 6px 6px 11px 0px rgb(8 28 21);
        -moz-box-shadow: 6px 6px 11px 0px rgba(8,28,21,1);
        box-shadow: 6px 6px 11px 0px rgb(8 28 21);
    }
    
    .menu-wrap ul {
        margin: 1em!important;
    }

    .menu-wrap ul li {
        float: none!important;
        text-align: center!important;
    }
    
    .menu-wrap ul li a:hover {
        background: var(--ocean-green)!important;
        border-radius: .25em!important;
    }
    
    .menu-wrap ul li:not(:last-child) {
        border-bottom: 1px var(--nyanza) solid!important;
    }

    #menu-btn {
        display: block!important;
        visibility: visible!important;
    }

    #menu-del-btn {
        display: block!important;
    }
}

@media screen and (max-width: 480px) {

    .banner-spacer {
        height: 11em!important;
    }

    .banner-bg {
        height: 11em!important;
    }

    .about-section img {
        width: 190px!important;
    }

    .header-logo {
        flex-direction: column!important;
    }

    .top-menu ul li {
        float: none!important;
    }
}

@media screen and (max-width: 680px) and (min-width: 480px) {
    .about-section img {
        width: 320px!important;
    }
}

@media  screen and (max-width: 680px) {
    .about-section {
        grid-template-columns: 1fr!important;
    }
    .about-section > div {
        margin: 0 auto!important;
    }
}

@media screen and (max-width: 860px) and (min-width: 680px)  {
    .about-section img {
        width: 230px!important;
    }
}

@media screen and (max-width: 350px) {
    
    .about-section .about-stack {
        max-width: 230px!important;
        margin: 0 auto!important;
    }
}

/* toolbar  */

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: .5em;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: end;
}
.header > div:nth-child(1) {
    width: 100%;
}
.header-logo {
    text-decoration: none;
    color: var(--nyanza)!important;
    font-weight: normal!important;
    font-size: xx-large;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.header-logo img {
    background: white;
    height: 3em;
    width: 3em;
    border-radius: 60px;
    border-color: #4bae77;
    margin-right: .25em;
    border-width: 2px;
    border-style: solid;
}

    /*  toolbar right menu */
.top-menu {
    display: flex;
    flex-direction: row;
    grid-column: span 2;
}

.top-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-menu ul li {
    float: left;
}

.top-menu ul li.selected {
    color: var(--ocean-green-2);
    padding: .5em;
    font-size: .9em;
    font-weight: bold;
}

.top-menu ul li a {
    text-decoration: none;
    font-weight: bold;
    font-size: .9em;
    letter-spacing: .125em;
    color: var(--nyanza)!important;
    display: block;
    padding: .5em;
}

#menu-btn {
    background: url(images/dots.svg);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    display: none;
    visibility: hidden;
    cursor: pointer;
    z-index: 10;
}

#menu-del-btn {
    background: url('images/delete_24.png') no-repeat;
    width: 24px;
    height: 24px;
    float: right;
    margin-top: .2em;
    margin-right: .2em;
    cursor: pointer;
    display: none;
}

.menu-show {
    display: block!important;
}

/* Banner */

.banner-bg {
    left: 0;
    right: 0;
    top: 0;
    height: 7.5em;
    background: linear-gradient(180deg, rgba(8,28,21,1) 0%, rgba(27,67,50,1) 30%, rgba(82,183,136,1) 100%);}

/*  Core */

.core {
    position: relative;
    height: 100vh;
    overflow-x: hidden;
}

.section1 {
    transition: all .5s ease-in;
}

.welcome {
    text-align: center;
    font-size: 4em;
    font-family: 'Bebas Neue', cursive;
    transition: all .5s ease-in;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    place-items: stretch;
    width: 90vw;
    max-width: 90vw;
    margin: auto;
}
.about-section img {
    width: 320px;
    height: 230px;
    padding: 1em;
    margin: 1em;
}
.about-section .about-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: normal;
    margin:0;
    padding: 0;
    /* border-radius: .5em; */
}
/* .about-section .about-stack:last-child {
    margin-right: 1em;
} */
/* .about-section .about-stack:hover {
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);
} */
.about-section .about-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: justify;
    font-size: smaller;
    margin-bottom: .5em;
}

.about-section .about-bullet {
    width: 48px!important;
    height: 48px;
    padding: .25em;
    margin: 0;
}

/* Slide block animation */

.anim {
   visibility: hidden;
}

.slide-in {
    animation: slide-in .5s ease-out forwards;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100vw);
        visibility: visible;
    }
    100% { 
        transform: translateX(0);
        visibility: visible;
    }
}

/* Footer */

.footer {
    background: var(--dark-jungle-green);
    text-align: center;
    position: static;
    bottom: 0;
    left: 0;
    width: 100%;
    color:  #fff;
    /*      ---------- shadow to cover page bottom space due to page top welcome animation translation ---------------- */
    -webkit-box-shadow: 0px 100px 0px 0px rgb(8 28 21);
    -moz-box-shadow: 0px 100px 0px 0px rgba(8,28,21,1);
    box-shadow: 0px 100px 0px 0px rgb(8 28 21);
}

.footer header {
    font-size: larger;
    padding: 1em;
}

.footer label {
    padding: 0 0 1em 3em!important;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

fieldset {
    border: 0;
}

.footer .form-div {
    width: 80%;
    max-width: 40em;
    margin: auto;
    border-top: 1px #fff dotted;
    padding-top: 1em;
    border-bottom: 1px #fff dotted;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.form-div fieldset {
    margin-bottom: 1em;
}

.form-div fieldset:last-child {
    width: 6em;
    margin: auto;
    font-size: smaller;
}

.form-div input, textarea {
    width: 90%;
    padding: .5em;
    border-radius: .25em;
    border: 0;
}

.form-div textarea {
    height: 6em;
    font-family: 'Oswald', sans-serif;
}

.form-div label span {
    color: tomato;
    display: none;
}

.copyright {
    font-size:  .625em;
    color: #fff;
    padding: 2em;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

.footer a:visited {
    color: #fafafa;
}

#captcha-refresh {
    display: flex;
}

.captcha-block {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}
.captcha-block input {
    width: 4em;
}

.toast {
    width: auto;
    max-width: 260px;
    padding: 1em 2em;
    border-radius: 3em;
    background-color: var(--bottle-green);
    color: var(--nyanza);
    font-size: small;
    border: 2px solid var(--nyanza);
    text-align: center;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    z-index: 1000;
    -webkit-box-shadow: 3px 3px 8px 2px rgb(0 0 0 / 62%);
    -moz-box-shadow: 3px 3px 8px 2px rgba(0,0,0,0.62);
    box-shadow: 3px 3px 8px 2px rgb(0 0 0 / 62%);
}
.show-toast {
    visibility: visible;
    animation: toast 2s ease reverse;
}
@keyframes toast {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    padding: 1em;
    border-radius: 10px;
    background: white;
    -webkit-box-shadow: 3px 3px 8px 2px rgb(0 0 0 / 62%);
    -moz-box-shadow: 3px 3px 8px 2px rgba(0,0,0,0.62);
    box-shadow: 3px 3px 8px 2px rgb(0 0 0 / 62%);
    text-align: center;
}

.modal-open {
    display: block!important;
    animation: scale-in .2s cubic-bezier(.2,0,.13,1.5);
}

.modal-shroud {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0,0,0, 0.7);
    display: none;
}

.alert-modal p {
    border: 1px solid var(--bottle-green);
    border-radius: .5em;
    padding: 1em;
    background: var(--ocean-green-2);
    color: white;
    text-align: left;
}

/* portfolio stuff  */

.case-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: minmax(30px, auto);
    gap: 10px;
    grid-template-areas: 
        "case-image case-header case-header case-header case-header"
        "case-image case-desc case-desc case-desc case-desc"
        "case-image case-solution case-solution case-solution case-solution";
}
@media screen and (max-width: 58em) {
    .case-grid {
        grid-template-areas: 
        "case-header case-header case-header case-header case-header"
        "case-image case-desc case-desc case-desc case-desc"
        "case-image case-solution case-solution case-solution case-solution";
    }
    .case-header {
        flex-direction: row!important;
        justify-content: center!important;
        align-items: center!important;
        padding-left: 2em;
    }
}

@media screen and (max-width: 42em) {
    .case-grid {
        grid-template-areas: 
        "case-header case-header case-header case-header case-header"
        "case-desc case-desc case-desc case-desc case-desc"
        "case-solution case-solution case-solution case-solution case-solution"
        "case-image case-image case-image case-image case-image";
    }
}

#portfolio {
    display: flex;
    flex-direction: column;
    padding: .5em;
}

.case-grid p {
    margin: 0;
}

.case-header {
    grid-area: case-header;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.case-image {
    grid-area: case-image;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-content: center;
}
.slide-show-img {
    width: 240px;
    height: 200px;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    border: 1px solid var(--brunswick-green);
    padding: .25em;
    border-radius: .25em;
    background: var(--turquoise-green-2);
    -webkit-box-shadow: 2px 2px 4px 2px rgba(44,103,70,1);
    -moz-box-shadow: 2px 2px 4px 2px rgba(44,103,70,1);
    box-shadow: 2px 2px 4px 2px rgba(44,103,70,1);
    position: relative;
}
.slide-show-img img {
    max-width: 100%;
    max-height: 100%;
    border-radius: .25em;
    image-rendering: -webkit-optimize-contrast;
}

.justify-text {
    text-align: justify;
}

.case-desc {
    grid-area: case-desc;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-solution {
    grid-area: case-solution;
}

ul.portfolio-case-list {
    list-style: none;
    margin: 0;
    padding:0;
}

ul.portfolio-case-list li {
    border-bottom: 2px dotted black;
    margin-bottom: 1em;
    padding-bottom: 1em;
    font-size: small;
}

.v-h-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tabbed-text { padding-left: 6em; }

.slide-show-btn {
    opacity: .7;
    border: 2px solid var(--nyanza);
    z-index: 0!important;
}
.slide-show-btn::before {
    content: "";
    background-image: url('./images/carat-r-white.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
}

.slide-btn.border-btn {
    border: 2px solid var(--nyanza);
}

.slide-show-caption {
    font-size: x-small;
    font-weight: bold;
    text-align: center;
    padding-top: .5em;
}

.slider-modal h1.slider-header {
    font-size: x-large;
    margin: 0 1.5em .5em 0;
}

.slider-modal .slide-view.slide-bg {
    border: 1px solid var(--brunswick-green);
    border-radius: .5em;
    background: rgb(75, 174, 119, .1);
    min-height: calc(.6*100vw);
}











































