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

:root {
    --bg-clr: #000;
    --h-color: #ac2bac;
    --link-clr: #df61d8;
    --text-clr: #f1edf5;
    --tagline-clr: #fff;
    --background-light: #242222ee;
    --shadow-clr: rgb(128, 114, 128);
    --clr-secondary-400: #48556A;

   
}

img {
    max-block-size: 100%;
    max-inline-size: 100%;
}


h1, h2, h3 {
    font-family: EB Garamond, serif;
    color: var(--link-clr);
    text-align: center;
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

.prices h2 {
    color: var(--text-clr);
}
h3 {
    text-align: center;
    font-size: 1.5rem;
}



a span {
    text-decoration: var(--link-clr);
}

body {
    font-family: Outfit, sans-serif;
    font-size: 1.3rem;
    background-color: var(--bg-clr);
    color: var(--text-clr);
}

.container {
    width: 1400px;
    max-width: 80%;
    margin: 0 auto;
    padding: 2rem;
    @media (width <= 900px) {
        max-width: 90%;
    }
    @media (width <= 600px) {
        max-inline-size: 85%;
    }
}

header {
    margin-inline: -2rem;
    padding-inline: 3rem;
    padding-block-end: 2rem;
      display: flex;
    justify-content: space-between;
    align-items: center;
    @media (width <= 900px) {
        justify-content: center;
        padding-block-end: 1rem;
    img {
        display: none;
    }
    }
}

menu {
    padding-block: 2rem;
   @media (width <= 900px) {
    padding-block-start: 1rem;
   }
}

.menu-bottom ul {
    display: block;
}

menu ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
      @media (width <= 1000px) {
        display: block;
    }
    @media (width <= 900px) {
        flex-direction: column;
        list-style: none;
        gap: .5rem;
    }
}

menu a {
    font-size: 1.5rem;
    color: var(--tagline-clr);
    text-decoration: none;
}

.site-tagline {
    color: var(--tagline-clr);
    font-size: 1rem;
  
    @media (width <= 900px) {
        display: none;
    }
}

.left-side {
    display: flex;
   align-items: center;   
}



.active, span {
    color: var(--link-clr);
}

a {
    text-decoration: none;
}

footer {
       padding-inline: 1.5rem;
    padding-block-end: 1.5rem;
      display: flex;
    /* justify-content: space-between; */
    margin-block-start: 2rem;
    border-top: 2px solid var(--link-clr);
    padding-block-start: 2rem;
    justify-content: space-around;
    @media (width <= 900px) {
       flex-direction: column-reverse;
       justify-content: center;
       align-items: center;
       gap: 1rem;
}
    @media (width <= 900px) {
        .business-info {
            display: none;
        }
}
}


footer img,
header img {
    max-block-size: 5rem;
}

footer h2 {
    font-size: 1rem;
}

footer p {
    font-size: 1rem;
}

 .menu-bottom {
    display: flex;
    flex-direction: column;
}

.menu-bottom li {
    list-style: none;
}

.menu-bottom a {
    color: var(--tagline-clr)
}

.menu-bottom a.active {
    color: var(--link-clr);
}

.branding {
    max-block-size: 100vb;
    max-inline-size: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    @media (width <= 900px) {
        grid-template-columns: 1fr;
        margin-block-start: 0;
    }

}

.branding:first-child {
 
    @media (width <= 900px) {
    display: flex;
   justify-content: center;
    align-self: center;
}
}

.balance {
      padding-block-start: 8rem;
}


#poppy {
    object-fit: contain;
    @media (width <= 900px) {
    display: none;
}
}

.wide {
    @media (width <= 900px) {
        display: none;
    }
}


.about-brief {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-block-start: 2rem;
    gap: 2rem;
     max-block-size: 100vb;
    max-inline-size: 100vw;
    @media (width <= 900px) {
        grid-template-columns: 1fr;
        margin-block-end: 17rem;
    }
    @media (width <= 600px) {
        margin-block-end: 2rem;
    }
}

