﻿
.donateEOY-2021-bg {
    

    background-size: contain;
    color: #ffffff;
    margin-bottom: 8.5em;
    position: relative;
    padding-bottom: 173px;
    background-image: url('../img/EOY-2021/onegift-donate-pg-BG-PATTERN-2x.jpg');
}

@media (max-width: 900px) {
    .donateEOY-2021-bg {
        background-size: cover;
    }
}
   
@media (max-width: 600px) {
    .donateEOY-2021-bg {
        margin-bottom: 9em;
        padding-bottom: 166px;
    }
}

@media (max-width: 500px) {
    .donateEOY-2021-bg {
        margin-bottom: 7em;
        padding-bottom: 130px;
    }
}

.donateEOY-2021-bg h1 {
    color: #ffffff;
    font-size: 40px;
}

.donateEOY-2021-bg h4 {
    color: #ffffff;
    font-size: 23px;
    margin-top:16px;
}

.donateEOY-2021-bg p {
    color: #ffffff;
    font-size: 19px;
    line-height:1.6em;
}


.donateEOY-2021-bg a {
    color: #e64b38;
    font-weight: 700;
    text-decoration: underline;
}

    .donateEOY-2021-bg a:hover, a:focus {
        color: #cf3339;
        text-decoration: underline;
    }

.donateEOY-2021-tag-img {
    width: 706px;
}

.image-small {
    display: none;
}

@media (max-width: 600px) {
    .donateEOY-2021-tag-img {
        width: 548px;        
    }
    
    .image-big {
        display: none;
    }

    .image-small {
        display: block;
    }
}

@media (max-width: 500px) {
    .donateEOY-2021-tag-img {
       width: 466px;
    }
}

@media (max-width: 400px) {
    .donateEOY-2021-tag-img {
        width: 445px;
    }
}

.juf-ribbon-container {
    position: absolute;
    bottom: -317px;
    left: calc(50% - 414px);
}

@media (max-width: 600px) {
    .juf-ribbon-container {
        bottom: -323px;
        left: calc(50% - 290px);
    }
}

@media (max-width: 500px) {
    .juf-ribbon-container {
        bottom: -261px;
        left: calc(50% - 257px);
    }
}

@media (max-width: 400px) {
    .juf-ribbon-container {
        bottom: -254px;
        left: calc(50% - 238px);
    }
}
