@import url(https://fonts.bunny.net/css?family=albert-sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|alegreya-sans:100,100i,300,300i,400,400i,500,500i,700,700i,800,800i,900,900i|montserrat-alternates:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i|quicksand:300,400,500,600,700);

/* COLORS */
:root {
    --forest-green: #546A50;
    --sage-green: #768873;
    --off-white: #F0F1EB;
    --salmon: #C26752;
    --terracotta: #A65436;
    --charcoal: #3C4A4E;
    --slate-blue: #495867;
    --dusty-blue: #6C7A89;
  }
/* FONTS */
body {
    font-family: 'Alegreya Sans', 'Segoe UI', sans-serif;
    background-color: #f0f1eb;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    font-family: 'Albert Sans', 'Segoe UI', sans-serif;
    color: #222;
}
em {
    font-style: italic;;
}

/* SIZING */
html {
    font-size: 18px;
}

@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

small {
    font-size: 0.875rem;
    line-height: 1.5;
}

button, input, textarea {
    font-size: 1rem;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
}

ul, ol {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

blockquote {
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    margin: 1rem 0;
}

a:link, a:visited {
    color:darkolivegreen;

}
a:hover, a:active {
    color:darkgreen;
}

/* STRUCTURE */

main {
    padding:4rem;
    z-index:100;
    position: relative;
}
footer {
    width:100%;
    padding-top:1rem;
}
.footer-container {
    margin-top:2rem;
    padding-top:1rem;
    border-top:1px solid rgba(0,0,0,.1);
    margin-bottom:2rem;
}
strong {
    font-weight:600;
}
hr {
    height:1px;
    border:none;
    background-color:rgba(0,0,0,.1);
}
.pill {
    display: inline-block;
    background-color: var(--off-white);
    padding: .5rem 1rem;
    margin-right:1.5rem;
    margin-left:-.5rem;
    border-radius:3rem;
    margin-bottom:1rem;
   
}
/* FORMS */
.input-field {
    border-radius: 1.25rem; /* 20px to rem */
    background-color: #ffffff;
    border: 0.125rem solid black; /* 2px to rem */
    display: block;
    width: calc(100% - 2rem);
    padding: 0.625rem 1rem; /* 10px to rem */
    height: 1.25rem;
    font-family: Montserrat, 'Segoe UI', sans-serif !important;
    font-size:1rem !important;
}
.submit-button {
    border-radius: 1.25rem; /* 20px to rem */
    background-color: #546a50;
    color: #fff !important;
    width: 100%;
    display: block;
    margin-top: 1.5rem;
    border: none;
    padding: 0.7rem 0; /* 8px to rem */
    cursor:pointer;
    text-decoration: none;
    text-align:center;
}
.link-button {
    background: none;
    color: var(--charcoal);
    display: block;
    width:auto;
    font-size:.9rem;
    opacity:.8;
    margin:auto;
    margin-top: 0;
    border: none;
    padding: 0.7rem 0; /* 8px to rem */
    cursor:pointer;
    text-decoration: none;
    text-align:center;
}
.like-btn {
    display: inline-flex;
    position:relative;
    align-items: center;
    gap: 0.5rem; /* optional, for spacing between the icon and text */
    border: 2px solid #cc0000;
    color: #cc0000;
    padding: .3rem 1rem .3rem .7rem;
    font-size: 1rem;
    line-height: 1rem;
    border-radius: 5rem;
    cursor: pointer;
    margin-right:10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom:5px;
}
.like-btn:hover {
    background-color: #cc0000;
    color: #fff;
}
.recommend-btn {
    display: inline-flex;
    position:relative;
    align-items: center;
    gap: 0.5rem; /* optional, for spacing between the icon and text */
    border: 2px solid #007ACC;
    color: #007ACC;
    padding: .3rem 1rem .3rem .7rem;
    font-size: 1rem;
    line-height: 1rem;
    border-radius: 5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom:5px;
}
.recommend-btn:hover {
    background-color: #007ACC;
    color: #fff;
}
.tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    pointer-events: none;
    z-index: 1000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.2s ease;
    font-family: serif;
}
.tooltip-subtle {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    pointer-events: none;
    z-index: 1000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s 0.4s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.cta-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon and text */
    background-color: #f0f1eb; /* Light gray background */
    color: #333; /* Dark gray text */
    border: 2px solid #ccc; /* Thicker border */
    border-radius: 5rem; /* Rounded corners */
    padding: 0.3rem 1rem 0.3rem 0.7rem; /* Padding similar to like-btn */
    font-size: 1rem;
    line-height: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-buttons button i {
    margin-right: 0.5rem; /* Space between icon and text */
}

.cta-buttons button:hover {
    background-color: #ccc; /* Darker gray on hover */
    color: #fff; /* White text on hover */
}

.cta-buttons button:active {
    background-color: #1e7e34; /* Even darker green on click */
    transform: translateY(0); /* Reset lift on click */
}

.review-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.review-textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    resize: vertical;
    min-height: 100px;
}

.expand-button {
    background-color: #007ACC;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
}

.expand-button:hover {
    background-color: #005f99;
}

.rating-stars {
    position: relative;
    display: flex;
    gap: 0.2rem;
    margin-top: 0.5rem;
    z-index: 10; /* Ensure the stars are on top */
}

.rating-stars > .star-wrapper {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
    cursor: pointer; /* Ensure the cursor changes to pointer */
}

.filled-stars {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 0.2rem;
    z-index: 5; /* Ensure the filled stars are below the rating stars */
}

.filled-stars > .star-wrapper {
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* MENU */
header {
    width: 100%;
    height: 4rem;
    background-color:#546a50; /* Light gray background */
}

.header-container {
    position: relative;
    height: 4rem;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.profile-picture {
    height: 2rem;
    width: 2rem;
    margin-left: .3rem;
    margin-top: -.2rem;
    border-radius: 50%;
    border: 2px solid #000;
}

.logo-title {
    text-align: center;
}

.centered-logo {
    position: absolute;
    left: 50%;
    width:3.5rem;
    text-align: center;
    margin-left:-1.75rem;
}

.logo {
    width:3rem;
    margin-top:.5rem;
}


.touch-grass-title {
    position: absolute;
    margin-top:1rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.touch-grass-title h1 {
    margin: 0;
    display: inline-block;
    font-weight: 500;
    font-size: 2.3rem;
    color: #000;
}

.settings-icon {
    height: 30px;
    width: 30px;
}


.header-icon {
    height: 1.7rem;
    cursor: pointer;
}

.pfp-icon {
    height: 2.2rem;
    width: 2.2rem;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-top: 0px;
    margin-right: -5px;
}

.header-icons {
    position: absolute;
    top:.5rem;
    right:.7rem;
    height:2rem;
    display: flex;
    align-items: center;
    gap: 1rem; /* Space between icons */
    background-color:rgba(255,255,255,.2);
    padding: .5rem .7rem .5rem 1rem; /* Padding inside the pill */
    border-radius: 2rem; /* Rounded corners to create pill shape */
}

/* BENTO BOXES */
.bento {
    padding: 1.5rem 2rem;
    border-radius: 2rem;
    position: relative;
    margin-bottom:20px;
}


.bento h1,
.bento h2,
.bento h3,
.bento h4 {
    font-weight: 500;
    margin-bottom:2rem;
}

.bento-dark {
    background-color: #546a50;
    color: #fff !important;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}
.bento-dark label {
    color:#fff !important;
}
.bento-dark h1,
.bento-dark h2,
.bento-dark h3,
.bento-dark h4,
.bento-dark p,
.bento-dark a {
    color: #fff !important;
}
.bento ul {
    margin:0;
    padding:0;
    width:100%;
    margin-left:-1rem;
}
.bento li {
    width:100%;
    list-style-type: none;
    font-weight: 600;
}
.bento-dark li {
    background-color: rgba(255,255,255,.9);
    color: #333;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.bento-light {
    background-color: rgba(255,255,255,.7);
    color: #333;
   /*  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}
.bento-light ul {
    margin-bottom:-1rem;
}
.bento-light li {
    background-color: rgba(84, 106, 80, 0.25);
    color: #333;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}
.bento-light .edit-icon, .bento-transparent .edit-icon {
    background-color:  rgba(84, 106, 80, 0.25);
    box-shadow: none;
}
.bento-transparent {
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
   /*  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.bento-transparent li {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

@media (max-width: 768px) {
    .bento {
        padding: 1.5rem 1.5rem;
    }
    .bento-light ul {
        margin-bottom:-1.5rem;
    }
}