/* =============
   Global Styles
   ============= */


body {
    grid-template-rows: 1fr auto;
    /* Nav
    Main */
}

h1 {
    font-size: 2em;
    font-weight: 400;
    margin: 0.5em 0;
}

h2 {
    font-size: 1.5m;
    font-weight: 400;
    margin: 0.5em 0;
}

p {
    font-size: 1em;
    font-weight: 200;
}


/* ==============
   Navigation Bar
   ============== */


nav ul {
    list-style: none;
    position: fixed;
    /* pin to viewport */
    top: 3em;
    /* sits just under your 3em nav bar */
    right: 0;
    /* pinned to right edge */
    width: 240px;
    /* tweak this (px or %) to taste */
    max-width: 35vw;
    margin: 0;
    padding: 0;
    background-color: rgb(255, 117, 140);
    transform: translateX(100%);
    /* off-screen by default */
    transition: transform 0.35s ease-in-out;
    z-index: 1050;
    /* above page content but under the icon if needed */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Menu list items */
nav ul li {
    font-size: 1em;
    text-align: center;
    padding: 0.6em 0;
    margin: 0;
}

/* Hamburger icon - fixed in top-right of viewport */
.showNav {
    height: 1.25em;
    width: 1.875em;
    display: block;
    border-top: 0.2em solid white;
    border-bottom: 0.2em solid white;
    border-radius: 0.2em;

    position: fixed;
    top: 0.65em;
    right: 0.65em;
    background: transparent;

    background-color: rgb(255, 117, 140);
    box-shadow: rgba(255, 117, 140) 0px 1px 4px, rgb(255, 117, 140) 0px 0px 0px 3px;
}

/* middle bar of hamburger */
.showNav:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.875em;
    border-top: 0.2em solid #fff;
}

/* Toggle rules (keep your current target-approach) */
#clicked .on {
    display: block;
}

#clicked .off {
    display: none;
}

#clicked:target .on {
    display: none;
}

#clicked:target .off {
    display: block;
}

/* When "opened" (your target selector) slide menu in */
#clicked:target nav ul {
    transform: translateX(0);
    display: block;
    /* optional: transform alone will reveal it */
}

#logo p {
    font-size: 1.5em;
}


/* ============ 
   Main Content
   ============ */


main {
    grid-row: 2;
    text-align: center;
}

/* Shared section layout (intro, about, reviews) */
#intro,
#aboutUs {
    display: inline;
}

#intro div,
#aboutUs div,
#reviews div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 1em;
    margin-right: 1em;
}

/* Reviews iframe */
#reviews iframe {
    width: 90%;
    margin-bottom: 4em;
}

#salon {
    margin-top: 2em;
    width: 100%;
}

.dogLeft,
.dogRight {
    opacity: 0;
    /* Hide dog images on index page as they don't fit on mobile screen */
    height: 0;
}


/* ===============
   Contact Section
   =============== */


#contactGrid>div {
    grid-row: 2;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    /* 3 equal rows */
    text-align: center;
}


/* ================
   Policies Section
   ================ */


.informationPanel p,
h2 {
    text-align: left;
}


.informationPanel {
    margin-left: 1em;
    margin-right: 1em;
}


/* ==============
   Prices Section
   ============== */


#pricesContainer {
    display: inline;
}

#pricesImg,
#pricesList {
    height: 50vh;
    margin-top: 5em;
    margin-bottom: 0em;
    width: 75vw;
}

#pricesList {
    justify-self: center;
    margin-right: 0;
}

#breedName p {
    width: 200%;
}


/* ===============
   Gallery Section
   =============== */


#instagramWidget {
    margin: 2em;
    height: 85vh;
    width: 75vw;
}