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

html {
  scroll-behavior: smooth;
}

/* MOBILE VERSION */
@media only screen and (min-width: 375px) {
  #nav-bar-header {
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    background-image: url(./Images/header-background-mobile.png);
    position: fixed;
    top: 0;
    padding-top: 20px;
    padding-bottom: 10px;
  }

  #menu-navbar {
    /* display: none; */
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(96, 112, 255, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 20px;
  }

  .add-transition {
    transition: all 0.4s ease-in all;
  }

  .invisible-display {
    display: none;
  }

  .modal-experience li {
    margin-right: 10px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    list-style: none;
    color: #7a869a;
  }

  .experience li {
    margin-right: 10px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    list-style: none;
    color: #7a869a;
  }

  .skill-buttons li {
    color: #6070ff;
    padding: 4px 12px;
    background-color: #ebebff;
    border: none;
    border-radius: 8px;
    border-color: white;
    outline: none;
    list-style: none;
    margin-right: 8px;
  }

  #menu-navbar li {
    margin-top: 40px;
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    list-style: none;
  }

  .header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .button-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }

  #menu-navbar li a {
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    cursor: pointer;
  }

  #menu-navbar li a:focus {
    box-shadow: none;
  }

  #menu-navbar #cross-btn {
    display: flex;
    justify-content: end;
  }

  #nav-bar-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
  }

  #side-navbar-container {
    display: none;
  }

  #union-img:hover {
    opacity: 0.8;
  }

  #union-img:active {
    opacity: 3;
  }

  #logo-image {
    width: 5rem;
    height: 1.25rem;
    animation: 3s infinite alternate-reverse rotation 0s;
  }

  #vector-image {
    border: 2px solid rgb(92, 54, 166);
    width: auto;
    height: 30px;
  }

  main {
    background-size: cover;
    background-image: url(./Images/header-shapes\ mobile.png);
  }

  #main-container {
    display: flex;
    flex-direction: column;
    padding: 83px 24px 50px 24px;
    align-items: flex-start;
    margin-top: 80px;
    background-size: cover;
  }

  /* MAIN SECTION START  */
  #main-header {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 130%;
    display: flex;
    color: #172b4d;
    width: 20rem;
    height: 10rem;
    align-items: center;
    margin-top: 1rem;
  }

  .link h2 {
    font-family: 'Poppins', sans-serif;
    color: #7f8cff;
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
    margin-top: 5px;
  }

  #intro-text {
    width: 20rem;
    height: 10rem;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 150%;
    flex: none;
    order: 1;
    flex-grow: 0;
    margin-top: 0.75rem;
    color: #344563;
  }

  .fa-bars {
    color: #6070ff;
  }

  #linkedin-container {
    margin-left: 10px;
    position: relative;
  }

  #social-links {
    margin-top: 0.75rem;
  }

  #social-links-container {
    display: flex;
    list-style: none;
  }

  .social-links-img {
    height: 1.25rem;
    margin-right: 0.5rem;
  }

  /* WORK SECTION START  */

  #work {
    display: grid;
    grid-template-columns: 100%;
    background-color: #e5e5e5;
    padding-bottom: 81px;
  }

  .project-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 346px;
    margin-top: 7.125rem;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 5px;
    border: 1px solid #dfe1e6;
    border-radius: 20px;
    background-color: #fff;
  }

  .modal-project-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  figure {
    margin: 10px auto;
  }

  .snap-shot-image {
    width: 100%;
  }

  .modal-image {
    width: 100%;
  }

  /* .snap-shot-image:hover {
    transform: scale(1.1);
    translate: -20px;
    transition: all 0.5s ease-in 0s;
  } */

  .project-showing {
    padding: 0 20px;
  }

  .modal-project-showing {
    /* border-radius: 16px; */
  }

  .project-showing h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #172b4d;
    margin-top: 12px;
  }

  .experience {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
  }

  .modal-experience {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 15px;
  }

  #canopy-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 16px;
    color: #344563 !important;
  }

  .skill-buttons {
    margin-top: 16px;
    display: flex;
    justify-content: start;
  }

  .modal-skill-buttons {
    margin-top: 15px;
  }

  .info-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #344563;
    margin-top: 20px;
  }

  .modal-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    color: #344563;
    padding: 0 10px;
  }

  .view-project-button {
    margin-top: 25px;
    margin-right: 0.8rem;
  }

  .counter-img {
    margin-right: 12px;
  }

  .see-btn {
    font-size: 15px;
    color: #396df2;
    background-color: #fff;
    border-color: #396df2;
    padding: 10px 8px;
    border-radius: 16px;
  }

  #test {
    position: fixed;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    z-index: 10;
    background-color: #fff;
    border-radius: 16px;
  }

  .modal {
    padding: 10px 20px;
  }

  /* #project-pop-up.active {
    transform: translate(-50%,-50%) scale(1);
  } */

  #test.active {
    transform: translate(-33%, -50%) scale(1);
  }

  #overlay {
    position: fixed;
    z-index: 9;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  #overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .pop-up-btn {
    display: flex;
    margin-top: 0.5rem;

    /* margin: right 0.5em; */
  }

  .pop-up-btn span {
    margin-right: 5px;
  }

  .pop-up-btn img {
    align-self: center;
  }

  .view-project-button button {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    color: #396df2;
    padding: 15px 20px;
    border-radius: 16px;
    background-color: #fff;
    border-color: #396df2;
  }

  .view-project-button button:hover {
    color: #fff;
    background-color: #6070ff;
    border: none;
    transition: all 0.4s ease-in 0s;
  }

  .view-project-button button:active {
    color: #fff;
    background-color: #2230d2;
    border: none;
  }

  /* ABOUT MYSELF SECTION START  */

  #about-myself-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 114px 24px;
  }

  #about-myself-section h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #172b4d;
  }

  #about-text {
    font-size: 16px !important;
    color: #344563;
  }

  #about-myself-social-links {
    margin-top: 29px !important;
  }

  #about-myself-link {
    margin-top: 12px;
  }

  #about-myself-link h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #7f8cff;
  }

  /* LANGUAGE SECTION START  */

  #language-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 30px auto;
    justify-content: center;
  }

  #language-header {
    display: flex;
    justify-content: space-between;
    width: 80%;
  }

  #language-header h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #000;
    margin-bottom: 36px;
  }

  #language-header-box {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  #skills-container-box {
    display: flex;
    flex-direction: column;
  }

  .skills {
    background: #f7f7f9;
    border-radius: 8px;
    margin-top: 12px;
    display: flex;
    padding: 18px 12px;
    align-items: center;
    justify-content: space-evenly;
  }

  .skills span {
    width: 212px;
    padding: 15px 10px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
  }

  .framework-skill {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .framework-skill-header {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
  }

  .framework-skill img {
    height: 12px;
  }

  #framework-container {
    margin-top: 36px;
  }

  #separator-img {
    margin: 23px 0;
  }

  #separator-img2 {
    display: none;
  }

  /* CONTACT ME SECTION START  */

  #contact-me-section {
    display: flex;
    flex-direction: column;
    background-image: url(./Images/contact\ form\ shapes-mobile.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 103% 12%;
    background-color: #6070ff;
    padding: 103px 2px;
    border-radius: 80px 0 0 0;
  }

  #contact-me-header {
    text-align: center;
    padding: 12px 24px;
  }

  #contact-me-header h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #fff;
  }

  #contact-me-header p {
    margin-top: 12px;
    color: #ebebff;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
  }

  #contact-me-form {
    margin: 20px auto;
    padding: 10px 24px;
    width: 90%;
  }

  #contact-me-form input {
    width: 100%;
    margin-top: 25px;
    padding: 15px 38px 15px 16px;
    background: #fff;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
  }

  #message-box {
    width: 100%;
    margin-top: 33px;
    background: #fff;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    padding: 15px 24px 15px 24px;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
  }

  ::placeholder {
    color: #b3bac5;
  }

  #contact-me-form button {
    margin-top: 34px;
    padding: 12px 16px;
    background-color: #fff;
    color: #6070ff;
    display: block;
    border-radius: 8px;
    outline: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
  }

  #contact-me-form button:hover {
    background-color: #6070ff;
    color: #fff;
    transition: all 0.4s ease-in 0s;
  }

  #contact-me-form button:active {
    background-color: #2230d2;
    color: #fff;
  }

  .error-msg {
    margin-top: 12px;
    display: none;
    color: red;
  }
}

