* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background-color: #9a9fb3;
    --box-border: #7e87aa;
    --fill-color1: 
    --text-color: #023017;
    --accent-color: #118a21;
    --accent-light: #35b646;
    --main-color: #16653A;
    --contrast-color: #000099;
    --contrast-light: #3a3ab1;
    --light-text: rgb(255, 243, 243);

}

body {
    width: 100%;
    max-width: 375px;
    /* margin: 2rem auto; */
    background: #8d93ac;
    justify-self: center;
}

main {
    width: 100%;
    max-width: 375px;
}
.container {
    width: 100%;
    margin-top: 10rem;
}

h1 {
    font-family: Nunito sans, serif;
    color: var(--accent-color);
} 


h2,
h3,
h4 {
    font-family: Nunito sans, serif;
    color: var(--main-color);
    font-size: 2.5rem;
} 

h1 {
    margin-bottom: 1rem;
    justify-content: center;
    line-height: 2rem;
    text-align: center;
}

h2,
h3 {
    /* margin-bottom: .5rem; */
    font-size: 22px;
}

p {
    font-family: Nunito;
    font-size: 2rem;
    font-weight: 700;
    padding-left: 1.5rem;
    line-height: 2.5rem;
    letter-spacing: .1rem;
    margin-bottom: .1rem;
    justify-content: left;
} 
p .list {
    margin-bottom: 1rem;
}


a {
    text-decoration: none;
    font-size: 1.5rem;
}

a.current {
    color: var(--accent-color);
    text-decoration: underline;
}

h1 a#processes {
    text-align: center;
}

li {
    list-style: none;
    margin-bottom: 1rem
}


header {
    width: 100%;
    height: 80px;
    /* max-width: 375px; */
   margin: 0;
}
nav {
    min-width: 100%;
    background: var(--accent-light);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.branding .logo {
    display: flex;
    align-self: center;
    padding-bottom: 1rem;
} 


.header .branding {
    display: none;
} 

.site-tag #tag {
    margin-left: 5rem;
    font-size: 36px;
    padding-top: 1rem;
}

.container .sales-pitch {
    margin-top: 1rem;
}

header ul {
    justify-self: center;
    padding-top: 1rem;
}

.header li {
    justify-self: center;
    line-height: 1rem;
}

.container-apply,
.container-pricing {
    padding-top: 10rem;
}




.intro .reinforce {
    width: 95%;
    text-align: center;
}

.intro h2 {
    margin-top: 2rem;
    text-align: center;
    
}
#reason{
   
    justify-self: center;
    width: 80%;
    max-width: 375px;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 3px solid var(--accent-light);
    border-radius: 15px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.6)
}

.link-to-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

a .link-to-top #top {
font-size: 36px;
}

.intro .text-color {
    color: var(--contrast-color);
    letter-spacing: .2rem;
}

.container h1 #processes {
    color: var(--contrast-color);
   margin: 1rem auto;
}

.container-input {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}



main .text-color {
    color: var(--contrast-color);
    justify-self: center;
}


.card {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    gap: 2rem;
    padding-top: 1rem;
    
}

.card p {
    font-size: 22px;
    line-height: 1.5rem;
    margin-bottom: .2rem;
    font-weight: 600;
}

.card-1,
.card-2,
.card-3,
.card-4,
.card-5,
.card-6,
.card-7,
.card-8,
.card-9 {
    padding: 0px 1rem;
    border: 2px solid var(--accent-light);
    border-radius: 15px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.6);
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.card-1 h2,
.card-2 h2,
.card-3 h2,
.card-4 h2 {
    font-size: 30px;
     text-align: center;
     margin-bottom: 1rem;
}




