.h a{
    margin-right: 1em;
}

.h a:last-of-type{
    margin-right: 0;
}

.h a span{
    position: relative;
}

.twitter, .facebook, .linkedin, .instagram{
    background-image: linear-gradient( to bottom, transparent 20%, white 20%, white 93%, transparent 93% );
    background-size: 90%;
    background-repeat: no-repeat;
}

.instagram{
    background: -webkit-radial-gradient(33% 100% circle, #FED373 4%, #F15245 30%, #D92E7F 62%, #9B36B7 85%, #515ECF);
    background: radial-gradient(circle at 33% 100%, #FED373 4%, #F15245 30%, #D92E7F 62%, #9B36B7 85%, #515ECF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}




/* add animation */
@keyframes hmove {
    from {width: 0;}
    to {width: 70%;}
}

@keyframes hmoveRotateLeft{
    from {transform: rotate(0);}
    to {transform: rotate(-405deg);}
}

@keyframes rotate{
    from {transform: rotate(0);}
    to {transform: rotate(450deg);}
}

@keyframes hmoveRotateRight{
    from {transform: rotate(0);}
    to {transform: rotate(405deg);}
}

/* .deal-pattern-left{
    background-image: url(/img/pattern/pattern02.png);
} */

.deal-container{
    width: 100%;
}

.deal{
    width: 90%;
    height: 650px;
    margin: 0 auto;
    margin-bottom: 5%;
    display: flex;
    justify-content: center;
    position: relative;
}

.deal-img{
    position: absolute;
    width: 43%;
    background-size: cover;
    background-position: center;
    top: 0;
    bottom: 0;
    transition: 0.5s ease;
    min-height: 300px;
}

.deal-title{
    font-style: italic;
}

.deal-content{
    position: absolute;
    border: 0;
    padding-left: 4em;
    padding-right: 4em;
    padding-top: 1em;
    padding-bottom: 1em;
    width: 40%;
    right: 10%;
    top: 50%;
    transform: translate(0, -50%);
    opacity: 0.95;
    transition: 0.5s ease;
}

.deal-description p {
    white-space: pre-wrap;
    text-align: left;
} 

.deal-img1{
    right: 10%;
}

.deal-content1{
    left: 10%;
    padding-top: 5em;
    padding-bottom: 5em;
    background: white;
    text-align: center;
}

.deal-content2{
    padding-top: 5em;
    padding-bottom: 5em;
    background: white;
    text-align: center;
}

.deal-img2{
    left: 10%;
}

.deal-button{
    position: absolute;
    bottom: 0;
}

.deal-button a{
    color: #f8f8f8;
    width: 22rem;
    padding: 20px;
    background: #646964;
}

.deal-button a:hover{
    background: black;
    color: #DADADA;
    text-shadow: rgba(255, 255, 255, 0.199);
}

.btn1{
    margin-bottom: 2em;
    bottom: -10%;
    left: 50%;
    transform: translate(-50%,0);
}

/* .btn2{
    margin-bottom: 2em;
    bottom: -15%;
    right: 50%;
    transform: translate(50%,0);
} */

.offer-sticker{
    background: #3D323B;
    position: absolute;
    left: -10px;
    top: -10px;
    padding: 1em;
    color: #f8f8f8;
}

.offer-sticker h3{
    text-shadow: 0 5px 10px rgba(0,0,0,0.3);
    font-weight: 300;
    font-style: italic;
}


@media(max-width: 1145px){
    .deal{
        width: 100%;
    }

    h2{
        font-size: 2em;
    }
}

@media(max-width: 768px){

    /* h2{
        font-size: 2em;
    } */

    .deal-container {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .deal{
        display: inline-flex;
        margin-top: 0;
        position: relative;
        margin-bottom: 10%;
        width: 90%;
        height: auto;
    }

    .deal-img{
        position: initial;
        width: 50%;
    }

    .deal-content{
        position: initial;
        width: 50%;
        transform: translate(0);
    }

    .btn1 {
        left: 0;
        bottom: -5%;
    }

}

@media(max-width: 660px){
    .deal{
        display: flex;
        flex-direction: column;
        height: auto;
        margin-bottom: 100px;
    }

    .deal-img, .deal-content {
        width: 100%;
        height: 100%;
        padding: 5em 2em;
    }

    .deal-title {
        font-size: 0.75em;
    }

    .btn1{
        left: 50%;
        bottom: -10%;
    }
}

@media(max-width: 360px){
    .deal{
        height: 600px;
    }
}