@media (max-width:1200px) {
    .all-top {
        display: none;
    }
 
    .nav-center, .nav-right {
        display: none;
    }
    #bars {
        cursor: pointer;
        display: block;
    }
    #sidebar {
        width: 25%;
        display:block;
    }
    .all-hero video{
        height:unset;
    }
}
@media (max-width:1000px) {
    .contact-content {
        display: block;
    }
    .contact-left {
        width: 100%;
        margin-bottom: 30px;
    }
    .contact-right {
        width: 100%;
    }
    .register-left {
        display: none;
    }
    .register-right {
        width: 100%;
    }
}
@media (max-width:1060px) {
    .about-content, .payment-content{
        display:grid;
        align-items: center;
        grid-template-areas: "about-right" "about-left";
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .about-left, .donate-left, .payment-left {
        grid-area: about-left;
        width: 100%;
    }
    .about-right, .donate-right, .payment-right {
        grid-area: about-right;
        width: 100%;
    }
    .about-left img{
        animation: unset;
    }
    .partner-content {
        display: grid;
        grid-template-columns: repeat(1fr);
    }
    .partner-left, .partner-right {
        width: 100%;
    }
    .partner-right img {
        animation:unset;
    }
    .volunteer-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    #sidebar {
        width: 35%;
        display:block;
    }
}

@media (max-width:900px) {
    .hero-left h1{
        font-size: 40px;
    }
    .hero-content {
        top: 80px;
    }
    #sidebar {
        width: 35%;
        display:block;
    }
}
@media (max-width:750px) {
    .hero-left h1{
        font-size: 40px;
    }
    .hero-content {
        top: 50px;
    }
}

@media (max-width:700px) {
    .volunteer-card {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .volunteer-items img{
        object-fit:unset;
        height: auto;
    }
    .volunteer-items-1{
        padding: 70px;
    }
}

@media (max-width:660px) {
    .hero-left h1{
        font-size: 30px;
    }
    .hero-left {
        width: 90%;
    }
    #sidebar {
        width: 45%;
        display:block;
    }
    .register-right{
        width: 100%;
        height: 100vh;
        padding: 60px 0;
        background-color:transparent;
    }
    .register-right-content {
        background-color: var(--secondary);
        padding: 40px;
        border-radius: 15px;
    }
    .all-register {
        background-color: #f0f0f0;
    }
}

@media (max-width:540px) {
    .hero-left h1 span{
        font-size: 30px;
        display: block;
    }
    .hero-content {
        top: 30px;
    }
    .hero-left {
        width: 100%;
    }
    .all-hero video{
        height:40vh;
    }
}

@media (max-width:500px) {
    .payment-right {
        padding: 0;
    }
    .payment-left {
        display: none;
    }
    .payment-right h2 {
        font-size: 30px;
    }
    .register-right-content {
        background-color: var(--secondary);
        padding: 20px;
        border-radius: 15px;
    }
    .nav-left img{
        width: 60px;
    }
    .map {
        display: none;
    }
    .footer-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    #sidebar {
        width: 65%;
        display:block;
    }
    .hero-left p span {
        display: block;
    }
    .medic-item i{
        background-color: var(--primary);
        color: var(--secondary);
        padding: 13px;
        font-size: 1rem;
        border-radius: 100%;
    }
    .about-right h1, .donate-right h1, .testimonial-header h1 {
        font-size: 30px;
    }
    .medic-title h5 span{
        font-size: 15px;
        line-height: unset;
    }
    .vtu-items h2 {
        font-size: 30px;
    }
    .foot-date h5 span {
        display: block;
        justify-items: center;
    }
    .foot-date h5 span:nth-child(1) {
        margin-bottom: 5px;
    }
    .hero-left h1 span{
        font-size: 35px;
    }
    .donate-ceo img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }
    .donate-ceo-title h5 {
        color: var(--text);
        font-size: 19px;
    }
    .donate-ceo-title label {
        color: var(--primary);
        font-size: 13px;
        font-weight: bold;
    }
    .image-background {
        padding: 35px 0;
    }
    .image-background-content h2{
        font-size: 40px;
    }
    .all-text{
        height: 70px;
    }
    .move-text {
        height: 100%;
        gap: 15px;
    }
    .move-text h1 {
        font-size: 20px;
    }
    
}


@media (max-width:400px) {
    .hero-content {
        top: 30px;
    }
    .hero-left {
        width: 100%;
    }
    .all-hero video{
        height:50vh;
    }
    #sidebar {
        width: 65%;
        display:block;
    }
    .testimonial-header p span {
        display: unset;
    }
}
@media (max-width:360px) {
    .hero-content {
        top: 30px;
    }
    .all-hero video{
        height:50vh;
    }
    #sidebar {
        width: 80%;
        display:block;
    }
}