/* Extra-large */
@media (min-width: 1200px) {
    
}

/* Large */
@media (max-width: 1340px) {
    .content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .section-header {
        padding-left: 2rem;
    }
    .nav-item {
        margin-top: .5rem;
    }
}

/* Medium */
@media (max-width: 991px) {
    #reg-form {
        width: 600px;
        height: 2450px;
    }
    #map {
        width: 600px;
    }
}

/* Small */
@media (max-width: 767px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    header > div {
        width: auto;
    }

    header > div:first-child,
    header > div:last-child {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        flex: 1 1 0;
    }

    header > div:first-child {
        align-items: flex-start;
    }

    header > div:last-child {
        align-items: flex-end;
    }

    header > div:first-child > div,
    header > div:last-child > div {
        width: 100%;
    }

    header .nav {
        flex-direction: column;
        gap: 0.35rem;
    }

    header > div:first-child .nav {
        align-items: flex-start;
    }

    header > div:last-child .nav {
        align-items: flex-end;
    }

    header .nav-item {
        width: fit-content;
        max-width: 100%;
        margin-top: 0;
    }

    header .nav-link {
        display: inline-block;
    }

    header > div:first-child .nav-item,
    header > div:first-child .nav-link {
        text-align: left;
    }

    header > div:last-child .nav-item,
    header > div:last-child .nav-link {
        text-align: right;
    }

    .only-md-elem {
        align-self: center;
        display: flex;
        flex-direction: column;
        margin-top: 0 !important;
        flex: 0 0 auto;
    }

    .only-md-elem h1 {
        display: none;
    }

    .only-md-elem img {
        width: 60px;
        height: auto;
    }

    .carousel {
        display: none;
    }

    #reg-form {
        width: 450px;
        height: 2530px;
    }

    #map {
        width: 450px;
    }
}

/* Extra-small */
@media (max-width: 575px) {
    #reg-form {
        width: 350px;
        height: 2700px;
    }
    #map {
        width: 350px;
    }
}

@media (max-width: 355px) {
    #reg-form {
        width: 280px;
        height: 2800px;
    }
    #map {
        width: 280px;
    }
}
@media (max-width: 1199px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-hero-copy h2 {
        max-width: 100%;
    }

    .home-hero-media {
        max-width: 860px;
    }
}

@media (max-width: 991px) {
    .home-section-intro {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 767px) {
    .home-hero-shell {
        padding: 1.5rem 1rem 2.5rem;
    }

    .home-hero {
        gap: 1.5rem;
    }

    .home-hero-image {
        min-height: 280px;
    }

    .home-hero-carousel .carousel-item {
        min-height: 280px;
    }

    .home-hero-badge {
        display: none !important;
    }

    .home-primary-action,
    .home-secondary-action,
    .home-show-more {
        width: 100%;
        justify-content: center;
    }
}