/*Reset browser present stylings*/
* {
  margin: 0;
  box-sizing: border-box;
}
/*make image, video, audio tags take 100%*/
img, video, audio {
  max-width: 100%;
}
nav {
  background-color: orange;
  padding: 16px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
}
nav a {
  color: white;
  text-decoration: none;
}
nav a:hover{
  text-decoration: underline;
}
.hero {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 12px;
}

/*Hero section*/
.hero h1{
  font-size: 40px;
  text-align: center;
}

/*Sub-Hero section*/
.sub-hero {
  margin-top: 60px;
  background-color: orange;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.sub-hero h2{
  text-align: center;
  font-size: 25px;
}
.sub-hero h2 span {
  color: dodgerblue;
}
.sub-hero img {
  border-radius: 8px;
}

/*Hairstyles section*/
#hairstyles {
  margin: 60px auto 0px auto;
  padding: 0px 20px;
}

#hairstyles h2 {
  text-align: center;
  color: orange;
  margin-bottom: 20px;
}

#hairstyles ul{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/*Pricing Section*/
#pricing {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0px 20px;
}

#pricing h2 {
  text-align: center;
  color: orange;
}

#pricing table{
  border-collapse: collapse;
}

#pring table th, td{
  border: 1px solid #ddd;
  text-align: center;
  padding: 10px;
  width: 50%;
}

#pricing table tr:nth-child(even){
  background-color: #ddd;
}

/*Media Section*/
#media {
  background-color: black;
  padding: 60px 20px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#media h2 {
  text-align: center;
  color: orange;
}

#media h4{
  color: white;
}

/*About-us Section*/
#about-us{
  margin-top: 60px;
  padding: 0px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#about-us h2{
  color: orange;
}

#about-us p{
  font-size: 20px;
}

/*Contact-us Section*/
#contact-us{
  background-color: orange;
  margin-top: 60px;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

#contact-us h2{
  color: white;
  font-size: 40px;
}

#contact-us h3{
  text-align: center;
}

#contact-us form{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#contact-us form label{
  font-size: 18px;
}

#contact-us form input, #contact-us form textarea {
  padding: 10px 12px;
  border: orange;
  border-radius: 4px;
}

#contact-us form button{
  background-color: black;
  color: white;
  border: none;
  padding: 10px 12px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
}