#main {

    display: flex;
    justify-content: center;
    align-items: center;  
    gap: 20px;                /* space between items */
    min-height: 80vh;         /* ensures container takes up most of the viewport */
    padding: 20px;
    flex-wrap: wrap;
}

.heart-background{
    background-image: url("background_image/hearts.png");
    background-repeat: repeat;
    background-position: center;
    background-size: 500px;
}

.flex-item {
    background-color: white;
    height: 520px;
    color:antiquewhite1;
    box-shadow: 6px 6px 5px gray;
    text-align: center;
    border-radius: 10px; 
}

.flex-item img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin: 5px auto;
}

.button_on {
     display:block;
}
.button_off {
display:none;
}  
h2 {
    text-align: center;
} 
header h1{
    text-align:center;
    font-family: 'Brush Script MT', cursive;
}

.heart{
    color: pink;
}

.navigation {
      display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    background-color: pink;
    margin: 0;
    padding: 15px 0;
    gap: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.navigation li {
    display: inline;
}

.navigation li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.navigation li a:hover {
    background-color: rgb(253, 134, 205);
}

.container{
    display: flex;
    justify-content: center;
    align-items: center;  
    min-height: 80vh;         /* ensures container takes up most of the viewport */
    padding: 20px;
    flex-wrap: wrap;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: pink;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 120px;
}

.dropdown-content {
 display: none;
     position: absolute;
     background-color: pink;
     min-width: 120px;
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
     z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgb(253, 134, 205);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: rgb(253, 134, 205);
}

.login-box {
    background: #ffd6e7;            /* soft pink */
    width: 320px;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 80px auto;              /* centers the box */
    text-align: center;
    font-family: Arial, sans-serif;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #b84774;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #e7a4c4;
    border-radius: 8px;
}

.login-box input[type="submit"] {
    background: #ff9ac9;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.login-box input[type="submit"]:hover {
    background: #ff7ab6;
}

.form{
  display: none;
  position: absolute;
}

input[type="submit"] {
    background: pink;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.flex-item a{
    text-decoration:none;
    background: pink;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
a button{
    background: pink;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;

}

.add-cart{
    display: flex;
    justify-content: center;
    align-items: center;               /* space between items */
    flex-wrap: wrap;
    flex-direction: column;
}

