@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

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

body {
  background-color: rgba(59, 48, 48, 0.658);
  color: rgb(248, 248, 248);
  font-family: Poppins, sans-serif;
}

.showcase::after {
  content: "";
  height: 100vh;
  width: 100%;
  background-image: url(https://image.ibb.co/gzOBup/showcase.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  filter: blur(10px);
  -webkit-filter: blur(10px);
  transition: all 1000ms;
}
.showcase:hover::after {
  filter: blur(0px);
  -webkit-filter: blur(0px);
}

.showcase:hover .content {
  filter: blur(1px);
  -webkit-filter: blur(1px);
}

.content {
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 50%;
  margin-top: 105px;
  margin-left: -145px;
  width: 300px;
  height: 350px;
  text-align: center;
  transition: all 1000ms;
}
.content .logo {
  height: 180px;
  width: 180px;
}
.content .title {
  font-size: 2.3rem;
  margin-top: 1rem;
  font-weight: bold;
}
.content .text {
  line-height: 1.7;
  margin-top: 1rem;
}
.container {
  max-width: 960px;
  margin: auto;
  overflow: hidden;
  padding: 4rem 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.center {
  text-align: center;
  margin: auto;
}
.bg-light {
  background: rgb(240, 234, 235);
  color: rgb(27, 26, 26);
}

.bg-dark {
  background: rgb(27, 26, 26);
  color: rgb(248, 248, 248);
}
footer {
  padding: 2.2rem;
}

footer p {
  margin: 0;
}

@media(max-width:560px){
    .showcase::after{
        height: 50vh;
    }

    .content{
        top: 5%;
        margin-top: 5px;
    }

    .content .logo{
        height: 140px;
        width: 140px;
    }

    .content .text{
        display: none;
    }

    .grid-2,.grid-3{
        grid-template-columns: 1fr;
    }

    .services div{
        border-bottom: rgb(105, 87, 87) dashed 1px;
        padding: 1.2rem 1rem;
    }
}

/* Landscape */

@media(max-height:500px){
    .content .title,
    .content .text{
        display: none;
    }
    .content{
        top: 0;
    }
}