@import url("https://fonts.googleapis.com/css2?family=family=Prompt:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&display=swap");

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: #0b4ab0;
  transition: color 0.3s ease;
}

a:hover {
  color: #2193b0 !important;
}

h5 {
  font-size: 20px;
  font-weight: 400;
}

.portfolio h5 {
  color: #fff;
}

li {
  list-style: none;
}

nav {
  background-color: #fff;
  position: sticky;
  top: 0;
  padding: 0 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  box-shadow: 0 5px 80px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

nav .logo,
footer .logo {
  display: flex;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #26a7df;
  font-family: Orbitron;
}

nav .logo a,
footer .logo a {
  margin-left: 8px;
  font-weight: bold;
  font-size: 20px;
}

nav .logo img,
footer .logo img {
  width: 40px;
  height: 40px;
}

nav ul,
footer .top ul {
  display: flex;
  gap: 40px;
}

nav .button {
  color: #1c1e53;
  background-color: transparent;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid #1c1e53;
  cursor: pointer;
  transition: all 0.3s ease;
}

nav .button:hover {
  background-color: #1240b4;
  border-color: #094ca3;
  color: #fff !important;
}

nav button#menuButton {
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding: 7px;
}

header {
  width: 100%;
  height: 100vh;
  background: #0575e6;
  background: -webkit-linear-gradient(to bottom, #021b79, #0575e6);
  background: linear-gradient(to bottom, #021b79, #0575e6);

  color: #fff;
}

header #particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 80px;
  left: 0;
}

header .info-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  height: 100vh;
}

header .info-text h1 {
  font-size: 5rem;
  font-weight: 800;
  text-align: center;
  font-family: Orbitron;
}

header .info-text h3 {
  font-size: 2rem;
  text-align: center;
  font-weight: 400;
}

header .info-text .scroll {
  position: absolute;
  bottom: 20%;
  left: 50%;
  color: #fff;
  transform: translate(0, -50%);
  transition: all 0.5s;
}

header .info-text .scroll:hover {
  opacity: 0.7;
}

header .info-text .scroll::before {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: -1;
  content: "";
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  animation: pulse 3s infinite;
}

.skills {
  padding: 110px 85px 0;
}

.skills h3,
.about .right h3,
.portfolio .header h3,
.course h3 {
  font-size: 40px;
  margin-top: 20px;
  font-weight: 500;
}
.portfolio .header h3 {
  color: #fff;
}

.skills .skill-items {
  display: flex;
  margin-top: 70px;
  gap: 30px;
}

