@media only screen and (max-width: 1240px) {
    #horse-featured{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        background-image: unset;
    }

    .page-container{
        overflow: hidden;
    }

    .stallion-show{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-bottom: 4rem;
    }

    .box{
        margin-top: 1rem;
    }

    .content-block-5{
        width: 100%;
    }

    .grid-test{
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 1024px) {
    #horse-featured{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        background-image: unset;
    }

    .page-container{
        overflow: hidden;
    }

    .stallion-show{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-bottom: 4rem;
    }

    .box{
        margin-top: 1rem;
    }

    .content-block-5{
        width: 100%;
        background-size: cover;
    }

    .grid-test{
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (max-width: 850px) {
    .img-box{
        display: none;
    }

    #horse-featured{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        background-image: unset;
    }

    .page-grid{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .greatness{
        width: 15rem;
        height: 6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        margin: 0.25rem;
    }

    .promo-text{
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .promo-text h3{
        margin: 0;
        margin-left: 1rem;
    }

    .promo-text p{
        margin: 0;
        margin-left: 1rem;
        padding: 0;
    }

    .page-container{
        overflow: hidden;
    }

    .grid-test{
        max-width: 100%;
    }

    .content-block-1{
        max-width: 100%;
        background-image: none;
        align-items: center;
        padding: 0;
        margin-top: 6rem;
    }

    .landing-text{
        max-width: 100%;
        margin-top: 10rem;
    }

    .landing-text h1{
        font-size: 2.2rem;
    }

    .landing-text h2{
        font-size: 1.8rem;
    }

    .landing-text p {
        margin-left: 1rem;
        margin-right: 1rem;
        text-wrap: pretty;
    }

    .content-block-2{
        margin-top: 6rem;
        width: 100%;
    }

    .content-block-3{
        max-width: 100%;
        height: 80rem;
        margin-top: 5rem;
    }

    #cb2-grid{
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #cb2-left {
        margin: 0;
        align-items: center;
        margin-top: 2rem;
    }

    #cb2-right {
        margin: 0;
        align-items: center;
        margin-top: 2rem;
    }

    .mixed-text h2 {
        font-size: 1.5rem;
    }

    #subtext{
        margin-left: 1rem;
        margin-right: 1rem;
        text-wrap: pretty;
        text-align: center;
    }

    .action-buttons{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
    }

    button{
        width: 12rem;
        margin-bottom: 1rem;
    }

    .enquire-form{
        overflow: hidden;
        max-width: 100%;
    }

    #enquire{
        width: 25rem;
    }

    .enquire-field{
        width: 25rem;
    }
    
    .text-area{
        margin-bottom: 1rem;
    }

    #horses-button{
        margin: 0;
        margin-bottom: 3rem;
        margin-top: 2rem;
        align-self: center;
    }

    .content-block-5{
        width: 100%;
        background-size: cover;
    }

    .grid-test{
        display: flex;
        flex-direction: column;
        background-size: cover;
    }

    .stallion-show{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 4rem;
    }
    .box{
        margin-top: 1rem;
    }

    .text-mix-stalls h2{
        font-size: 2rem;
    }

    #basic{
        font-size: 2rem;
    }
    .mySlides img{
        all: unset;
        max-height: 40rem;
        width: 90%;
      }
}

@media only screen and (max-width: 650px) {
    .img-box{
        display: none;
    }

    #horse-featured{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        background-image: unset;
    }

    .page-grid{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .greatness{
        width: 20rem;
        height: 6rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        margin: 0.25rem;
    }

    .promo-text{
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .promo-text h3{
        margin: 0;
        margin-left: 1rem;
    }

    .promo-text p{
        margin: 0;
        margin-left: 1rem;
        padding: 0;
    }

    .page-container{
        overflow: hidden;
    }

    .grid-test{
        max-width: 100%;
    }

    .content-block-1{
        max-width: 100%;
        background-image: none;
        align-items: center;
        padding: 0;
        margin-top: 6rem;
    }

    .landing-text{
        max-width: 100%;
        margin-top: 10rem;
    }

    .landing-text h1{
        font-size: 2.2rem;
    }

    .landing-text h2{
        font-size: 1.8rem;
    }

    .landing-text p {
        margin-left: 1rem;
        margin-right: 1rem;
        text-wrap: pretty;
    }

    .content-block-2{
        margin-top: 6rem;
    }

    .content-block-3{
        max-width: 100%;
        height: 90rem;
        margin-top: 5rem;
    }

    #cb2-grid{
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #cb2-left {
        margin: 0;
        align-items: center;
        margin-top: 2rem;
    }

    #cb2-right {
        margin: 0;
        align-items: center;
        margin-top: 2rem;
    }

    .mixed-text h2 {
        font-size: 1.5rem;
    }

    #subtext{
        margin-left: 1rem;
        margin-right: 1rem;
        text-wrap: pretty;
        text-align: center;
    }

    .action-buttons{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
    }

    button{
        width: 12rem;
        margin-bottom: 1rem;
    }

    .small-image{
        width: 18rem;
        overflow: hidden;
    }

    .small-image img{
        height: 100%;
        width: auto;
        margin-left: -4rem;
    }

    .enquire-form{
        overflow: hidden;
        max-width: 100%;
    }

    #enquire{
        width: 15rem;
    }

    .enquire-field{
        width: 15rem;
    }
    
    .text-area{
        margin-bottom: 1rem;
    }

    #horses-button{
        margin: 0;
        margin-bottom: 3rem;
        margin-top: 2rem;
        align-self: center;
    }

    .content-block-5{
        width: 100%;
    }

    .grid-test{
        display: flex;
        flex-direction: column;
        background-size: cover;
    }

    .stallion-show{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 4rem;
    }
    .box{
        margin-top: 1rem;
    }

    .text-mix-stalls h2{
        font-size: 2rem;
    }

    #basic{
        font-size: 2rem;
    }
    #subtext{
        width: 60%;
    }
    
    .mySlides img{
        all: unset;
        max-height: 40rem;
        width: 90%;
      }
}


