* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FAF9F6;
}

main {
    background: linear-gradient(#3A465A 0%, #91a0b8 10%, #FAF9F6 100%); 
    padding-top: 2em;;
}
html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

.nav ul {
    margin-bottom: 0.5em;
}
header {
    background-color: #3A465A;
    margin: 0;
    color: #fff;
    text-align: center;
    padding: none;
}


header img {
    padding-top: 1.5em;
    height: auto;
    margin-bottom: 1em;
}


@media (max-width: 600px) {
    header img {
        width: 60%; 
    }
}

@media (min-width: 1200px) {
    header img {
        margin-bottom: 0;
        width: 30%; 
    }
}


nav ul {
    font-size: 1.2em;
    list-style-type: none;
    margin: 0;
    padding: 0.5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav ul li {
    margin-bottom: 0.5em;
    text-align: center;
}

nav ul a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

nav ul a:hover {
    color: slategray;
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    nav ul {
        flex-direction: row; 
        justify-content: center; 
        padding-bottom: 1em;
    }
    nav ul li {
        margin: 0 0.5em; 
    }
}

#main-image {
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, #3A465A 30%, #91a0b8 80%, #FAF9F6 100%);
}

#main-image img {
    width: 90%;
    height: auto;
    border-radius: 1em;
}
@media (min-width: 768px) {
    #main-image img {
        width: 80%;
        height: auto;
    }
}
.book {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

p {
    padding: 2rem 0.5rem;
    text-align: center;
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    p {
        padding: 2rem 2rem;
        text-align: center;
        font-size: 1.2rem;
    }
}

#book-btn {
    background-color: #3A465A;
    color: #fff;
    border: none;
    padding: 1em 2em;
    font-size: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2em;
}
#book-btn:hover {
    color: slategray;
    cursor: pointer;
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0.4) 100%);
    margin-bottom: 2em;
}

#imageTwo, #imageThree {
    display: none;
}

.carousel {
    display: flex;
    transition: transform 0.5s;
    align-items: center;
    height: 100%;
}

.carousel img {
    width: 100%;
    height: auto; 
    object-fit: cover;
    opacity: 0.8;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.05);
    color: lightgrey;
    border: none;
    cursor: pointer;
    padding: 100% 15px;
    font-size: 24px;
    z-index: 1;
}


@media (min-width: 768px) {
    #imageTwo, #imageThree {
        display: block;
    }
    .carousel-container {
        position: relative;
        width: 100%;
        height: 40vh;
        overflow: hidden;
        background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 10%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0.4) 100%);
        margin-bottom: 5em;
    }

    .carousel {
        display: flex;
        transition: transform 0.5s;
        align-items: center;
        height: 100%;
    }

    .carousel img {
        min-width: 33.33%; 
        height: 40vh; /* Adjust as needed */
        object-fit: cover;
        opacity: 0.7;
    }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.1);
        color: white;
        border: none;
        cursor: pointer;
        padding: 100% 15px;
        font-size: 24px;
        z-index: 1;
    }
}
.prev {
    left: 0;
}

.next {
    right: 0;
}
/* end main */


/* footer */
footer {
    display: flex;
    flex-wrap: wrap;
    background-color: #3A465A;
    color: #fff;
    padding: .5em;
    justify-content: center;
}

footer a {
    text-decoration: none;
    color: #fff;
}

footer a:hover {
    color: slategray;
}
#social-media-container {
    display: inline-block;
}

#social-media-container li:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}
#social-media-container {
    width: 100%;
    min-width: 10em;
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    padding: 0.1em 0 0.2em 0;
}

.social-media img {
    width: 2rem;
}


#contact-info-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    list-style-type: none;
}

#phone, #email, #location {
    padding: 0.2em;
}



@media (min-width: 768px) {
    footer {
        flex-direction: row;
        justify-content: space-between;
    }
    #social-media-container {
        width: 10rem;
    }

    #contact-info-container {
        text-align: left;
    }

    #phone {
        list-style-image: url("icons/phone-icon.png");
        padding-left: 0.5em;
    }
    #email {
        list-style-image: url("icons/email-icon.png");
        padding-left: 0.5em;
        padding-top: 0.2em;
        padding-bottom: 0.2em;
    }
    #location {
        list-style-image: url("icons/location-icon.png");
        padding-left: 0.5em;
    }
}
/* end footer */
h3 {
    text-align: center;
    padding: 1em 0;
}
/*
.booqable-product-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
*/
.recommendedvendors {
    background-color: #FAF9F6;
    border-radius: 1em;
    margin: 1em 0.5em;
}

