@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*{
  margin:0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

section{
  position: relative;
  width: 100%;
  min-width: 100vh;
  padding: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo{
  position: relative;
  max-width: 80px;
}
header ul{
  position: relative;
  display: flex;
}
header ul li{
  list-style: none;
}
header ul li a{
  display: inline-block;
  color: #333;
  font-weight: 400;
  margin-left: 40px;
  text-decoration: none;
}
.content{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.content .textBox{
  position: relative;
  max-width: 600px;
}
.content .textBox h2{
  color: #333;
  font-size: 4em;
  line-height: 1.4em;
  font-weight: 500;
}
.content .textBox h2 span{
  color: #4663ac;
  font-size: 1.2em;
  font-weight: 900;
  text-shadow: 4px 4px 13px #888888;
}
.content .textBox p{
  color: #333;
}
.content .textBox a{
  display: inline-block;
  margin-top: 20px;
  padding: 8px 20px;
  background: #4663ac;
  color: #fff;
  border-radius: 40px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 1px 1px 3px #888888;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}
.content .textBox a:hover{
  box-shadow: 4px 4px 13px #888888;
  background: #516cb0;
}
.content .imgBox{
  width: 600px;
  display: flex;
  justify-content: flex-end;
  padding-right: 50px;
  margin-top: 50px;
}
@keyframes kaaba_effect {
  from {
    -webkit-filter: drop-shadow(7px 7px 7px #222);
    filter: drop-shadow(7px 7px 7px #222);

  }
  to {
    -webkit-filter: drop-shadow(20px 20px 20px #222);
    filter: drop-shadow(20px 20px 20px #222);
    transform: scale(1.1);
    opacity: 100%;
  }
}
.content .imgBox .kaaba{
  -webkit-filter: drop-shadow(10px 10px 10px #222);
  filter: drop-shadow(10px 10px 10px #222);
  animation-duration: 2s;

  animation-timing-function: ease-in-out;
  animation-name: kaaba_effect;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
.content .imgBox .kaaba:hover{
  cursor: pointer;
}
footer{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .links{
    left: 0;
}
footer .links ul{
  position: relative;
  display: flex;
}
footer .links ul li{
  list-style: none;
}
footer .links ul li a{
  display: inline-block;
  color: #333;
  font-weight: 300;
  margin-left: 20px;
  text-decoration: none;
}
footer .copyrights{
  justify-content: flex-end;
}
footer .copyrights span{
  color: #f96332;
  cursor: pointer;
}
@media (max-width: 1600px){
  .content .imgBox img{
    max-width: 600px;
  }
}
@media (max-width: 1400px){
  .content .imgBox img{
    max-width: 500px;
  }
}
@media (max-width: 720px){
  section{
    position: relative;
    min-width: 50vh;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
  }
  header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  header .logo{
    position: relative;
    max-width: 80px;
  }
  header ul{
    position: relative;
    display: flex;
  }
  header ul li{
    list-style: none;
  }
  header ul li a{
    display: inline-block;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    margin-left: 30px;
    text-decoration: none;
  }
  .content{
    position: relative;
    width: 100%;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .content .textBox{
    position: relative;
    max-width: 600px;
  }
  .content .textBox h2{
    color: #333;
    font-size: 2.8em;
    line-height: 1.4em;
    font-weight: 500;
  }
  .content .textBox h2 span{
    color: #4663ac;
    font-size: 1.2em;
    font-weight: 900;
    text-shadow: 4px 4px 13px #888888;
  }
  .content .textBox p{
    color: #333;
  }
  .content .textBox a{
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: #4663ac;
    color: #fff;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 1px 1px 3px #888888;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
  }
  .content .textBox a:hover{
    box-shadow: 4px 4px 13px #888888;
    background: #516cb0;
  }
  .content .imgBox{
    width: 450px;
    display: flex;
    justify-content: flex-start;
    padding-right: 50px;
    margin-top: 50px;
  }
    .content .imgBox img{
      max-width: 450px;
    }
  @keyframes kaaba_effect {
    from {
      -webkit-filter: drop-shadow(7px 7px 7px #222);
      filter: drop-shadow(7px 7px 7px #222);

    }
    to {
      -webkit-filter: drop-shadow(20px 20px 20px #222);
      filter: drop-shadow(20px 20px 20px #222);
      transform: scale(1.1);
      opacity: 100%;
    }
  }
  .content .imgBox .kaaba{
    -webkit-filter: drop-shadow(10px 10px 10px #222);
    filter: drop-shadow(10px 10px 10px #222);
    animation-duration: 2s;

    animation-timing-function: ease-in-out;
    animation-name: kaaba_effect;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }
  .content .imgBox .kaaba:hover{
    cursor: pointer;
  }
  footer{
    position: absolute;
    width: 50vh;
    display: flex;
    font-size: 12px;
    margin-bottom: -100px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  footer .links{
      left: 0;
  }
  footer .links ul{
    position: relative;
    display: flex;
  }
  footer .links ul li{
    list-style: none;
  }
  footer .links ul li a{
    display: inline-block;
    color: #333;
    font-weight: 300;
    margin-left: 20px;
    text-decoration: none;
  }
  footer .copyrights{
    justify-content: flex-end;
  }
  footer .copyrights span{
    color: #f96332;
    cursor: pointer;
  }
}
