@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Start Header */
header {
  background-color: #f0f0f0;
  width: 100%;
  position: fixed;
  z-index: 999;
  padding: 0px 200px;
}

@media (max-width: 991px) {
  header {
    padding: 15px;
  }
}

@media (max-width: 576px) {
  header {
    justify-content: unset;
  }
}

.logo {
  text-decoration: none;
  color: #3a6cf4;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.8em;
}

@media (max-width: 575px) {
  .logo {
    font-size: 1.2em;
  }
}

/* @media (min-width: 767px) and (max-width: 991px) {
  .logo {
    font-size: 1.7em;
  }
} */

.navigation a {
  color: #3a6cf4;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: 500;
  padding-left: 30px;
}

@media (max-width: 991px) {
  .navigation {
    margin-left: 30px;
  }
}

@media (max-width: 991px) {
  .navigation a {
    padding-left: 10px;
    font-size: 1em;
  }
}

.navigation a:hover {
  color: #601cfc;
}

/* End Header */

section {
  padding: 100px 200px;
}

@media (max-width: 1300px) {
  section {
    padding: 80px 20px;
  }
}

/* Main Section */

.main {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #00124d;
}

@media (max-width: 1300px) {
  .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.main h2 {
  color: #fff;
  font-size: 1.4em;
  font-weight: 500;
}

@media (max-width: 1300px) {
  .main h2 {
    text-align: center;
    margin-top: 50px;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .main h2 {
    font-size: 3em;
  }
}

.main h2 span {
  display: inline-block;
  margin-top: 10px;
  color: #4e9eff;
  font-size: 2.5em;
  font-weight: 600;
}

@media (max-width: 380px) {
  .main h2 span {
    font-size: 0.1em;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 12px;
  }
}

@media (min-width: 390px) and (max-width: 767px) {
  .main h2 span {
    font-size: 1.4em;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .main h2 span {
    font-size: 1em;
    text-align: center;
    margin-top: 35px;
    margin-bottom: 50px;
  }
}

.main h3 {
  color: white;
  width: 800px;
  font-size: 1.7em;
  font-weight: 500;
  letter-spacing: 1px;
  margin-top: 10px;
  margin-bottom: 40px;
}

@media (max-width: 400px) {
  .main h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 576px) {
  .main h3 {
    font-size: 1.2em;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .main h3 {
    font-size: 2em;
  }
}

@media (max-width: 1300px) {
  .main h3 {
    text-align: center;
    width: fit-content;
  }
}

.main-btn {
  color: #fff;
  background-color: #3a6cf4;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  padding: 0.9375em 2.1875em;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-bottom: 40px;
  transition: 0.7s ease;
}

@media (min-width: 400px) and (max-width: 575px) {
  .main-btn {
    font-size: 1.3em;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .main-btn {
    font-size: 2em;
  }
}

@media (max-width: 1300px) {
  .main-btn {
    padding: 0.8em 1.8em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 60px auto 10px;
  }
}

.main-btn:hover {
  background-color: #0a49f6;
  transform: scale(1.1);
}

.social-icons {
  margin-left: 60px;
}

@media (max-width: 1300px) {
  .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
  }
}

.social-icons a {
  color: #fff;
  font-size: 1.7em;
  padding-right: 30px;
}

@media (max-width: 1300px) {
  .social-icons a {
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .social-icons .icon {
    font-size: 1.8em;
  }
}

.main .image {
  min-width: 400px;
  min-height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid white;
  display: flex;
  align-items: center;
  margin-left: 60px;
}

@media (max-width: 575px) {
  .main .image {
    min-width: 100px;
    min-height: 100px;
  }
  .main .image img {
    width: 250px;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .main .image img {
    width: 500px;
  }
}

@media (max-width: 1300px) {
  .main .image {
    margin-top: 40px;
    border: 2px solid white;
    margin-left: 0;
  }
}

/* Skills */

.skills .title {
  display: flex;
  justify-content: center;
  color: #3a6cf4;
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 30px;
}

@media (max-width: 575px) {
  .skills .title {
    font-size: 1.8em;
  }
}

.content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12em, 1fr));
  gap: 20px;
}

@media (max-width: 576px) {
  .content {
    grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
  }
}

.skills .box {
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  border-radius: 10px;
  padding: 15px;
  margin: 15px;
  transition: 0.7s ease;
  text-align: center;
}

.skills .box:hover {
  transform: scale(1.1);
}

.skills .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: auto;
  padding: 3px 15px;
  font-size: 3.5em;
  border-radius: 50%;
}

.icon-title {
  margin-top: 5px;
}

@media (max-width: 576px) {
  .icon-title {
    font-size: 1.2em;
  }
}

.html {
  color: #e34c26;
}

.css {
  color: #264de4;
}

.javascript {
  color: #f0db4f;
}
.angular {
  color: #c3002f;
}

.api img,
.json img,
.netCore img,
.sqlServer img {
  width: 60px;
  height: 60px;
}

.oop img {
  width: 90px;
  height: 90px;
}

.asp img {
  width: 140px;
  height: 140px;
}

.entity img {
  width: 90px;
  height: 90px;
}

.bootstrap {
  color: #563d7c;
}

.react {
  color: #7cc5d9;
}

.redux {
  color: #764abc;
}

.github {
  color: #171515;
}

.terminal {
  color: #666666;
}

/* Projects Section */

.projects {
  background-color: #00124d;
}
.projects .main-title {
  display: flex;
  justify-content: center;
  color: #3a6cf4;
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  .projects .main-title {
    font-size: 1.8em;
  }
}

.projects .project-title {
  display: flex;
  justify-content: center;
  font-size: 1.7em;
  font-weight: 500;
  margin-bottom: 10px;
}

.projects .project-title {
  color: black;
}

.projects .cont {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.projects .boot_s {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(700px, 700px));
  gap: 40px;
  justify-content: center;
}

@media (max-width: 768px) {
  .projects .boot_s {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}
.projects .box {
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  padding: 20px;
  transition: transform 0.3, box-shadow 0.3s;
}

.projects .box:hover {
  transform: scale(1.1);
}

.projects img {
  width: 100%;
  height: 150px;
  max-width: 100%;
}

.projects .box h3 {
  margin: 0;
  padding: 20px;
}

.projects .box .techno {
  color: black;
  color: #3a6cf4;
  font-weight: bold;
  font-size: 0.8em;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.projects .box .techno span {
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.projects .box .check-icon {
  font-size: 20px;
  color: white;
  background-color: green;
  padding: 3px;
}

.projects .box a {
  border-top: 1px solid #e6e6e7;
  color: #fff;
  background-color: #3a6cf4;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: inline-block;
  padding: 0.9375em 2.1875em;
  letter-spacing: 1px;
  border-radius: 15px;
  transition: 0.7s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: auto;
  margin-top: 30px;
}

/* Contact */

.contact .title {
  display: flex;
  justify-content: center;
  color: #3a6cf4;
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  .contact .title {
    font-size: 1.8em;
  }
}

.contact .content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.contact .box {
  background-color: #fff;
  min-width: 21.25em;
  box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  border-radius: 10px;
  padding: 25px;
  margin: 15px;
  transition: 0.7s ease;
}

@media (max-width: 575px) {
  .contact .box {
    width: 18em !important;
  }
}

/* .contact .box:hover {
  transform: scale(1.1);
} */

.contact .box .icon {
  color: #3a6cf4;
  font-size: 4.5em;
  text-align: center;
}

.contact .info {
  text-align: center;
}

.contact .info h3 {
  color: #000;
  font-size: 1.2em;
  font-weight: 700;
  margin: 10px;
}

.contact .info .phone-num,
.contact .info .email {
  width: 315px;
  font-size: 1.5em;
  text-align: center;
  border: none;
  outline: none;
  margin-left: 28px;
}
.contact .info .email {
  font-size: 1.2em;
}

@media (max-width: 575px) {
  .contact .info .phone-num,
  .contact .info .email {
    width: 262px;
    font-size: 1.3em;
    margin-left: -10px;
  }
  .contact .info .email {
    font-size: 1em;
  }
}

.contact .info .phone-copy,
.contact .info .email-copy {
  padding: 7px;
  background-color: #3a6cf4;
  color: white;
  font-size: 1.2em;
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.contact .info .phone-copy:active,
.contact .info .email-copy:active {
  background-color: #00124d;
}

.contact .info .phone-copy::before,
.contact .info .email-copy::before {
  content: "copied";
  position: absolute;
  top: -50px;
  right: -15px;
  background-color: #5c81dc;
  padding: 8px 10px;
  border-radius: 20px;
  font-size: 0.7em;
  display: none;
}

.contact .info .phone-copy::after,
.contact .info .email-copy::after {
  content: "";
  position: absolute;
  top: -20px;
  right: 12px;
  width: 10px;
  height: 10px;
  background-color: #5c81dc;
  transform: rotate(45deg);
  display: none;
}

.contact .info .phone-copy.active::before,
.contact .info .phone-copy.active::after,
.contact .info .email-copy.active::before,
.contact .info .email-copy.active::after {
  display: block;
}

/* .contact .info p {
  font-size: 1.5em;
} */

/* Footer Section */
.footer {
  background-color: #00124d;
  color: #fff;
  padding: 2em;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

@media (max-width: 575px) {
  .footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8em;
  }
}

.footer-title {
  font-size: 1.3em;
  font-weight: 600;
}

@media (max-width: 575px) {
  .footer-title {
    font-size: 1.2em;
  }
}

.footer-title span {
  color: #3a6cf4;
}

.footer .social-icons a {
  font-size: 1.8em;
  padding: 0 12px 0 0;
}

@media (max-width: 575px) {
  .footer .social-icons a {
    font-size: 1.2em;
    padding: 0 6px 0 0;
  }
}
