/* CONTENT 1 */

body {
  background-color: #F5E3E7;
  font-family: 'Asap', sans-serif;
  color: #241f20;
  display: grid;
}

.content-1 {
  grid-row: 1/2;
}

.content-2 {
  grid-row: 3/4;
}

.content-3 {
  grid-row: 2/3;
}

header {
  display: grid;
  grid-template-columns: 5% 95%;
  padding-top: 5px;
  padding-bottom: 10px;
  border-bottom: 2px solid #241f20;
}

.cloud {
  font-size: 1.2em;
}

.logo {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Fglossier-logo.png?v=1568703505606');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 25%;
  justify-self: center;
  align-self: center;
  padding: 2px;
  margin-right: 1em;
}

.logo2 {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Ffake-website.png?v=1568723297927');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 25%;
  justify-self: center;
  align-self: center;
  padding: 2px;
  margin-right: 1em;
}

h1 {
  text-align: center;
  padding: 20px 10px;
  font-size: 1.5em;
}

span:hover {
  color: #e1002d;
  border-bottom: 2px solid #241f20;
  /*text-shadow: 0.5px 0.5px #615957;*/
}

.banner {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Fcharisse-kenion-uXxV718_osk-unsplash.jpg?v=1568706533504');
  background-size: cover;
  background-position: center;
  height: 10em;
  width: 80%;
  margin: 0 auto;
  box-shadow: 1px 1px 1px #615957;
}

p {
  padding: 25px;
  text-align: center;
  line-height: 1.4;
}

.buttons {
  padding-left: 2em;
  margin: 1em 0;
}

button {
  text-align: center;
  border: 1px solid #241f20;
  background-color: transparent;
  padding: 10px 15px;
  margin-bottom: 2em;
}

button:hover {
  background-color: #F5CCD1;
}

a {
  text-decoration: none;
  color: #241f20;
}

a:hover {
  border-bottom: 2px solid #241f20;
}

.mini-bar {
  border: 1px solid #241f20;
  text-align: center;
  width: 10%;
}

/* CONTENT 2 */

h2 {
  text-align: center;
  font-size: 1.3em;
}

.content-2bis {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pic1 {
  grid-column: 1/2;
  grid-row: 1/2;
  width: 90%;
  justify-self: center;
}

.vertical-gauche {
  grid-column: 2/3;
  grid-row: 1/4;
  border-right: 2px solid #241f20;
  justify-self: end;
  width: 1px;
  height: 100%;
  margin-right: 0.8em;
}

.pic2 {
  grid-column: 2/3;
  grid-row: 1/3;
  width: 80%;
  border-right: 2px solid #241f20;
  padding-right: 1em;
}

.vertical {
  grid-column: 1/2;
  grid-row: 2/6;
  border-left: 2px solid #241f20;
  justify-align: start;
  width: 1px;
  height: 100%;
}

h3 {
  text-align: center;
  align-items: start;
  align-self: end;
  font-size: 4em;
  margin: 0;
}

.text01 {
  grid-column: 1/3;
  grid-row: 3/4;
  width: 70%;
  text-align: start;
  padding: 0 25px;
  margin: 1.5em 4em 3em 1em;
  text-indent: 30px;
}

.number01 {
  grid-column: 1/2;
  grid-row: 2/3;
}

.number02 {
  grid-column: 1/2;
  grid-row: 4/5;
  text-align: end;
}

.number03 {
  grid-column: 1/2;
  grid-row: 7/8;
}

.pic3 {
  grid-column: 2/3;
  grid-row: 3/5;
  width: 60%;
  align-self: end;
  justify-self: end;
  margin-right: 2.5em;
  z-index: -1;
}

.text02 {
  grid-column: 1/3;
  grid-row: 5/6;
  text-align: start;
  padding: 0 25px;
  margin: 1em 1.5em;
  text-indent: 30px;
}

.logo-g {
  grid-column: 2/3;
  grid-row: 6/8;
  width: 60%;
  align-self: end;
  margin-bottom: 2em;
  justify-self: center;
}

.pic4 {
  grid-column: 1/3;
  grid-row: 6/7;
  width: 80%;
  margin: 1em auto;
  padding-right: 15px;
  border-right: 2px solid #241f20;
  z-index: -1;
}

.text03 {
  grid-column: 1/3;
  grid-row: 8/9;
  text-align: start;
  padding: 0 30px;
  margin: 1em 1.5em;
  text-indent: 30px;
}

.gauche-bis {
  grid-column: 2/3;
  grid-row: 6/9;
  margin-top: 1em;
}

.pic5 {
  grid-column: 1/3;
  grid-row: 9/10;
  width: 70%;
  justify-self: center;
  box-shadow: 1px 1px 2px #241f20;
  margin: 4em 0 3em 0;
}

.bar-bis {
  grid-column: 1/3;
  grid-row: 9/10;
  border-bottom: 2px solid #241f20;
  width: 10%;
  justify-self: center;
  align-self: start;
  margin-top: 2.5em;
}

.social-icon {
  text-align: center;
}

h4 {
  margin: 0;
}

.social-icon ion-icon {
  justify-self: center;
  font-size: 1.5em;
  margin: auto;
  padding: 15px 8px;
}

.social-icon a:hover {
  border-bottom: none;
}

  /* CONTENT 3 */
  
.grid-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1.5em auto;
  grid-gap: 10px;
}
  
