/* Defaults */

:root {
    --purple: #683B7E;
    --lightpurple: #f6e1ff;
    --green: #4B7263;
}

html {
    font-size: 16px;
    /* base font-size definition for em calculation */
}

body {
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: "Jost", sans-serif;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    background-color: var(--purple);
    margin: 0;
    color: white;
}

h1 {
    font-size: 3em;
    margin: 2em 0 1em;
    text-align: center;
    font-weight: bold;
    color: white;
    text-transform: none;
}

h2 {
    font-size: 2em;
    margin: 2em 0 1em;
    color: var(--purple);
}

p {
    color: var(--purple);
    margin: 0 0 1em;
    font-size: 1.3em;
}

p:last-child {
    margin-bottom: 0;
}

.white-text {
    color: white;
    font-weight: 300;
}

blockquote {
    color: var(--purple);
    font-size: 1em;
    font-weight: 300;
    margin-left: 0;
}

i {
    font-style: italic;
}

a {
    color: white;
    text-decoration: none;
    transition: all .2s ease;
}

img {
    border-radius: .625em;
    max-width: 100%;
}

a.button {
    text-transform: uppercase;
    padding: 1em 2em;
    border-radius: .625em;
    font-size: 1.6em;
    margin-bottom: 1em;
}

a.button.green {
    background-color: var(--green);
}

a.button.green:hover {
    background-color: var(--lightpurple);
    color: var(--purple);
}

a.button.lightpurple {
    background-color: var(--lightpurple);
    color: var(--purple);
}

a.button.lightpurple:hover {
    background-color: var(--green);
    color: white;
}

.wrap {
    /* min-height: 100vh; */
    margin: 0 auto 3em;
    max-width: 80vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}


/* Skip Link for Accessibility */

.skip-to-main-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    transform: translateY(-100%);
    padding: 1em;
    transition: all .3s ease;
    background-color: black;
    color: white;
}

.skip-to-main-content:focus {
    transform: translateY(0);
}


/* Site Header */

header {
    display: flex;
    justify-content: space-between;
    padding: 0 2em;
    background-color: var(--green);
}

header a img {
    padding: 1em 0;
}

header a img:hover {
    opacity: .9;
}

#header-nav {
    display: flex;
}

#header-nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    align-items: stretch;
}

#header-nav ul li {
    width: 8.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-nav ul li a {
    font-size: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#header-nav li:hover {
    background-color: var(--lightpurple);
}

#header-nav li:hover a {
    color: var(--purple);
}

#current-page {
    background-color: var(--lightpurple);
}

#current-page a {
    color: var(--purple);
}


/* Site Footer */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--green);
    padding: 4em 0;
    position: relative;
}

footer p {
    margin-bottom: 0;
    color: white;
    font-size: 2em;
}

footer p a:hover {
    color: var(--purple);
}

#current-page-footer {
    color: var(--lightpurple);
}


/* Home Page */

.landing {
    margin: 0 auto 2em;
    padding: 1.5em 4em;
    display: flex;
    gap: 4em;
    justify-content: center;
    align-items: center;
    background-color: var(--lightpurple);
    border-radius: .125em;
}

.landing img {
    display: block;
    width: 18.75em;
    margin: 0 auto;
}

.landing article.mission {
    align-self: flex-start;
    text-align: center;
    max-width: 28.125em;
    margin: 0 auto;
}

.mission h2 {
    text-transform: uppercase;
    margin: 2rem 0 1rem;
}

.home-wrap a.button.green {
    font-size: 2em;
    text-transform: uppercase;
}


/* About Page */

.about {
    width: 50vw;
}

.history {
    align-self: flex-start;
}

.history h2 {
    text-transform: uppercase;
}

.history p {
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.5;
}


/* Contact Page */

.contact {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.contact h2 {
    margin: 0;
}

.contact-col {
    display: flex;
    gap: 2em;
    justify-content: center;
    align-items: center;
}

.contact-info p span {
    font-weight: 800;
}


/* Services Page */

.landing.services {
    color: var(--purple);
}

.services img {
    width: 12.5em;
}

.service-list h2 {
    margin-top: 0;
}

.service-list li {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: .5em;
}


/* Services Page Form */

.signup-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 75vw;
    margin: 0 auto;
}

.signup-form h2 {
    color: white;
    margin: 0 0 2em;
}

.signup-form p {
    color: white;
}

.signup-form fieldset {
    border: .25em solid var(--green);
    text-align: left;
    padding: 1em 2em;
}

.signup-form fieldset legend {
    padding-inline: .6em;
}

.signup-form form {
    width: 80%;
    padding: .5em;
    margin-bottom: 2em;
}

.signup-form .col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em;
    margin-bottom: 1em;
}

.signup-form form label {
    font-size: 1.3em;
    font-weight: 300;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signup-form form input {
    font-size: .8em;
}

.signup-form form input[type="text"],
.signup-form form input[type="email"],
.signup-form form input[type="tel"] {
    width: 60%;
    border: none;
    padding: .5em;
}

.flex-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
}

.flex-row label {
    gap: .5em;
}

.flex-row .pet-type {
    display: flex;
    align-items: center;
    gap: .5em;
}

.flex-row .pet-type p {
    margin-bottom: 0;
}

input[type="radio" i] {
    margin: 0;
}

.radio-buttons {
    display: flex;
    gap: .5em;
    align-items: center;
}

.radio-buttons label {
    justify-content: flex-start;
    text-align: left;
}

.checkbox {
    display: flex;
    gap: .3em;
}

.comments label {
    flex-direction: column;
    gap: .7em;
}

.comments label textarea {
    width: 23vw;
    height: 23vh;
}

.signup-form form input[type="submit"] {
    display: block;
    margin: 1em auto 0;
    background-color: var(--lightpurple);
    color: var(--purple);
    border: none;
    width: 25%;
    font-size: 1.3em;
}

.signup-form form input[type="submit"]:hover {
    background-color: var(--green);
    color: white;
}


/* Reviews Page */

.reviews {
    width: 60vw;
}

.testimonials {
    text-align: left;
}

.testimonials h2 {
    margin: 0 0 2em;
    font-size: 1.7em;
}