
@media only screen and (max-width: 1199px){
  .news_section .news_area .latest_news .latest_img{
    height: 100%;
  }
  .news_section .news_area .latest_news .latest_img img{
    height: 100%;
    aspect-ratio: unset;
  }
  header nav.navbar .navcollapse ul li.nav-item a.nav-link{
    padding: 8px 5px;
  }
}
@media only screen and (max-width: 991px){
  .container, .container-lg, .container-md, .container-sm {
    max-width: 960px;
  }
  .navbar-toggler{
    border: none;
  }
  .navbar-toggler:focus{
    outline: none;
    box-shadow: none;
  }
  .navbar-toggler-icon{
    width: 30px;
    height: 2px;
    background: #c1cdd4;
    position: relative;
    background-image: none;
  }
  .navbar-toggler-icon::before, 
  .navbar-toggler-icon::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    background: #c1cdd4;
  }
  .navbar-toggler-icon::before{
    top: -10px;
  }
  .navbar-toggler-icon::after{
    bottom: -10px;
  }
  .navcollapse {
    position: absolute;
    max-width: 300px;
    width: 100%;
    top: 100%;
    background: #526D82;
    left: 50%;
    transform: translate(-50%, 0);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  header nav.navbar .navcollapse ul li.nav-item {
    padding:10px 20px;
  }
  header nav.navbar .navcollapse ul li.nav-item a.nav-link{
    padding: 10px 20px;
    font-size: 15px;
  }

  .banner .banner_content h1{
    font-size: 50px;
  }
  .banner .banner_content p{
    font-size: 16px;
  }
  .item_section .item_area{
    margin-top: 25px;
  }
  .picture_section .picture_area{
    max-height: unset;
  }
  .picture_section .picture_area .pic_img img{
    aspect-ratio: 3/1.7;
  }
  .picture_section .picture_area .pic_content h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  footer p, footer ul.social_link{
    text-align: left;
  }
  footer ul.social_link{
    margin-top: 20px;
  }
  .charity_one .charity_blog .blog_img{
    height: auto;
    padding: 0;
  }
  .charity_one .charity_blog .blog_img img{
    aspect-ratio: 3/1.7;
  }
  .charity_one .charity_blog::before{
    width: 100%;
  }
  .news_section .news_area .latest_news .latest_img img{
    aspect-ratio: 3/1.7;
  }
  .all_news{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
  }
  .news_section .news_area .all_news .allnews_item{
    margin-bottom: 0;
  }
  .account_create .create_ac_area .account_inner{
    padding: 30px;
    height: auto;
  }
}


@media only screen and (max-width: 767px){
  .container, .container-lg, .container-md, .container-sm{
    max-width: 540px;
  }
  .club_section .club_item .club_img{
    height: auto;
  }
  .club_section .club_item .club_img img{
    aspect-ratio: 3/2;
  }
  .all_news {
    grid-template-columns: repeat(2, 1fr);
  }
  .news_section .news_area .latest_news .news_content {
    padding: 20px;
  }
}

@media only screen and (max-width: 575px){
  .banner{
    height: 100vh;
  }
  .banner.innerpages {
    height: 420px;
    padding: 0;
    padding-top: 60px;
  }
  .banner .banner_content h1 {
    font-size: 40px;
    line-height: 55px;
    margin-bottom: 15px;
  }
  .select_char .char_item p{
    line-height: 30px;
    font-size: 18px;
  }
  .charity_one .charity_blog .vlog_content h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .charity_one .charity_blog .vlog_content p {
    line-height: 26px;
  }
  .all_news {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .account_create{
    padding: 0;
  }
  .account_create .create_ac_area .row{
    border-radius: 0;
  }

  .item_section .charities_items{
    margin-bottom: 25px;
    height: calc(100% - 25px);
  }
  .gamble_page_section{
    margin: 0;
    padding: 20px;
  }
  .gamble_page_section ul.sportname {
    gap: 15px;
    flex-direction: column;
  }
  .gamble_page_section .team_list ul li a{
    margin: 0;
  }

}

@media only screen and (max-width: 420px){
  .banner .banner_content h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .banner .banner_content p {
    font-size: 16px;
    line-height: 22px;
  }
  .picture_section{
    padding: 80px 0;
  }
  .picture_section .picture_area .pic_content, .club_section .club_item .club_content {
    padding: 25px 15px;
  }
  .picture_section .picture_area .pic_content h2 {
    font-size: 25px;
    margin-bottom: 15px;
  }
  .club_section .club_item h2{
    font-size: 22px;
  }
  .club_section .club_item p {
    line-height: 24px;
    margin-bottom: 10px;
  }
}
