/* General styles */
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.sell-section {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}

.sell-form {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #FFA500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 100vh;
    margin-bottom: 20vh;
}

.sell-form h2 {
    text-align: center;
    color: #FFA500;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #FFA500;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
}

.form-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #FFA500;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #FF8C00;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  font-size: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-left: 2vw;
}

.search-icon {
    font-size: 20px;
    color: black;
    margin-right: 4vw;
}

/* Categories */
.categories {
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
    background-color: #ffffff;
    margin-top: 10vh;
    overflow-x: auto;
    white-space: nowrap;
}

.category {
    border: 2px solid #FFA500;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    color: black;
    flex: 0 0 auto;
    margin: 0 5px;
    
}





/* Footer */
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #FFA500;
    padding: 10px 0;
    position:fixed;
    bottom: 0;
    width: 100%;
}

.footer-item {
    text-align: center;
    color: #ffffff;
    font-size: 14px;
}

.footer-link {
    color: white;
    text-decoration: none;
}

.category:hover {
    background-color: #FFA500;
}

.product-card:hover {
    cursor: pointer;
}

.product-description {
    height: 20vh;
}


@media (min-width: 768px) {
    .sell-form {
        margin-top: 145vh;
        margin-bottom: 20vh;
    }

    .header, .footer {
        position:fixed;
    }

    .footer {
        width: 110vw;
    }

}