.mat-dog {
    margin-block-start: 2.5rem;
    @media (width <= 1100px) {
        margin-block-start: 4rem;
    }
    @media (width <= 900px) {
        display: flex;
        justify-content: center;
    }
    @media (width <= 600px) {
        display: none;
    }
}

.wrapper {
    padding: 1rem;
}

.wrapper h2 {
    padding-block-start: 1rem;
    font-size: 2rem;
}

.wrapper h3 {
    margin-block-end: 2rem;
    text-align: center;
}

.wrapper p {
    gap: 1rem;
    font-size: 1.3rem;
    line-height: 1.2;
    margin-block-end: 1rem;
}

.promo {
    padding-block: 1rem;
    text-align: center;
    border: 2px solid var(--text-clr);
    margin-block: 4rem;
}

.dogs h2 {
    display: flex;
    justify-content: center;
    padding-block-end: 2rem;
    color: var(--link-clr);
    font-size: 2rem;
}

.dogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    @media (width <= 900px) {
        grid-template-columns: repeat(2, 1fr);
        .fifth {
            display: none;
        }
    }
    @media (width <= 600px) {
        grid-template-columns: 1fr;
    }
}


.first,
.second,
.third,
.fourth,
.fifth,
.sixth,
.seventh,
.eighth,
.ninth {
    height: 16rem;
     background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.first {
    background-image: url(/images/Billy.webp);
    @media (width <= 600px) {
    background-position: bottom;
    }
}
.second {
    background-image: url(/images/Cavvy.webp);
      @media (width <= 600px) {
    background-position: top;
    }
}
.third {
    background-image: url(/images/dogTie.webp);
      @media (width <= 600px) {
    background-position: top;
    }
}
.fourth {
    background-image: url(/images/DogTiedToGate.webp);
    background-position-y: top;
}
.fifth {
    background-image: url(/images/GingerHazel.webp);
}
.sixth {
    background-image: url(/images/Millie2.webp);
 
}
.seventh {
    background-image: url(/images/Kuzie.webp);
    background-position-y: top;
}
.eighth {
    background-image: url(/images/Millie1.webp);
}
.ninth {
    background-image: url(/images/Paddy\ 3.jpg);
}

                        /* Testimonial panel */

.testimonials {
    padding-block: 3rem;
}

.testimonial-grid {
    display: grid;
    gap: 1rem;
    margin: 0 auto;
    padding-block: 2rem;
    padding-inline: 1rem;
    inline-size: 100%;
    border: 2px solid var(--shadow-clr);
    border-radius: 15px;
    box-shadow: 0.8rem 0.8rem 0.3125rem var(--shadow-clr);
    margin-block-end: 3rem;
}

@media (min-width: 800px) {
    .grid-col-span-2 {
    grid-column: span 2;
}


    .testimonial-grid  {
        grid-template-columns: repeat(4, 1fr);
    }
    .testimonial:last-child {
    grid-column-start: 4;
    grid-row: 1 / span 2;
}
}

.testimonial {
    font-size: var(--fs-400);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.8rem;
   
}
article .testimonial {
     background-color: var(--h-color);
}



.testimonial .name {
  font-size: var(--fs-400);
  font-weight: var(--fw-400);
  line-height: 1;
}

.testimonial.quote {
  background-image: url("./images/bg-pattern-quotation.svg");
  background-repeat: no-repeat;
  background-position: top right 10%;
}

.testimonial > p:first-of-type {
    font-size: var(--fs-500);
    line-height: 1.2;
}

.testimonial > p:last-of-type {
    opacity: 1;
    font-size: var(--fw-700);
}

.testimonial .position {
  font-size: var(--fs-300);
  opacity: 0.5;
}

.testimonial:first-child {
    background-color: var(--link-clr);
    color: #000;
}

.testimonial:first-child > p:nth-child(2) {
    color: var(--clr-neutral-200);
}

.testimonial:nth-child(2) {
    background-color: var(--clr-secondary-400);
}

.testimonial:nth-child(2) p {
    color: var(--clr-neutral-300);
}

.testimonial:nth-child(3) {
    grid-column: 1;
    grid-row: 2 / 3;
    border: 1px solid var(--shadow-clr);
}


.testimonial:nth-child(4) {
    background-color: var(--clr-secondary-400);
}

.testimonial:nth-child(4) > p {
    color: var(--link-clr);
}

.testimonial:last-child {
    background-color: var(--background-light);
    border: 1px solid var(--shadow-clr);
}
  

.flex {
   display: flex;
   gap: 1.5rem;
}
.testimonial:first-child .name,
.testimonial:first-child .position,
.testimonial:nth-child(2) .name,
.testimonial:nth-child(2) .position,
.testimonial:nth-child(4) .name,
.testimonial:nth-child(4) .position {
    color: var(--clr-neutral-100);
}

.reviews {
    display: flex;
    flex-direction: column;
    justify-content: center;
    @media (width < 600px) {
        display: none;
    }
}

.reviews h2 {
    margin-block: 2rem;
    padding-block-end: 1rem;
}
form {
    display: grid;
    gap: 1rem;
    /*margin-inline: 4rem;
    */background-color: var(--background-light);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 10px 10px 10px 5px var(--shadow-clr);
    margin-block-end: 2rem;

}


/* .star-ratings {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 3rem;
} */

label {
    display: block;
    margin-bottom: .3rem;
    color: var(--text-clr);
    font-weight: bold;
 
}

textarea {
    border-radius: 10px;
  
}

input[type='text'],
input[type='email'],
input[type='radio'] {
    border-radius: 10px ;
    height: 50px;
    cursor: pointer;
}

textarea {
    block-size: 150px;
  
    }

ul {
    display: flex;
    gap: 5rem;
    @media (width <= 600px) {
        gap: 4rem;
    }
}
ul.stars {
    /* gap: 4rem; */
    margin: 0 auto; 
    justify-content: center;
    align-items: center;
    list-style: none;
    cursor: pointer;
}
                            /* Formatting the radio buttons */
ul.stars li {
    /* display: inline-block; */
    color: white;
    text-shadow: 5px 4px 2px grey;
    font-size: 1.5rem;
    cursor: pointer;
}

ul.stars li:hover {
    background-color: var(--link-clr);
    font-size: 2rem;
}

ul.stars li.active, ul.stars li.secondary-active {
    background-color: var(--link-clr);
    font-size: 2rem;
}

input[type="radio"] {
    display: none;
}

#gifts {
    @media (width <= 900px){
        margin-block-start: 3rem;
    }
}


