


@media (min-width: 1450px) and (max-width: 1920px) {
    #header_title {
        margin-top: 100px;
    }
    #header_title h1 {
        margin-left: 84px;
        font-size: 28px;
        color: #222222 !important;
        font-weight: 400;
        font-family: 'Open Sans' !important;
        
    }
    #header_title a {
        color: #D83B2D;
        text-decoration: none;
    }
    #header_title a:hover {
        color: #EA9040;
    }
    #header_title p {
        color: #222222;
        font-size: 15px !important;
        line-height: 22px;
        font-weight: 450 !important;
        margin-left: 255px;
        font-family: 'Open Sans' !important;
    } 
    #buttons_search {
        width: 100%;
        height: auto;
        margin-top: 30px;
        margin-left: -145px;
    }
    #buttons_search .filtr-item {
        margin: 10px;
        text-align: center;
        transition: opacity 1s ease-in-out;
    }

    #buttons_search .btn-filter {
        border: 1px solid grey;
        background-color: #ccc;
        margin-right: 30px;
        border-radius: 1px;
        color: black;
        font-family: 'Open Sans' !important;
    }

    #buttons_search .btn-filter:hover {
        background-color: grey;
        color: white;
    }

    #buttons_search .btn-filter.active {
        background-color: grey;
        color: white;
    }
     #btn-filter {
        margin-left: 232px;
    }
    #buttons_search  .filtr-search {
        width: 390px;
         margin-left: 1140px;
    }
    #video-container {
        overflow-x: hidden; /* Disable horizontal scrolling */
        overflow-y: auto; /* Enable vertical scrolling if necessary */
        margin-left: -20px;
        margin-bottom: 43px;
    }
    #video-container .video-box {
        /* Display video boxes as inline-block elements */
        text-decoration: none;
        color: inherit;
        position: relative;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        width: calc(33.33% - 50px); 
        /*margin-left: -175px; */
        margin-bottom: 150px;
      
  
    }

    #video-container .item-desc {
        position: absolute;
        bottom: 0;
        margin-left: 40px;
        width: 100px;
        font-size: 14px;
        color: white;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 5px;
        text-align: center;
        font-family: 'Open Sans' !important;
    }
    /* Styles for the YouTube icon */
    #video-container .video-box i {
        position: absolute;
        top: 60px;
       left: 75px;
    }

    #video-container .video-box i img {
        width: 30px;
        /* Adjust size as needed */
        display: block;
    }
       .filtr-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: start;
            margin-top: 60px;
            margin-left: 260px;
        }

    /* Styles for the video box image */
    #video-container .video-box .img-responsive {
        width: 180px;
        height: auto;

        border: 1px solid;
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
        transition: transform 0.3s ease-in-out;
    }

    #video-container .video-box:hover .img-responsive {
        transform: scale(1.05);
    }

    /* Styles for the filters container */
    #video-container .filtr-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        margin-top: 60px;
        margin-left: 108px;
    }
    
}

      /* Desktop view - Microsoft Edge */
    
      @media (min-width: 1200px) and (max-width: 1366px) {
        #header_title {
            margin-top: 100px;
        }
    #header_title h1 {
    margin-left: 84px;
    font-size: 28px;
    color: #222222 !important;
    font-weight: 400;
    font-family: 'Open Sans' !important;
        
    }
    #header_title p {
        color: #222222;
        font-size: 15px !important;
        line-height: 22px;
        font-weight: 450 !important;
        margin-left: 264px;
        font-family: 'Open Sans' !important;
    } 
    #header_title a {
        color: #D83B2D;
        text-decoration: none;
    }
    #header_title a:hover {
        color: #EA9040;
    }
    #buttons_search {
        width: 100%;
        height: auto;
        margin-top: 30px;
        margin-left: -5px;
        font-family: 'Open Sans' !important;
    }
    #btn-filter {
        margin-left: 92px;
    }
    #buttons_search .filtr-item {
        margin: 10px;
        text-align: center;
        transition: opacity 1s ease-in-out;

    }

    #buttons_search .btn-filter {
        border: 1px solid grey;
        background-color: #ccc;
        margin-right: 30px;
        border-radius: 1px;
        color: black;
    }

    #buttons_search .btn-filter:hover {
        background-color: grey;
        color: white;
    }

    #buttons_search .btn-filter.active {
        background-color: grey;
        color: white;
    }
    #buttons_search  .filtr-search {
        width: 450px;
        margin-left: 761px;
    }
    #video-container {
        overflow-x: hidden; /* Disable horizontal scrolling */
        overflow-y: auto; /* Enable vertical scrolling if necessary */
        margin-bottom: 120px;
    }
    #video-container .video-box {
        /* Display video boxes as inline-block elements */
        text-decoration: none;
        color: inherit;
        position: relative;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        width: calc(33.33% - -20px); /* Adjust width to fit three boxes per row with margin */
     
        margin-bottom: 70px;
        
    }

    #video-container .item-desc {
        position: absolute;
        bottom: 0;
        margin-left: 40px;
        width: 100px;
        font-size: 14px;
        color: white;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 5px;
        text-align: center;
    }
    /* Styles for the YouTube icon */
    #video-container .video-box i {
        position: absolute;
        top: 60px;
        left: 75px;
    }

    #video-container .video-box i img {
        width: 30px;
        /* Adjust size as needed */
        display: block;
    }

    /* Styles for the video box image */
    #video-container .video-box .img-responsive {
        width: 180px;
        height: auto;

        border: 1px solid;
        /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
        transition: transform 0.3s ease-in-out;
    }

    #video-container .video-box:hover .img-responsive {
        transform: scale(1.05);
    }

    /* Styles for the filters container */
    #video-container .filtr-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        margin-top: 60px;
        margin-left: 87px;
    }
}
/* iPad view */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
      
  
  
    #header_title {
    margin-top: 100px;
}
#header_title p{
    display: none;
}
    #header_title h1 {
        text-align: center;
        font-size: 28px;
            color: #222222 !important;
            font-family: 'Open Sans' !important;
        
    }
