@font-face {
  font-family: welcome;
  src: url("fonts/august_script_bold_free.ttf");
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-image: url("img/kitchenbg.jpg");
  background-size: cover;
}

.wrapper {
  width: 1200px;
  margin: 0 auto;
}

/* Logo */

@keyframes logo {
  from {
    left: -10000px;
  }

  to {
    left: 0;
  }
}

.logo1 {
  animation-name: logo;
  animation-duration: 1s;
  position: relative;
  float: left;
  margin: 2px 0;
  padding: 5px 20px 0 20px;
  height: 130px;
}

.logo2 {
  /*No Animation*/
  float: left;
  margin: 2px 0;
  padding: 5px 20px 0 20px;
  height: 130px;
}


/* Navigation*/

@keyframes fade {
  0% {
    height: 0px
  }

  100% {
    height: 100%;
  }
}

nav {
  background-color: #FFD834;
  width: 100%;
  height: 150px;
  position: relative;
}

nav a {
  /* just to see */
  color: #121212;
  text-decoration: none;
}

nav a:hover {
  color: #737373;
}

.fb {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
}

.main-list {
  margin-top: 15px;
  height: 120px;
  border-left: 2px solid #121212;
  float: left;
  list-style: none;
  position: relative;
}

.main-list-item {
  float: left;
  height: 40px;
}

.main-list-item a {
  display: block;
  padding: 50px 40px 10px 20px;
  font-family: arial;
  font-size: 20px;

}

.services-list {
  display: none;
  background-color: #FFD834;
  list-style: none;
  position: absolute;
  left: 10px;
  border-radius: 0px 0px 5px 5px;
}

.services-list-item a {
  padding: 10px 10px;
}



.portfolio-list {
  display: none;
  background-color: #FFD834;
  list-style: none;
  position: absolute;
  left: 345px;
  border-radius: 0px 0px 5px 5px;
}

.portfolio-list li a {
  padding: 10px 10px;
}

.main-list-item:hover .services-list {
  display: block;
}

.main-list-item:hover .portfolio-list {
  display: block;
}



/* End Navigation */

/* Header,Footer,Main */

header {
  background-image: url("/img/kitchen1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

header h1 {
  color: white;
  text-align: center;
  font-family: welcome;
  text-shadow: 3px 3px 3px #111;
  font-size: 85px;
  padding: 30px 0;
}

.footer {
  clear: right;
  background-color: #FFD834;
  height: auto;
  text-align: center;
  padding: 20px 0;
}

.social img{
  width: 40px;
  padding-left: 10px;
}

main {
  background: #3a3a3a;
  overflow: auto;
}

main h1 {
  margin: 0;
  font-size: 80px;
  text-align: center;
  padding: 25px 0 0 0;
  color: white;
  text-shadow: 6px 6px 3px #111;
}

main h2 {
  margin: 0;
  font-size: 40px;
  text-align: center;
  padding: 0 0 20px 0;
  color: white;
  text-shadow: 6px 6px 3px #111;
}


/* Index Main Body */



.index .section1 {
  width: 1005px;
  height: 300px;
  margin: 0 auto;
  padding-top: 50px;
  position: relative;
}

.index .section1 p {
  position: absolute;
  top: 40px;
  left: 25px;
  text-align: right;
  line-height: 30px;
  font-size: 20px;
  width: 500px;
  color: white;
}

.index .section1 img {
  position: absolute;
  left: 550px;
  width: 400px;
}

.index .section2 {
  width: 1005px;
  height: 500px;
  margin: 0 auto;
  padding-top: 50px;
  position: relative;
}

.index .section2 p {
  position: absolute;
  right: 85px;
  top: 80px;
  text-align: left;
  line-height: 30px;
  font-size: 20px;
  width: 500px;
  color: white;
}

.index .section2 img {
  position: absolute;
  left: 85px;
  width: 300px;
}



/*Services page*/

h2.services{
  padding-top: 50px;
}

.row1{
  width: 900px;
  margin: 0px auto;
  padding-top: 50px;
  display: flex;
  justify-content: space-between;
}


.imgsrow1 img{
  width: 350px;
  display: block;
  margin-bottom: 50px;
  border-radius: 5px;
  box-shadow: 3px 3px 10px #111111
}


.servlist ul{
  width: 380px;
  background-color: #a8a8a8;
  padding: 50px;
  font-size: 24px;
  font-family: sans-serif;
  line-height: 55px;
  color: #f1f1f1;
  border-radius: 5px;
  box-shadow: 3px 3px 10px #111111

}

.row2{
width: 900px;
margin: 0 auto;
padding-bottom: 50px;
display: flex;

}

.row2 img{
  width: 350px;
  border-radius: 5px;
  box-shadow: 3px 3px 10px #111111

}

.serv_img2{
  margin-left: 70px;
}



/*End Services page*/

.par1 {
  width: 550px;
  text-align: center;
  padding-right: 15px;
}

.box2 {
  display: table;
  padding: 0px;
  color: white;
  vertical-align: middle;
  font-size: 20px;
  line-height: 30px;
  margin: 100px auto;
}

.img2 {
  height: 309px;
  display: block;
}

.par2 {
  text-align: left;
  width: 600px;
}

.par2 span {
  font-weight: bold;
  font-size: 30px;
}

/* Meet Our Team */

.meet-us h1, .meet-us h2 {
  color: white;
  text-align: center;
}

.mBox {

  width: 900px;
  color: white;
  vertical-align: top;
  font-size: 20px;
  line-height: 30px;
  margin: 0 auto;
  padding: 30px 0;

}

.mItem {
  display: inline-block;
  vertical-align: top;
  height: ;
  overflow: ;
}

.mItem li {
  padding-bottom: 15px;
}

.meetList {
  list-style-type: decimal;
  width: 650px;
  padding: 15px 0 0 40px;

}

.meetImg {
  width: 184px;

}


/* Contact Page */

.contact {
  background-color: #d4d4d4;
  border-style: ridge;
  display: table;
  color: white;
  width: 50%;
  margin: 0 auto 200px;
}




/* portfolio */


.center {
  width: 80%;
  display: table;
  margin: 0 auto;
  margin-bottom: 2em;
}

.gallery {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;

}

.gallery a img {
  /* padding: .5em; */
  margin: .5em;
  height: 150px;
  transition: .2s;
  box-shadow: 5px 10px 10px #000;
}


.gallery img:hover {
  transform: scale(1.1);
}

/* Log IN Page */
.login{
  margin-bottom: 500px;
}
