



#main-fed{
    /*background-image: url("../img/main.png");*/
    background-color: rgb(225, 239, 255);
    min-height: 70vh;
    background-position: bottom center;
    background-size: cover;
}


.container-fed{
    max-width: 1200px;
    padding: 50px;
    margin: auto;
    padding-top: 100px;
}
 
 
 
  .overlay-text-fedex{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #004cff95 !important;
    border-radius: 10px !important;
    position: relative;
    margin-top: -950px;
    padding: 60px ;
    padding-top: 100px;
    box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
  }
 




   .fed-h1{
    font-size: 31px;
    padding: 20px;
    text-align: center;
    font-weight: bolder;
    color: rgb(255, 255, 255);
    text-shadow: 0 1px 0 #ccc,
                 0 6px 1px rgba(0,0,0,.1),
                 0 0 5px rgba(0,0,0,.1),
                 0 1px 3px rgba(0,0,0,.3),
                 0 3px 5px rgba(0,0,0,.2),
                 0 5px 10px rgba(0,0,0,.25),
                 0 10px 10px rgba(0,0,0,.2),
                 0 20px 20px rgba(0,0,0,.15);
  }
 
    .fed-h2{
    font-size: 30px;
    padding: 20px;
    text-align: center;
    font-weight: bolder;
    color: rgb(255, 255, 255);
    text-shadow: 0 1px 0 #ccc,
                 0 6px 1px rgba(0,0,0,.1),
                 0 0 5px rgba(0,0,0,.1),
                 0 1px 3px rgba(0,0,0,.3),
                 0 3px 5px rgba(0,0,0,.2),
                 0 5px 10px rgba(0,0,0,.25),
                 0 10px 10px rgba(0,0,0,.2),
                 0 20px 20px rgba(0,0,0,.15);
  }


  .container{
    margin-top: 300px;
    margin-bottom: 20px;
  }


  .container .fedex-home h1{
    text-align: center;
    color: black;
    padding-bottom: 10px;
    font-size: 25px;
    padding-top: 20px;
}


.container .fedex-home h3{
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 18px;
    text-transform: none;
}


.services{
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    transition: transform 0.3s ease;
}


.service-fed{
    padding-right: 50px;
    width: 350px;
}


.service-acce img{
    max-width: 100%;
    height: 350px;
    border-radius: 5px;
    opacity: 0.6;
}