input:focus, 
textarea:focus {
    outline: 1px solid var(--link-clr);
    border-radius: 5px;
   background-color: var(--text-clr);
}

button[type='submit'] {
    background: var(--link-clr);
    color: var(--text-clr);
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
   font-size: 2rem;
   margin-inline: 7rem;
}

                    /* The 'Back to top' button */
.btn {
    inline-size: 100px;
    block-size: 40px;
    background-color: var(--text-clr);
    color: var(--bg-clr);
    position: fixed;
    top: 90%;
    left: 80%;
    margin-inline-end: 20%;
}


                    /* The gift certificate */

.certificate-small-screen {
    text-align: center;
    @media (width > 900px) {
        display: none;
    }
}



.card {
    margin-block: 2rem;
    display: flex;
    gap: 2rem;
    border: 4px double var(--text-clr);
    padding-block: 2rem;
    @media (width <= 900px) {
        display: none;
    }
}

.card .text {
    width: 70%;
    display: block;
}

.phone {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.phone p {
    font-size: 2rem;
}

.text h3 {
    font-size: 1.6rem;
    padding-block-end: 2.5rem;
    color: var(--text-clr);
}

.text p {
font-size: 1.6rem;
border-bottom: 2px solid var(--text-clr) ;
margin-block-end: 2.5rem;
padding-inline-end: 8px;
}

.card + p {
    text-align: center;
    padding-inline: 4rem;
    font-size: 1.2rem;
    line-height: 1.3;
    letter-spacing: 1.2;
}

/* Services page */

main h1 {
    margin-block-end: 3rem;
    margin-block-start: -5rem;
}

.general-grooming {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-block-start: 2rem;
    @media (width<= 900px) {
        grid-template-columns: 1fr;
        }
    }

.general-grooming img {
    @media (width <= 900px) {
        margin: 0 auto;
        /* max-block-size: 17rem; */
         object-fit: cover;
    }
}

.grooming-wrapper h2 {
    padding-block-end: 1rem;
}


.puppy-grooming {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    @media (width <= 900px) {
       display: flex;
       flex-direction: column-reverse;
    }
}

.puppy-grooming img {
      @media (width <= 900px) {
        margin: 0 auto;
        object-fit: cover;
    }
}

.puppy-wrapper h2 {
    padding-block-start: 0;
    @media (width <= 900px) {
        padding-block-start: -3rem;
    }
}

.puppy-grooming img {
    margin-block-start: 3rem;
    @media (width <= 900px) {
        margin: 0 auto;
    }
} 

.puppy-wrapper {
    margin-block-start: 3rem;
}

.services {
    width: 80%;
    margin: 0 auto;
    padding-block-end: 2rem;
    @media (width<= 900px) {
        width: 90%;
    }
}

.services h2 {
        margin-bottom: 2rem;
}

.services > p {
    letter-spacing: .1em;
    line-height: 1.6;
}

.services p:nth-child(3) {
    margin-block-end: 2rem;
}

.ben-groomed {
    inline-size: 100%;
    block-size: auto;
    object-fit: cover;
}
video {
    inline-size: 100%;
    block-size: auto;
    object-fit: cover;
}

.grooming-style {
    margin-block-start: 2rem;
}

.grooming-style h2 {
    margin-block: 2rem;
}

#upper {
    text-transform: uppercase;
}

