* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 100px 0px;
}

/* الصورة */
img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 16px 0px;
  border: solid 2px #435060;
}

/* الكونتينر */
.container {
  background-color: #e7ebee;
  padding: 20px;
  border: solid 4px #435060;
  border-radius: 85px;
  width: 450px;

  /* animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

/* الهيدر */
.head {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-height: 320px;
}

h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

p {
  font-size: 23px;
  font-weight: bold;
  text-align: center;
  margin: 12px;
}

.description {
  color: #435060;
}
.phone {
  margin-bottom: 30px;
}

/* اللينكات */
.links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a {
  height: 55px;
  text-decoration: none;
  color: black;
  font-size: 20px;
  width: 90%;
  padding: 15px 30px;
  border: white solid 2px;
  border-radius: 50px;
  margin-bottom: 16px;
  background-color: #d6e1ea;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

a:hover {
  border: solid 1px #435060;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* الأيقونات */
i {
  color: #435060;
  margin-left: 40px;
  width: 35px;
  display: flex;
  align-items: center;
}

/* ================= ANIMATION ================= */

.head img,
.head h1,
.head p,
.links a {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

/* delays */
.head img {
  animation-delay: 0.1s;
}
.head h1 {
  animation-delay: 0.2s;
}
.head p.description {
  animation-delay: 0.3s;
}
.head p.phone {
  animation-delay: 0.4s;
}

.links a:nth-child(1) {
  animation-delay: 0.5s;
}
.links a:nth-child(2) {
  animation-delay: 0.6s;
}
.links a:nth-child(3) {
  animation-delay: 0.7s;
}
.links a:nth-child(4) {
  animation-delay: 0.8s;
}
.links a:nth-child(5) {
  animation-delay: 0.9s;
}
.links a:nth-child(6) {
  animation-delay: 1s;
}
.links a:nth-child(7) {
  animation-delay: 1.1s;
}
.links a:nth-child(8) {
  animation-delay: 1.2s;
}
.links a:nth-child(9) {
  animation-delay: 1.3s;
}
.links a:nth-child(10) {
  animation-delay: 1.4s;
}
.links a:nth-child(11) {
  animation-delay: 1.5s;
}

/* keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 576px) {
  /* الصورة */
  img {
    width: 100px;
    height: 100px;
    margin: 16px 0px;
  }

  /* الكونتينر */
  .container {
    padding: 10px;
    border-radius: 55px;
    width: 90%;
  }

  /* الهيدر */
  .head {
    width: 100%;
    max-height: 350px;
  }

  h1 {
    font-size: 30px;
    margin-bottom: 7px;
  }

  p {
    font-size: 18px;
    margin: 8px;
  }
  .phone {
    margin-bottom: 20px;
  }
  /* اللينكات */
  a {
    height: 60px;
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* الأيقونات */
  i {
    color: #435060;
    margin-left: 25px;
    width: 25px;
  }
}
@media screen and (min-width: 576px) and (max-width: 992px) {
  body {
    height: 1200px;
  }

  /* الصورة */
  img {
    width: 100px;
    height: 100px;
  }

  /* الكونتينر */
  .container {
    padding: 20px;
    border-radius: 65px;
    width: 50%;
  }

  /* الهيدر */
  .head {
    width: 100%;
    max-height: 350px;
  }

  h1 {
    font-size: 30px;
  }

  p {
    font-size: 20px;
  }

  a {
    height: 60px;
    font-size: 22px;
  }

  /* الأيقونات */
  i {
    margin-left: 30px;
    width: 30px;
  }
}