.grid-img1 {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2FDefault-3.jpg?v=1568733574839');
  background-size: cover;
  background-position: center;
  height: 18em;
  width: 85%;
  padding: 15px;
  justify-self: end;
  box-shadow: 1px 1px 1px #615957;
}
  
.grid-img2 {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Fc6e8d1a3-ccf0-4101-b193-ae25a611d450_slide-3.jpg?v=1568711454330');
  background-size: cover;
  background-position: center;
  height: 18em;
  width: 85%;
  padding: 15px;
  box-shadow: 1px 1px 1px #615957;
}
  
.title2 {
  margin: 1.5em 4em;
  padding-top: 10px;
}
  
.glossier-dog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 2em auto;
  grid-gap: 10px;
}
  
.grid-img3 {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Fglossier-dog.jpeg?v=1568735517763');
  background-size: cover;
  background-position: center;
  height: 20em;
  width: 80%;
  padding: 15px;
  border: 5px solid  #241f20;
  justify-self: end;
}
  
.dogofglossier {
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: center;
  line-height: 1.4;
  text-align: end;
  margin-right: 2em;
}
  
.dog-btn {
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: end;
  margin: 0 2em;
  margin-bottom: 3.5em;
}

.banner2 {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Fglossier-1240x700.jpg?v=1568746613013');
  background-size: cover;
  background-position: center;
  width: 90%;
  height: 15em;
  margin: 2em auto;
  box-shadow: 1px 1px 1px #615957;
}

.banner2bis {
  background-image: url('https://cdn.glitch.com/88356181-15ce-4c94-b314-0b7d1057db6d%2Fts_glossier3.jpg?v=1568793905109');
  background-size: cover;
  background-position: center;
  width: 90%;
  height: 15em;
  margin: 2em auto;
  box-shadow: 1px 1px 1px #615957;
}


