/* Custom - CSS */

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

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

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

    color: white;
}

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

.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: #FF0000;
    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;
}


.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;
    }
}


.imageback {
    padding: 120px 0px;
    background-color: #FDEEE1;
    background-image: url("../img/imageback.png");
    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 white;
    padding: 20px;
    border-radius: 40px;
    background-color: #59250E;
    text-align: center;

}



.cardyc p {

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

.cardyc h1 {

    color: white;
    text-align: center;
    justify-self: center;
    font-size: xx-large;

}

.cardyc h4,
.cardyc h3,
.cardyc ul,
.cardyc li {

    color: white;
    justify-self: center;
    text-align: center;
    font-size: larger;
}




.cardyb {

    border: 5px solid #ECA054;
    padding: 20px;
    border-radius: 40px;
    background-color: #F5CDA7;
    text-align: center;

}


.cardyb p {

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

.cardyb h1 {

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

}


.cardyb h3,
.cardyb ul,
.cardyb li {

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


.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, #996b31, #CAB06C, #996b31);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}



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

.container .box {
    position: relative;
    padding: 80px 40px 40px;
    transition: 0.5s;
    text-align: center;
    background: #fff;
    border-radius: 10px;

}

.container .box:hover {
    background-color: rgba(247, 154, 57, 0.6);
}

.container .box p {
    margin: 0;
    padding: 0;
    transition: 0.5s;

}

.container .box h4 {
    margin: 20px 0 0;
    padding: 0;
    transition: 0.5s;
    font-size: 18px;
    color: rgb(176, 200, 226);
    font-weight: 700;
    line-height: 20px;
    text-transform: uppercase;
}

.container .box h4 span {
    font-weight: :600;
    font-size: 14px;
    color: #f79a39;
    transition: 0.5s;
}

.container .box:hover p,
.container .box:hover h4,
.container .box:hover h4 span {
    color: #fff;
}

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


}

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

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

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

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


/* From Uiverse.io by adamgiebl */
button {
    /*    font-size: 18px;*/
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    padding: 0.7em 2em;
    border: 3px solid #FF0000;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
    color: #FF0000;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
    background-color: transparent;

}

button:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    background-color: #FF0000;
    z-index: -1;
}

button:hover,
button:focus {
    color: white;
}

button:hover:before,
button:focus:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

button:active {
    transform: scale(0.9);
}
