/*
    CopyRight Aprintlab Limited
    All Right Reserved

*/

/*
    Font Override for Semantic UI
*/
p,div,span,h1,h2,h3,h4,h5,a {
    font-family: 'Noto Sans TC', sans-serif;
}

document{
    width: 100% !important;
}

body{
    background-color: white;
    width: 100% !important;
    overflow-x: hidden;
}

#main{
    transition: opacity 0.3s, filter 0.3s;
}

#main.outfocus{
    filter: blur(3px);
}

.menubtnwrapper{
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 99;
}

.clickable{
    cursor: pointer;
    transition: opacity 0.5s;  
}

.clickable:hover{
    opacity: 0.6;
}

.themegradient{
    background: rgb(253,255,254);
    background: linear-gradient(122deg, rgba(253,255,254,1) 0%, rgba(211,244,238,1) 100%); 
}

.clipbot {
    clip-path: polygon(0 0, 0 100%, 100% calc(100% - 10rem), 100% 0);
}

.iconcorner{
    position: absolute;
    left: 0px;
    top: 0px;
    padding-top: 2em;
    padding-left: 2em;
}

.iconcorner .mainicon{
    width: 5em;
}

.popupbanner{
    overflow: hidden;
    position: relative;
    height: 50em;
    max-height: 100vh;
    
}

.popupbanner .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
  
.popupbanner .text {
    text-align: right;
    transform: rotateX(51deg) rotateZ(-43deg);
    transform-style: preserve-3d;
    margin-right: 180px;
}
  
  
.popupbanner h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #4bcbac;
}

.popupbanner h3 {
    font-size: 2.3rem;
    text-transform: uppercase;
    margin: 10px 0 0 0;
    font-weight: 300;
    color:#222222;
}

.popupbanner .btn-3d {
    position: absolute;
    
    right: 2%;

    font-size: 2rem;
    text-decoration: none;
    font-weight: 700;
    padding: 0.6em 1em;

    transform: rotateX(51deg) rotateZ(43deg);
    transform-style: preserve-3d;
    border-radius: 20px;
    
    transition:
        .4s ease-in-out transform,
        .4s ease-in-out box-shadow;
}


.btn-3d.first{
    top: 0rem;
    color: white;
    background-color: #2fc4b2;
    box-shadow:
        1px 1px 0 1px #2fc4b2,
        -1px 0 28px 0 rgba(34, 33, 81, 0.01),
        28px 28px 28px 0 rgba(34, 33, 81, 0.25);
}

.btn-3d.second{
    top: -5rem;
    color: #2fc4b2;
    background-color: #ffffff;
    box-shadow:
        1px 1px 0 1px #f9f9fb,
        -1px 0 28px 0 rgba(34, 33, 81, 0.01),
        28px 28px 28px 0 rgba(34, 33, 81, 0.25);
}

.popupbanner .btn-3d:hover {
    transform:
        translate3d(0px, -16px, 0px)
        rotateX(51deg)
        rotateZ(43deg);
    box-shadow:
        1px 1px 0 1px #f9f9fb,
        -1px 0 28px 0 rgba(34, 33, 81, 0.01),
        54px 54px 28px -10px rgba(34, 33, 81, 0.15);
}

    
.gridBackground{
    background-size: 40px 40px;
    background-image:
      linear-gradient(to right, #f0f0f0 1px, transparent 1px),
      linear-gradient(to bottom, #f0f0f0 1px, transparent 1px);
    
}

.mockup{
    pointer-events: none;
    position: absolute;
    transform: rotateX(-51deg) rotateZ(-43deg);
    left: calc(50% - 18rem);
    top: calc(50% - 1rem);
}

@media (max-width:1064px) {
    .popupbanner .content{
        top: 45%;
    }
    .btn-3d.first{
        top: -1rem;
        right: 0px;
        margin-right: -20%;
    }

    .btn-3d.second{
        top: -6rem;
        right: 0px;
        margin-right: -23%;
    }

    .popupbanner h2 {
        font-size: 3rem;
        font-weight: 700;
        color: #4bcbac;
    }
    
    .popupbanner h3 {
        font-size: 1.8rem;
        text-transform: uppercase;
        margin: 10px 0 0 0;
        font-weight: 300;
        color:#222222;
    }

    .popupbanner .text {
        margin-right: 80px;
    }
}

@media (max-width:540px) {
    .popupbanner{
        height: 80vh;
    }
    .popupbanner .content{
        width: 100% !important;
        top: 35%;
    }
    .btn-3d.first{
        top: 10rem;
        right: auto;
        left: 4%;
        transform: rotateX(51deg) rotateZ(-43deg);
        z-index: 9;
    }

    .btn-3d.second{
        top: 14rem;
        right: auto;
        left: 10%;
        transform: rotateX(51deg) rotateZ(-43deg);
    }

    .popupbanner .text {
        margin-right: 30px;
        pointer-events: none !important;
    }

    .popupbanner .btn-3d:hover {
        transform:
            translate3d(0px, -16px, 0px)
            rotateX(51deg)
            rotateZ(-43deg);
    }

    .mockup{
        left: calc(80% - 18rem);
    }
}



/*
    Banner section
*/

.topbanner{
    padding: 2em;
    padding-bottom: 4em;
}

.dottedBackground{
    background-size: 40px 40px;
    background-image: radial-gradient(circle, #b3b3b3 1px, rgba(212, 212, 212, 0) 1px);
}


.theme.button{
    background-color: #2fc4b2 !important;
    color: white;
    border-radius: 0.8em !important;
}

.theme.button:hover{
    color: white;
    opacity: 60%;
}

.topbanner .subtitle{
    color: #2fc4b2;
    font-size: 2em;
}

/*
    Workflow
*/

.themed{
    color: #2fc2b0;
}

.theme.header{
    color: #2fc2b0;
}

/*
    Placeholder image
*/


/*
    Features
*/

.feature.segment{
    padding: 1.2rem;
    transition: background-color 0.1s ease-in-out ;
}

.feature.segment:hover{
    background-color: #d6fff6 !important;
}

/*
    Package compare
*/

.disabled{
    opacity: 0.6;
}

/*
    Try Now
*/

.iframeWrapper{
    position: relative;
}

.trynowExternalBtn{
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.greybg{
    background-color: #fcfcfc;
}


/*
    Footer
*/


#footer{
    position: relative;
    color: white;
    background-color: #181818;
    padding-top: 3em;
    padding-bottom: 5em;
    z-index: 99;
}

#footer a{
    color: #2fc4b1 !important;
}

#footer .content{
    color: white !important;
}

#footer .bottom{
    margin-top: 16em;
    color: white;
}

#footer .backdrop{
    position: absolute;
    right: 0px;
    width: 33em;
    bottom: 0px;
}

#footer .bottom .icon{
    color: #2fc4b1 !important;
}