/* Custom - CSS */

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

.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: 65px;
    border: 0;
    position: relative;
    margin-top: -10px;
}

hr:before,
hr:after {
    content: '';
    display: block;
    position: absolute;
    background: #4C7F52;
    height: 2px;
    top: 36px;
}

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: #41BBAE;*/
    background-image: url("../img/imgback.jpg");
    background-repeat: no-repeat;
    background-size: cover;

}

.imageback img {

    filter: grayscale()
}


/*
.imageback h2,
.imageback h1 {

    color: #41BBAE;
    font-size: xxx-large;
}


.imageback h3,
.imageback h4 {

    color: #41BBAE;
    font-size: xx-large;
}

.imageback p {

    color: #41BBAE;
}

.imageback strong {

    color: #41BBAE
}*/


.zoom {
    transition: transform .2s;
}

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


.cardyc {

    border: 5px solid #E9E3E3;
    padding: 20px;
    border-radius: 40px;
    background-color: #15326A;
    text-align: center;

}


.cardyc p {

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

.cardyc h1 {

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


}

.cardyc h2,
.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;
}


/* From Uiverse.io by alexruix */
.card {
    width: 220px;
    height: 150px;
    /*    border-radius: 20px;*/
    background: #f5f5f5;
    position: relative;
    padding: 1.8rem;
    border: 2px solid #c3c6ce;
    transition: 0.5s ease-out;
    overflow: visible;
}

.card-details {
    color: black;
    height: 100%;
    gap: .5em;
    display: grid;
    place-content: center;
}

.card-button {
    transform: translate(-50%, 125%);
    width: 60%;
    border-radius: 1rem;
    border: none;
    background-color: #DFAFD7;
    color: #fff;
    font-size: 1rem;
    padding: .5rem 1rem;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    transition: 0.3s ease-out;
    font-family: "baker-signet-web", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;

}

.text-body {
    color: rgb(134, 134, 134);
}

/*Text*/
.text-title {
    font-size: 1.5em;
    font-weight: bold;
    font-family: "baker-signet-web", serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
    justify-self: center;
}