/* DESKTOP VERSION */
@media only screen and (min-width: 768px) {
  #nav-bar-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 30px 155px 10px 155px;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 4;
  }

  .modal {
    /* width: 63%; */
    padding: 10px 20px;
    border-radius: 16px;
  }

  .modal-image {
    width: 100%;
  }

  .button-wrapper {
    justify-content: space-between;
    margin-top: 1rem;
  }

  .pop-up-btn {
    margin-top: 0;
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 16px;
  }

  .info-skill-container {
    display: flex;

    /* align-items: center; */
    padding-bottom: 3.938rem;
  }

  .skill-button-container {
    display: flex;
    flex-direction: column;
  }

  #union-img {
    display: none;
  }

  #side-navbar-container {
    display: flex;
    justify-content: space-around;
    list-style: none;
    width: 300px;
  }

  #nav-bar-container {
    width: 100%;
  }

  #side-navbar-container li {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    color: #344563;
    cursor: pointer;
  }

  #side-navbar-container li:hover {
    color: #6070ff;
    transition: all 0.8s ease-out 0s;
  }

  #side-navbar-container li:active {
    color: #2230d2;
  }

  .view-project-button button {
    cursor: pointer;
  }

  .view-project-button button:hover {
    color: #fff;
    background-color: #6070ff;
    border: none;
  }

  .view-project-button button:active {
    color: #fff;
    background-color: #2230d2;
    border: none;
  }

  main {
    height: auto;
    border: 1px solid #dfe1e6;
    border-radius: 0 0 0 100px;
    background-image: url(./Images/Header\ bg\ 0.75.png);
    background-size: contain;
    margin: 2.4rem auto 0 auto;
    background-position: center;
  }

  #main-container {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    margin: 100px auto;
    padding: 180px 170px;
  }

  #text-container {
    width: 730px;
  }

  #main-header {
    width: 400px;
    height: 122px;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    margin-left: 0;
  }

  #intro-text {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 150%;
    color: #344563;
    width: 100%;
    height: auto;
    text-align: left;
  }

  .link {
    font-family: 'Poppins', sans-serif;
    color: #7f8cff;
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
  }

  /* WORK SECTION START  */
  #work {
    background-color: #e5e5e5;
  }

  .project-section {
    width: 90%;
    display: flex;
    flex-direction: row;
    margin-top: 8.875rem;
    background-color: #fff;
  }

  figure {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }

  .figure-desktop {
    width: 100%;
  }

  .figure-margin-right {
    margin-right: 2.875rem;
    margin-left: 0.75rem;
    width: 50%;
  }

  .figure-margin-left {
    margin-left: 2.875rem;
  }

  .background-color-gray {
    background-color: #e5e5e5;
    padding: 40px 0 40px 0;
    border-radius: 8px;
  }

  #availibity-card {
    display: flex;
    flex-direction: row-reverse;
  }

  #professional-art-card {
    display: flex;
    flex-direction: row-reverse;
  }

  /* ABOUT MYSELF SECTION START  */

  #about-myself-section {
    margin: 8.875rem auto 0 auto;
    display: flex;
    width: 85%;
    flex-direction: row;
    align-content: flex-start;
    padding: 0;
  }

  #about-myself-container {
    flex: 1;
    margin-right: 48px;
  }

  #language-section {
    flex: 1;
    margin: 0;
  }

  #language-header {
    padding: 12px;
  }

  #language-header-box {
    width: 100%;
  }

  #language-header h2 {
    margin-bottom: 0;
  }

  #language-header i {
    display: none;
  }

  .right-chevron {
    display: none;
  }

  #skills-container-box {
    display: flex;
    flex-direction: row;
    width: 100%;
  }

  .skills {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 12px;
  }

  .skills span {
    width: 100%;
    text-align: center;
  }

  #separator-img {
    width: 100%;
  }

  #separator-img2 {
    width: 100%;
    display: block;
    margin-top: 23px;
  }

  .project-screenshot {
    text-decoration: none;
  }

  /* ABOUT MYSELF SECTION START  */

  #contact-me-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #contact-me-section {
    margin-top: 8.875rem;
    border-radius: 120px 0 0 0;
    padding: 140px 2px 2px 127px;
    background-image: url(./Images/contact\ form\ background\ shapes@2x.png);
    background-color: #6070ff;
    background-size: contain;
    background-position: center;
  }

  #contact-me-header p {
    width: 569px;
  }

  #contact-me-form {
    width: 40%;
  }

  #contact-me-form input {
    border: none;
    border-radius: 2px;
  }

  #contact-me-form input:hover {
    padding-left: 40px;
    transition: all 0.4s ease-in 0s;
  }

  #contact-me-form textarea:hover {
    padding-left: 40px;
    transition: all 0.4s ease-in 0s;
  }

  #message-box {
    border-radius: 2px;
    padding: 15px 38px 15px 10px;
  }

  #contact-me-form button {
    margin: 34px auto;
    cursor: pointer;
  }

  #contact-me-form button:hover {
    background-color: #6070ff;
    color: #fff;
  }

  #contact-me-form button:active {
    background-color: #2230d2;
    color: #fff;
  }

  @keyframes rotation {
    from {
      transform: rotate(0deg) scale(0.5);
    }

    to {
      transform: rotate(360deg) scale(1.2);
    }
  }
}
