@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;700&family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* Define Color Scheme */
:root {
    --primary-color: #89CFF0; /* Baby Blue */
    --secondary-color: #F88379; /* Soft Coral */
    --accent-color: #fcfcfc; /* Seashell White */
    --text-color: #696969; /* Dim Gray */
}

/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--accent-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
}

/* Updated navigation bar styles */
nav {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav a {
    display: inline-block;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: white;
}

nav a:hover {
    background-color: var(--secondary-color);
}

nav button:hover {
    background-color: var(--secondary-color);
}

/* New Styles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap */
}

.nav-items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 2; /* Allow nav items to fill space */
}

.nav-item { /* Apply the same margin to dropdowns */
    margin: 0px 0px; /* Adjust this value as needed */
    padding: 5px 5px; /* Reduced horizontal padding */
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: white;
}

.link-style-button {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* Style for dropdown content container */
.dropdown-content {
    color: black;
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 480px; /* Adjusted for 3 columns */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 5px; /* Padding around grid items */
}

/* Style for dropdown items */
.dropdown-content a {
    color: black;
    padding: 8px 16px; /* Padding for each item */
    text-decoration: none;
    display: block; /* Make each link a block for full-width click area */
}
/* Ensure higher specificity for the dropdown-content.large class */
.dropdown .dropdown-content.large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    align-items: start;
    justify-items: start;
}

/* Style for dropdown items with higher specificity */
.dropdown .dropdown-content.large a {
    text-align: left;
    padding: 8px;
    border: none;
    /*background: none;*/
    color: inherit;
    margin: 0; /* Reset any margin */
    white-space: nowrap; /* Keep the text in a single line */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add an ellipsis to overflowing text */
}

/* Adjusting dropdown-content for a non-large class or default state */
.dropdown .dropdown-content:not(.large) {
    display: block; /* Reset to block for single column */
    grid-template-columns: none; /* Remove grid column definition */
    min-width: 160px; /* Width for single column */
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .nav-items {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .nav-items.active {
        display: flex;
    }

    .nav-item {
        margin: 2px 0;
    }

    .nav-item a {
        margin: 2px 0;
    }

    .nav-toggle {
        background-color: var(--accent-color);
        display: block;
        position: absolute;
        left: 10px;
        top: 17px; /* Set the top position to 50% of the parent element */
    }

    .nav-container {
        flex-direction: column; /* Stack elements vertically */
    }

    .dropdown-content a {
        color: black;
        padding: 8px 16px; /* Padding for each item */
        text-decoration: none;
        display: block; /* Make each link a block for full-width click area */
    }
}

header {
    text-align: center;
    padding: 10px 0;
}

.logo img {
    width: auto; /* Adjust this value as needed */
    height: 50px;
    max-height: 50px;
}

main {
    flex: 1; /* This makes sure that the main content takes up the available space */
    /* Add any additional styles you need for main */
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
}

footer .logoicon img {
    width: 40px; /* Adjust this value as needed */
    height: auto;
    margin-right: 10px;
}




label {
    display: block;
    margin-bottom: 5px;
}

.submit-btn, .add-to-cart-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 50px; /* Pill-shaped */
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Soft shadow */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover, .add-to-cart-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05); /* Slight enlargement */
}

/* Styles for caption overlay */
#caption-div {
    position: absolute;
    text-align: center;
    width: 100%;
    /* Additional styles for positioning and appearance */
}

.caption-top {
    top: 10px;
}

.caption-middle {
    top: 50%;
    transform: translateY(-50%);
}

.caption-bottom {
    bottom: 10px;
}

.text-with-shadow {
    text-shadow: 2px 2px 4px #000000;
}

/* Additional styles as needed */
.thumbnail-gallery {
    text-align: center;
    margin-bottom: 20px;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap; /* Allows thumbnails to wrap to the next line */
    gap: 10px; /* Adds space between thumbnails */
    justify-content: flex-start; /* Aligns thumbnails to the start of the container */
    align-items: center; /* Vertically align thumbnails */
}

.thumbnail {
    max-width: 100px; /* Maximum width */
    max-height: 100px; /* Maximum height */
    width: auto; /* Width adjusts to maintain aspect ratio */
    height: auto; /* Height adjusts to maintain aspect ratio */
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    margin: 2px;
}

.thumbnail-big {
    max-width: 300px; /* Maximum width */
    max-height: 300px; /* Maximum height */
    width: auto; /* Width adjusts to maintain aspect ratio */
    height: auto; /* Height adjusts to maintain aspect ratio */
    cursor: pointer;
    transition: opacity 0.3s ease;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    margin: 2px;
}

.thumbnail:hover {
    opacity: 0.7;
}

/* Customize card page */
.card-customization {
    display: flex;
    justify-content: space-around;
    /*padding: 20px;*/
    flex-wrap: wrap; /* Allow items to wrap to the next line */
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
    .card-customization {
        flex-direction: column;
        align-items: center;
    }
}

