/* CSS Variable */
:root {
  --primary:#ffa45c;
  --dark:#5d5d5a;
  --light:#fff4e3;
  --shadow: 0 1px 5px rgba(105, 105, 105, 0.8);
}

*{
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

body {
	background: var(--primary);
	font-size: 0.9em;
	line-height: 1;
  font-weight: 300;
  width: 100%;
  height: 100vh;
}

.container {
  max-width: 1440px;
  margin: 0 auto; 
}

#showcase {
  /* define the CSS Grid */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-template-areas: 
  "box1 box5"
  "box2 box2"
  "box2 box2"
  "box4 box3"
  "box4 box3"
  "box6 box6";
  grid-gap: 8px;
  /* Other showcase property */
  padding: 8px;
  height: calc(100vh - 16px);
  opacity: 0.9;
}

.box1 {
  /* define the grid */
  grid-area: box1;
  /* define the background image */
  background: url(../img/image6.jpg);
  background-position: center;
  background-size: cover;
  background-color: blue;
}

.box2 {
  /* define the grid */
  grid-area: box2;
  /* define the background image */
  background: url(../img/image5.jpg);
  background-position: center;
  background-size: cover;
  background-color: red;
  /* define the flex box inside */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 10px;
}

.box2 .message {
  color: var(--light);
  text-shadow: var(--shadow);
}

.box2 .message h3 {
  padding-bottom: 8px;
}

.box2 img {
  padding-left: 10px;
  width: 64px;
}

.box2 .message h1 {
  margin-bottom: 30px;
}

.box2 .message h1 .text-excel {
	color: var(--primary);
}

.box2 .message h1 .text-ideas {
	color:var(--dark);
}

.box3 {
  /* define the grid */
  grid-area: box3;
  /* define the background image */
  background: url(../img/image1.jpg);
  background-position: center;
  background-size: cover;
  background-color: #fff;
}

.box4 {
  /* define the grid */
  grid-area: box4;
  /* define the background image */
  background: url(../img/image2.jpg);
  background-position: center;
  background-size: cover;
  background-color: yellow;
}

.box5 {
  /* define the grid */
  grid-area: box5;
  /* define the background image */
  background: url(../img/image4.jpg);
  background-position: center;
  background-size: cover;
  background-color: green;
}

.box6 {
  /* define the grid */
  grid-area: box6;
  /* define the background image */
  background: url(../img/image3.jpg);
  background-position: center;
  background-size: cover;
  background-color:purple;
}

@media(min-width: 700px) {
  body {
    font-size: 1.5em;
    line-height: 1.5;
  }
  
  #showcase {
    /* define the CSS Grid */
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas: 
    "box1 box2 box2 box3"
    "box4 box2 box2 box3"
    "box4 box5 box6 box6";
    grid-gap: 10px;
    /* Other showcase property */
    padding: 10px;
    height: calc(100vh - 20px);
  }
  .box2 {
    padding-right: 20px;
  }
  .box2 img {
    padding-left: 10px;
    width: 96px;
  }
  .box2 .message h3 {
    padding-bottom: 0px;
  }
}