/* @import url("https://fonts.googleapis.com/css2?family=Alegreya:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap"); */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@600&family=Work+Sans&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #eaeaea;
  scroll-behavior: smooth;
}
:root {
  --bg: #252a34;
  --bg-dark: #1d1d1d;
  --color: #eaeaea; 
  --light-color: #eaeaeaa4;
  --primary-color: #08d9d6;
  --violet-color:#14293d;
  --secondary-color: #ff2e63;
  --secondary-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body {
  background: #1d1d1f;
  color: #eaeaea;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; 
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- main section ---------- */
#main {
  width: 100%;
  /* height: 50em; */
  padding: 5em 0;
  backdrop-filter: blur(1px);
  backdrop-filter: contrast(250px);
  position: relative;
  justify-content: space-around;
  flex-wrap: wrap-reverse;
}
#main::before {
  content: "";
  width: 100%;
  height: 30em;
  position: absolute;
  right: 25em;
  z-index: -1;
  background: rgba(12, 12, 12, 0.76);
}
#main .user_info {
  margin: 0 30px;
}
#main .user_info .user_name {
  font-size: 55px;
  font-weight: 300;
}
#main p {
  font-family: var(--secondary-font);
  font-size: 1.5em;
  color: var(--light-color);
  margin-bottom: 1.5em;
}
#main .user_img img {
  width: 30em;
  height: 30em;
  border-radius: 50%;
  margin: 0 30px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.479);
}
#main .user_info .btn {
  padding: 0.6em 2em;
  background: none;
  color: var(--color);
  font-size: 1.1em;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid var(--violet-color);
  transition: all 0.4s;
}
#main .user_info .btn:hover {
  background: var(--violet-color);
}
#particles-js {
  width: 100%;
  position: absolute;
  z-index: -1;
}


/* ---------- about section ---------- */
.about {
  width: 100%;
  background: #14293d;
  padding: 6em 0;
}
.about div{
  width: 40%;
  flex-direction: column;
  align-items: flex-start;
}
.about img{
  width: 25em;
  margin: 2em;
}
.about_heading {
  font-size: 65px;
  font-weight: 300;
}
.about p {
  font-size: 1.2em;
  color: var(--color);
  opacity: 0.6;
}

/* ---------- skills section ---------- */
.skills {
  width: 100%;
  /* height: 50em; */
  position: relative;
  flex-direction: column;
  overflow-x: hidden;
 background-color: #14203d;
}

.skill_box {
  flex-wrap: wrap;
}
.skill_box .box {
  margin: 2em 2em;
  width: 15em;
  height: 12em;
  background: var(--bg-dark);
  background: rgba(255, 255, 255, 0.089);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.068);
  border-bottom: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.skill_box .box::before {
  content: "";
  position: absolute;
  background: #ff2e63;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transform-origin: bottom;
  transform: scaleY(0.03);
  transition: all 0.3s;
}
.skill_box .box:hover::before {
  transform: scaleY(1);
}
.skill_box .box i {
  margin-bottom: 0.1em;
}
.skill_head {
  font-size: 65px;
  font-weight: 300;
  font-family: var(--font);
}

/* ---------- projects ---------- */
.projects {
  width: 100%;
  padding: 2em 0;
  position: relative;
  flex-direction: column;
  background: #1a143d;
}

.projects .project_heading {
  margin-bottom: 0.4em;
  font-size: 65px;
  font-weight: 300;
  font-family: var(--font);
}
.projects .container {
  width: 100%;
  flex-wrap: wrap;
  z-index: 1;
}
.projects .container .main_box {
  width: 35em;
  height: 12em;
  margin: 0.5em 2em;
  justify-content: space-evenly;
  background: rgba(255, 255, 255, 0.116);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.199);
}
.projects .container .main_box .icon {
  width: 2em;
  height: 150px;
  margin-left: 0.1em;
  font-size: 8em;
}
.projects .container .main_box .box {
  width: 20em;
  margin-left: 0.8em;
  padding-right: 0.5em;
}
.projects .container .main_box .box :is(h1, p) {
  margin-bottom: 0.5em;
}
.projects .container .main_box .box p{
  opacity: 0.6;
}
.projects .container .main_box .box .links a {
  color: var(--light-color);
  text-decoration: none;
  margin-right: 0.4em;
  transition: all 0.4s;
}
.projects .container .main_box .box .links a i {
  margin-left: 0.4em;
  transition: all 0.4s;
}
.projects .container .main_box .box .links a:hover {
  color: var(--secondary-color);
}
.projects .container .main_box .box .links a:hover i {
  transform: translateX(0.2em);
  color: var(--secondary-color);
}
#particles-js2 {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

