:root { 
    --primary-color: #4CAF50; 
    --button-color: #008CBA; 
    --button-hover-color: #005f73; 
    animation-direction: alternate;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 10px;
    padding: 10px;
    border: 1px solid #005f73;
    border-radius: 10px;
    background: #05f6fa;
    
}

h1 {
    text-align: center;
    color: #11ccf6;
}



button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}






.addBtn{
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
}



.addBtn:hover {
    background-color: #0a6eba;
}

.buyButton {
    background-color: var(--button-color);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
}

.buyButton:hover {
    background-color: var(--button-hover-color);
}

.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.product-image {
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-details {
    text-align: center;
}

.product-title {
    color: #061efa;
    font-weight: 500;
    font-style: italic;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    color: #555;
    margin-bottom: 20px;
}

.product-description {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 10px;
}

.button-group .addButton, .button-group .buyButton {
    flex: 1;
}

@media (max-width: 600px) {
    .product-image {
        max-width: 100%;
    }
}






#notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #333;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

#notification p {
  margin: 0;
  font-size: 16px;
}

#notification.show {
  opacity: 1;
  transform: translateY(0);
}

#notification.hidden {
  display: none;
}

#close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}


