.sports{
    padding: 0px 0px;
}
.sports h2{
    margin-bottom: 20px;
}
.sports p{
    font-family: inherit;
    font-weight: 600;
    font-size: 1.2rem;
}
.sports-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1480px;
}
@media screen and (min-width: 1480px){
    .sports-container{
        position: relative;
        left: 90%;
        transform: translateX(-90%);
    }
}
.sports-div1{
    width: 90%;
}
.sports-div2{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    height: auto;
}
.sports-box{
    width: 180px;
    height: auto;
    margin-left:  5px;
    background-color: #ffffff;
    font-size: 10px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 30px;
    border-radius: 20px;
    border: 4px solid #ffffff;
    -webkit-box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 13px -4px rgba(0,0,0,0.75);
    transition: .2s ease-in-out;
}
.sports-box:hover{
    border: 4px solid #bfb170;
    cursor: pointer;
}
.sports-box h2{
    font-size: 25px;
    text-align: center;
}
.sports-box img{
    width: 80px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
}
.box {
    width: 140px;
    height: auto;
    float: left;
    transition: .5s linear;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 15px;
    text-align: center;
    margin: 0 5px;
    background: transparent;
    text-transform: uppercase;
    font-weight: 900;
    margin-top: 40px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
border-radius: 10px;
cursor: pointer;
  }
  
  .box:before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(100%);
    border-radius: 10px;
  }
  
  .box:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
    box-sizing: border-box;
    transform: translateX(-100%);
  }
  
  .box:hover {
    box-shadow: 0 5px 15px #000000;
  }
  
  .box:hover:before {
    border-color: #09203e;
    height: 100%;
    transform: translateX(0);
    transition: .3s transform linear, .3s height linear .3s;
  }
  
  .box:hover:after {
    border-color: #09203e;
    height: 100%;
    transform: translateX(0);
    transition: .3s transform linear, .3s height linear .5s;
  }
  
  button {
    color: black;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    border: none;
    background: transparent;
  }
@media screen and (max-width: 1380px){
    .sports-div1{
        width: 35%;
    }
    .sports-div2{
        width: 90%;
    }
    .sports-box{
        width: 150px;
    }
}
@media screen and (max-width: 1220px){
    .sports-div1{
        width: 25%;
    }
    .sports-div2{
        width: 90%;
    }
}
@media screen and (max-width: 1000px){
    .sports-box{
        width: 140px;
    }
}
@media screen and (max-width: 950px){
    .sports-div1{
        width: 90%;
    }
    .sports-div2{
        width: 90%;
        margin-top: 40px;
    }
    .sports-box{
        width: 150px;
        
    }
}
@media screen and (max-width: 750px){
    .sports-box{
        width: 250px;
    }
}
@media screen and (max-width: 600px){
    .sports-box{
        width: 90%;
    }
}

@media screen and (max-width: 750px) {
    .sports-div2 {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  
    .sports-box {
      width: calc(45% - 0px); /* 3 columns with spacing between */
      max-width: none;
      margin: 0 5px;
      padding: 10px; /* Adjust padding to make cards smaller */
      margin-bottom: 10px;
      font-size: 8px; /* Adjust font size for smaller screens */
    }
  }