.donate-gallery .opacity {
    position: relative;
    overflow: hidden;
}

.donate-gallery .opacity img {
    transition: transform 0.3s ease-in-out;
}

.donate-gallery .hover-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

.donate-gallery .hover-text {
    color: #fff;
    text-align: center;
}

.donate-gallery .opacity:hover img {
    transform: scale(1.1);
}

.donate-gallery .opacity:hover .hover-text-overlay {
    opacity: 1;
}


.donate-gallery {
    margin: 0px 0px 50px 0px;
    display: grid;
    grid-template-columns: 332.37px 332px;
    grid-template-rows: 212.46px 212px 331.97px;
    gap: 25px;
}

.donate-content {
    display: flex;
    align-items: center;
    margin: 78px 0px 0px 0px;
}

.mirror-content {
    margin: 60px 0px 0px 0px;
}

.text-contents {
    margin: 0px 0px 20px 60px;
}

.thumbnail-big-image {
    grid-row: 1 / 3;
    grid-column: 2;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.image1 {
    object-fit: cover;
    width: 100%;
    height: 212.46px;
    border-radius: 10px;
}

.image2 {
    object-fit: cover;
    /* width: 332px; */
    height: 447.26px;
    border-radius: 10px;
}

.image3 {
    object-fit: cover;
   /*  width: 332.37px; */
    height: 212.8px;
    border-radius: 10px;
}

.image4, .image5 {
    object-fit: cover;
    /* width: 332.37px; */
    height: 331.97px;
    border-radius: 10px;
}

.thumbnail {
    position: relative;
    display: inline-block;
    border-radius: 10px;
}

.caption {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: grid;
    border-radius: 10px;
    position: absolute;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: white;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}

.caption-custom {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

.image-title {
    width: 255px;
    font-weight: 700;
    font-size: 32px;
    line-height: 38.4px;
}

.hover-text-overlay {
    opacity: 0;
}

.thumbnail:hover .hover-text-overlay {
    position: absolute;
    opacity: 1;
    text-align: center;
    border-radius: 10px;
    transition: 0.7s;
}

.thumbnail:hover .hover-text,
.thumbnail:hover .hover-text-second-block,
.thumbnail:hover .hover-text-third-block {
    display: flex;
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    line-height: 25.2px;
    color: white;
    background-color: #A80532;
    border-radius: 10px;
    padding: 0px 10px 0px 10px;
    align-items: center;
}

.thumbnail:hover .hover-text {
    height: 213.46px;
}

.thumbnail:hover .hover-text-second-block {
    height: 447.26px;
}

.thumbnail:hover .hover-text-third-block {
    height: 333px;
}

.opacity {
    position: absolute;
}

.text-content-heading {
    font-style: normal;
    color: #352D41;
    font-variation-settings: "wght" 700;
    margin-bottom: 28px;
}

.text-content-paragraph {
    color: #352D41;
    max-width: 460px;
    font-variation-settings: "wght" 620;
}

.text-content-button {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 7px 40px 10px 0px;
    margin: 25px 0px 7px 0px;
}

.gallery-donation-button {
    width: 254px;
    height: 61px;
    background-color: #A80532;
    font-variation-settings: "wght" 700;
    font-size: 24px;
    line-height: 28.8px;
    border: 1px solid #A80532;
    border-radius: 50px;
    color: white;
}

.gallery-donation-button:hover {
    background-color: white;
    color: #A80532;
    transition: 0.2s;
}

.text-content-button a {
    color: #FFFFFF;
}


.item-list-heading {
    font-variation-settings: "wght" 700;
    font-size: 18px;
    line-height: 21.6px;
    margin: 50px 0px 0px 0px;
}

.item-list {
    font-variation-settings: "wght" 600;
    margin: 20px 0px 0px 0px;
}

ul.list {
    list-style-type: none;
}

.list {
    font-variation-settings: "wght" 600;
    font-size: 18px;
    line-height: 25.2px;
    padding: 0px 0px 5px 0px;
}

.contact-field {
    height: 144px;
    min-width: 350px;
    max-width: 439px;
    display: flex;
    align-items: center;
    box-shadow: 0px 0px 8px 8px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 50px 0px 0px 0px;
}

.contact-image {
    display: flex;
    align-items: center;
    margin: 32px 20px 32px 30px;
    width: 80px;
    height: 80px;
}

.contact-info {
    margin: 32px 32px 32px 0px;
    line-height: 25.2px;
}

.contact-paragraph,
.contact-phone {
    font-variation-settings: "wght" 600;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
}

.contact-fullname {
    font-size: 18px;
    font-variation-settings: "wght" 700;
    line-height: 25.2px;
}

.contact-phone {
    margin: 8px 0px 0px 0px;
}

.employee-image {
    object-fit: contain;
    width: 80px;
    height: 80px;
}

.mirror-gallery {
    margin: 20px 0px 0px 15px;
    display: grid;
    grid-template-columns: 332.37px 336px;
    grid-template-rows: 227px 218px 346px;
    row-gap: 20px 25px;
    gap: 25px;
    align-items: center;
}

.mirror-text-content {
    margin: 40px 50px 0px 0px;
}

.mirror-gallery-image1 {
    object-fit: cover;
 /*    width: 332px; */
    height: 227.46px;
    border-radius: 10px;
}

.mirror-gallery-image2 {
    object-fit: cover;
 /*    width: 336px; */
    height: 468px;
    border-radius: 10px;
}

.mirror-gallery-image3 {
    object-fit: cover;
    /* width: 332px; */
    height: 218px;
    border-radius: 10px;
}

.mirror-gallery-image4 {
    object-fit: cover;
   /*  width: 333px; */
    height: 346px;
    border-radius: 10px;
}

.mirror-gallery-image5 {
    object-fit: cover;
    /* width: 336px; */
    height: 346px;
    border-radius: 10px;
}

.thumbnail:hover .mirror-hover-text,
.thumbnail:hover .mirror-hover-text-second-block,
.thumbnail:hover .mirror-hover-text-third-block {
    display: flex;
    width: 100%;
    font-variation-settings: "wght" 400;
    font-size: 18px;
    line-height: 25.2px;
    color: white;
    background-color: #A80532;
    border-radius: 10px;
    padding: 0px 10px 0px 10px;
    align-items: center;
}

.thumbnail:hover .mirror-hover-text {
    height: 227.46px;
}

.thumbnail:hover .mirror-hover-text-second-block {
    height: 468px;
}

.thumbnail:hover .mirror-hover-text-third-block {
    height: 346px;
}


@media screen and (max-width: 1200px) {
    .donate-gallery {
        grid-template-columns: 287.37px 279px;
        grid-template-rows: 212.46px 212px 331.97px;
    }

    .mirror-gallery {
        grid-template-columns: 287.37px 290px;
        grid-template-rows: 227px 218px 346px;
    }

    .text-contents {
        margin: 0px 0px 20px 34px;
    }

    .mirror-text-content {
        margin: 40px 21px 0px 0px;
    }

    .thumbnail:hover .mirror-hover-text,
    .thumbnail:hover .mirror-hover-text-second-block,
    .thumbnail:hover .mirror-hover-text-third-block,
    .thumbnail:hover .hover-text,
    .thumbnail:hover .hover-text-second-block,
    .thumbnail:hover .hover-text-third-block {
        font-size: 16px;
    }

    .contact-field {
        min-width: 300px;
    }

}


/* TABLET VERSION */
@media screen and (max-width: 1024px) {

    .mobile-gallery {
        flex-direction: column-reverse;
        align-items: unset;
    }

    .mobile-mirror-gallery {
        flex-direction: column;
        align-items: unset;
    }

    .text-contents {
        max-width: 704px;
        margin: 0px 0px 0px 0px;
    }

    .mirror-text-content {
        max-width: 702px;
        margin: 25px 0px 0px 0px;
    }

    .text-content-heading {
        width: auto;
    }

    .text-content-paragraph {
        max-width: 704px;
        margin: 25px 0px 0px 0px;
        padding: 0px 0px 0px 0px;
    }

    .text-content-button {
        justify-content: center;
        text-align: center;
        padding: 5px 0px 0px 0px;
        margin: 25px auto 0px auto;
    }

    .gallery-donation-button {
        width: 350px;
    }

    .donate-gallery {
        grid-template-columns: 339.43px 339.04px;
        margin: 32px 0px 10px 0px;
    }

    .mirror-text-content {
        margin: 40px 0px 0px 0px;
    }

    .item-list-heading {
        margin: 50px 0px 15px 0px;
    }

    .contact-field {
        max-width: 704px;
        margin: 50px 0px 0px 0px;
    }

}

@media screen and (max-width: 768px) {

    .mirror-gallery {
        grid-template-columns: 337.1px 341.16px;
        grid-template-rows: 227px 218px 346px;
        margin: 30px 0px 0px 0px;
    }

    .donate-content {
        margin: 56px 0px 0px 0px;
    }

    .list {
        padding: 0px 0px 5px 5px;
    }

    .hover-mobile-text {
        width: 100% !important;
        height: 100% !important;
    }

    .hover-text-overlay {
        width: 100%;
        height: 100%;
    }

    .mobile-gallery {
        flex-direction: column-reverse;
        align-items: baseline;
    }

    .thumbnail {
        width: auto;
        height: auto;
    }

    .thumbnail-big-image {
        width: auto;
        height: auto;
    }

    .thumbnail-big-image {
        grid-row: 1 / 3;
        grid-column: 2;
        object-fit: cover;
        width: 339px;
        height: 448px;
        border-radius: 10px;
    }

    .image1 {
        object-fit: cover;
       /*  width: 339.47px; */
        height: 212.46px;
        border-radius: 10px;
    }

    .image2 {
        object-fit: cover;
        /* width: 339px; */
        height: 448.26px;
        border-radius: 10px;
    }

    .image3 {
        object-fit: cover;
       /*  width: 339.46px; */
        height: 212.8px;
        border-radius: 10px;
    }

    .image4 {
        object-fit: cover;
        /* width: 339.43px; */
        height: 331.97px;
        border-radius: 10px;
    }

    .image5 {
        object-fit: cover;
        /* width: 339.43px; */
        height: 331.97px;
        border-radius: 10px;
    }

    .image-title {
        max-width: 255px;
    }

    .mirror-gallery-image1,
    .mirror-gallery-image2,
    .mirror-gallery-image3,
    .mirror-gallery-image4,
    .mirror-gallery-image5 {
        width: 100%;
    }

    .mirror-text-content {
        margin: 30px 0px 0px 0px;
    }

    .mirror-gallery-image2 {
        height: 470px;
    }

    .thumbnail-big-image {
        height: 100%;
    }

}

@media screen and (max-width: 750px) {

    .donate-gallery {
        grid-template-columns: auto auto;
        margin: 30px auto 10px auto;
    }

    .thumbnail-big-image {
        width: auto !important;
        height: auto !important;
    }

}

@media screen and (max-width: 560px) {

    .image-title {
        max-width: 200px;
    }

}

@media screen and (max-width: 550px) {

    .contact-field {
        width: auto;
    }

}


/* MOBILE VERSION */
@media screen and (max-width: 550px) {

    .mobile-gallery {
        display: flex !important;
        align-items: center;
        flex-direction: column-reverse;
    }

    .mobile-mirror-gallery {
        display: flex !important;
        align-items: center;
        flex-direction: column;
    }

    .donate-content {
        display: block;
    }

    .donate-gallery {
        margin: 30px 0px 50px 0px;
        display: grid;
        grid-template-columns: 380px;
        grid-template-rows: 212px repeat(4, 350px);
        gap: 16px;
    }

    .mirror-content {
        margin: 0px 0px 0px 0px;
    }

    .mirror-gallery {
        grid-template-rows: repeat(5, 350px);
        margin: 30px 0px 20px 0px;
    }

    .mobile-image {
        object-fit: cover;
        width: 380px;
        height: 350px;
        border-radius: 10px;
    }

    .thumbnail-big-image {
        grid-row: 2;
        grid-column: 1;
        object-fit: cover;
        width: 350px;
        height: 350px;
        border-radius: 10px;
    }

    .image-title {
        max-width: 255px;
    }

    .thumbnail:hover .mirror-hover-text-second-block {
        font-size: 14px;
    }

    .text-contents {
        width: 100%;
        margin: 0px 0px 0px 0px;
    }

    .text-content-heading {
        width: 350px;
    }

    .text-content-paragraph {
        width: 350px;
        padding: 0;
        margin: 28px 0px 0px 0px;
    }

    .text-content-button {
        width: 350px;
        justify-content: center;
        margin: 30px auto 0px auto;
    }

    .item-list-heading {
        margin: 45px 0px 20px 0px;
    }

    .grid-image-1 {
        grid-row: 2
    }

    .grid-image-2 {
        grid-row: 4
    }

    .grid-image-3 {
        grid-row: 1
    }

    .grid-image-4 {
        grid-row: 3
    }

    .grid-image-5 {
        grid-row: 5
    }

    .mirror-text-content {
        margin: 45px 0px 0px 0px;
    }

    .contact-field {
        width: 350px;
        height: 164px;
    }

    .grid-mirror-image-1 {
        grid-row: 3
    }

    .grid-mirror-image-2 {
        grid-row: 4
    }

    .grid-mirror-image-3 {
        grid-row: 1
    }

    .grid-mirror-image-4 {
        grid-row: 2
    }

    .grid-mirror-image-5 {
        grid-row: 5
    }

}



@media screen and (max-width: 390px) {

    .donate-gallery {
        grid-template-columns: auto;
    }

    .mobile-image {
        width: 350px;
    }

    .text-contents {
        width: auto;
    }

    .text-content-button {
        padding: 0;
    }

    .text-content-heading,
    .text-content-paragraph,
    .text-content-button a,
    .gallery-donation-button {
        width: 100%;
    }

    .image-title {
        font-size: 28px;
    }

}

@media screen and (max-width: 360px) {

    .donate-gallery {
        grid-template-columns: auto;
        grid-template-rows: 212px repeat(4, 350px);
    }

    .mirror-gallery {
        grid-template-columns: auto;
        grid-template-rows: repeat(5, 350px);
    }

    .text-content-heading {
        width: auto;
    }

    .text-content-paragraph {
        width: auto;
    }

    .text-content-button {
        width: auto;
        justify-content: center;
        margin: 30px 0px 0px 0px;
    }

    .mobile-image {
        width: 100%;
    }

    .contact-field {
        width: auto;
    }

    .thumbnail-big-image {
        width: auto;
    }

    .contact-image {
        width: 67px;
        height: 67px;
    }
}