/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2 Αυγ 2019, 8:54:58 μμ
    Author     : User
*/


#top-section {
    background-color: #003c6b;
    min-height: 80vh;
}

#top-header {
    font-weight: bold;
    color: white;
    /*font-size: 2.8rem;*/
    text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

.top-questions-output {
    color: #00FF41;
    font-size: 1.1rem;
}

/* Cursor Styling */
.top-questions-cursor::after {
    content: '';
    display: inline-block;
    margin-left: 3px;
    background-color: #00FF41;
    animation-name: blink;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
}
.top-questions-cursor::after {
    height: 18px;
    width: 3px;
}

@keyframes blink {
    0% {
        opacity:1;
    }
    49% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:0;
    }
}



/* First Impression */
.first-impression-card {
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
    background-color: #343a40;
}

.first-impression-card-percent {
    font-size: 2.8rem;
}

.first-impression-card-text {
    font-size: 1.18rem;
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .first-impression-card-percent {
        font-size: 2rem;
    }

    .first-impression-card-text {
        font-size: 1.05rem;
    }
}



/* Runnable's vision card */
#runnable-vision-card {
    padding: 30px;
    background: #bb1d2a;
    transition: .3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
#runnable-vision-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    transform: translateY(-10px) scale(1.02);
}
#runnable-vision-card:hover #runnable-vision-card-title {
    background-position: -100% 0;
}

#runnable-vision-card-title {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 50%, #99222a 50%);
    background-size: 200%;
    background-position: 0 0;
    display: inline;
    transition: 1s ease-in-out;
    text-shadow: 0px 0px 3px rgba(0,0,0,.4);
    font-size: 2.2rem;
    color: white;
    font-weight: bold;
    /*font-style: italic;*/
}

.runnable-vision-card-text-1 {
    color: white;
    font-size: 1.25rem;
}

.runnable-vision-card-text-2 {
    color: #edece8;
    font-size: 1.1rem;
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    #runnable-vision-card {
        padding: 25px;
    }
        
    #runnable-vision-card-title {
        font-size: 2.0rem;
    }
    
    .runnable-vision-card-text-1 {
        font-size: 1.15rem;
    }
    
    .runnable-vision-card-text-2 {
        font-size: 1.05rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #runnable-vision-card {
        padding: 20px;
    }
    
    #runnable-vision-card-title {
        font-size: 1.9rem;
    }
    
    .runnable-vision-card-text-1 {
        font-size: 1.10rem;
    }
    
    .runnable-vision-card-text-2 {
        font-size: 1.03rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    #runnable-vision-card {
        padding: 15px;
    }
    
    #runnable-vision-card-title {
        font-size: 1.8rem;
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #runnable-vision-card {
        padding: 10px;
    }
    
    #runnable-vision-card-title {
        font-size: 1.7rem;
    }
}



/* Website as marketing tool */
.website-markteting-tool-point {
    font-size: 1.22rem;
    /*font-weight: bold;*/
    /*font-style: italic;*/
    color: white;
    text-shadow: 1px 1px 3px #000000;
    /*letter-spacing: .09rem;*/
}



/* Website Outer World Image */
#website-outer-world-header {
    font-size: 2.8rem;
}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
    #website-outer-world-header {
        font-size: 2.6rem;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    #website-outer-world-header {
        font-size: 2.4rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    #website-outer-world-header {
        font-size: 2.2rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    #website-outer-world-header {
        font-size: 2rem;
    }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #website-outer-world-header {
        font-size: 1.9rem;
    }
}

#website-outer-world-card-container {
    display: grid;
    perspective: 700px;
}

#website-outer-world-card-flip,
#website-outer-world-card-container {
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

#website-outer-world-card-flip div {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

#website-outer-world-card-container:hover #website-outer-world-card-flip {
    transform: rotateY(180deg);
}

#website-outer-world-card-flip {
    display: grid; grid-template: 1fr / 1fr;
    grid-template-areas: "frontAndBack";
    transform-style: preserve-3d;
    transition: all 0.7s ease;
}

#website-outer-world-front {
    grid-area: frontAndBack;
    background-color: #f8f9fa;
    box-shadow: 2px 2px #888888;
}

#website-outer-world-back {
    grid-area: frontAndBack;
    transform: rotateY(-180deg);
    background-color: #1ba88c;
    font-weight: bold;
    overflow: hidden;
    border-color: black;
    box-shadow: 5px 10px #888888;
}

#website-outer-world-back-title {
    position: absolute;
    text-align: center;
    bottom: -100px;
    transition: .5s ease-out;
    transition-delay: .5s;
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,.7);
    padding-left: 20px;
    padding-right: 20px;
}

#website-outer-world-back:hover #website-outer-world-back-title {
    bottom: 10px;
}

#website-outer-world-back-title-mobile {
    text-align: center;
    margin-bottom: 0px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: underline;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,.7);
}



/* Styled card */
.styled-card-background {
    border-radius: 5px;
    background: repeating-linear-gradient(
        -55deg,
        #bb1d2a,
        #bb1d2a 10px,
        #fff 10px,
        #fff 20px
    );
}

.styled-card {
    /*position: absolute;*/
    transition: .4s ease;
    top: 10px;
    right: -10px;
    /*border-color: black;*/
    color: gray;
    box-shadow: -5px -5px 5px 0px rgba(0,0,0,0.65);
}

.styled-card:hover {
    top: 0px;
    right: 0px;
    color: black;
    border-color: black;
    box-shadow: none;
}


.ask-proposal-button {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.97);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.97);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}



/* Websites that deliver */
#websites-that-deliver-section {
    margin-top: 50px;
    transform: skew(0deg, 5deg);
    z-index: -10000;
    background-color: #343a40;
}

#websites-that-deliver-background {
    transform: skew(0deg, -5deg);
}



/* FAQ */
.faq-button {
    font-size: 1.15rem;
    background-color: #003c6b;
    padding: 7px;
    padding-left: 10px;
    padding-right: 10px;
}

.faq-button:hover {
    background-color: #0a538c;
}



/* Website Sample */
.projects-card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1), top ease 0.5s;
    top: 0px;
    transition: all 0.3s ease-in-out;
}

.projects-card .card-img-top {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.projects-card:hover {
    box-shadow: 0 7px 14px rgba(0,0,0,0.25), 0 5px 5px rgba(0,0,0,0.22);
    top: -5px;
}

.projects-card:hover .card-img-top {
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}