.skills .skill-items .item {
  background: #0575e6;
  background: -webkit-linear-gradient(to bottom, #0344aa, #0575e6);
  background: linear-gradient(to bottom, #0344aa, #0575e6);

  width: 25%;
  border-radius: 10px;
  padding: 32px;
  border-bottom: 4px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skills .skill-items .item:hover {
  border-color: #2193b0;
}

.skills .skill-items .item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

.skills .skill-items .item .icon i {
  font-size: 26px;
  color: #0575e6;
}

.skills .skill-items .item h4 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
}

.skills .skill-items .item p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 22px;
}

.skills .skill-items li {
  color: #fff;
  font-size: 1.2rem;
}

.about {
  padding: 110px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about .left {
  background: #0575e6;
  background: -webkit-linear-gradient(to right, #0344aa, #0575e6);
  background: linear-gradient(to right, #0344aa, #0575e6);

  border-radius: 10px 10px 0 0;
}

.about .left img {
  width: 440px;
}

.about .right h5 {
  font-size: 1.6rem;
  margin-top: 10px;
}

.about .right li {
  font-size: 1.1rem;
  color: #333;
}

.portfolio {
  background: #0575e6;
  background: -webkit-linear-gradient(to bottom, #0344aa, #0575e6);
  background: linear-gradient(to bottom, #0344aa, #0575e6);

  padding: 110px 85px;
}

.portfolio .portfo-items .item .info h4 {
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

.portfolio .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.portfolio .header a.button {
  background-color: #ff0000;
  padding: 10px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  border: none;
  border-radius: 10px;
}

.portfolio .header a.button:hover {
  background-color: #ff0000;
}

.portfolio .header a.button i {
  font-size: 26px;
}

.portfolio .portfo-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio .portfo-items .item {
  width: 24%;
  background-color: #fff;
  border-radius: 10px;
  border-bottom: 4px solid transparent;
  cursor: pointer;
  box-shadow: 0 5px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.portfolio .portfo-items .item:hover {
  border-color: #5e3bee;
}

.portfolio .portfo-items .item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px 10px 20px 20px;
}

.portfolio .portfo-items .item a {
  display: block;
}

.portfolio .portfo-items .item .info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 30px 20px;
}

.portfolio .portfo-items .item .info ul {
  font-size: 1rem;
  padding-left: 10px;
}

.portfolio .portfo-items .item .info a {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-color: #ff0000;
  margin: auto;
  margin-top: 10px;
}

.portfolio .portfo-items .item .info a i {
  margin-left: 2px;
  font-size: 16px;
}

.course {
  padding: 110px 85px;
}

.course .program {
  margin-top: 50px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.course .program .item {
  /* display: flex;
  gap: 20px; */
  border: 2px solid #aad3fc;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  width: 25%;
}

.course .program .item h4 {
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #005c97;
}

.course .program .item p {
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.course .program .item h5 {
  padding-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0344aa;
}

.course .program .item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: auto;
}

footer {
  background: #0575e6;
  background: -webkit-linear-gradient(to bottom, #0344aa, #0575e6);
  background: linear-gradient(to bottom, #0344aa, #0575e6);
  padding: 85px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

footer .logo {
  font-size: 1rem;
  font-family: Orbitron;
}

footer .top,
footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .top .social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

footer .separator {
  width: 100%;
  height: 1px;
  background-color: #26a7df;
  margin: 30px 0 20px;
}

footer .bottom p {
  font-size: 12px;
}

footer .bottom .links a {
  font-size: 12px;
  margin-left: 14px;
}

footer a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff !important;
}

.scroll-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #48aae8;
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  padding: 16px 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s ease;
}

.scroll-top:hover {
  border-color: #fff;
  box-shadow: none;
}

@media screen and (max-width: 1200px) {
  .main .left h5 {
    font-size: 18px;
  }

  .main .left h3 {
    font-size: 36px;
  }

  .main .left p {
    font-size: 18px;
  }

  .main .right img {
    width: 380px;
  }

  .skills .skill-items {
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .skills .skill-items .item {
    width: 49%;
  }

  .about .left img {
    width: 370px;
  }

  .skills h3,
  .about .right h3,
  .portfolio .header h3,
  .feedback h3 {
    font-size: 32px;
  }

  .about .right p {
    font-size: 15px;
  }

  .course .program .item {
    width: 25%;
  }

  footer .top ul {
    gap: 20px;
  }
}

@media screen and (max-width: 992px) {
  nav .button {
    display: none;
  }

  nav ul {
    gap: 10px;
  }

  nav ul li a {
    font-size: 15px;
  }

  .main {
    flex-direction: column;
  }

  .about {
    flex-direction: column;
    justify-content: center;
  }

  .portfolio .portfo-items {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .portfolio .portfo-items .item {
    width: 48%;
  }

  .course .program {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .course .program .item {
    width: 48%;
  }

  footer .top ul {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  nav {
    justify-content: space-between;
    padding: 0 42px;
  }

  nav ul {
    display: none;
  }

  nav.open .logo {
    display: none;
  }

  nav.open ul {
    display: flex;
  }

  nav button#menuButton {
    display: flex;
  }

  .main {
    padding: 42px;
  }

  .skills {
    padding: 85px 42px 0;
  }

  .skills .skill-items {
    gap: 8px;
  }

  .about {
    padding: 85px 42px;
  }

  .portfolio {
    padding: 60px 42px;
  }

  .portfolio .portfo-items {
    gap: 18px;
  }

  .course .program .item {
    width: 100%;
  }

  .course {
    padding: 60px 42px;
  }

  .course .program {
    gap: 18px;
  }

  footer {
    padding: 85px 42px;
  }

  footer .bottom {
    flex-direction: column-reverse;
    gap: 14px;
  }
}

@media screen and (max-width: 576px) {
  nav ul li a {
    font-size: 13px;
  }

  nav .logo a {
    font-size: 18px;
  }

  .main .left h3 {
    font-size: 32px;
  }

  .main .left p {
    font-size: 16px;
  }

  .main .left button {
    width: 100%;
  }

  .skills .skill-items .item {
    width: 100%;
  }

  .portfolio .header button {
    font-size: 12px;
    padding: 8px 14px;
  }

  .portfolio .portfo-items .item {
    width: 100%;
  }

  .course .program .item {
    width: 100%;
  }
}
