/* Desktop - Wide Screen */
@media (min-width: 2201px) and (max-width: 2800px) {
    .carousel-item {
        flex: 0 0 15%;
        /* Zeigt 6 Elemente auf ultrabreiten Bildschirmen */
    }

    .mobile-scroll-div {
        display: none;
    }

    .sectionOne {
        width: 50%;
    }

    .tile-container a p {
        font-size: 1rem;
    }

    #mobileScrollButtonUp,
    #mobileScrollButtonDown {
        display: none !important;
    }
}

/* Desktop - TV */
@media (min-width: 1500px) and (max-width: 2200px) {

    .tile-container a p {
        font-size: 0.8rem;
    }

    .carousel-item {
        flex: 0 0 17.5%;
        /* Zeigt 5 Elemente auf breiten Bildschirmen */
    }

    .carousel-item h3 {
        font-size: 1rem;
    }

    .offers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 40px auto;
        box-sizing: border-box;
        width: 75%;
    }

    .offer-item {
        background-color: #ffffffe3;
        border: 1px solid #000;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        border-radius: 10px;
    }

    .offer-item p {
        font-size: 12px;
    }

    .offer-item h3 {
        font-size: 14px;
    }

    .offer-item img {
        width: 40px;
        height: 40px;
    }

    .mobile-scroll-div {
        display: none;
    }

    #mobileScrollButtonUp,
    #mobileScrollButtonDown {
        display: none !important;
    }
}

/* Laptop / Mid-Desktop Bereich */
@media (min-width: 921px) and (max-width: 1450px) {
    .carousel-item {
        flex: 0 0 25%;
    }

    .mobile-scroll-div {
        display: block;
    }

    .sectionSix {
        width: 90%;
    }

    .section-two-container {
        width: 85vw;
        height: 50vh;
    }

    .section-two-container h4 {
        margin: 0 0 40px 0;
    }

    .sectionThree {
        width: 90%;
    }

    .what-is-collab-text {
        width: 90%;
    }

    .portal-offer-carousel-carousel {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    .portal-offer-carousel-wrapper button {
        display: none;
    }

    .portal-offer-carousel-card {
        height: 150px;
        display: inline-block;
        margin: 0;
        min-width: unset;
    }

    .portal-offer-carousel-wrapper {
        height: 100%;
        width: 100%;
    }

    .offer-item {
        padding: 0 20px;
    }

    .portal-offer-carousel-image {
        margin-bottom: 0;
    }

    .offers-grid {
        display: none;
    }

    .portal-offer-carousel-card h3 {
        font-size: 1.5vw;
    }

    .jumpPads-plate-grid {
        width: 80%;
    }

    .jumppad-card-title {
        width: 80%;
    }

    #mobileScrollButtonUp,
    #mobileScrollButtonDown {
        display: block;
    }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 920px) {
    .carousel-item {
        flex: 0 0 33.33%;
    }

    .mobile-scroll-div {
        display: none;
    }

    .offers-grid {
        display: none;
    }
}

