/* google fonts */
.butterfly-kids-regular {
    font-family: "Butterfly Kids", cursive;
    font-weight: 400;
    font-style: normal;
} /* used for steps */
.emilys-candy-regular {
    font-family: "Emilys Candy", serif;
    font-weight: 400;
    font-style: normal;
} /* used for header, snap/stitch */
.shadows-into-light-regular {
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
} /* used for input text */




html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .buttonSection {
        flex-direction: column;
        align-items: center;
    }

    .carousel {
        max-width: 90%;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.navbar {
    background-color: rgba(244, 173, 187, 0.75) !important; /* cherry blossom */
}

body {
    margin-bottom: 60px;
    background-color: rgba(144, 238, 144, 0.5); /* light green */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* the only CSS added above here is the background colouring and fonts, everything else is default when creating MCV website */
header .title, header li {
    font-family: "Emilys Candy", serif;
    font-size: 2rem;
}
footer {
    font-family: "Butterfly Kids", cursive;
    font-size: 2.5rem;
}
footer a {
    color: #d46a92;
}

/* HOME PAGE */
.carousel-img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
    border: 7px solid #d46a92;
    border-radius: 10px;
}
#home h3 {
    font-family: "Emilys Candy", serif;
    font-size: 2rem;
}
#home .button {
    font-family: "Shadows Into Light", cursive;
    font-size: 2rem;
    border: 2px solid #d46a92;
    background-color: rgba(244, 173, 187, 0.75);
    border-radius: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    display: inline-block;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}
#home {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    gap: 40px;
}
.hero {
    text-align: center;
    max-width: 900px;
}
.hero h1 {
    margin: 0;
}
.carouselSection {
    width: 100%;
    display: flex;
    justify-content: center;
}
.carousel {
    max-width: 600px;
    width: 100%;
}
.textSection {
    max-width: 900px;
    text-align: center;
}
.textSection h3 {
    font-family: "Emilys Candy", serif;
    font-size: 2rem;
    margin: 0;
}
.buttonSection {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.buttonSection a {
    font-family: "Shadows Into Light", cursive;
    font-size: 2rem;
    border: 2px solid #d46a92;
    background-color: rgba(244, 173, 187, 0.75);
    border-radius: 10px;
    color: black;
    text-decoration: none;
    padding: 7px;
}

/* CUSTOM ORDER PAGE */
#homePage #homePageOne {
    width: 25%;
}
#homePage #homePageTwo {
    width: 25%;
}
#homePage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
#homePage #step {
    font-size: 3rem;
    font-family: "Butterfly Kids", cursive;
}
#homePage #circle {
    font-size: 8rem;
    font-family: "Butterfly Kids", cursive;
    border: 5px solid #FFB7C5;
    border-radius: 50%;
}
#homePage #snapStitch {
    font-size: 4.5rem;
    font-family: "Emilys Candy", serif;
}
#homePage #memories {
    font-size: 3rem;
    font-family: "Emilys Candy", serif;
}
#homePage #spacing {
    margin: 40px;
}
#homePage #perfect {
    font-size: 5rem;
    font-family: "Emilys Candy", serif;
}
#homePage li {
    font-size: 2.5rem;
    font-family: "Butterfly Kids", cursive;
}
#homePage ul {
    list-style: none;
    padding-left: 0;
}
#homePage li::before {
    content: "\2661";
    color: #d46a92;
    margin-right: 10px;
}
#homePage a {
    color: black;
}
#homePage a:hover {
    color: #d46a92;
    text-decoration: none;
    font-size: 3.5rem;
}
#homePage .homeContactLink {
    color: #FFB7C5;
    font-size: 3rem;
    font-family: "Emilys Candy", serif;
}

h1 {
    font-size: 6rem;
    font-family: "Butterfly Kids", cursive;
} /* all page titles */

/* CONTACT PAGE */
#contactMe #name, #contactMe #address, #contactMe #email, #contactMe .item {
    display: flex;
    flex-direction: column;
}
#contactMe label {
    font-family: "Emilys Candy", serif;
    font-size: 2rem;
}
#contactMe .contactForm {
    width: 50%;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
}
input {
    font-family: "Shadows Into Light", cursive;
    font-size: 1.5rem;
}
#contactMe .newItem, #contactMe .submit {
    font-family: "Shadows Into Light", cursive;
    font-size: 2rem;
    border: 2px solid #d46a92;
    background-color: rgba(244, 173, 187, 0.75);
    border-radius: 10px;
}
#contactMe .form-group {
    margin-bottom: 15px;
}
#contactMe #itemError {
    font-family: "Butterfly Kids", cursive;
    font-size: 2.5rem;
}
#contactMe .descriptive {
    font-family: "Butterfly Kids", cursive;
    font-size: 3.5rem;
    border: 2px solid #d46a92;
    background-color: rgb(144, 238, 144);
    border-radius: 10px;
}

.aboutMe {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.aboutMe img {
    width: 50%
}
.aboutMe p {
    font-family: "Butterfly Kids", cursive;
    font-size: 2.5rem;
}
.aboutMe .intro {
    font-family: "Emilys Candy", serif;
    font-size: 3rem;
}
.aboutMe .alt {
    font-family: "Emilys Candy", serif;
    font-size: 2.5rem;
}

.catalogGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.catalogGrid .blurb {
    font-family: "Emilys Candy", serif;
    font-size: 2rem;
    text-align: center;
}
.catalogCard {
    background: rgba(244, 173, 187, 0.75);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.catalogCard img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.colourGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.colourCard {
    background: rgba(244, 173, 187, 0.75);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.colourCard img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}