* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* الكونتينر */
.container {
  background-color: #f9fcff;
  padding: 20px;
  border: solid 4px #00a1b2;
  border-radius: 85px;
  width: 450px;

  /* animation */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}

h1 {
  font-size: 30px;
  margin-bottom: 10px;
  text-align: center;
  margin: 30px;
  color: #00a1b2;
}
/* اللينكات */
.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: #e7ecf0;
  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: #00a1b2;
  margin-left: 40px;
  width: 35px;
  display: flex;
  align-items: center;
}

/* ================= ANIMATION ================= */

h1,
.links a {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

/* delays */
.head h1 {
  animation-delay: 0.1s;
}

.links a:nth-child(1) {
  animation-delay: 0.2s;
}
.links a:nth-child(2) {
  animation-delay: 0.3s;
}
.links a:nth-child(3) {
  animation-delay: 0.4s;
}
.links a:nth-child(4) {
  animation-delay: 0.5s;
}
.links a:nth-child(5) {
  animation-delay: 0.6s;
}
.links a:nth-child(6) {
  animation-delay: 0.7s;
}

/* keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 576px) {
  /* الكونتينر */
  .container {
    padding: 10px;
    border-radius: 55px;
    width: 90%;
  }

  h1 {
    font-size: 30px;
  }
  /* اللينكات */
  a {
    height: 60px;
    font-size: 18px;
    width: 90%;
    margin-bottom: 12px;
  }

  /* الأيقونات */
  i {
    margin-left: 25px;
    width: 25px;
  }
}
@media screen and (min-width: 576px) and (max-width: 992px) {
  /* الصورة */
  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;
  }
}