/* Handy */
@media (max-width: 600px) {

    .sectionOne {
        opacity: 1;
        visibility: visible;
        display: block;
        position: fixed;
        top: 20px;
        width: 100%;
    }

    .section-one-container {
        margin: 15px 10px;
    }

    .centered-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1;
    }

    .carousel-item {
        flex: 0 0 50%;
    }

    .mobile-scroll-div {
        display: block;
    }

    .offers-grid {
        display: none;
    }

    .search-wrapper {
        position: absolute;
        width: 100%;
        top: 0;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 5px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

    .search-type-selector {
        background: #ffffff;
        color: #000000;
        padding: 8px 12px;
        cursor: pointer;
        user-select: none;
        left: 10px;
        top: 7px;
        display: unset;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        width: 200px;
    }

    .search-container img {
        width: 100%;
        height: 16vh;
        object-fit: cover;
        border-radius: 10px;
        margin-top: 65px;
    }

    .search-button img {
        width: 50px;
        height: 50px;
        margin-top: 0;
    }

    .search-button {
        position: unset;
        top: unset;
        bottom: unset;
        right: unset;
        transform: unset;
        background: none;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
    }

    .search-bar {
        margin-left: 5px;
        width: 100%;
        height: 30px;
        border-radius: 10px;
        background-color: transparent;
        color: #fff;
        font-size: 15px;
        border: none;
        outline: none;
        box-shadow: none;
        caret-color: #fff;
        box-sizing: border-box;
    }

    .search-type-options {
        left: 4px;
    }

    .overlay-box {
        width: 95%;
        height: unset;
        background-color: unset;
        border-radius: 10px;
        display: unset;
        justify-content: center;
        align-items: unset;
        margin-bottom: unset;
        overflow: hidden;
        box-shadow: unset;
    }

    .tile-container {
        margin: unset;
        width: 95%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 5px;
        margin-top: 20px;
    }

    .tile {
        max-width: 100%;
        font-size: 0.7rem;
        height: 8vh;
        border: 1px solid rgba(0, 0, 0, 0.5);
    }

    .section-one-platform-info-grid p {
        margin: 0 0 20px;
    }

    .section-one-main-title {
        font-size: 1.3rem;
        margin: 0;
    }

    .logo-container {
        display: none;
    }

    .navbar {
        display: none;
    }

    .collab-logo-item {
        width: 60px;
        height: 60px;
    }

    .chat-container {
        position: fixed;
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1;
    }

    .chat-panel {
        width: 95% !important;
        margin: 0 10px;
    }

    .support-chat-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .plattform-status-container {
        display: none !important;
    }

    .mobile-scroll-div {
        bottom: 40px;
        z-index: 98;
    }

    .footer-content p {
        margin: 0;
        color: #6b6b6b;
        font-size: 0.6rem;
        display: block;
        margin: 0 auto;
    }

    .mobile-scroll-button-down,
    .mobile-scroll-button-up {
        width: 40px;
        height: 40px;
    }

    .cookie-popup {
        z-index: 99999;
    }

    .portal-offer-carousel-wrapper {
        height: 100%;
        width: 100%;
    }

    .portal-offer-carousel-card h3 {
        font-size: 0.8rem !important;
    }

    .section-two-container h4 {
        font-size: 1.5rem;
        margin: 0 0 10px;
    }

    .portal-offer-carousel-wrapper button {
        display: none;
    }

    .portal-offer-carousel-carousel {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 5px;
    }

    .portal-offer-carousel-card {
        height: 15vh;
        display: inline-block;
        margin: 0;
        min-width: unset;
    }

    .portal-offer-carousel-image {
        margin-bottom: 0;
    }

    .sectionTwo {
        display: block;
        width: 95%;
    }

    .section-two-container {
        width: 95%;
        height: 80vh;
        margin-top: 0;
        position: fixed;
        top: 18px;
    }

    .sectionThree {
        position: fixed;
        top: 18px;
        width: 95% !important;
        border-radius: 15px;
    }

    .freelancer-card-grid {
        max-height: 63vh !important;
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 10px !important;
        z-index: 9999;
        margin: 0 auto;
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 10px !important;
    }

    .FreelancerPlate-mySlides img {
        height: 20vw !important;
    }

    .freelancer-card-title-all {
        font-size: 1.5rem !important;
        margin: 0 0 10px !important;
    }

    .freelancer-card-rating,
    .rating-counter {
        font-size: 0.8rem !important;
    }

    .freelancer-card-footer {
        position: unset !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
    }

    .freelancer-card-price,
    .freelancer-profile-country-name {
        font-size: 0.6rem !important;
    }

    .freelancer-profile-country-flag {
        width: 12px !important;
    }

    .freelancer-profile-country-grid {
        align-items: center !important;
    }

    .FreelancerPlate-text {
        bottom: 0 !important;
        padding: 0 !important;
    }

    .FreelancerPlate-prev,
    .FreelancerPlate-next {
        padding: 10px !important;
        font-size: 0.8rem !important;
    }

    .freelancer-card-description {
        margin-bottom: 5px !important;
        font-size: 0.6rem;
    }

    .freelancer-profile-image {
        width: 30px !important;
        height: 30px !important;
    }

    .freelancer-card-content {
        padding: 5px !important;
    }

    .freelancer-card:hover {
        transform: none !important;
    }

    .freelancer-gig-title {
        margin: 0 0 5px !important;
        font-size: 0.8rem !important;
    }

    .freelancer-profile-info h4 {
        font-size: 0.8rem !important;
    }

    .jumpPads-plate-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px !important;
        overflow-x: hidden;
        overflow-y: auto;
        padding-right: 10px;
        max-height: 60vh !important;
        width: unset !important;
        margin: 0 !important;
        padding-top: 10px;
    }

    .sectionFour {
        position: fixed;
        top: 18px;
        width: 95% !important;
        border-radius: 15px;
    }

    .jumpPad-main-image img {
        height: 15vh;
    }

    .jumppad-card-title {
        font-size: 1.5rem !important;
        margin: 0 0 10px !important;
    }

    .jumpPad-project-timer,
    .jumpPad-funding-amount,
    .jumpPad-funding-details p {
        font-size: 0.8rem !important;
    }

    .jumpPad-project-description {
        font-size: 0.6rem;
    }

    .centered-container h1 {
        font-size: 1.5rem;
    }

    .what-is-collab-text {
        width: 80%;
        font-size: 0.8rem;
        line-height: 1.5em;
    }

    .sectionSix {
        width: 95%;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        padding: 10px;
        gap: 10px;
        align-items: baseline;
        text-align: center;
    }

    .footer-column h3 {
        margin: 0 0 10px;
    }

    .centered-container h1 {
        font-size: 1.5rem;
    }

    .footer-column a {
        font-size: 0.8rem;
    }

    .footer-column li {
        margin-bottom: 5px;
    }
}

@media (max-width: 400px) {
    .carousel-item {
        flex: 0 0 100%;
    }

    .mobile-scroll-div {
        display: block;
    }
}