.card-1 {
    background-image: url('/images/pulling-on-lead.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
    background-color: rgb(184, 185, 231); 
    background-blend-mode: soft-light;
}
.card-2 {
    background-image: url('/images/eating-from-table.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgb(184,185,231); 
    background-blend-mode: soft-light;
}
.card-3 {
    background-image: url('/images/Dog\ humping\ leg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgb(204, 205, 231); 
    background-blend-mode: soft-light;
}
.card-4 {
    background-image: url('/images/snarling-shepherd.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgb(204, 205, 231); 
    background-blend-mode: soft-light;
}

.container .card-5 {
    height: 24rem;
    background-image: url('/images/TomKuzu.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
}


.card-6,
.card-7,
.card-8,
.card-9 {
    line-height: 3rem;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.6);
 }

 .card-6 p,
.card-7 p,
.card-8 p,
.card-9 {
    line-height: 2.5rem;
}
 .card-6 h2,
.card-7 h2,
.card-8 h2,
.card-9 h2 {
    line-height: 1.8rem;
    font-size: 24px;
}
 

footer {
    border-top: 2px solid var(--accent-color);
    padding: 0 5rem;
}

footer h2 {
    margin-top: 2rem;
    text-align: center;
}

footer h3,
footer p {
    text-align: center;
}

footer p {
    font-size: 16px;
    color: var(--contrast-color);
    padding-right: 3rem;
}

footer h3 {
    font-size: 16px;
}

/* Services page */

.row {
    display: flex;
    flex-direction: column;
    /* flex: 1; */
}
row-3 {
    width: 100%;
    gap: 1rem;
}

.row-3 .box-1,
.row-3 .box-2 {
    border: none;
    flex: 1;
}
.row-4 .box-3,
.row-4 .box-4 {
    border: none;
    flex: 1;
}
.row-5 {
    flex: 2;
    border: none;
}

.boxes {
    display: flex;
    flex-direction: column;
     margin: 3rem auto;
    padding: 0px 1rem;
    border: 2px solid var(--accent-light);
    border-radius: 15px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.6);
    padding-bottom: 2rem;
    padding-top: 2rem;
     border-radius: 10px;
     padding-top: 1rem;
     padding-right: 1rem;
     gap: 2rem;
}

.boxes .box-4 h1{
    border: none;
}

.boxes p {
    font-weight: 500;
}

.boxes h2,
.boxes h3 {
    padding-left: 1rem;
}

.box-2 h1 {
    padding-top: 1rem;
    line-height: 3.5rem;
}

.list p {
    margin-top: 1rem;
}


.box-a {
    height: 20rem;
    background-image: url('/images/2-dogs-in-window.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    
}
.box-2 {
    height: 15rem;
    background-image: url('/images/pexels-kindelmedia-7979458.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.box-4 {
    height: 15rem;
    background-image: url('/images/Jill\'s\ house\ original.jpg');
    background-repeat: no-repeat;
    background-position-y: top;
    background-size: cover;
}
.box-6 {
    height: 15rem;
    background-image: url('/images/pexels-lisa-fotios-1849974.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-8 {
    height: 16rem;
    background-image: url('/images/pexels-alinaskazka-14844699.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-10 {
    height: 16rem;
    background-image: url('/images/pexels-skyler-ewing-266953-9958357.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-12 {
    height: 16rem;
    background-image: url('/images/tilly.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-14 {
    height: 16rem;
    background-image: url('/images/dogs\ fighting.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-16 {
    height: 16rem;
    background-image: url('/images/boored\ copy.jpg');
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
}
.box-18 {
    height: 16rem;
    background-image: url('/images/looking-confused.gif');
    background-repeat: no-repeat;
    background-position-y: top;
    background-size: cover;
}





/* Application page */

.container-apply p {
    font-weight: 500;
}

.container-apply form {
    width: 100%;
    margin: 2rem auto;
    border: 2px solid var(--accent-light);
    border-radius: 15px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.6);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.container-textarea textarea {
    padding-top: 1rem;
    font-size: 36px;
    
}

.container-textarea label {
   margin-bottom: 3rem;
}


form label {
    font-size: 22px;
    margin-bottom: .5rem;
}

form input {
    height: 3rem;
    margin-bottom: 1rem;
}

form .left {
    margin-left: -1.8rem;
    padding-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */


}
  form p {
    font-size: 24px;
    margin-bottom: 0;
    }

input[type=text],
input[type=email],
input[type=phone],
input[type=number],
textarea {
    width: 100%;
    border: 2px solid var(--accent-light);
    border-radius: 8px;
    padding-left: 1.6rem;
 
}

input:focus,
textarea:focus {
outline: 2px solid var(--main-color);
background: #e7f1e4;
}

input[type='submit'] {
    width: 50%;
    background: var(--accent-light);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    color: #fff;
    font-size: 30px;
    width: 10rem;
}


/* About page */

.about-card-1 p,
.about-card-2 p,
.about-card-3 p,
.about-card-4 p {
    font-weight: 500;
    line-height: 2rem;
}

#image {
    height: 16rem;
    background-image: url('');
    background-repeat: no-repeat;
    background-position-y: top;
    background-size: cover;

}


@media(min-width: 768px) {
    body {
        min-width: 768px;
    }

    main {
    width: 100%;
    min-width: 768px;
    /* margin: 1rem auto; */
}

nav {
    min-width: 768px;
}

}  



@media(min-width: 900px) {

    body {
        margin: 2rem0 auto;
        width: 100%;
        min-width: 900px;
    }

main {
    width: 100%;
    min-width: 900px;
    margin: 1rem auto;
}

.container {
    margin: 1rem auto;
}

.menu ul{
    display: flex;
    gap: 1rem;
}

nav a {
    font-size: 32px;
}

.header .branding {
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    font-size: 30px;
}
      
h3 #tag {
    font-size: 24px;
}

.container .sales-pitch {
    padding-top: .5rem;
}

.container .row-1 {
    padding-top: 1rem;
}

main .container {
    padding-top: 15rem;
}

main .container-pricing {
    padding-top: 15rem;
}

body .container-apply {
    padding-top: 15rem;
}
.card {
     width: 65%;
     max-width: 480px;
     display: flex;
     flex-wrap: wrap;
     flex-direction: row;
     flex: 1;
     margin: 4rem auto;
 }

 .card p {
    font-size: 40px;
    font-weight: 500;
    letter-spacing: .2rem;
    line-height: 3rem;
 }

 .card h2 {
    font-size: 36px;
    line-height: 3rem;
 }

.link-to-top a {
   font-size: 5rem;
}

.card-1,
.card-2,
.card-3,
.card-4,
.card-5 {
     display: flex;
     flex-direction: column;
     text-align: left;
     padding-top: 1.5rem;
     font-size: 36px;
 } 

 .container .card-5 {
    height: 24rem;
 }
    .intro {
        width: 100%;
        /* max-width: 900px; */
    }

    .intro h1 {
        text-align: center;
    }

    .intro h2 {
        padding-top: 1rem;
        font-size: 30px;
    }

     .container h1 a {
        font-size: 30px;
    }


    .boxes .box-a {
    height: 20rem;
    width: 10rem;
    background-image: url('/images/2-dogs-in-window.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    }


.boxes {
    width: 430px;
    max-width: 45%;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    margin: 1rem auto;
}

.boxes h2 {
    font-size: 2.5rem;
}

p .box-8 {
    font-size: 30px;
    color: var(--accent-light);
}



.box-2 {
    height: auto;
    background-image: url('/images/pexels-kindelmedia-7979458.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.box-4 {
    height: auto;
    background-image: url('/images/Jill\'s\ house\ original.jpg');
    background-repeat: no-repeat;
    background-position-y: top;
    background-size: cover;
}
.box-6 {
    height: auto;
    background-image: url('/images/pexels-lisa-fotios-1849974.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: center;
    background-size: cover;
}
.box-8 {
    height: auto;
    background-image: url('/images/pexels-alinaskazka-14844699.jpg');
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
}
.box-10 {
    height: auto;
    background-image: url('/images/pexels-skyler-ewing-266953-9958357.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-12 {
    height: auto;
    background-image: url('/images/tilly.jpg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-size: cover;
}
.box-14 {
    height: auto;
    background-image: url('/images/dogs\ fighting.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.box-16 {
    height: auto;
    background-image: url('/images/boored\ copy.jpg');
    background-repeat: no-repeat;
    background-position-y: top;
    background-position-x: center;
    background-size: cover;
}
.box-18 {
    height: auto;
    background-image: url('/images/looking-confused.gif');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.container h1 {
    font-size: 3rem;
    line-height: 3rem;
}

    .row-1,
    .row-2,
    .row-5,
    .row-8 {
        flex: 2;
        margin-bottom: 2rem;
    }

    .row-3,
    .row-4,
    .row-6,
    .row-7,
    .row-9,
    .row-10,
    .row-11,
    .row-12,
    .row-13 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        flex: 1;
        margin-bottom: 2rem;
    }

    .row-13 h1 {
        margin: 1rem auto;
    }
    
    .box-8 p {
        margin-top: 5rem;
        color: var(--accent-color);
        font-weight: 700;
        line-height: 4rem;
        letter-spacing: .2rem;
    }

    .row-3 .box-1 {
        order: 1;
    }
  
    .row-3 .box-2 {
        order: 2;
    }

    .row-4 .box-3 {
        order: 2;
    }
    .row-4 .box-4 {
        order: 1;
    }

    .row-7 .box-7 {
        order: 2;
    }
    .row-7 .box-8 {
        order: 1;
    }

    .row-10 .box-11 {
        order: 2;
    }
    .row-10 .box-12 {
        order: 1;
    }

    .row-12 .box-15 {
        order: 2;
    }
    .row-12 .box-16 {
        order: 1;
    }

    .row-13 .box-17 {
        order: 1;
    }
    .row-13 .box-18 {
        order: 2;
    }

    .container-apply {
        padding: 1rem 2rem;
    }

   .form-group {
    display: flex;
    flex-direction: row;
   }

   .form-group label {
    width: 15rem;
    font-size: 30px;
    margin: 1rem;
   }

.form-group input {
    height: 4rem;
    margin: 1rem;
    font-size: 36px;
    margin-bottom: 2rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
}

.radio-group p {
    font-size: 36px;
}

.radio-group p .left {
    padding-bottom: 2rem;
}

.radio-group label {
    font-size: 36px;
    margin: 2rem;
}

.container-textarea label {
    width: 15rem;
    font-size: 48px;
    margin-bottom: 3rem;
    padding-top: 1rem;
   } 

.container-textarea input {
    font-size: 48px;
}

input[type='submit'] {
    width: 50%;
    height: 8rem;
    background: var(--accent-light);
    border: 2px solid var(--main-color);
    border-radius: 15px;
    color: #fff;
    font-size: 48px;
 
}

.container-input {
    height: 10rem;
}


}