.card-preview {
    position: relative;
    max-width: 100%;
    height: auto;
}

#preview-image {
    width: 100%;
    height: auto;
    display: block;
}

#caption-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.canvas-container {
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.customization-options {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the option groups */
    margin-bottom: 20px; /* Add space between options and buttons */
    /*margin-top: 20px;*/
    width: 500px;
    max-width: 100%;
}

@media screen and (max-width: 600px) {
    .customization-options {
        width: 100%;       /* Adjust width to 100% for smaller screens */
    }
}

/* Hide the default radio button */
input[type="radio"] {
    display: none;
}

/* Style the labels */
.btn-label {
    padding: 0.5em 1em;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    display: inline-block;
    margin-right: 5px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn-label:hover {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

input[type="radio"]:checked + .btn-label {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.form-group .btn-label {
    border: none;
    border-radius: 0px;
    padding: 0em 0.2em;
}





.option-group {
    width: 100%; /* Make option group full width */
    margin-bottom: 10px; /* Add some space between each option group */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: left; /* Center items for a professional look */

}

.option-group.flex-group {
    display: flex;
    align-items: center;
    justify-content: start;
}

.option-group.flex-group label {
    margin-right: 10px; /* Adjust spacing between label and input */
}

.option-group.flex-group input[type="color"],
.option-group.flex-group select {
    margin-left: 10px; /* Adjust spacing if needed */
}


.section-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    color: var(--primary-color);
    margin: 5px 0;
    position: relative;
}

.section-title-line::before,
.section-title-line::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--primary-color);
    margin: 0 10px; /* Adjust the spacing around the text */
}

/* If there's a need to ensure the lines are not wider than the parent container */
.section-title-line {
    width: 100%; /* Ensures the title line doesn't exceed the width of the container */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
}



.first {
    margin-top: 0px; /* Remove top margin for first group */
}

.button-group {
    width: 100%; /* Full width to prevent side-by-side positioning */
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    justify-content: center; /* Center the buttons */
    /*margin-top: 20px; !* Space from the options above *!*/
    margin-bottom: 10px; /* Add space between buttons */
}

.custom-button {
    background-color: var(--primary-color); /* Use your primary color */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;

    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Quicksand', sans-serif; /* Use your preferred font */
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional: add shadow for depth */
    margin: 5px 5px;
}

.custom-button:hover {
    background-color: var(--secondary-color); /* A slightly different color on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Optional: enhance shadow on hover */
}

.custom-button:disabled {
    background-color: #cccccc; /* Grayed out background */
    color: #666666; /* Darker text color */
    cursor: not-allowed; /* Cursor indicating disabled state */
    box-shadow: none; /* Remove shadow for disabled state */
    opacity: 0.5; /* Optional: reduce opacity to enhance disabled appearance */
}

.fileinput-button {
    max-width: 100%;
    box-sizing: border-box;
}

/* New Home Page Specific */
/* General Section Styles */
.section {
    padding: 20px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    margin: 10px;
    background-color: var(--accent-color);
}


.section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.section-content {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.section-grey {
    background-color: #f5f5f5; /* Light grey for alternate sections */
}

.section-column {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.section-column > div {
    flex-basis: 45%; /* Each child takes up to 45% of the section width */
    margin: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section {
        padding: 20px 10px;
        box-shadow: none;
        margin: 0px;
    }
    .section-column {
        flex-direction: column;
    }

    .section-column > div {
        flex-basis: 100%;
    }
}

@media (max-width: 500px) {
    .section {
        box-shadow: none;
        padding: 20px 5px;
    }

}

/* Hero Section Styles */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 2.5em;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.btn-main {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
}

.btn-main:hover {
    background-color: var(--secondary-color);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
    font-size: 1.5em; /* Increased font size for subtitle in hero section */
}

/* Scoped Styles for Hero Section Subtitle and Description */
.hero-section .section-subtitle {
    font-size: 2em;
}

.hero-section .section-description {
    text-indent: 40px; /* Indentation for description lines in hero section */
}

/* How It Works Section Styles */
.how-it-works-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #f5f5f5; /* Light grey */
    padding: 20px;
}

.video-container img {
    max-width: 45%;
    height: auto;
}

.steps-text {
    max-width: 45%;
}

.steps-text h2 {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section, .how-it-works-section {
        flex-direction: column;
    }

    .hero-text, .video-container, .steps-text {
        max-width: 100%;
    }

    .dropdown .dropdown-content.large {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
    }

}

.animated-card-container {
    max-width: 500px; /* Adjust the width as needed */
    /*max-height: 300px; !* Adjust the height as needed *!*/
    margin: auto; /* Center the card */
    overflow: hidden; /* Hide overflow to maintain the container size */
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for depth */
    border-radius: 10px; /* Optional: Round the corners */
}

#progressBarContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    text-align: center;
    padding-top: 20%;
    flex-direction: column;
    align-items: center;
}