.recommendedvendors .intro {
    background-color: #3A465A;
    display: flex;
    border-radius: 1em 1em 0 0;
}
.recommendedvendors .intro h2 {
    width: 100%;
    text-align: center;
    padding: 1em 0;
    font-size: 1.5em;
    color: #FAF9F6;
}

.recommendedvendors .intro img {
    display: none;
    border-top-right-radius: 1em;
}

.recommendedvendors .description{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.recommendedvendors .description p {
    width: 100%;
    padding-bottom: 1em;
}

.recommendedvendors .description a {
    text-decoration: none;
    background-color: #3A465A;
    border-radius: 1em;
    color: #FAF9F6;
    font-weight: bold;
    padding: 0.5em 1em;
    margin-bottom: 1em;
}



@media (min-width: 768px) {
    .recommendedvendors {
        width: 80%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-left: 10%;
    }
    .recommendedvendors .intro h2 {
        align-self: center;
        text-align: left;
        padding-left: 1em;
        width: 90%;
        padding-top: 1em;
    }
    .recommendedvendors .intro img {
    display: inline;
    width: 10%;
    float: right;
    padding: 0;
    }
    .recommendedvendors .description {
        text-align: left;
    }
}

.about {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #91a0b8;
}

#about-card {
    min-width: calc(100% - 1em);
    margin: 1em 0.5em;
}
.about h2 {
    border-radius: 1em 1em 0 0;
    margin-top: 2em;
    background-color: #3A465A;
    color: #FAF9F6;
    text-align: center;
    padding: 1em 0;
    width: 100%;
}
#pic-and-description {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: auto;
    margin-bottom: 2em;
    background-color: #FAF9F6;
    border-radius: 0 0 1em 1em;
}
.about img {
    width: 100%;
}

#pic-and-description p {
    width: 100%;
    padding: 1em 0.5em;
    font-size: 1em;
    text-align: center;
}

@media (min-width: 768px) {
    #about-card {
        min-width: none;
        width: 70%;
    }
    .about h2 {
        width: 100%;
    }
    #pic-and-description {
        display: inline-block;
        width: 100%;
    }
    #pic-and-description img {
        width: 15%;
        height: auto;
        border-radius: 1em;
        margin: 1em 1em 0 1em;
        float: right;
    }
    #pic-and-description p {
        width: auto;
        text-align: left;
        padding: 1em 1em;
        font-size: 1.5em;
    }
}

.question {
    padding: 0.5em 1em;
    margin: 0 0.5em;
    color: #FAF9F6;
    background-color: #3A465A;
    border-radius: 1em 1em 0 0;
}

.answer {
    margin: 0 0.5em 2em 0.5em;
    padding: 1em;
    background-color: #FAF9F6;
    border-radius: 0 0 1em 1em;
}

@media (min-width: 768px) {
    .question {
        padding: 0.5em;
        margin: 0 25%;
        width: 50%;

    }
    .answer {
        padding: 0.5em;
        margin: 0 25% 2em 25%;
        width: 50%;
    }
}

.book-category-btn {
    background-color: #3A465A;
    color: white;
    width: calc(100% - 0.2em);
    border: none;
    border-radius: 0.5em;

    padding: 0.6em 1em;
    font-size: 1.2em;
    margin: 0.1em;
}

.booqable-product-list {
    display: none;
}

#packages {
    display: contents;
}

#section-description {
    width: 100%;
    text-align: center;
    padding: 0.5em 0 0 0;
}

@media (min-width: 768px) {
    #shopcontainer {
        display: grid;
        grid-template-columns: 1fr 4fr;
        min-height: 80vh;
    }
    
    .book-category-btn {
        width: 100% ;
        padding: 0.6em 1em;
        margin: 0.2em 0.8em 0.2em 0.2em;
        font-size: 1.5em;
    }
    
    #section-picker:first-child {
        margin-top: 0.5em;
    }
    
    .book-category-btn:hover {
        color: slategray;
        cursor: pointer;
        transform: translateY(-5px);
        transition: transform 0.3s ease;
    }

    #section-description {
        width: calc(100% - 16em);
        text-align: center;
        margin: 0.5em 8em;
        padding: 0.2em 0;
        text-wrap: wrap;
    }
    
    #section-description a {
        color: black;
    }
    
    #items-container {
        margin: 0 0 auto 1em;
    }
}

#minimum-notice {
    margin: auto;
    text-align: center;
    padding: 1em 0;
    font-weight: normal;
}
