:root {
    --theme: #2acfcf;
    --gray: #888;
    --lightgreen: #ebf6f9;
    --green: #ebf5eb;
    --pink: #f6e6f6;
    --lightyellow: #f9efe9;
    --themegradient: linear-gradient(90deg, rgba(42,207,207,1) 0%, rgba(0,255,235,1) 51%, rgba(42,207,207,1) 100%);
    --bluegradient: linear-gradient(180deg, #6d84ad -75%, #99a8c7 100%)
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Poppins, Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 30rem;
}
footer {
    display: flex;
    position: absolute;
    width: 100%;
    bottom: 0;
    min-height:20rem;
    background:#222;
    line-height:2;
    font-size:.8rem;
}
footer, footer a {
    color: #fff;
    text-decoration:none;
    transition: 0.3s color;
}
footer a:hover {
    color: var(--theme);
}

.nav-link {
    color: #9e9aa7 !important;
    line-height: 1.5;
}
.nav-link {
    font-weight: 500;
}
.nav-link:hover{
    color:#444 !important;
}
.navbar-brand{
    font-weight:700;
    color:var(--theme) !important;
}

.round{border-radius:1rem}

.flex-50{
    flex:1;
}
.device-view {
    background: url(/img/desktop.png) no-repeat;
    background-size: cover;
    height:auto;
    width: 100%;
    max-width:40rem;
}
.device-phone {
    background: url(/img/iphone-3329961.svg) no-repeat;
    background-size: cover;
    height: auto;
    width: 100%;
    max-width: 20rem;
    padding:4rem 1.4rem;
}
.toggle-device svg {
    fill: var(--gray);
    margin-left: 1rem;
    margin-right: 1rem;
}
.toggle-device svg:first-child {
    margin-right: 1.5rem;
}
.toggle-device svg:hover{
    fill:var(--theme);
    cursor:pointer;
}

.features {
    margin-top: 100px;
    min-height: 20rem;
    background-color: #eff0f5;
}
.text-justify{
    text-align:justify;
    text-justify:inter-character;
}
.text-theme{
    color:var(--theme);
}
.btn-theme {
    border: 1px solid var(--theme) !important;
    background-color: var(--theme) !important;
    color: #fff;
}

    .btn-theme:hover {
        box-shadow: 0 .5rem 1rem rgba(42,207,207,.6);
        transition: box-shadow .25s;
    }
.btn-outline-theme {
    border:1px solid var(--theme) !important;
    color:var(--theme);
}
    .btn-outline-theme:hover {
        background-color: var(--theme) !important;
        color: #fff !important;
        box-shadow: 0 .5rem 1rem rgba(42,207,207,.6);
        transition: box-shadow .25s;
    }
.section-consult {
    background: var(--bluegradient)
}
.html-editor>div{
    flex: 0 0 33.3333%;
}
.html-editor [contenteditable] {
    width: 100%;
    min-height:20rem;
    background:#000;
    color:#fff;
    font-size:14px;
    font-family:monospace;
    padding:.5rem 1rem;
    white-space:pre-wrap;
    tab-size:4;
}
.bg-green{background:var(--green)}
.bg-l-green{background:var(--lightgreen)}
.bg-l-yellow{background:var(--lightyellow)}
.bg-pink{background:var(--pink)}

.card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    border-radius: 1rem;
}
.template-grid li{
    position:relative;
    border-radius: .5rem;
}
.template-grid img{
    border-radius: .5rem;
}


.template-grid li:hover {
    overflow:hidden
}
.template-grid li:hover img {
    transform:scale(1.1);
    transition: .5s all ease-out;
}
.template-item-overlay {
    height:100%;
}
.template-item-overlay::after {
    content: '';
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.2s all ease-out;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.3) 100%);
}

.template-grid li:hover .template-item-overlay::after {
    opacity: 0;
}

.zoom-in {
    animation: .5s ease-out 0s 1 zoomIn;
}
@keyframes zoomIn {
    0% {
        transform: scale(.8);
    }

    100% {
        transform: scale(1);
    }
}
.slide-up {
    animation: 1s ease-out 0s 1 slideUp;
}
@keyframes slideUp {
    0% {
        transform: translateY(2rem);
    }

    100% {
        transform: translateY(0);
    }
}
.slide-down {
    animation: 1s ease-out 0s 1 slideDown;
}
@keyframes slideDown {
    0% {
        transform: translateY(-4rem);
    }

    100% {
        transform: translateY(0);
    }
}


.phone {
    border: 40px solid #ddd;
    border-width: 75px 18px;
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.5s ease;
    height:650px;
}

    .phone iframe {
        border: 0;
        width: 100%;
        height: 100%;
    }

    .phone.device-2{
        border-width:.5rem;
    }

    .phone.view_1 {
        transform: rotateX(50deg) rotateY(0deg) rotateZ(-50deg);
        box-shadow: -3px 3px 0 #BBB, -6px 6px 0 #BBB, -9px 9px 0 #BBB, -12px 12px 0 #BBB, -14px 10px 20px #666;
    }
    .phone.view_2 {
        transform: rotateX(0deg) rotateY(-60deg) rotateZ(0deg);
        box-shadow: 5px 1px 0 #BBB, 9px 2px 0 #BBB, 12px 3px 0 #BBB, 15px 4px 0 #BBB, 0 7px 20px #999;
    }

    .phone.view_3 {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        box-shadow: 0px 3px 0 #BBB, 0px 4px 0 #BBB, 0px 5px 0 #BBB, 0px 7px 0 #BBB, 0px 10px 20px #666;
    }
.device-wrapper {
    max-width: 420px;
    transform:scale(.75)
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0rem;
    grid-row-gap: 1rem;
}


@media screen and (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 3rem;
        grid-row-gap: 3rem;
    }
    .device-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .template-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .template-grid li:first-child {
        grid-area: 1 / 1 / 3 / 3;
    }

    .template-grid li:first-child img {
        height: 100%;
        width: auto;
    }
}
@media screen and (min-width: 1600px) {
    .phone {
        height: 800px;
    }
    .device-wrapper {
        transform: scale(.8)
    }
}