/Font face/
@font-face {
  font-family: inter;
  font-weight:400;
  src: url('./fonts/Inter-Regular.ttf')format("truetype");
}

@font-face {
  font-family: noto;
  font-weight:400;
  src: url('./fonts/NotoSans-Regular.ttf')format("truetype");
}

/*/grow Effect/*/
.grow-effect figure {
    overflow: hidden;
}

.grow-effect img {
    -moz-transition: -moz-transform 0.5s;
    -o-transition: -o-transform 0.5s;
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}

.grow-effect:hover img {
    /-moz-transition: -moz-transform 1s;/
    /-o-transition: -o-transform 1s;/
    /-webkit-transition: -webkit-transform 1s;/
    /transition: transform 1s;/
    transform: scale(1.05);
}

/****Side Contact New Xiao Chen*****/
a.floating-button {
    position: fixed;
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 240px;
    right: 30px;
    font-size: 20px;
    background-color: rgba(37, 211, 102, 1);
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    z-index: 1000;
    animation: pulsess 3s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

a.floating-button_phone {
    bottom: 160px;
    background-color: rgba(220, 16, 16, 1);
}

a.floating-button_mail {
    bottom: 80px;
    background-color: rgba(0, 114, 198, 1);
}

a.floating-button_fb {
    bottom: 320px;
    background-color: rgba(53, 120, 229, 1);
}

a.floating-button:hover {
    color: #fff;
    background-color: rgba(37, 211, 102, .45);
    animation-play-state: paused;
}
a.floating-button_phone:hover {
    background-color: rgba(220, 16, 16, .45);
}

a.floating-button_mail:hover {
    background-color: rgba(0, 114, 198, .45);
}

a.floating-button_fb:hover {
    background-color: rgba(53, 120, 229, 0.45);
}

@keyframes pulsess {
  0% {
    box-shadow: 0 0 0 0 rgba(0,0,0, .3);
  }
  30% {
    box-shadow: 0 0 0 10px rgba(0,0,0, 0.1);
  }
  50% {
    box-shadow: 0 0 0 0 rgba(0,0,0, 0);
  }
  80% {
    box-shadow: 0 0 0 10px rgba(0,0,0, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,0,0, 0);
  }
}

@media only screen and (max-width: 767px) {
    #side-contact{
        padding:15px;
        background:#fff;
        display:flex;
        flex-direction:row;
        justify-content:center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index:99;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }
    
    #side-contact a.floating-button{
        position:initial;
        display: block;
        margin:0 15px;
        width: 45px;
        height: 45px;
        /*line-height: 35px;*/
        display:flex;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        /*font-size: 20px;*/
    }
    
    /*/this is testing using javascript/*/
    #side-contact.initial{
        /*/position:unset;/*/
        bottom:-100%;
    }
}

html,body{
  scroll-behavior: smooth;
  overflow-x: hidden;
}


