@charset "UTF-8";
/* CSS Document */

body {
	background: #DBDDDF;
    background: url("images/Nihon_Pattern1_webMedium.png");
	margin: 0;
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
}
a:link {
    color:#0057FF;
    text-decoration:none;
}
a:visited {
/*    color:#2D58AC;*/
    color:#0057FF;
    text-decoration:none;
}
/* ---------------- X ---------------- */
#content {
/*    position: absolute;*/
/*    top: 50%;*/
/*    margin-top: -125px;*/
    /* half of #content height*/
/*    left: 0;*/
/*    width: 100%;*/
    height: 100vh;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
}

#talkingOwl {
/*    margin-left: auto;*/
/*    margin-right: auto;*/
    width: 290px;
    height: 250px;
/*    flex: auto;*/
}

.Owl3image {
    position: relative;
    top: 16px;
    left: 150px;
}
.Owl1image {
    position: relative;
    top: 16px;
    left: 170px;
}
.baloon {
    transform-origin: 62% 100%;
    -webkit-transform-origin: 62% 100%;
    animation: pop 0.4s ease-in-out;
    -webkit-animation: pop 0.4s ease-in-out;
/*    animation-timing-function: cubic-bezier(.02,.23,.62,1.66);*/
}

.talk {
    position: relative;
    background: #3A3E41;
    width: 222px;
    padding: 24px 34px 0px 34px;
    color: white;
    font-family: georgia;
    line-height: 1.3;
    box-shadow: 0 1px 2px rgba(0,0,0, 0.3)
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0, 0.3)
}

.talkBelow:before {
    position: absolute;
    content: "";
    width: 0px;
    height: 0px;
    right: 104px;
    border-right: 18px solid #3A3E41;
    border-bottom: 18px solid transparent;
    bottom: -16px;
}
.talkBelow:after {
    animation: appear 1s;
    -webkit-animation: appear 1s;
    
    position: absolute;
    content: "";
    bottom: -16px;
    width: 226px;
    height: 140px;
    right: 60px;
    z-index: -1;
    background: url("images/shadow-talk.svg");
    background-size: 100% 100%;
    filter: blur(4px) opacity(0.55);
    -webkit-filter: blur(4px) opacity(0.55);
    transform: matrix(-1, 0, 0, 1, 0, 0);
    -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);
}
.talkBelow i {
    animation: appear 0.5s 0.4s;
    -webkit-animation: appear 0.5s 0.4s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}
.talkBelow p {
    animation: appear 0.5s 0.8s;
    -webkit-animation: appear 0.5s 0.8s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

.talkBelow i:before {
    display: block;
    position: absolute;
    left: 12px;
    top: 12px;
    content: "\201C";
    font-size: 2.7em;
}
.talkBelow i:after {
    display: inline-block;
    vertical-align: top;
    content: "\201D";
    font-size: 2.7em;
}
.talkBelow p {
    position: relative;
    margin: 0px;
    top: -20px;
    text-align: right;
    font-size: 0.7em;
}

@keyframes pop {
    0% { 
        transform: scale(0.5); 
        -webkit-transform: scale(0.5); 
    }
    50% { 
        transform: scale(1.1); 
        -webkit-transform: scale(1.1); 
    }
    60% { 
        transform: scale(0.93); 
        -webkit-transform: scale(0.93); 
    }
    80% { 
        transform: scale(1.03); 
        -webkit-transform: scale(1.03); 
    }
    100% { 
        transform: scale(1); 
        -webkit-transform: scale(1); 
    }
}
@keyframes appear {
    from { opacity: 0; }
    to { opacity: 1; }
}