/*Hover*/
.card:hover {
    border-color: #DFAFD7;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card:hover .card-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}


/* CSS */
.button-85 {
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #060422;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-85:before {
    content: "";
    background: linear-gradient(45deg,
            #AF1DAD,
            #8F74CC,
            #37DCF6,
            #8F74CC,
            #AF1DAD,
            #8F74CC,
            #37DCF6,
            #8F74CC,
            #AF1DAD);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    -webkit-filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button-85 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

@keyframes glowing-button-85 {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.button-85:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #060422;
    left: 0;
    top: 0;
    border-radius: 10px;
}


.container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /*    background-color: #F7F3F0;*/
}

.button-container {
    position: relative;
    /*    margin-left: -334px;*/
    margin-top: 26px;

    button {
        color: #053E2B;
        padding: 10px 20px;
        font-family: "gamay-variable", sans-serif;
        font-variation-settings: "wdth"100, "wght"500;
        font-size: 30px;
        background-color: #4C7F52;
        border: 5px solid #053E2B;
        border-radius: 20px;
        cursor: pointer;
        position: relative;
        box-sizing: border-box;
    }

    &:hover {
        .dog {
            transform: translate(20px, -55px) rotate(15deg);
            transition-delay: 0.6s;
        }

        .paw {
            transition-delay: 0.3s;
            right: -5px;

            &::after {
                transition-delay: 0s;
                left: 0;
            }

            &.top {
                transition-delay: 0.4s;
                right: 40px;
                top: -8px;
            }
        }

        .tail {
            opacity: 1;
            transition-delay: 0.6s;
        }
    }
}

.dog {
    position: absolute;
    width: 65px;
    height: 58px;
    top: -10px;
    right: 1px;
    transform: translate(0, 0) rotate(0);
    transition: 0.3s transform cubic-bezier(0.33, 1, 0.68, 1);

    div {
        position: absolute;
    }

    .tail {
        width: 10%;
        height: 35%;
        left: -50%;
        bottom: -34%;
        transform: rotate(-25deg);
        transition: 0.1s opacity;
        transition-delay: 0s;
        opacity: 0;

        &::after {
            content: '';
            position: absolute;
            transform-origin: bottom center;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 50% 50% 0 0;
            background-color: #E1A46E;
            animation: infinite alternate tailSkew .3s cubic-bezier(0.65, 0, 0.35, 1);
        }
    }

    @keyframes tailSkew {
        from {
            transform: skewX(15deg);
        }

        to {
            transform: skewX(-15deg);
        }
    }


    .body {
        width: 70%;
        height: 50%;
        bottom: -20%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #9F6A43;
        border-radius: 50% 50% 0 0;
    }

    .head {
        width: 65%;
        height: 70%;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 80% 80% 60% 60%;
        background-color: #E1A46E;
    }

    .nuzzle {
        width: 70%;
        height: 40%;
        bottom: 0%;
        left: 50%;
        transform: translateX(-50%);

        &::before,
        &::after {
            content: '';
            width: 50%;
            height: 100%;
            display: inline-block;
            position: absolute;
            top: 0;
            left: 0;
            background-color: #C28E5F;
            border-radius: 70% 30% 50% 20%;
            z-index: 1;
        }

        &::after {
            left: auto;
            right: 0;
            transform: scaleX(-1);
        }
    }

    .mouth {
        width: 50%;
        height: 90%;
        border-radius: 100%;
        background-color: #111827;
        left: 50%;
        bottom: -20%;
        transform: translateX(-50%);
    }

    .tongue {
        width: 50%;
        height: 50%;
        background-color: #ef4444;
        left: 50%;
        transform: translateX(-50%);
        bottom: 5%;
        border-radius: 50%;
        animation: 0.3s alternate tongueBounce infinite cubic-bezier(0.45, 0, 0.55, 1);
    }

    @keyframes tongueBounce {
        from {
            bottom: 20%;
        }

        to {
            bottom: 15%;
        }
    }

    .nose {
        width: 30%;
        height: 20%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        z-index: 10;

        &::before {
            content: '';
            width: 100%;
            height: 60%;
            top: -50%;
            left: 0;
            position: absolute;
            display: inline-block;
            background-color: #1f2937;
            border-radius: $fullyRound $fullyRound 0 0;
        }

        &::after {
            content: '';
            width: 100%;
            height: 100%;
            top: 10%;
            left: 0;
            position: absolute;
            display: inline-block;
            background-color: #1f2937;
            border-radius: 0 0 $fullyRound $fullyRound;
        }

        .nostrils {
            width: 90%;
            height: 100%;
            top: 0;
            z-index: 1;
            left: 50%;
            transform: translateX(-50%);

            &::before {
                content: '';
                display: inline-block;
                width: 30%;
                left: 10%;
                height: 100%;
                position: absolute;
                background-color: #000;
                border-radius: 100%;
            }

            &::after {
                content: '';
                display: inline-block;
                width: 30%;
                right: 10%;
                height: 100%;
                position: absolute;
                background-color: #000;
                border-radius: 100%;
            }
        }


        .highlight {
            top: -50%;
            left: 50%;
            width: 80%;
            height: 30%;
            transform: translateX(-50%);
            background-color: #fff;
            border-radius: $fullyRound $fullyRound 0 0;
            background: linear-gradient(#fff, rgba(255, 255, 255, 0));
            opacity: 0.3;
        }
    }

    .eyes {
        width: 80%;
        height: 35%;
        top: 25%;
        transform: translateX(-50%);
        left: 50%;

        .left,
        .right {
            border-radius: $fullyRound;
            background-color: #111;
            width: 25%;
            height: 52%;
            top: 50%;
            transform: translateY(-50%);

            &::after {
                content: '';
                display: inline-block;
                position: absolute;
                width: 30%;
                height: 30%;
                background-color: #fff;
                opacity: 0.7;
                border-radius: $fullyRound;
                left: 15%;
                top: 15%;
            }
        }

        .left {
            left: 15%;
        }

        .right {
            right: 15%;
        }
    }

    .ears {
        width: 90%;
        height: 90%;
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);

        div {
            width: 30%;
            height: 50%;
            left: 0;
            top: 0;
            background-color: #9F6A43;
            transform: rotate(15deg);
            border-radius: 60% 20% 80% 10%;
            z-index: 1;
        }

        div.right {
            transform: rotate(-15deg) scaleX(-1);
            left: auto;
            right: 0;
        }
    }
}

.paw {
    position: absolute;
    right: -20px;
    top: 15px;
    overflow: hidden;
    width: 20px;
    height: 20px;
    transition: .3s right cubic-bezier(0.33, 1, 0.68, 1);

    &::after {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background-color: #E1A46E;
        transition: .3s left cubic-bezier(0.33, 1, 0.68, 1);
        transition-delay: .3s;
    }

    &.top {
        transform: rotate(-90deg);
        top: -20px;
        right: 40px;
        transition: .3s top cubic-bezier(0.33, 1, 0.68, 1);
    }
}
