/* Custom - CSS */

.colorback {
    padding: 30px 0px;
    background-color: #0E789F;
}

.colorback p,
.colorback li,
.colorback ul,
.colorback b,
.colorback strong {
    color: white;
}

.colorback h2,
.colorback h3,
.colorback h4,
.colorback h1 {

    color: #C7C522;
}

.colorback2 {
    padding: 30px 0px;
    background-color: #B2A9D2;
}

.colorback2 p,
.colorback2 li,
.colorback2 ul,
.colorback2 b,
.colorback2 h2,
.colorback2 h3,
.colorback2 h4,
.colorback2 b,
.colorback2 strong,
.colorback2 h1 {
    color: white;
}



hr {
    background: url("../img/hr.png") no-repeat top center;
    background-size: contain;
    display: block;
    height: 76px;
    border: 0;
    position: relative;
}

hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: black;
    height: 2px;
    top: 22px;
}

hr:before {
    left: 0;
    right: 60%;
    margin-right: 10px;
    margin-left: 70px;
}

hr:after {
    right: 0;
    left: 60%;
    margin-left: 10px;
    margin-right: 70px;
}

.imageback {
    padding: 120px 0px;
    background-color: white;
    background-image: url("../img/imgback.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.imageback h2 {

    color: white
}

.imageback p {

    color: black;
}

.imageback strong {

    color: white
}


.zoom {
    transition: transform .2s;
}

.zoom:hover {
    transform: scale(1.05);
}





.cardyc {

    border: 5px solid #F6F5F2;
    padding: 32px;
    border-radius: 8px;
    background-color: #DED9D2;
    text-align: center;

}



.cardyc p {

    color: black;
    text-align: center;
    justify-self: center;
}

.cardyc h1 {

    color: black;
    text-align: center;
    justify-self: center;

}


.cardyc h3 {

    color: black;
    text-align: center;
    justify-self: center;

}



.cardyb {

    /*    border-top: 4px solid #4DCBBD;*/
    padding: 32px;
    border-radius: 8px;
    background-color: #ffff;
    /*    width: 256px;*/
    border: 2px solid black;

    /*    box-shadow: 2px 9px 5px rgb(0, 0, 0, 0.9);*/



}

.cardyb p {

    color: white
}

.cardyb h3 {

    color: white
}

.roof .workspace .element {
    align-self: center;
    justify-self: center;
}

.roof .workspace .element .element h1,
.roof .workspace .element .element h3,
.roof .workspace .element .element p {
    justify-self: center;
    text-align: center;
}

@media(max-width: 768px) {
    .roof .workspace .element {
        align-self: left;
        justify-self: left;
    }

    .roof .workspace .element .element h1,
    .roof .workspace .element .element h3,
    .roof .workspace .element .element p {
        justify-self: left;
        text-align: left;
    }
}



@-webkit-keyframes bounce {
    0% {
        transform: scale(1, 1) translate(0px, 0px);
    }

    30% {
        transform: scale(1, 0.8) translate(0px, 10px);
    }

    75% {
        transform: scale(1, 1.1) translate(0px, -25px);
    }

    100% {
        transform: scale(1, 1) translate(0px, 0px);
    }
}


.bounce {
    -webkit-animation: bounce 1.5s infinite;
}

.bounce2 {
    animation: bounce2 2s ease infinite;
}

@keyframes bounce2 {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}



.mobishow {
    display: none !important;
}

.mobihide {
    display: grid !important;
}

@media (max-width: 600px) {
    .mobishow {
        display: grid !important
    }

    .mobihide {
        display: none !important;
    }
}

.shineytext {

    background: linear-gradient(to right, #b1b1b1, #cfcfcf, #f3f3f3, #b1b1b1);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}




/* Quote Box */

.quotecontainer {
    margin: 0 auto;
    display: grid;
    grid-gap: 20px;
    box-sizing: border-box;
    padding: 40px 20px;
}

.quotecontainer .quotebox {
    position: relative;
    padding: 80px 40px 40px;
    transition: 0.5s;
    text-align: center;
    background: #0E789F;
    border-radius: 10px;
}

.quotecontainer .quotebox:hover {
    background-color: #C7C522;
}

.quotecontainer .quotebox p {
    margin: 0;
    padding: 0;
    transition: 0.5s;
    color: white;

}

.quotecontainer .quotebox h4 {
    margin: 20px 0 0;
    padding: 0;
    transition: 0.5s;
    font-size: 18px;
    color: #F7F7F7;
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.quotecontainer .quotebox h4 span {
    font-weight: :600;
    font-size: 14px;
    color: #F7F7F7;
    transition: 0.5s;
}

.quotecontainer .quotebox:hover p {

    color: black;
}

.quotecontainer .quotebox:hover h4,
.quotecontainer .quotebox:hover h4 span {
    color: black;
}

.quotecontainer .quotebox .imgBox {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translate(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;

}

.quotecontainer .quotebox:before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('../img/quotes.png');
    background-size: cover;
    opacity: 0.02;
    pointer-events: none;
    transition: 0.5s;
}

.quotecontainer .quotebox:hover:before {
    transform: translateY(-60px);
    opacity: 1;
}

.quotecontainer .quotebox:after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: url('../img/quotes.png');
    background-size: cover;
    opacity: 0.02;
    pointer-events: none;
    transition: 0.5s;
    transform: rotate(180deg) translateY(0px);
}

.quotecontainer .quotebox:hover:after {
    transform: rotate(180deg) translateY(-60px);
    opacity: 1;
}



/* CSS */
.button-87 {
    margin: 10px;
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: black;
    border-radius: 10px;
    display: block;
    border: 0px;
    font-weight: 700;
    box-shadow: 0px 0px 14px -7px #F2F2F1;
    background-image: linear-gradient(45deg, #6F6F6F 0%, #F2F2F1 51%, #6F6F6F 100%);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-87 h3 {

    color: black;
}

.button-87:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.button-87:active {
    transform: scale(0.95);
}
