﻿
.yuppsy-logo-chage-color.color-bg .navbar.is-transparent .logo-black {
    display: none;
}
.yuppsy-logo-chage-color.color-bg .navbar:not(.is-transparent) .logo-white {
    display: none;
}

.yuppsy-logo-chage-color.white-bg .navbar.is-transparent .logo-white {
    display: none;
}
.yuppsy-logo-chage-color.white-bg .navbar:not(.is-transparent) .logo-white {
    display: none;
}

.dropshadow {
    filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, .2));
}

.front-section-space {
    padding-top: 190px !important;
    padding-bottom: 190px !important;
}

.btn-square-no-border {
    border: none;
}

.med-icon {
    font-size: 26px;
    line-height: 1.1;
}

.med-icon-color {
    color: #ad5cff;
}

.template-item {
    padding: 2.5rem;
}
.template-item-image {
    border-radius: 12px !important;
    border: 1px solid black;
    -webkit-box-shadow: -1px 2px 2px 0 rgb(0 0 0 / 40%);
    box-shadow: -1px 2px 2px 0 rgb(0 0 0 / 40%);
    line-height: 0;
    overflow: hidden;

    transition: transform .3s ease-out, box-shadow .3s ease-out, border-color .3s ease-out;
}
.template-item-image-overlay-bg, 
.template-item-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.template-item-image-overlay-bg {
    opacity: 0;
    transition: opacity .3s ease-in-out;
    background-color: white;
}
.template-item-image-overlay {
    opacity: 0;
    transition: opacity .3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.template-item-image:hover {
    transform: scale(1.01);
    border-color: #e5e5e5;
}
.template-item-image:hover .template-item-image-overlay-bg {
    opacity: .8;
}
.template-item-image:hover .template-item-image-overlay {
    opacity: 1;
}
.template-item-image-figure {
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.template-item-image-figure-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.template-item-button {
    color: black;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    padding: 0.8em 0;
    overflow: hidden;
}
    .template-item-button:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0.1em;
        background-color: #8c8cf9;
        opacity: 0;
        transition: opacity 300ms, transform 300ms;
    }
    .template-item-button:after {
        opacity: 1;
        transform: translate3d(-100%, 0, 0);
    }

    .template-item-button:hover:after,
    .template-item-button:focus:after {
        transform: translate3d(0, 0, 0);
    }

.template-preview {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    max-width: 100% !important;
    min-width: 100% !important;
    max-height: 100% !important;
    min-height: 100% !important;
    margin: 0px !important;
    padding: 0px !important;
    overflow: hidden !important;
    background-color: transparent !important;
    pointer-events: none;
}
template-preview {
    display: block;
    overflow: hidden;
    position: absolute;
    top: 30px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    pointer-events: auto;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    background-color: white;
}

.template-preview-main {
    display: flex;
    flex-flow: column;
    height: 100%;
}
.template-preview-header {
    flex: 0 1 auto;
}
.template-preview-content {
    flex: 1 1 auto;
    position: relative;
}
.screen-content {
    background-color: #f2f2f2;
    padding: 6px;
    border: 1px lightgray solid;
    border-radius: 10px;
}
.screen-holder {
    position: absolute;
    bottom: 55px;
    left: 5%;
    right: 5%;
    top: 0;
    overflow: hidden;
    align-items: center;
    display: flex;
    justify-content: center;
}
.desktop-screen {
    height: 887px;
    width: 1640px;
}
.tablet-screen {
    height: 1180px;
    width: 820px;
}
.mobile-screen {
    height: 844px;
    width: 390px;
}

.button-cta-yup {
    padding: 22px !important;
}

@media screen and (max-width: 1215px) {
    .container.is-yuppsy-widescreen:not(.is-max-desktop) {
        max-width: 100%;
    }
}

@media screen and (min-width: 1216px) {
    .container.is-yuppsy-widescreen:not(.is-max-desktop) {
        max-width: 90%;
    }
}