.progressBar {
    margin: 20px auto;
    width: 50%;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically if needed */
}

.progressFill {
    height: 20px;
    width: 0%;
    background-color: #4caf50;
    border-radius: 5px;
    transition: width 0.25s linear;
}

.progressBarText {
    margin-top: 10px;
}
.aww-logo {
    height: 50px;
    vertical-align: middle;
}

.about-flex-wrap {
    display: block; /* switch from flex to block layout for wrapping */
    position: relative;
    text-align: left; /* ensure text aligns to the left */
    overflow: hidden; /* clear the float */
}

.about-logo {
    float: left; /* keep the image floated to the left */
    margin-right: 20px; /* adjust as needed for spacing */
    width: 400px; /* or a specific width, e.g., 150px */
    height: auto; /* maintain aspect ratio */
    max-width: 100%; /* ensure the image is responsive and doesn't overflow */
}

@media screen and (max-width: 768px) { /* adjust breakpoint as needed */
    .about-logo {
        float: none; /* stack image on smaller screens */
        display: block;
        margin: 0 auto; /* center the image */
        width: 250px; /* or 100% if you want it full width */
    }
    .about-flex-wrap {
        display: block; /* ensure block display for smaller screens */
    }
}

.resetButton {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;

}

/* Style for each card-category-column */
.card-category-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
    height: 100%; /* Make all columns same height */
    /*width: calc(50% - 10px); !* Adjust the width for two columns layout, considering the gap *!*/
    padding: 10px; /* Internal padding */
    padding-bottom: 5px;
    margin-bottom: 10px; /* Gap between columns */
}

.card-category-column-header {
    font-size: 1.2em;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: center;
}

/*.card-category-column > * {*/
/*    width: 100%; !* Full width for each item *!*/
/*    margin-bottom: 10px; !* Space between items *!*/
/*}*/

/*.card-creation-form {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 20px; !* Adjust as needed for spacing between rows and columns *!*/

/*}*/

/* Styles for form inputs */
.form-group {
    margin-bottom: 15px;
    /*display: flex;*/
    flex-wrap: wrap;
    gap: 20px; /* Adjust as needed for spacing between rows and columns */

}

.card-container {
    margin: 10px;
}

.card-customization .btn-label {
    border: none;
    border-radius: 0px;
    padding: 0.1em 0.2em;
    font-size: .9em;
    border-radius: 5px;
}

.card-customization .btn-label:hover {
    background-color: var(--primary-color);
    border-radius: 5px;
}

.card-customization input[type="radio"]:checked + .btn-label {
    background-color: var(--primary-color);
}

.btn-galley-thumb {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    width: 100px;
    height: 100px;
    border: none;
}

.btn-thumb {
    background-size: cover;
    width: 50px;
    height: 50px;
}

.card-customization .btn-thumb {
    border: 2px solid var(--accent-color);
}

input[type="radio"]:checked + .btn-thumb{
    border: 2px solid var(--primary-color);
}

.accordion {
    /* Styling for the accordion container */
    width: 100%;
}

.accordion-item {
    margin-bottom: 10px; /* Space between accordion items */
}

.accordion-title {
    /*background-color: var(--primary-color);*/
    color: var(--primary-color);
    /*color: white;*/
    cursor: pointer;
    padding: 7px;
    /*border: 1px solid #ddd;*/
    border-radius: 4px;
    display: flex;
    justify-content: left;
    align-items: center;
}

.accordion-title:hover {
    background-color: var(--secondary-color);
    color: white;
}

.accordion-title:before {
    content: '▸'; /* Right-pointing triangle */
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
    font-size: 1.2em;
}

.open .accordion-title:before {
    transform: rotate(90deg); /* Rotates the caret to point downwards */
}

.accordion-item.open .accordion-content {
    /*height: 500px; !* Adjust as needed for your content *!*/
    /* You might need to adjust this value depending on the content size */
}

.accordion-content {
    /*border: 1px solid #ddd;*/

    /*border-radius: 0 0 4px 4px;*/
    padding: 5px 15px;
    /*padding-bottom: 5px;*/
    display: none;
    /*background-color: white;*/
    /*height: 0;*/
    maxHeight: 0;
    overflow: hidden;
    transition: maxHeight 1.3s ease-out;
}

/* Default mobile-first styles (for smaller screens) */
#howto {
    width: 100%; /* Full width on small screens */
    max-width: 460px; /* Maximum size on small screens */
}

/* Larger screens */
@media (min-width: 768px) { /* Adjust this breakpoint as needed */
    #howto {
        max-width: 640px; /* Larger maximum size on larger screens */
    }
}

/* Google sign in */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}
