.crowdfunding-container {
    padding: 0 3rem;
}

.crowdfunding-label {
    font-size: 1.8rem;
    margin-top: 1rem;
}

.crowdfunding-btn-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-1 {
    grid-column: 1/2;
}

.btn-2 {
    grid-column: 2/3;
}

.btn-3 {
    grid-column: 3/4;
}

.btn-4 {
    grid-column: 4/5;
}

.btn-5 {
    grid-column: 5/6;
}

.crowdfunding-btn {
    background-color: #f2f2f2;
    padding: 0.7rem 0.5rem;
    border-radius: 8px;
    transition: all 300ms;
    width: 100%;
}

.crowdfunding-btn.selected {
    box-shadow: 0 0 4px 0 #1b1464;
    border-color: #1b1464;
    border: 1px solid #ccc;
}

.crowdfunding-btn:hover {
    cursor: pointer;
}

.crowdfunding-btn:focus {
    cursor: pointer;
    background-color: #e9ecf3;
    border: 1px solid #485b66;
    box-shadow: 0 1px 4px 0 #485b66;
}

.bank-list {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 2rem;
}

.bank-item {
    background-color: #f2f2f2;
    margin-left: 1.5rem;
    height: 10rem;
    width: 10rem;
    border-radius: 8px;
    transition: all 300ms;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.bank-item:hover {
    cursor: pointer;
    transition: all 300ms;
    scale: 1.02;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.213);
}

.bank-item:focus {
    cursor: pointer;
    transition: all 300ms;
    scale: 1.02;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.213);
}

.bank-list-label {
    font-size: 1.8rem;
}

.bank-icon {
    width: 75%;
    height: auto;
}

.bank-title {
    text-align: center;
    font-size: 1.5rem;
}

.bank-btn-box {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank-btn {
    color: white;
    font-size: 2rem;
    background-color: #3629b7;
    padding: 1.3rem 6rem;
    border-radius: 20px;
    outline: none;
    border: none;
    margin: 0 auto;
    transition: all 300ms;
}

.bank-btn:hover {
    cursor: pointer;
    transition: all 300ms;
    scale: 1.02;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.213);
}

.other-amounts-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.other-amounts-input-box {
    margin: 0 auto 2rem auto;
    width: 45%;
    position: relative;
    display: none;
}

.other-amounts-input-box.active {
    display: inline-block;
}

.other-amounts-input-box::before {
    content: "تومان";
    height: 3.5rem;
    width: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    top: 2px;
    right: 3px;
    position: absolute;
}

.other-amounts-input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #485b66;
    box-shadow: 0px 1px 4px 0 #485b6699;
    outline: none;
    font-size: 1.5rem;
    transition: all 300ms;
}

.other-amounts-input::placeholder {
    font-size: 1.5rem !important;
}

.other-amounts-input:focus {
    background-color: #e9ecf3;
    box-shadow: 0px 1px 4px 0 #485b6699;
    transition: all 300ms;
}

@media only screen and (max-width: 1920px) {
    .other-amounts-input-box {
        width: 70%;
    }
}

@media only screen and (max-width: 1024px) {
    .crowdfunding-container {
        padding: 0;
    }
}

@media only screen and (max-width: 768px) {
    .bank-list-label {
        font-size: 1.4rem;
    }

    .crowdfunding-label {
        font-size: 1.4rem;
    }

    .other-amounts-input {
        width: 100%;
        padding: 0.8rem;
        border-radius: 8px;
        border: 1px solid #485b66;
        box-shadow: 0px 1px 4px 0 #485b6699;
        outline: none;
        font-size: 1.2rem;
    }

    .other-amounts-input-box {
        width: 70%;
    }

    .other-amounts-input::placeholder {
        font-size: 1.2rem !important;
    }

    .other-amounts-input-box::before {
        height: 3rem;
        width: 4rem;
        font-size: 1.4rem;
    }

    .crowdfunding-btn-list {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        justify-content: center;
        gap: 0.5rem;
    }

    .btn-1 {
        grid-column: 1/3;
    }

    .btn-2 {
        grid-column: 3/5;
    }

    .btn-3 {
        grid-column: 5/7;
    }

    .btn-4 {
        grid-column: 2/4;
        grid-row: 2;
    }

    .btn-5 {
        grid-column: 4/6;
        grid-row: 2;
    }

    .bank-btn {
        font-size: 1.7rem;
        padding: 1rem 4rem;
    }
}

@media only screen and (max-width: 470px) {
    .other-amounts-input-box {
        width: 90%;
    }

    .crowdfunding-btn {
        padding: 0.7rem 0.25rem;
        font-size: 1.3rem;
    }

    .bank-item {
        margin: 0;
        height: 10rem;
        width: 10rem;
    }

    .bank-list {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        justify-content: center;
        gap: 1rem;
    }

    .card-1 {
        grid-row: 1;
        grid-column: 1/3;
    }

    .card-2 {
        grid-row: 1;
        grid-column: 3/5;
    }

    .card-3 {
        grid-row: 1;
        grid-column: 5/7;
    }

    .card-4 {
        grid-row: 2;
        grid-column: 3/5;
    }
}

@media only screen and (max-width: 375px) {
    .bank-item {
        margin: 0;
        height: 8.5rem;
        width: 8.5rem;
    }
}