/* IPAD */

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
  
  header {
    padding-top: 10px;
    padding-bottom: 15px;
    margin: 0.5em 2.5em;
  }
  
  .banner {
    height: 17em;
    width: 70%;
    margin: 0 auto;
  }
  
  p {
    padding: 25px 0;
    text-align: start;
    margin: 0 auto;
    width: 65%;
    text-indent: 30px;
  }
  
  .buttons {
    margin-left: 8.5em;
    margin-bottom: 3em;
  }
  
  button {
    margin: 0 0.5em;
  }
  
  .mini-bar {
    margin-bottom: 2em;
  }
  
  /* CONTENT 2 */
  
  .vertical {
    margin-left: 1em;
  }
  
  .text01 {
    width: 50%;
    margin: 1.5em 6em 3em 1em;
    text-indent: 0px;
  }
  
  .vertical-gauche {
    margin-right: 1.2em;
    grid-row: 1/5;
  }
  
  .pic2 {
    padding-right: 2em;
  }
  
  .pic3 {
    margin-top: 3em;
  }
  
  .logo-g {
    grid-row: 6/9;
    width: 65%;
    margin-left: 2.5em;
  }
  
  /* CONTENT 3 */
  
  .grid-img1, .grid-img2 {
    height: 30em;
    width: 85%;
    margin-top: 1em;
  }
  
  .grid-img3 {
    height: 25em;
    width: 80%;
    padding: 15px;
    border: 5px solid  #241f20;
    justify-self: end;
  }
  
  .dog-btn {
    margin: 0 3em 3.5em 10em;
  }
  
  .content-3 p {
    text-align: center;  
  }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
  
  header {
    padding-top: 10px;
    padding-bottom: 20px;
    margin: 0.5em 4.5em;
  }
  
  .banner {
    height: 17em;
    width: 80%;
    margin: 0 auto;
  }
  
  p {
    padding: 25px 0;
    text-align: start;
    margin: 0 auto;
    width: 65%;
    text-indent: 30px;
  }
  
  .buttons {
    margin-left: 17em;
    margin-bottom: 3em;
  }
  
  button {
    margin: 0 0.5em;
  }
  
  .mini-bar {
    margin-bottom: 2em;
  }
  
  /* CONTENT 2 */
  
  .vertical {
    margin-left: 1em;
  }
  
  .text01 {
    width: 50%;
    margin: 1.5em 6em 3em 1em;
    text-indent: 0px;
  }
  
  h3 {
    text-align: center;
    align-items: start;
    align-self: end;
    font-size: 5em;
    margin: 0;
}
  
  .vertical-gauche {
    margin-right: 1.2em;
    grid-row: 1/5;
  }
  
  .pic2 {
    padding-right: 2em;
  }
  
  .pic3 {
    margin-top: 3em;
  }
  
  .logo-g {
    grid-row: 6/9;
    width: 65%;
    margin-left: 2.5em;
  }
  
  /* CONTENT 3 */
  
  .grid-img1, .grid-img2 {
    height: 30em;
    width: 85%;
    margin-top: 1em;
  }
  
  .grid-img3 {
    height: 37em;
  }
  
  .dog-btn {
    margin: 0 2em 10.5em 13em;
  }
  
  .banner2, .banner2bis {
    height: 23em;
    margin: 2em auto;
    box-shadow: 1px 1px 1px #615957;
  }
  
  .content-3 p {
    text-align: center;  
  }
}

/* DESKTOP */

@media only screen and (min-width : 1224px) {
  
  body {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
  /* CONTENT 1 */
  .content-1 {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  
  header {
    padding-top: 50px;
    padding-bottom: 20px;
    margin: 0.5em 2.5em;
  }
  
  .cloud {
    font-size: 1.7em;
  }
  
  h1 {
    padding: 30px 10px;
    font-size: 1.8em;
  }
  
  .banner {
    height: 18em;
    width: 75%;
  }
  
  p {
    margin: 1.5em auto;
    width: 70%;
    text-indent: 0;
  }
  
  .buttons {
    margin-left: 7.5em;
    margin-bottom: 3em;
  }
  
  button {
    margin: 0 0.5em;
  }
  
  /* CONTENT 2 */
  
  .content-2 {
    grid-column: 2/3;
    grid-row: 1/3;
  }
  
  h2 {
    margin-top: 15px;
  }
  
  .droite-bis {
    grid-column: 1/2;
    grid-row: 7/10;
    border-left: 2px solid #241f20;
    justify-align: start;
    width: 1px;
    height: 100%;
  }
  
  .pic3 {
    margin-top: 3em;
  }
  
  .pic4 {
    padding-right: 35px;
  }
  
  .bar-bis {
    margin-top: 1.7em;
}
  
  /* CONTENT 3 */
  
  .content-2 {
    grid-column: 2/3;
    grid-row: 1/3;
  }

  .content-3 {
    grid-column: 1/2;
    grid-row: 1/3;
    margin-top: 53em;
  }
  
  .grid-img1, .grid-img2 {
    height: 22em;
    width: 85%;
    margin-top: 1em;
  }
  
  .dog-btn {
    grid-column: 2/3;
    grid-row: 1/2;
    align-self: end;
    margin: 0 2em 5.5em 5em;
  }

  
}