/* follow me on github  */
/* https://github.com/arbiprog  */
/* the website designed by :@abdulldsgnr */

/*         generale classes           */

body {
  box-sizing: border-box;
  background: #f6f6f9;
  overflow-x: hidden;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 15pt;
  font-family: Roboto;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: normal;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
.btn {
  background: linear-gradient(to right, #9672fb, #d772fb);
  padding: 20px 30px;
  border-radius: 30px;
  border: none;
  text-transform: capitalize;
  color: white;
  font-size: 14px;
  margin-top: 25px;
  cursor: pointer;
  box-shadow: 0px 5px 10px -3px rgb(0 0 0 / 37%);
  transition: 0.2s;
}
.btn:active {
  transform: translateY(5px);
  box-shadow: none;
}

/*               header                */
header {
  height: 672px;
  width: 100%;
  max-width: 1420px;
  margin: auto;
}
header nav {
  height: 130px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
}
header nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: row;
}
header nav ul li {
  display: inline-block;
  margin-right: 23.5px;
  margin-left: 23.5px;
}
header nav ul li a {
  text-decoration: none;
  font-size: 13pt;
  color: #a19daf;
  text-transform: capitalize;
}
header nav ul li img {
  width: 50px;
  cursor: pointer;
  border-radius: 30px;
  transition: background 0.3s;
}
header nav ul li img:active {
  background: rgba(128, 128, 128, 0.255);
}
header div img {
  width: 172.8px;
}
.container-div-prt {
  width: 100%;
  height: 540px;
  /* border: dashed grey 1px; */
  display: flex;
  flex-direction: row-reverse;
}
.prt {
  height: 100%;
  /* border: 1px solid grey; */
  display: inline-flex;
}
.st {
  width: 60%;
}
.sd {
  width: 40%;
  position: relative;
}
.st img {
  width: 100%;
}
.sd span {
  font-size: 60px;
  color: #9672fb;
  letter-spacing: 2px;
}
.sd h1 {
  font-size: 70px;
  color: #2f2651;
  line-height: 75px;
  font-weight: 500;
}
.ris {
  width: 300px;
  height: 400px;
  /* border: 1px dashed grey; */
  position: absolute;
  top: 56%;
  left: 70%;
  transform: translate(-50%, -50%);
}
.icon2 {
  width: 20px;
  margin: -7px 3px -5px;
}

/*               section about                */
.about {
  height: max-content;
}
.fir {
  width: 60%;
  max-width: 821px;
  text-align: center;
  margin: auto;
  margin-top: 170px;
  margin-bottom: 100px;
  position: relative;
  height: 300px;
}
.fir h2 {
  text-transform: capitalize;
  margin: 30px 0;
  color: #2f2651;
  font-size: 30px;
}
.fir p {
  color: #7a7490;
}
.fir > img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
}
.icon1 {
  margin: -4px;
  margin-right: 10px;
}
.sec {
  max-width: 100%;
}
/*            section features             */
.features {
  height: max-content;
  padding-bottom: 20px;
}
.ftr {
  width: 800px;
  margin: 100px auto 40px;
}
.ftr h3 {
  color: #7a7490;
  font-weight: 500;
}
.ftr h2 {
  font-size: 60px;
  margin: 15px 0 15px;
  color: #9672fb;
}
.worker {
  max-height: 700px;
  max-width: 846px;
  margin: auto;
  border: 1px solid rgba(106, 105, 105, 0.303);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.worker img {
  max-width: 100%;
  max-height: 100%;
}

/*            section why             */
.why {
  height: 550px;
  width: 100%;
  /* padding: 20px; */
  /* border: 1px dashed grey; */
}
.container-div-why {
  max-width: 1060px;
  width: 90%;
  height: 100%;
  margin: auto;
  /* border: 1px dashed grey; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dr {
  width: 49%;
  height: 100%;
  margin: 0;
  /* background: rgba(128, 128, 128, 0.097); */
  position: relative;
}
.tw {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.tw h3 {
  color: #2f2651;
  margin: 25px 0 25px;
  font-size: 30px;
}
.tw p {
  color: #7a7490;
  font-weight: 300;
}
.dr figure img {
  width: 100%;
}

/*               section cover                */
.cover {
  height: 600px;
  background-image: url(https://raw.githubusercontent.com/arbiprog/casecraft/main/images/bg.png);
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}
.cover div {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cover div img {
  width: 40px;
  margin: 0 0 30px;
  cursor: pointer;
}
.cover div h4 {
  color: #f6f6f9;
  font-family: 500;
  font-size: 25px;
}

/*               CTA                */
.cta {
  padding-top: 100px;
  height: 1475px;
}
.cont-btn {
  width: 500px;
  margin: auto;
  text-align: center;
}
.cont-btn button {
  text-align: center;
  font-size: 5px;
  padding: 21px 51px;
  margin-right: 10px;
  margin-left: 10px;
}
.sp1 {
  font-size: 12px;
  text-transform: capitalize;
}
.sp2 {
  font-size: 20px;
  text-transform: capitalize;
  margin-left: 20px;
}
.i {
  margin: 1px 11px -21px -7px;
  width: 25px;
}
.cont-btn > span {
  display: block;
  font-size: 70px;
  margin-bottom: 30px;
  text-transform: capitalize;
  color: #2f2651;
  font-weight: 500;
}
.cont-post {
  margin-top: 200px;
  width: 100%;
  height: 944px;
  background-image: url(https://raw.githubusercontent.com/arbiprog/casecraft/main/images/post.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* .cont-post img{
    width: 100%;
} */

/*               footer                */
footer {
  /* border: 1px dashed grey; */
  height: 300px;
}
footer .ftr-container {
  height: 200px;
  width: 80%;
  margin: auto;
  /* border: 1px dashed grey; */
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}
footer .ftr-container > div {
  width: 30%;
  height: 100%;
  text-align: center;
}
footer > div h2 {
  color: #2f2651;
  font-weight: 500;
  margin-bottom: 30px;
  text-transform: capitalize;
}
footer > div h5 {
  text-transform: capitalize;
  color: #a19daf;
  font-weight: 300;
  margin: 5px 0 5px 0;
}
footer .logo {
  width: 150px;
  margin: 20px auto 0;
}
.fdb {
  text-align: start;
}
.logo + div {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 10px auto;
  width: 191px;
}
.fdb div img {
  cursor: pointer;
}

/*         menshow           */
/* section , body{
    border: 2px solid grey;
} */
#show {
  width: 98%;
  height: 390px;
  background-color: #f6f6f9;
  position: absolute;
  left: 10px;
  z-index: 1;
  top: -610px;
  border-radius: 0 0 90px 90px;
  box-shadow: 0px 6px 17px #6868683d;
  transition: top 0.7s;
}
.close {
  width: 20px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.7s;
  border-radius: 30px;
}
.close:hover {
  background: #e1e2eb;
}
.cont-mn {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cont-mn img {
  margin: 0 80px;
}
.links {
  width: 270px;
  height: 275px;
  margin: 10px auto;
  /* background: cornflowerblue; */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-flow: column;
}
.links div {
  width: 100%;
  height: 60px;
  position: relative;
  /* background: azure; */
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.links div a {
  font-size: 27px;
  text-transform: capitalize;
  color: #2f2651;
  text-decoration: none;
  transition: color 0.3s;
}
.links div a:hover {
  color: #9672fb;
}
.links div img {
  position: absolute;
  right: 0;
  width: 70px;
}
@media screen and (max-width: 865px) {
  .sd h1 {
    font-size: 46px;
    color: #2f2651;
    line-height: 55px;
    font-weight: 500;
  }
  .ftr {
    width: 100%;
  }
  .worker {
    border: none;
  }
  header nav ul li a {
    display: none;
  }
  .links div a {
    font-size: 20px;
  }
  footer .ftr-container {
    height: 390px;
    min-height: 390px;
    width: 99%;
    margin: auto;
    /* border: 3px dashed grey; */
    display: inline-block;
  }
  footer .ftr-container > div {
    width: 174px;
    height: 223px;
    text-align: center;
    float: left;
  }
  footer {
    height: 395px;
  }
}
@media screen and (max-width: 585px) {
  header nav ul li {
    display: inline-block;
    margin-right: 23.5px;
    margin-left: 13.5px !important;
  }
  header > nav > div {
    margin: 0 0 0 -20px;
  }
  header {
    height: 100vh;
    width: 100%;
    max-width: 1420px;
    margin: auto;
  }
  header nav {
    width: 296px;
    margin: auto;
    height: 100px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
  }
  header nav ul {
    display: grid;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 1px;
  }
  header nav ul li {
    display: inline-block;
    margin-right: 23.5px;
    margin-left: 23.5px;
  }
  header nav ul li a {
    text-decoration: none;
    font-size: 13pt;
    color: #a19daf;
    text-transform: capitalize;
  }
  header nav ul li img {
    width: 50px;
    cursor: pointer;
    border-radius: 30px;
    transition: background 0.3s;
  }
  header nav ul li img:active {
    background: rgba(128, 128, 128, 0.255);
  }
  .ftr {
    text-align: center;
  }
  .ftr h2 {
    font-size: 46px;
  }
  .fir {
    width: 90%;
    height: 240%;
  }
  .cmn {
    position: absolute;
    top: 40px;
    left: 40px;
  }
  header div img {
    width: 172.8px;
  }
  .container-div-prt {
    width: 100%;
    height: 490px;
    /* border: dashed grey 1px; */
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
  }
  .prt {
    /* height: 20%; */
    /* border: 1px solid grey; */
    display: flex;
    justify-content: center;
  }
  .st {
    width: 100%;
    height: 370px;
    overflow-x: hidden;
  }
  .sd {
    width: 100%;
    position: relative;
    height: 101px;
    display: flex;
    justify-content: center;
    flex-flow: row;
    align-items: center;
  }
  .st img {
    width: 100%;
    min-width: 320px;
  }
  .sd span {
    display: none;
  }
  .sd h1 {
    display: none;
  }
  .ris {
    margin: auto;
    width: 194px;
    height: 102px;
    display: initial;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .icon2 {
    width: 20px;
    margin: -7px 3px -5px;
  }
  .tw p {
    font-size: 13px;
  }
  .why {
    height: 640px;
  }
  .cont-btn > span {
    font-size: 40px;
  }
  .container-div-why {
    flex-direction: column-reverse;
  }
  .dr {
    width: 89%;
  }
  .dr figure img {
    min-width: 230px;
  }
  .cont-btn {
    width: 100%;
  }
  .cont-btn button {
    padding: 22px 39px;
  }
  footer {
    height: 895px;
  }
  .ftr-container {
    display: flex !important;
    flex-direction: column-reverse !important;
    justify-content: center;
    align-items: center;
    height: 900px !important;
  }
  .cont-mn {
    height: 100px;
  }
  .cmn {
    position: absolute;
    top: 22px;
    left: -20px;
  }
  .close {
    position: absolute;
    right: -15px;
  }
  .cont-mn img {
    margin: 0 40px;
  }
  #show {
    padding: 0 10px 0 15px;
    border-radius: 0 0 40px 40px;
  }
  .links div img {
    width: 44px;
  }
}