.donate-text{
    margin: 0.5em 0 0.5em 0;
    text-indent: 2rem;
}

#donor-comments{
    background-color: #8A0302;
    color: white;
    position: relative;
    height: 33vw;
    overflow: hidden;
}

.comment{
    flex-direction: column;
    padding: 0 3%;
}

.comment-text{
    text-align: center;
    padding: 0 10%;
    font-size: 1.2vw;
    font-weight: bold;
}

.donor-comment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.donor-comment.active div{
    padding: 3% 0;
    margin: 0;
}

.donor-comment div{
    padding: 3% 0;
    display: flex;
}

.donor-comment.active {
    padding: 0;
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
    pointer-events: auto;
}
  
.donor-details{
    display: block;
    text-align: right;
    font-size: 1vw;
}

.donor-photo{
    width: 25vw;          
    height: 25vw;
    object-fit: cover;      
    border-radius: 500%;  
    align-self: center; 
}

.comment{
    padding: 4rem;
    display: inline;
    align-self: center;
}

.arrow{
    width: 50px;
    height: 50px;
}

.arrow-button{
    background-color:#8A0302;
    border-style: none;
    margin: 0 3%;
    cursor: pointer;
}

.donator-form{
    width:50%;
    padding-right: 3rem;
}

.ong-location{
    width: 50%;
    height: 35vh;
}

#donation-info{
    display:flex;
    margin-top:1.5rem;
    padding-top: 1.5rem;
    justify-content: space-around;
}

.donator-form{
    height: fit-content;
    margin: 0 auto;
}

.donation-input-group{
    display:flex;
    margin-bottom: 0.7rem;
}

.donation-input{
    flex: 1;
    width:100%;
    border-radius: 5px;
    margin-left:0.5rem;
    border-color: lightgray;
}
.donation-input:focus{
    border-color: #ce6a6a;
    outline: none;
}

.schedule-button{
    padding: 0.7rem 1rem;
    border-radius: 6px;
    color: white;
    background-color: #8A0302;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.schedule-button-container{
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
    #donor-comments{
        height: 50vw;
    }

    .comment-text{
        font-size: 1.8vw;
    }

    .donor-details{
        font-size: 2vw;
    }
}

@media screen and (max-width: 768px) {
    .donor-photo{
        width: 50vw;          
        height: 50vw;
        object-fit: cover;      
    }

    .donor-comment div{
        flex-direction: column;
    }

    #donor-comments{
        height: 88vw;
    }
    
    .comment{
        padding: 0;
    }

    .comment-text{
        margin: 3% 0;
        padding: 0;
        font-size: 2vw;
        font-weight:700;
    }

    .donor-details{
        font-size: 2.5vw;
    }

    #donation-info{
        flex-direction: column;
        margin-top: 0;
    }

    #donate h1{
        text-align: center;
    }

    .ong-location{
        width: 100%;
        margin: 3% 0
    }
}

@media screen and (max-width: 426px)  {
    .donor-photo{
        width: 40vw;          
        height: 40vw;
        object-fit: cover;      
    }

    .donor-comment > div{
        flex-direction: column;
    }

    #donor-comments{
        height: 143vw;
    }
    
    .comment{
        padding: 0;
    }

    .comment-text{
        font-size: 3.5vw;
    }

    .donor-details{
        font-size: 3.5vw;
    }
}

@media screen and (max-width: 376px) {
    #donor-comments{
        height: 175vw;
    }

    .comment-text{
        font-size: 4vw;
    }

    .donor-details{
        font-size: 3vw;
    }
}

@media screen and (max-width: 321px) {
    #donor-comments{
        height: 200vw;
    }

    .comment-text{
        font-size: 4.5vw;
    }

    .donor-details{
        font-size: 3.5vw;
    }
}