.prices {
    margin-block: 2rem;
}
.prices h2 {
    padding-block-end: 2rem;
}

.prices ul {
    list-style: none;
    @media (width <= 450px) {
        display: block;
    }

}


.prices li {
    padding-block-end: 3rem;
    font-size: 1.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    @media (width <= 900px){
        font-size: 1.5rem;
    }
}

.small {

}

.prices i {
    padding-inline-end: 8rem;
    @media (width <= 900px) {
        padding-inline-end: 5rem;
    }
}

.small i {
 font-size: 2.5rem;
}

.medium i {
    font-size: 3.5rem;
}

.large i {
    font-size: 4.5rem;
}
.center {
    text-align: center;
    padding-block-start: 2rem;
}
 .dog-examples > p{
    padding-block-end: 2rem;
 }

 .dog-examples h3 {
    padding-block-end: 1rem;
 }


                        /* About page */

.sharon-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        @media (width <= 800px) {
        grid-template-columns: 1fr;
    }
}

.about-Shazza {
    padding-block-start: 3rem;
  
}

.personal {
    margin-block-start: 3rem;

}

.qualifications1 {
    display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 2rem;
       @media (width <= 800px) {
        grid-template-columns: 1fr;
    }
        @media (width <= 400px) {
        .caring > p,
        .pet-grooming > p,
        .advanced-cert >p {
            display: none;
        }
    }
        @media (width <= 400px) {
            .caring h3,
            .pet-grooming h3,
            .advanced-cert h3 {
                display: flex;
                justify-content: center;
                align-items: center;
                margin-block-end: 0;
            }
    }
} 

#quals {
    margin-block-start: 3rem;
}

.qualifications1 h3 {
    text-align: left;
}

.caring {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.qualifications2 h2 {
    margin-block: 2rem;
}

.caring p:last-child {
    text-align: center;
}
#contact-me {
    padding-block-start: 3rem;
    @media (width <= 900px) {
        font-size: 2rem;
    }
}

.contact-details {
    display: flex;
  flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.contact-details p {
    font-size: 2rem;
        @media (width <= 400px) {
        font-size: 1.5rem;
        justify-content: center;
        align-items: center;
    }
}

.contact-details i {
    color: var(--link-clr);
}

.map {
    padding-block-start: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    border-radius: 15px;
  
}