.p-acce{
    color: #536942;
    font-size: large;
}
 
  .accessories-wrapper {
    margin-bottom: 1000px !important;
    transform: translateY(800px) !important;
    box-sizing: border-box;
    padding: 50px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
 
  .items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
 
  .item {
    transform: translateX(40px);
    transition: all 900ms;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(131.83deg, #8080806b 0%, #dddfffa1 99.21%);
    width: calc(100% - 50px); /* Adjust the width to display 2 items in a row */
    text-align: center;
    height: 400px;
    border-radius: 16px;
    position: relative;
    margin-bottom: 50px; /* Add margin between rows */
  }
 
  .item:not(:last-child) {
    margin-right: 50px; /* Add margin between items in the same row */
  }
 
  .item::before {
    position: absolute;
    content: "";
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    background-image: linear-gradient(312.25deg, #fff 0%, #bcf5ffa1 66.19%);
    z-index: -1;
    border-radius: 18px;
  }
 
  .inner {
    background-color: transparent;
    position: relative;
    width: 50rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 350px;
    box-shadow: 0 40px 80px #fff;
    border-radius: 14px;
    overflow: hidden;
    position: relative; /* Add this line */
  }
 
  .text-container {
    width: 350px;
    text-align: center;
    padding: 5px;
    color: #fff; /* Set text color as needed */
    background-color: rgba(0, 0, 0, 0.336);
    border-radius: 20px;
    display: flex;
  }
 
  .item:hover {
    background-color: blue;
    transform: scale(1.1) translateX(30px) !important;
    transition: all 900ms;
  }
 
  .text-container .name,
  .text-container .descr {
    text-align: center;
    margin: auto;
    color: #fff; /* Set text color as needed */
  }
 
  .text-container .name {
    transform: translateY(40px) !important;
    padding-top: 20px;
    padding-right: 40px;
    text-align: center;
    margin-bottom: 0;
    color: #fff; /* Set text color as needed */
  }
 
  .text-container .descr {
    font-size: 1.6rem;
    line-height: 1.6rem;
    text-align: center;
    margin-top: 0;
    color: #fff; /* Set text color as needed */
  }
 
  .name{
    margin-bottom: 5px;
    font-size: 2rem;
  }
 
  .text-container .text-container h3 {
    font-size: 24px;
  }
 
  .inner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: blur(2px);
  }
 
  .accessories-img {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
 
  .accessories-img img {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
  }
 
  .text-container h1 {
    padding-top: 10px;
    padding-bottom: 20px;
    text-transform: uppercase;
  }
 
  .text-container h3 {
    padding-bottom: 20px;
  }
 
  .overlay-text-accessories {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgb(0, 0, 0);
    max-width: 90%;
    background-color: rgba(255, 255, 255, 0.777);
    border-radius: 20px;
    text-transform: none;
    padding: 30px;
  }


  @media screen and (max-width: 1950px) {
    .item {
        width: calc(100% - 50px); /* Adjust the width to display 2 items in a row */
    }
 
    .item:not(:last-child) {
        margin-right: 50px; /* Add margin between items in the same row */
    }


    .overlay-text-fedex{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: #004cff95 !important;
      border-radius: 10px !important;
      position: relative;
      margin-top: -850px !important;
      padding: 30px ;
      box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
    }


    .services{
      margin-top: 100px;
    }






    .fed-h1{
      font-size: 30px !important;
      padding: 20px;
      text-align: center;
      font-weight: bolder;
      color: rgb(255, 255, 255);
      text-shadow: 0 1px 0 #ccc,
                   0 6px 1px rgba(0,0,0,.1),
                   0 0 5px rgba(0,0,0,.1),
                   0 1px 3px rgba(0,0,0,.3),
                   0 3px 5px rgba(0,0,0,.2),
                   0 5px 10px rgba(0,0,0,.25),
                   0 10px 10px rgba(0,0,0,.2),
                   0 20px 20px rgba(0,0,0,.15);
    }
   
      .fed-h2{
      font-size: 25px !important;
      padding: 20px;
      text-align: center;
      font-weight: bolder;
      color: rgb(255, 255, 255);
      text-shadow: 0 1px 0 #ccc,
                   0 6px 1px rgba(0,0,0,.1),
                   0 0 5px rgba(0,0,0,.1),
                   0 1px 3px rgba(0,0,0,.3),
                   0 3px 5px rgba(0,0,0,.2),
                   0 5px 10px rgba(0,0,0,.25),
                   0 10px 10px rgba(0,0,0,.2),
                   0 20px 20px rgba(0,0,0,.15);
    }
 
   


  }
 
  @media screen and (max-width: 1450px) {
    .item {
        width: calc(100% - 50px); /* Adjust the width to display 2 items in a row */
    }
 
    .item:not(:last-child) {
        margin-right: 50px; /* Add margin between items in the same row */
    }
  }
 
  @media screen and (min-width: 1120px){
  .item {
        width: calc(85% - 50px); /* Adjust the width to display 1 item in a row */
        margin-right: 0; /* Remove margin between items in the same row */
        margin-bottom: 50px; /* Add margin between rows */
    }
    .item:not(:last-child) {
        margin-right: 50px; /* Add margin between items in the same row */
    }
 
  }
 
  @media screen and (min-width: 900px){
  .item {
        width: calc(75% - 50px); /* Adjust the width to display 1 item in a row */
        margin-right: 0; /* Remove margin between items in the same row */
        margin-bottom: 50px; /* Add margin between rows */
    }
    .item:not(:last-child) {
        margin-right: 50px; /* Add margin between items in the same row */
    }


    .overlay-text-fedex{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #004cff95 ;
        border-radius: 10px !important;
        position: relative;
        margin-top: -1000px;
        margin-bottom: 250px;
        padding-right: 30px;
        box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
      }
 
  }
 
  @media screen and (min-width: 601px) and (max-width: 899px) {
    .item {
        width: calc(70% - 50px); /* Adjust the width to display 1 item in a row */
        margin-right: 0; /* Remove margin between items in the same row */
        margin-bottom: 50px; /* Add margin between rows */
    }
      .item:not(:last-child) {
        margin-right: 20px; /* Add margin between items in the same row */
    }


    .service-acce{
        padding-right: 0px;
        width: 350px;
    }


    .overlay-text-fedex{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #004cff95 ;
        border-radius: 10px !important;
        position: relative;
        margin-top: -1050px;
        margin-bottom: 250px;
        padding-right: 30px;
        box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
      }


      .fed-h1{
        font-size: 30px !important;
        padding: 20px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }


      .fed-h2{
        font-size: 20px !important;
        padding: 20px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }
   
  }
 
   /* For small devices */
    @media screen and (min-width: 300px) and (max-width: 600px) {
      .item {
        width: calc(65% - 50px); /* Adjust the width to display 1 item in a row */
        margin-right: 0; /* Remove margin between items in the same row */
        margin-bottom: 50px; /* Add margin between rows */
    }
      .item:not(:last-child) {
        margin-right: 20px; /* Add margin between items in the same row */
    }
   
    .overlay-text-fedex{
        width: 95%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #004cff95 ;
        border-radius: 10px !important;
        position: relative;
        margin-left: 15px;
        margin-top: -930px;
        margin-bottom: 400px;
        box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
      }
 
      .overlay-text-accessories .accessories-title{
        font-size: 5px !important;
            color: white;
            text-shadow: 0 1px 0 #ccc,
                         0 2px 0 #c9c9c9,
                         0 6px 1px rgba(0,0,0,.1),
                         0 0 5px rgba(0,0,0,.1),
                         0 1px 3px rgba(0,0,0,.3),
                         0 3px 5px rgba(0,0,0,.2),
                         0 5px 10px rgba(0,0,0,.25),
                         0 10px 10px rgba(0,0,0,.2),
                         0 20px 20px rgba(0,0,0,.15);
      }
   
       .fed-h1{
        margin-top: -50px;
        font-size: 20px !important;
        padding: 20px;
        margin-left: -40px;
        margin-right: -40px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }


      .fed-h2{
        font-size: 17px !important;
        padding: 20px;
        margin-left: -40px;
        margin-right: -40px;
        margin-top: -35px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }


      .services{
        margin-top: 40px;
        display: flex;
        justify-content: center ;
        gap: 16px;
        flex-wrap: wrap;
        transition: transform 0.3s ease;
        padding-right: -20px !important;


    }


    .service-acce{
        padding-right: 0px;
        width: 350px;
    }


    h3{
      font-size: 17px;
      text-transform: none;


    }


    .container{
      padding:15px;
    }




  }



