.title {
    font-family: "Cambay", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
}

.sub-title {
    font-family: "Cambay", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 24px;
}

.sub-sub-title {
    font-family: "Cambay", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 25px;
}

.label {
    font-family: "Cambay", sans-serif;
    font-weight: 400;
    font-size: 14px;
    font-style: normal;
    color: gray;
    line-height: 20px;
}

.text {
    font-family: "Cambay", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
}

.button {
    font-family: "Cambay", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    height: 50px;
    background-color: #e5e9ec;
    border: 2px solid #e5e9ec;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    padding: 0;
    /*padding: 10px 20px;*/
    position:relative;
    cursor: pointer;
}

.button p{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    color: #1A2232;
    line-height: 50px;
}

.button:hover p{
    color: #24A19C;
}

.button:hover .hoverBtn:before, .button:hover .hoverBtn:after {
    opacity: 1;
    -webkit-animation: open 0.2s;
    /* Chrome, Safari, Opera */
    animation: open 0.2s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
    animation-direction: normal;
}

.button:hover .hoverBtn-bottom:before, .button:hover .hoverBtn-bottom:after {
    opacity: 1;
    -webkit-animation: openB 0.2s;
    /* Chrome, Safari, Opera */
    animation: openB 0.2s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);
    animation-direction: normal;
}

.hoverBtn {
    width: 100%;
    height: 50px;
    position: absolute;
    top: -2px;
    left: 0;
}

.hoverBtn:before, .hoverBtn:after, .hoverBtn-bottom:before, .hoverBtn-bottom:after{
    position: absolute;
    content: '';
    height: 0;
    width: 0;
    display: block;
    opacity: 0;
}

.hoverBtn:before{
    border-top: solid 2px #24A19C;
    border-left: solid 2px #24A19C;
    -webkit-border-top-left-radius: 8px;
    -moz-border-top-left-radius: 8px;
    border-top-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-bottom-left-radius: 8px;
    border-bottom-left-radius: 8px;
    right: 50%;
}

.hoverBtn:after{
    border-top: solid 2px #24A19C;
    border-right: solid 2px #24A19C;
    -webkit-border-top-right-radius: 8px;
    -moz-border-top-right-radius: 8px;
    border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;
    left: 50%;
}

.hoverBtn-bottom {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.hoverBtn-bottom:before{
    height: 50px;
    border-bottom: solid 2px #24A19C;
    -webkit-border-top-right-radius: 8px;
    -moz-border-top-right-radius: 8px;
    border-top-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;
    right: 0;
}

.hoverBtn-bottom:after{
    height: 50px;
    border-bottom: solid 2px #24A19C;
    -webkit-border-top-left-radius: 8px;
    -moz-border-top-left-radius: 8px;
    border-top-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-bottom-left-radius: 8px;
    border-bottom-left-radius: 8px;
    left: 0;
}

@keyframes open {
    0% {
        width: 0;
        height: 0;
    }
    50% {
        width: 50%;
        height: 0;
    }
    100% {
        width: 50%;
        height: 50px
    }
}

@keyframes openB {
    0% {
        width: 0px;
    }
    100% {
        width: 50%
    }
}


@media all and (max-width: 1100px){
    .title {
        font-size: 25px;
    }

    .sub-title {
        font-size: 22px;
    }
    
    .text {
        font-size: 16px;
    }
    
    .button {
        font-size: 16px;
    }
}

@media all and (max-width: 800px){
    .title {
        font-size: 20px;
    }

    .sub-title {
        font-size: 18px;
    }

    .sub-sub-title{
        font-size: 16px;
    }
    
    .text {
        font-size: 15px;
    }

    .label{
        font-size: 12px;
        line-height: 15px;
    }
    
    .button {
        font-size: 15px;
        border-radius: 8px;
        padding: 8px 16px;
    }
}

@media all and (max-width: 600px){
    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .title {
        font-size: 22px;
    }

    .sub-title {
        font-size: 19px;
    }

    .sub-sub-title{
        font-size: 17px;
        line-height: 22px;
    }
    
    .text {
        font-size: 16px;
    }

    .label{
        font-size: 13px;
        line-height: 18px;
    }
    
    .button {
        font-size: 16px;
    }
}
