@media only screen and (max-width: 1240px) {
    #greatness{
        margin-top: 1.5rem;
        width: 18rem;
    }

    .horse-img{
        margin-left: -4rem;
    }
}

@media only screen and (max-width: 1024px) {
    #content-block-1{
        background-image: url("../images/Horse\ and\ Dragon.svg");
        background-size: 120%;
        background-position: top 8rem left -7rem;
        background-repeat: no-repeat;
    }
    
    .enquire-field{
        width: 20rem;
    }

    .small-image{
        width: 18rem;
        overflow: hidden;
    }

    .small-image img{
        height: 100%;
        width: auto;
        margin-left: -4rem;
    }

    #horse-featured{
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    #greatness{
        margin-top: 1.5rem;
    }
}

@media only screen and (max-width: 850px) {
    #content-block-1{
        background-image: url("../images/Horse\ and\ Dragon.svg");
        background-size: 120%;
        background-position: top 8rem left -7rem;
        background-repeat: no-repeat;
        max-width: 100%;
        align-items: center;
    }
    .page-grid{
        max-width: 100%;
    }

    .landing-text{
        max-width: 100%;
        margin-top: 15rem;
    }

    .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{
        max-width: 100%;
        height: 80rem;
        margin-top: 30rem;
    }

    #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-3{
        display: flex;
        flex-direction: column;
    }

    .call-to-action{
        display: flex;
        flex-direction: column;
        margin-top: 3rem;
        width: 30rem;
        align-items: center;
    }

    .call-to-action #mixed-text{
        display: flex;
        width: fit-content;
    }

    .call-to-action #mixed-text h2{
        font-size: 1.8rem;
        padding: 0;
    }

    #alt-text{
        width: 10rem;
    }

    .call-to-action p{
        font-size: 0.8rem;
        text-wrap: pretty;
        margin-bottom: 0;
    }

    #horse-featured{
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    #greatness{
        margin-top: 1.5rem;
    }

    #mixed-text{
        align-self: center;
    }
}

@media only screen and (max-width: 650px) {
    .page-container{
        overflow: hidden;
    }

    .page-grid{
        max-width: 100%;
    }

    #content-block-1{
        max-width: 100%;
        background-image: none;
        align-items: center;
    }

    .landing-text{
        max-width: 100%;
        margin-top: 13rem;
    }

    .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{
        max-width: 100%;
        height: 90rem;
        margin-top: 30rem;
    }

    #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-3{
        display: flex;
        flex-direction: column;
    }

    .call-to-action{
        margin-top: 3rem;
    }

    .call-to-action #mixed-text{
        display: flex;
        flex-direction: column;
        width: 15rem;
    }

    .call-to-action #mixed-text h2{
        font-size: 1.8rem;
        width: 100%;
        padding: 0;
    }

    .call-to-action p{
        font-size: 0.8rem;
        text-wrap: pretty;
        margin-bottom: 0;
    }

    #horse-featured{
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    #greatness{
        margin-top: 1.5rem;
        width: 18rem;
    }

    .horse-img{
        margin-left: -4rem;
    }
    
    .call-to-action p{
        width: 60%;
    }
}
