
:root {
    --primary-color: #ff6f61; /* Warm, inviting coral */
    --secondary-color: #2c3e50; /* Deep blue-gray for contrast */
    --accent-color: #f1c40f; /* Bright yellow for call-to-action elements */
    --background-color: #f9f9f9; /* Light gray for a clean background */
    --border-color: #e0e0e0; /* Neutral gray for subtle borders */
    --text-color: #333333; /* Standard dark text */
    --light-text-color: #666666; /* Lighter text for less emphasis */
    --button-hover: #e74c3c; /* Bright red for button hover */
}
html{
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}
nav{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
nav a{
    text-decoration: none;
    color: white;
}

.navbar {

    width:100%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   
}

.logo {
    height: 80%;
    width: 4rem;
}

#search {
    width: 16rem;
    height: 2.2rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 0 1rem;
}

.sidebar {
    position: absolute;
    right: 3px;
    font-size: 2rem;
    top: 2.5%;
   opacity: 0;
}

.first {
    height: 25rem;
    width: 100%;
    background-color: var(--secondary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.fashion {
    height: 100%;
    width: 100%;
}
.position{
    position: absolute;
    left: 10rem;
}

.categories {
    padding: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.categories img {
    height: 15rem;
    width: 20rem;
    border: 2px solid var(--border-color);
    border-radius:0.5rem  0.5rem;
    transition: transform 0.3s ease;

}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.mi {
    margin-left: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem 10rem;
}

.card {
    width: 15rem;
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    
}

.card:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.card img {
    height: 15rem;
    width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
}

.description {
    width: 100%;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.description button {
    height: 1.5rem;
    width: 5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 0.3rem;
    background-color: var(--accent-color);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.description button:hover {
    background-color: var(--button-hover);
}

.info {
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

.mes {
    display: flex;
    flex-direction: column;
    font-size: larger;
}

.mesbox {
    display: flex;
    flex-direction: column;
    width: 100%;
}


footer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 1rem;
    gap: 2rem;
    flex-wrap: wrap;
    background-color: var(--secondary-color);
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.row img {
    height: 2rem;
    width: 3rem;
}

.footeritems input{
    height: 1.5rem;
    border: none;
    width: 15rem;
}
.wait{
    display: flex;
    align-items: center;    
    gap: 0.5rem 0.5rem;
}

.hover{
   
    transform:scale(0.95) ;
}
h1:hover, h2:hover, h3:hover {
    transform: scale(0.95); 
    transition: transform 0.3s ease; 
}
.position button{
    background-color: #2c3e50;

}   .position button:hover{
    transform: scale(0.95);
}

.hovertime{
    position: relative;
    bottom: 10rem;
    opacity: 1;
    text-align: center;
    color: white;
    font-weight: 900;
    opacity: 0;
}
.hovertime button{
    background: linear-gradient(90deg, #ff6b6b, #ff99cc); 
    font-weight: bold;  
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease; 
}
.cathover {
    background-color: rgba(0, 0, 0, 0.7); 
}

.cat img {
    
    height: 15rem;
    width: 100%;
}
.cat{
    height: 15rem;
    width: 20rem;
}
img.fashion {
    
    display: block;
    margin: 0 auto; /* Centers the image horizontally */
}

div.position {
    text-align: center; /* Centers content within the div */
}
/* Dark Mode Styles */
.darkbg {
    background-color: #121212; /* Dark background color */
    color: #e0e0e0; /* Light text color */
}

.darkbg nav {
    background-color: #1e1e1e; /* Navbar background */
    color: #e0e0e0; /* Navbar text color */
}

.darkbg nav .navbar p {
    color: #e0e0e0;
}

.darkbg nav .navbar .s input {
    background-color: #333; /* Search bar background */
    color: #e0e0e0; /* Search bar text color */
    border: 1px solid #444; /* Search bar border */
}

.darkbg .first {
    background-color: #1e1e1e; /* Hero section background */
}

.darkbg .categories .cat {
    background-color: #1e1e1e; /* Categories background */
    border: 1px solid #333; /* Border for categories */
}

.darkbg .categories .cat p, .darkbg .categories .cat button {
    color: #e0e0e0; /* Text color in categories */
}

.darkbg section {
    background-color: #1e1e1e; /* Shop section background */
}

.darkbg .main .card {
    background-color: #222; /* Card background */
    border: 1px solid #333; /* Card border */
}

.darkbg .main .card .description p {
    color: #e0e0e0; /* Card description text */
}

.darkbg footer {
    background-color: #1e1e1e; /* Footer background */
    color: #e0e0e0; /* Footer text color */
}

.darkbg footer .footeritems h2, .darkbg footer .footeritems p {
    color: #e0e0e0;
}

.darkbg footer .footeritems input {
    background-color: #333; /* Input field background */
    color: #e0e0e0; /* Input field text color */
    border: 1px solid #444; /* Input field border */
}

/* Button styles for dark mode */
.darkbg button, .darkbg a {
    background-color: #444; /* Button background */
    color: #e0e0e0; /* Button text color */
    border: 1px solid #555; /* Button border */
}

/* Hover effects for dark mode */
.darkbg button:hover, .darkbg a:hover {
    background-color: #555;
    color: #ffffff;
}
  
  .signup {
    width: 50%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px solid rgb(203, 207, 206);
    border-radius: 0.7rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem ;
  }
  
  .formsubmit:hover {
    background-color: #45a049;
  }
  
  .signup img:hover{
    transform: scale(0.9);
  }
  .homedirect {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
  }
  
  .signup {
    width: 40%;
    max-width: 400px;
    background-color: #ffffff;
    border: 2px solid #d4d4d4;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .signup img {
    height: 4rem;
    width: auto;
    transition: transform 0.3s ease;
  }
  
  .signup img:hover {
    transform: scale(1.1);
  }
  
  .np {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  
  .np label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
  }
  
  .np input {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
  }
  
  .np input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  }
  
  .formsubmit {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .formsubmit:hover {
    background-color: #45a049;
    transform: translateY(-2px);
  }
  
  .as {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center; /* Ensures vertical alignment of text and buttons */
}

.as p {
    margin: 0;
    font-size: 1rem; /* Adjust font size as needed */
    color: #333; /* Optional: sets the text color */
}

.as button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s; /* Adds a smooth hover effect */
}

.as button:hover {
    background-color: #45a049;
}
.btn{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
}
/* Style the container div */
.add {
    text-align: center;         /* Center the button horizontally */
    padding: 10px;              /* Add some padding around the button */
}

/* Style the button */
.add button {
    background-color: #007bff;  /* Blue background for the button */
    color: white;               /* White text color */
    font-size: 14px;            /* Smaller font size */
    padding: 6px 12px;          /* Less padding for a smaller button */
    border: none;               /* Remove default border */
    border-radius: 4px;         /* Rounded corners */
    cursor: pointer;            /* Change cursor on hover */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for the button */
.add button:hover {
    background-color: #0056b3;  /* Darker blue on hover */
}
.add button a{
    text-decoration: none;
    color: white;
}