:root {

  --primary: #ddd;
  --dark:#333;
  --light:#fff;
  --shadow:0 1px 5px rgba(104, 104, 104, 0.8);

}

html, body{
  overflow-x:hidden;
  
}
 body{
 position: relative;

}

body{
  font-family:"Arial", Serif;
  background-color:#f4f4f4;
  
}

img{
  max-width: 100%;
  
}

.wrapper{

  display:grid;
  grid-gap:20px;

}

.btn{

  background: var(--dark);
  color: var(--light);
  padding: 0.6rem 1.3rem;
  text-decoration: none;
  border:0;
}

.navbar{
  background-color:#3b5998;
  overflow:hidden;
  height:63px;
}

.navbar a{
  float:left;
  display:block;
  color:#f2f2f2;
  text-align:center;
  padding:14px 16px;
  text-decoration:none;
  font-size:17px;
}

.navbar ul{
  margin:8px 0 0 0;
  list-style:none;
}

.navbar a:hover{
  background-color:#ddd;
  color:#000;
}

.side-nav{
  height:100%;
  width:0;
  position:fixed;
  z-index:1;
  top:0;
  left:0;
  background-color:#111;
  opacity:0.9;
  overflow-x:hidden;
  padding-top:60px;
  transition:0.5s;
}

.side-nav a{
  padding:10px 10px 10px 30px;
  text-decoration:none;
  font-size:22px;
  color:#ccc;
  display:block;
  transition:0.3s;
}

.side-nav a:hover{
  color:#fff;
}

.side-nav .btn-close{
  position:absolute;
  top:0;
  right:22px;
  font-size:36px;
  margin-left:50px;
}

/* Top Container */

.top-container{
  margin-top: 20px;
  display:grid;
  grid-gap: 20px;
  grid-template-areas:

  'showcase showcase top-box-a'
  'showcase showcase top-box-b';

}

.top-container i{
  margin: 5px;
}

/*section1header */

.showcase{

  grid-area: showcase;
  min-height: 400px;
  background: url("images/main-image-home.png");
  background-size: cover;
  background-position: center;
  padding: 3rem;
  display:flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  box-shadow: var(--shadow);

}

.showcase h1{

  font-size: 4rem;
  margin-bottom: 0;
  color: var(--light);

}

.showcase p {

  font-size: 1.3rem;
  margin-top: 0;
  color: var(--light);
}

.top-box{

  background: var(--primary);
  display: grid;
  align-items: center;
  justify-items: center;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.top-box .price{

  font-size: 2.5rem;
}

.top-box-a{

  grid-area: top-box-a;
}

.top-box-b{

  grid-area: top-box-b;
}

/*Section 2*/

.boxes{

  display:grid;
  grid-gap:20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

}


.box{

  background: var(--primary);
  text-align: center;
  padding: 2.5rem, 2rem;
  box-shadow: var(--shadow);

}

.box i{

  padding-top:10px;
}

/*Info*/

.section3 {

  background: var(--primary);
  box-shadow: var(--shadow);
  display:grid;
  grid-gap: 30px;
  grid-template-columns: repeat(2, 1fr);
  padding:3rem;

}

/*Portfolio*/

.portfolio{

  display:grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.portfolio img{

  width:100%;
  box-shadow: var(--dark);
  margin-bottom: 30px;

}

#main-footer{

  background:#3b5998;
  color:white;
  padding:2px;
  text-align: center;
  margin-top: 0;

}

/*Media Queries*/

@media(max-width: 700px) {

.top-container {

  grid-template-areas: 
  'showcase showcase'
  'top-box-a top-box-b';

}

.showcase h1{

  font-size: 2.5rem;

}

.section3 {

  grid-template-columns: 1fr;
  
}

.section .btn{

  display:block;
  text-align: center;
  margin:auto;
}

}

@media (max-width: 600px) {

  .top-container {

  grid-template-areas: 
  'showcase'
  'top-box-a'
  'top-box-b';

}
}

@media(max-width:568px){
  .navbar-nav{display:none}
}

@media(min-width:568px){
  /*.open-slide{display:none}*/
}


