@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

@import url(about.css);
@import url(contact.css);
@import url(home.css);
@import url(product_details.css);

*{
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    transition: all 300ms ease-in-out;
    color: #444;
    background-color: #EAEAEA;

}

/* .roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
} */


  section{
    box-sizing: border-box;
  }
  section:nth-child(2){
    height: auto;
    display: flex;
  }

  section:nth-child(5){
    padding: 0;
  }

  a{
    outline: none;
    text-decoration: none;
    color: #666;
  }

  li{
    list-style: none;
  }

body{
    width: 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
    padding: 50px 100px;
    background-color: #ffffff;
    border-radius: 12px;
    width: auto;
    border: none;
  }
  
  .content.show {
    opacity: 1;
    transform: translateY(0);
  }
  

.logo{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    background: none;
}

.logo img{
  background: none;
}
h1{
  background: none;
}

nav {
    padding: 10px;
    margin: 0 20px;
    margin-bottom: 30px;
    background: none;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background: none;
}
nav ul li {
    position: relative;
    margin: 0 10px;
    background: none;
}

nav ul li:hover{
  background: #007bff;
  color: white;
}

nav ul li a:hover{
  color: white;
}

nav ul li a {
    text-decoration: none;
    color: #444;
    padding: 10px;
    display: block;
    font-size: 18px;
    font-weight: bold;
    background: none;
}

/* Dropdown menu styles */
.dropdown {
    display: none;
    position: absolute;
    background: #444;
    top: 100%;
    left: 0;
    min-width: 150px;
    z-index: 1;
    padding: 10px;
}
.dropdown li {
    width: 100%;
}
.dropdown li a {
    padding: 10px;
    display: block;
    color: white;
}
.dropdown li a:hover {
    background: #666;
}
/* Show dropdown on hover */
nav ul li:hover .dropdown {
    display: block;
}

main{
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

footer{
  width: 100%;
  height: 300px;
  background-color: #F5F5F5;
  display: flex;
}

footer ul{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}


/* Basic Button Style */
button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  /* Hover and Focus Effect */
  button:hover, button:focus {
    background-color: #45a049;
    transform: translateY(-2px);
  }
  
  /* Disabled State */
  button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
  }

  h2 {
    margin-bottom: 1rem;
    color: #333;
  }

  label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
  }

  input, textarea, button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
  }

  input:focus, textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
  }

  .button-form {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }

  .button-form:hover {
    background-color: #0056b3;
  }

  @media (max-width: 480px) {
    form {
      padding: 1.5rem;
    }
  }


  @media only screen and (max-width: 800px){
    nav ul li a,
    .dropdown li a{
      font-size: 15px;
    }

  }