@media (max-width: 1399px) {
    .foam .picture img {
        width: 140%;  
    }

    .lantern .picture img {
        width: 175%;
    }
}

@media (max-width: 1199px) {
    h2 {
        margin-bottom: 20px;
    }

    .foam .picture {
        height: 400px;
    }

    .foam .foam-one__info {
        height: 400px;
    }

    .foam .picture img {
        width: 140%;  
    }
}

@media (max-width: 1023px) {
    .harbor .mast {
        margin: 0;
        font-size: 20px;
    }

    .bar {
        display: flex;
        margin-left: auto;
        margin-top: 5px;
    }

    .bar.active {
        position: relative;
        opacity: 2;
    }

    .harbor .compass {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1000;
        opacity: 0;
        width: 100%;
        background: #1E2C35;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        padding: 20px 0;
        margin-top: 50px;
    }

    .harbor .compass.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .harbor  .compass.active .compass__one {
        margin: 0;
        margin-bottom: 15px;
    }

    .harbor  .compass.active .compass__one a {
        color: #EAF4F9;
        font-size: 18px;
        text-decoration: none;
    }

    .crew__card .picture img {
        width: 150%;
    }
}

@media (max-width: 991px) {
    .foam .picture {
        position: relative;
        z-index: -1;
        width: 100%;
        border-radius: 20px;
    }

    .foam .foam-one.left .foam-one__info {
        margin-left: 0;
    }

    .foam .foam-one {
        margin-bottom: 20px;
    }

    .foam .foam-one:last-of-type {
        margin-bottom: 0;
    }

    .foam .foam-one__info {
        width: 100%;
        border-radius: 20px;
        background: rgba(0, 0, 0, 0.5);
        color: #EAF4F9;
        justify-content: center;
        text-align: center;
        margin-top: -400px;
        padding: 20px;
    }

    .foam .foam-one__info a {
        color: #EAF4F9;
        border-color: #EAF4F9;
        margin: 0 auto;
    }

    .lantern .picture {
        position: relative;
        width: 100%;
        height: 300px;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .lantern .picture img {
        width: 110%;
    }

    .lantern__info {
        height: auto;
        margin-left: 0;
    }

    .crew__card {
        margin-bottom: 30px;
    }

    .crew .row > div:last-child .crew__card {
        margin-bottom: 0;
    }

    .crew__card .picture {
        height: 350px;
    }

    .crew__card .picture img {
        width: 110%;
    }

    .duo-shell .shell__input:first-child {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .reef .mast {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .reef .compass .compass__one {
        margin: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .reef .compass .compass__one:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    section {
        padding: 40px 0;
    }

    .foam .picture {
        height: 550px;
    }

    .foam .picture img {
        width: 190%;
    }

    .foam .foam-one__info {
        height: 550px;
        margin-top: -550px;
    }

    .lantern .picture {
        height: 250px;
    }

    .lantern .picture img {
        width: 140%;
    }

    .crew__card .picture {
        height: 250px;
    }

    .crew__card .picture img {
        width: 135%;
    }
}