#buttons_search {
    margin-top: 30px;
    margin-left: -123px;
}
#buttons_search .filtr-item {
    margin: 10px;
    text-align: center;
    transition: opacity 1s ease-in-out;
}

#buttons_search .btn-filter {
    border: 1px solid grey;
    background-color: #ccc;
    margin-left: 7px;
    border-radius: 1px;
    color: black;
    font-family: 'Open Sans' !important;
}
#btn-filter {
        margin-left: 164px;
    }

#buttons_search .btn-filter:hover {
    background-color: grey;
    color: white;
}

#buttons_search .btn-filter.active {
    background-color: grey;
    color: white;
}
#buttons_search  .filtr-search {
    width: 350px;
    margin-left: 510px;
}
#video-container {
    overflow-x: hidden; /* Disable horizontal scrolling */
    overflow-y: auto; /* Enable vertical scrolling if necessary */
    margin-bottom: 120px;
}
#video-container .video-box{
    /* Display video boxes as inline-block elements */
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    margin-top:10px;
    margin-bottom: 30px;
}
#video-container .item-desc {
    position: absolute;
    bottom: 0;
    margin-left: 40px;
    width: 100px;
    font-size: 14px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
    text-align: center;
    font-family: 'Open Sans' !important;
}
/* Styles for the YouTube icon */
#video-container .video-box i {
    position: absolute;
    top: 60px;
    left: 85px;
}

#video-container .video-box i img {
    width: 30px;
    /* Adjust size as needed */
    display: block;
    margin-top: 20px !important;
    margin-left: -10px !important;
}

/* Styles for the video box image */
#video-container .video-box .img-responsive {
    width: 180px;
    height: auto;

    border: 1px solid;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease-in-out;
}

#video-container .video-box:hover .img-responsive {
    transform: scale(1.05);
}

/* Styles for the filters container */
#video-container .filtr-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-top: 60px;
    margin-left: 290px;
}
  /*.filtr-container {*/
  /*    display: flex;*/
  /*    flex-direction: column;*/
  /*  }*/
  /*  .filtr-item {*/
  /*    display: block;*/
  /*    width: 180px;*/
  /*    margin-bottom: 10px; */
  /*  }*/
  /*  .background-image {*/
  /*    width: 100%;*/
  /*    height: auto;*/
  /*  }*/
}
  /* Mobile view */
  @media only screen and (max-width: 767px) {
    #header_title {
    margin-top: 100px;
}
#header_title h1 {
    text-align: center;
     font-family: "Open Sans" !important;
        text-align: center;
        color: #222222;
        font-size:28px;
}
#header_title p{
    display: none;
}
#buttons_search {
    margin-top: 30px;

}
#buttons_search .filtr-item {
    margin: 10px;
    text-align: center;
    transition: opacity 1s ease-in-out;
}

#buttons_search .btn-filter {
    border: 1px solid grey;
    background-color: #ccc;
    margin-right: 7px;
    border-radius: 1px;
    color: black;
    font-family: 'Open Sans' !important;
    margin: 10px;
}

#buttons_search .btn-filter:hover {
    background-color: grey;
    color: white;
}

#buttons_search .btn-filter.active {
    background-color: grey;
    color: white;
}
#buttons_search  .filtr-search {
    width: 350px;
    margin-left: 3px;
}
#video-container {
    overflow-x: hidden; /* Disable horizontal scrolling */
    overflow-y: auto; /* Enable vertical scrolling if necessary */
      margin-bottom: 120px;
}
#video-container .video-box{
    /* Display video boxes as inline-block elements */
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    margin-top:10px;
    margin-bottom: 30px;
}
#video-container .item-desc {
    position: absolute;
    bottom: 0;
    margin-left: 40px;
    width: 100px;
    font-size: 14px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
    text-align: center;
    font-family: 'Open Sans' !important;
}
/* Styles for the YouTube icon */
#video-container .video-box i {
    position: absolute;
    top: 60px;
    left: 85px;
}

#video-container .video-box i img {
    width: 30px;
    /* Adjust size as needed */
    display: block;
            margin-left: -9px;
        margin-top: 13px;
}

/* Styles for the video box image */
#video-container .video-box .img-responsive {
    width: 180px;
    height: auto;

    border: 1px solid;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease-in-out;
}

#video-container .video-box:hover .img-responsive {
    transform: scale(1.05);
}

/* Styles for the filters container */
#video-container .filtr-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin-top: 60px;
    margin-left: 90px;
}
  }