.main{
    position: relative;
    z-index: 1000;
    color: var(--text-color);
    margin-bottom: -200px;
    font-family: 'iranSans';
}
.about__item{
    width:90%;
    box-shadow: 0 0 30px #00000036;
    border-radius: 80px;
    padding: 3rem 4rem;
    margin: 3rem auto;
    background-color: var(--white-color);
}
.about__item h3{
    color:var(--primary-color);
    font-size: 1.8rem;
    padding:0 1rem;
}
.about__item h4{
    color:var(--primary-color);
    font-size: 2rem;
    padding:0 1rem;
    text-align:center;
    font-weight:600;
}
.about__item p{
    text-align:justify;
    font-size: 1.3rem;
    text-space: 5rem;
    color: #a4a4a4;
    padding:1rem 3rem;
    line-height: 3rem;
}
@media screen and (max-width:768px) {
    .about__item {
        width:100%;
    }
    .about__item h3{
        padding:0;
    }
    .about__item p {
        text-align:justify;
        font-size: 1.1rem;
        padding:1rem;
        line-height: 2rem;
    }
    .main{
        padding-bottom:4rem;
    }
    .header-search {
        width: 80%;
        margin: 5rem auto 3rem;
    }
}
@media screen and (max-width:576px) {
    .about__item {
        width:90%;
        padding: 1rem;
    }
    .about__item h3{
        padding:1rem 2rem 0;
    }
    .about__item p {
        text-align:justify;
        font-size: 1rem;
        padding:0 1.5rem 1rem;
        line-height: 1.8rem;
    }
}
/*********************************/
.header__search{
    width:100%;
    margin:3rem auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.videoForm{
    position: relative;
    width: 50%;
}
.form-control{
    outline:none!important;
    border-radius: 15px!important;
    padding:0.5rem!important;
}
.btn-search{
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    border:none;
    background: none;
}
.btn-search svg{
    color: gray;
    font-size: 1.5rem;
}
.btn__container{
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.filter__search{
    width: 140px;
    border-radius: 15px;
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem;
    outline: none;
    color: #fff;
    margin-right: 3rem;
}
.grid__video{
    width: 100%;
    margin: 3rem auto;
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    grid-template-rows: auto;
    gap: 3px; 
}
.video__item {
     background-color: #ccc; 
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 5px;
}
.video__item iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 5px;
}
.video__item__large {
    grid-column: span 2
}
.video__title{
    position:absolute;
    top:1.5rem;
    right:3.5rem;
    z-index:9999999;
    color:#fff;
}
@media screen and (max-width:992px) {
    .btn__container {
        width: 50%;
    }
}
@media screen and (max-width:768px) {
    .header__search {
        margin: 5rem auto 3rem;
        flex-direction: column;
    }
    .videoForm {
        width: 80%;
    }
    .grid__video {
        grid-template-columns: repeat(2, 1fr);
    }
    .video__title{
    top:1rem;
    right:1rem;
    }
    .btn__container {
        width: 80%;
        align-items:center;
        margin-top: 1.5rem;
        justify-content: space-between;
    }
    .filter__search{
        margin-right: unset;
        font-size: 0.9rem;
        width: 120px;
    }
}
@media screen and (max-width:576px) {
    .grid__video {
        width: 90%;
    }
    .video__title{
        font-size:0.8rem;
    }
    
}
