* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #000;
  color: #999;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: #fff;
}

a {
  color: #fff;
  text-decoration: none;
}

p {
  margin: 0.5rem 0;
}

.head {
  width: 100%;
  justify-items: center;
  text-align: center;
  align-items: center;
}

.head img {
}

.navbar {
  background-color: #333;
  justify-items: center;
  text-align: center;
  align-items: center;
}

.navbar a {
  display: inline-block;
  color: #f2f2f2;
  text-decoration: none;
  padding: 1rem;
  position: relative;
  z-index: 1000;
}

.navbar a:hover {
  color: black;
  opacity: 0.5;
}

.showcase {
  width: 100%;
  height: 75vh;
  position: relative;
  background: url("/images/datacenter.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}

.showcase::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.showcase-content {
  padding-top: 17rem;
  z-index: 2;
  position: relative;
  text-align: center;
}

.showcase-content h1 {
  color: #fff;
  text-shadow: 5px 5px #000;
  font-size: 4rem;
}

.container {
  max-width: 70%;
  margin: auto;
  overflow: hidden;
  padding: 0 2rem;
}

.container i {
  display: inline-block;
  color: #f2f2f2;
  text-decoration: none;
  /*padding: 1rem;*/
}

.container i:hover {
  opacity: 0.5;
  color: #000;
}

.tabs {
  background-color: #333;
  padding-top: 1rem;
  border-bottom: 3px solid #f2f2f2;
  color: #fff;
}

.tabs .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tab-border {
  border-bottom: red 4px solid;
}

/* hide content at first */
#tab-1-content,
#tab-2-content,
#tab-3-content {
  display: none;
}

.show {
  display: block !important;
}

.grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
  width: 80%;
  height: 60vh;
  margin: auto;
}

.content1-1{
  margin: auto;
}

.content1-1 a:hover{
  opacity: 0.5;
}

.content1-2{
  margin: auto;
}

.content1-2 img{
  display: block;
  max-height: 228px;
  max-width: 312px;
}

.content2-1{
  margin: auto;
}

.content2-2{
  margin: auto;
}

.content2-1 a:hover{
  opacity: 0.5;
}

.content2-2 img{
  display: block;
  max-width: 270px;
  max-height: 193px;
  border-radius: 5px;
}

.content3-1{
  margin: auto;
}

.content3-2{
  margin: auto;
}

.content3-2 img{
  max-width: 270px;
  max-height: 180px;
  border-radius: 5px;
}

.content3-1 a{
  padding-top: 2rem;
}

.content3-1 a:hover{
  opacity: 0.5;
}

.footer{
  background-color: #333;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-top: 3px solid #f2f2f2;
}

.footer a:hover{
  opacity: 0.5;
  color: #000;
}

.repair-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 80vh;
}

.table-wrapper{
  border-right: 3px solid #999;
}

.table{
  color: #f2f2f2;
  padding: 1rem 1rem 1rem 1rem;
  width: 100%;
  height: 100%;
}

th{
  background-color: #222;
  text-decoration: underline;
}

.table tbody tr:nth-child(even) {
  background: #222;
}

.table tbody tr td:first-child {
  text-align: left;
}

th, td{
  padding: 16px;
}

tbody a:hover{
  opacity: 0.5;
}

/* hide content at first */
#os-reload-content,
#laptop-disassembly-content,
#virus-cleanup-content,
#password-reset-content,
#clone-content,
#data-transfer-content,
#bench-fee-content,
#diagnostics-content {
  display: none;
}

/*--mobile--*/
@media (max-width: 415px){
  .showcase-content h1{
    font-size: 35px;
    margin: auto;
  }

  .showcase-content{
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    top: -180px;
  }

  .showcase{
    height: 50vh;
  }

  .navbar a{
    padding: 10px;
  }

  .grid{
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    height: 100vh;
  }

  .content1-1 h1{
    font-size: 20px;
  }

  .content1-1 p{
    font-size: 14px;
  }

  .content1-2 img{
    display: block;
    max-height: 191px;
    max-width: 275px;
  }

  .container{
    max-width: 100%;
  }

  .repair-grid{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 140vh;
  }

  .table-wrapper{
    border-bottom: 3px solid #999;
  }

  .footer{
    grid-template-columns: 1fr;
  }
  
}

/*--mobile Horizontal--*/
@media (max-height: 415px){
  .showcase-content h1{
    font-size: 35px;
    margin: auto;
  }

  .showcase-content{
    position: absolute;
    justify-content: center;
    align-items: center;
    text-align: center;
    top: -215px; 
    left: 50px;
  }

  .showcase{
    height: 50vh;
  }

  .navbar a{
    padding: 10px;
  }

  .grid{
    grid-template-rows: 1fr;
    grid-template-columns: 1fr;
    height: 130vh;
  }

  .content1-1 h1{
    font-size: 20px;
  }

  .content1-1 p{
    font-size: 14px;
  }

  .content1-2 img{
    display: block;
    max-height: 191px;
    max-width: 275px;
  }

  .container{
    max-width: 100%;
  }


  .repair-grid{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 270vh;
  }

  .table-wrapper{
    border-bottom: 3px solid #999;
  }
  
}