/*
* liveview.css
* 
* Live View Page - Alleb media ©️ 2019
* https://twitter.com/allebd
*
* Designed by @allebd.
*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto:100,300,400,500,700&display=swap');

/*border box allows us to add padding and border to our elements without increasing their size */
*, *::before, *::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Globals */
html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  font: 13px/1.5 'Roboto', 'Open Sans', Helvetica, sans-serif;
}

.live-view {
  background: url(../images/pattern.png) rgba(0, 0, 0, 0.87);
  background-blend-mode: overlay;
  min-height: calc(100vh - 95px);
  display: grid;
  color: #ffffff;
  gap: 25px;
  padding: 25px 25px 0px 25px;
  grid-template-rows: auto;
  grid-template-areas: "channel-about channel-services"
                       "channel-portfolio channel-contact";
  text-align: center;
}

.live-view h2 {
  font-size: 35px;
  font-weight: 300;
  margin: 2.5em auto;
}

.channel {
  border: 1.5px solid #A88330;
  display: grid;
  align-content: center;
  padding: 10px;
}

.channel-view, .popup-footer {
  display: grid;
  justify-items: center;
}

.channel-view a, .popup-footer a, .portfolio-box h6 a {
  text-decoration: none;
  color: #ffffff;
}

.channel-box {
  border: 1.5px solid #A88330;
}

.channel-box p {
  margin: 3px 30px;
  animation: channel 1s infinite;
}

.portfolio-box h6 {
  animation: channel 1s infinite;
  cursor: pointer;
}

@keyframes channel {
  to {transform: scale(1.09);}
}

.live-logo {
  width: 100%;
  color: #ffffff;
  text-align: center;
  position: absolute;
  justify-content: center;
  top: 20%;
  opacity: 0.13;
}

.live-logo .company-name {
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  margin: 0;
}

.live-logo .company-title {
  font-weight: 300;
  margin: 0;
}

.live-view-social {
  grid-area: landing-social;
  padding-top: 20px;
}

.view-social img {
  padding: 7px;
  width: 50px;
  height: 50px;
}

#about-popup, #services-popup, #portfolio-popup, #contact-popup {
  display: none;
}

.popup-modal { 
  position: absolute;
  top: 0;
  min-width: 100vw;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.popup-box {
  width: 50%;
  margin: auto;
  margin-top: 5%;
  padding: 15px;
  color: #ffffff;
  text-align: center;
  border: 1.5px solid #A88330;
  background: url(../images/pattern.png) rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
}

.popup-inner { 
  padding: 15px 25px;
  border: 1.5px solid #A88330;
}

.popup-inner h2 {
  font-size: 25px;
  font-weight: 300;
}

.popup-inner h5 {
  font-size: 15px;
  margin-bottom: 0;
  font-weight: 300;
}

.popup-inner p {
  text-align: justify;
}

.popup-inner p.mission {
  text-align: center;
}

.popup-footer {
  margin-top: 50px;
}

.services-boxes, .portfolio-boxes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.services-box, .portfolio-box {
  border: 1.5px solid #A88330;
  font-size: 15px;
  margin-bottom: 0;
  padding: 5px;
  font-weight: 300;
}

.services-box h6, .portfolio-box h6 {
  font-size: 15px;
  font-weight: 300;
}

footer {
  color: #ffffff;
  bottom: 0;
  text-align: center;
  padding: 10px;
  background: url(../images/pattern.png) rgba(0, 0, 0, 0.87);
  background-blend-mode: overlay;
}

@media(min-width: 2560px){
  body {
    font-size: 53px;
  }

  .popup-modal {
    min-height: 102vh;
  }

  .live-view h2 {
    font-size: 155px;
  }

  .popup-inner h2 {
    font-size: 130px;
  }

  .services-box h6, .portfolio-box h6 {
    font-size: 80px;
  }

  .services-box, .portfolio-box, .popup-inner h5 {
    font-size: 72px;
  }

  .popup-box {
    width: 90%;
  }
}

@media(max-width: 1024px) and (min-width: 750px){
  .popup-modal {
    min-height: 115vh;
  }

  body {
    font-size: 18px;
  }

  .live-view h2 {
    font-size: 55px;
  }

  .popup-inner h2 {
    font-size: 35px;
  }

  .services-box h6, .portfolio-box h6 {
    font-size: 20px;
  }

  .services-box, .portfolio-box, .popup-inner h5 {
    font-size: 25px;
  }

  .popup-box {
    width: 90%;
  }
}

@media(max-width: 750px){
  .live-view {
    grid-template-areas: "channel-about"
                         "channel-services"
                         "channel-portfolio"
                         "channel-contact";
  }

  .popup-modal {
    min-height: 205vh;
  }

  .popup-box {
    width: 85%;
  }

  .services-boxes, .portfolio-boxes {
    grid-template-columns: 1fr;
  }
}