/* ---------- footer ---------- */
footer{
    width: 100%;
    padding: 3em 0;
    flex-direction: column;
    background: #1a1a1a;
}
footer .social_media_icons{
    margin-top: 1em;
}
footer .social_media_icons a{
    margin: 0 .8em;
    border-radius: 50px;
}
footer .social_media_icons a i{
    font-size: 1.8em;
    padding: 0.2em;
    transition: color 0.4s;
}
footer .social_media_icons a:hover i{
    font-size: 1.8em;
    padding: 0.2em;
    color: rgba(54, 54, 54, 0.966);
}


/* --------- toggle ---------- */
/*Index Navigation Style*/
header{
  height: 90px;
  background: #2f3640;
}

.inner-width{
  max-width: 1000px;
  padding: 0 10px;
  margin: auto;
}

.logo{
  float: left;
  padding: 20px 0;
}

.logo img{
  height: 50px;
}

.navigation-menu{
  float: right;
  display: flex;
  align-items: center;
  min-height: 90px;
}

.navigation-menu a{
  margin-left: 10px;
  color: #ddd;
  text-transform: uppercase;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 4px;
  transition: .3s linear;
}

.navigation-menu a:hover{
  background: #fff;
  color: #2f3640;
  transform: scale(1.1);
}

.navigation-menu i{
  margin-right: 8px;
  font-size: 16px;
}

.home{
  color: #ff6b6b;
}

.about{
  color: #0abde3;
}

.works{
  color: #feca57;
}

.team{
  color: #5f27cd;
}

.contact{
  color: #1dd1a1;
}

.menu-toggle-btn{
  float: right;
  height: 90px;
  line-height: 90px !important;
  color: #fff;
  font-size: 26px;
  display: none !important;
  cursor: pointer;
}


@media screen and (max-width:700px) {
  .menu-toggle-btn{
    display: block !important;
  }

  .navigation-menu{
    position: fixed;
    width: 100%;
    max-width: 400px;
    background: #172b4d;
    top: 90px;
    right: 0;
    display: none;
    padding: 20px 40px;
    box-sizing: border-box;
  }

  .navigation-menu::before{
    content: "";
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #172b4d;
    position: absolute;
    top: -10px;
    right: 10px;
  }

  .navigation-menu a{
    display: block;
    margin: 10px 0;
  }

  .navigation-menu.active{
    display: block;
  }
}

/* ---------- Media Query ---------- */
@media (max-width: 1120px) {
  #main .user_img img {
    width: 25em;
    height: 25em;
  }
  .skills {
    height: 100%;
    padding: 5em 0;
  }
  .about {
    flex-direction: column;
  }
  .about div{
    width: 70%;
  }
}
@media (max-width: 900px) {
  .skills {
    height: 100%;
    padding: 5em 0;
  }
  .skill_box .box {
    margin: 2em .6em;
    width: 12em;
    height: 8em;
  }
  .skill_head {
    font-size: 5em;
  }
  .about_heading {
    font-size: 5em;
  }
  .projects .project_heading {
    margin-bottom: 0.4em;
    font-size: 5em;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 13px;
  }
  .skill_box .box{
    margin: 2em 0.5em;
    width: 12em;
    height: 8em;
  }
}
@media (max-width: 450px) {
  #main .user_img img{
    width: 20em;
    height: 20em;
  }
  .projects .container .main_box .icon{
    height: 100%;
    padding: 0.2em;
  }
  .projects .container .main_box {
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 2em 0.2em;
  }
}

@media (max-width: 350px) {
  body{
    font-size: 8px;
  }
}