/* Common Styles */
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600&display=swap');

:root {
  --color-primary: #0067c3;
  --color-primary_light: #55b0ff;
  --color-primary_blue: #63b3ed;
  --color-secondary: #5ec576;
  --color-third: #feca32;
  --color-light_grey: #dddddd;
  --color-dark_grey: #b9b9b9;

  --color: #9176ff;
  --dark-color: #2b2b2b;
  --dark-icon-color: #fff;
  --light-color: #f7f7f7;
  --light-icon-color: #ffde59;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  outline: none;
  font-family: 'Rubik', sans-serif;
  list-style: none;
}

html {
  font-size: 85%;
  font-family: Poppins, sans-serif;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0.1rem;
}

h1 {
  font-size: 30px;
}

h2 {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  font-size: 25px;
  text-align: center;
}

h3 {
  font-size: 20px;
  margin-top: 2rem;
  text-align: center;
}

h4 {
  font-size: 15px;
  padding: 1rem 0;
}

p {
  /* font-size: 1.1rem; */
  font-weight: 400;
  letter-spacing: 0.1rem;
  padding: 0.5rem 0;
}

p span {
  font-weight: 600;
}

a,
a:visited,
a:hover,
a:active {
  color: inherit;
}

button {
  border: none;
  background-color: var(--color-primary);
  border-radius: 3rem;
}

img {
  margin: 0.5rem;
  padding: 0.5rem;
}

input,
textarea {
  border: 1.25px solid;
  border-radius: 0.375rem;
  border-color: var(--color-light_grey);
  transition: border-color 0.4s;
}

input:hover,
textarea:hover {
  border: 1.25px solid;
  border-radius: 0.375rem;
  border-color: var(--color-dark_grey);
  transition: border-color 0.4s;
}

input:focus,
textarea:focus {
  border: 1.25px solid;
  border-radius: 0.375rem;
  border-color: var(--color-primary_light);
  box-shadow: 0 0 0 1.25px var(--color-primary_blue);
}

textarea::placeholder,
input::placeholder {
  font-size: 1rem;
  color: var(--color-dark_grey);
}

.hidden {
  display: none;
}

.container {
  padding: 1.25rem;
  max-width: 800px;
  margin: auto;
}

.section-container {
  /* padding: 0.5rem 0 0.5rem 0; */
  margin-top: 3rem;
}

.img-gif {
  width: 95%;
  height: 100%;
}
/* End of Common Styles */

/* Header */
.header {
  width: 100%;
  padding: 0.7rem;
}

.header-name {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

/* Nav */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -27px 20px;
  padding: 8px;
}

.nav-links {
  /* text-transform: uppercase; */
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding-right: 10rem;
}

.social-media {
  /* text-transform: uppercase; */
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  font-weight: 600;
  /* font-size: 1.1rem; */
}

.social-media {
  margin-right: auto;
  /* padding-left: 5rem; */
}

.nav-item,
.social-item {
  margin: 0.2rem 0.5rem;
}

.nav-link {
  /* padding-inline: 1rem; */
  padding: 0.2rem 0.5rem;
}

.social-link {
  /* padding-inline: 1rem; */
  padding: 0.2rem 0.5rem;
}

.nav-link:hover {
  background: var(--color-primary_light);
  border-radius: 25px;
  padding: 0.2rem 0.5rem;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.4s;
}

.social-link:hover {
  background: var(--color-primary_light);
  border-radius: 25px;
  padding: 0.4rem 0.5rem;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.4s;
}

/* nav and stickly class at the same time */
.nav.sticky {
  position: fixed;
  background-color: var(--color-primary);
  opacity: 0.95;
  border-radius: 25px;
  margin: -27px 20px;
  padding: 8px;
}

/* .darkmode .nav-link:hover,
.darkmode .social-link:hover {
  color: #000;
} */

/* Nav - Light Dark Theme Button */
.buttonLD {
  background-color: #fff;
  width: 2.5em;
  height: 2.1em;
  border-radius: 10em;
  padding: 0 0.15em;
  box-shadow: inset 0 8px 60px rgba(0, 103, 195, 0.1),
    inset 0 8px 8px rgba(0, 103, 195, 0.1),
    inset 0 -4px 4px rgba(0, 103, 195, 0.1);
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.buttonLD__indicator {
  background-color: #fff;
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 8px 40px rgba(254, 202, 50, 0.9);
  transition: transform 0.3s ease;
}

.buttonLD__icon-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttonLD__icon {
  color: var(--dark-color);
  font-size: 1.2rem;
}

.buttonLD__icon:hover {
  color: var(--light-icon-color);
}

.buttonLD__icon.animated {
  animation: spin 0.5s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* -------------- DARKMODE -------------- */
body.darkmode {
  background-color: var(--dark-color);
  color: #fff;
}

body.darkmode a:visited,
body.darkmode a:hover,
body.darkmode a:active {
  color: #fff;
}

.darkmode .buttonLD {
  box-shadow: inset 0 8px 60px rgba(0, 103, 195, 0.3),
    inset 8px 0 8px rgba(0, 103, 195, 0.3),
    inset 0 -4px 4px rgba(0, 103, 195, 0.3);
}

.darkmode .buttonLD__indicator {
  transform: translateX(0.8em);
  background-color: var(--dark-color);
  box-shadow: 0 8px 40px rgba(0, 103, 195, 0.6);
}

.darkmode .buttonLD__icon {
  color: var(--dark-icon-color);
}

.darkmode .buttonLD__icon:hover {
  color: var(--light-icon-color);
}
/* End of Nav - Light Dark Theme Button */
/* End of Nav */
/* End of Header */

/* Section 1 */
.section-1 img {
  border-radius: 50%;
  width: 20%;
  height: 20%;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* End of Section 1 */

/* Section 2 */

.contact-main {
  margin-top: -2.2rem;
  margin-bottom: 2rem;
}

.skills-level {
  margin-bottom: 1rem;
}

.skills-level a,
.contact-main a,
.projects a {
  background-color: var(--color-primary);
  /* width: 11.5rem; */
  border-radius: 25px;
  padding: 0.5rem 1.5rem 0.5rem 1.5rem;
}

.skills-level a:hover,
.projects a:hover,
.contact-main a:hover {
  background-color: var(--color-primary_blue);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.4s;
}

.section-2 li {
  padding: 0.3rem;
  font-weight: 500;
  font-size: 1.5rem;
}
/* End of Section 2 */

/* Section 3 */
.img__flowchart {
  width: 53rem;
  height: 30rem;
  margin: 0 0 0 30px;
}

.img_example {
  width: 25rem;
  height: 15rem;
  /* border-radius: 3rem; */
}

.keypoints {
  padding: 0.5rem;
}

.img-container {
  /* display: flex;
  flex-wrap: nowrap;
  align-items: left;
  flex-direction: column;
  justify-content: center;
  align-items: center; */

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
}

.img-container-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.btn-check-more {
  background-color: var(--color-primary);
  margin-top: 1.5rem;
  width: 17rem;
  height: 3.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.4s;
}

.btn-check-more:hover {
  color: #fff;
  background-color: var(--color-primary_blue);
  transition: background-color 0.4s;
}

/* .darkmode .btn-check-more {
  box-shadow: inset 0 8px 60px rgba(0, 0, 0, 0.3),
    inset 8px 0 8px rgba(0, 0, 0, 0.3), inset 0 -4px 4px rgba(0, 0, 0, 0.3);
} */
/* End of Section 3 */

/* Contact Page */
.list-container {
  margin: 2rem 2.5rem 0 2.5rem;
  max-width: 80%;
}

.contact-list {
  display: flex;
}

.contact-list-info {
  margin-right: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
}

.phone-paragraph span,
.email-paragraph span,
.location-paragraph span {
  margin-right: 0.7rem;
  color: #0067c3;
}

.social-media-contact {
  display: flex;
  margin-top: 2rem;
}

.social-item-contact {
  padding-right: 1.5rem;
  font-size: 1.5rem;
}

.social-item-contact a {
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.social-item-contact a:hover {
  background: var(--color-primary);
  border-radius: 25px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.8s;
  /* font-size: 1.5rem; */
}

.name-container {
  width: 100%;
}

.name-input {
  width: 100%;
  padding: 0.7rem;
}

.btn-send {
  margin-top: 1.5rem;
  width: 12rem;
  height: 3.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.4s;
}

.btn-send:hover {
  color: #fff;
  background-color: var(--color-primary_blue);
  transition: background-color 0.4s;
  cursor: pointer;
}

#successMessage {
  background-color: var(--color-secondary);
  color: white;
  text-align: center;
  padding: 10px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
  font-size: 1.5rem;
}

/* End of Contact Page */

/* Responsive */
@media (max-width: 1300px) {
  /* Responsive - Common Styles */
  html {
    font-size: 75%;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
    margin-top: 2rem;
  }

  h4 {
    font-size: 13px;
  }
  /* End of Responsive - Common Styles */

  /* Responsive - Section 3 */
  /* .flowchart-container {
    padding: 0rem 3rem 0rem 3rem;
  } */

  .img__flowchart img {
    max-width: 98%;
    height: auto;
    margin: auto;
  }

  .img-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
  }

  /* End of Responsive - Section 3 */
}

@media (max-width: 1200px) {
  /* Responsive - Common Styles */
  html {
    font-size: 70%;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  h1 {
    font-size: 25px;
  }

  h2 {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    font-size: 20px;
  }

  h3 {
    font-size: 15px;
    margin-top: 2rem;
  }

  h4 {
    font-size: 12px;
  }

  .social-media {
    margin-right: 0;
  }
  /* End of Responsive - Common Styles */

  /* Responsive - Header */
  .nav-links {
    margin-left: 0;
    padding-right: 11rem;
  }

  .nav.sticky {
    position: fixed;
    background-color: var(--color-primary);
    opacity: 0.95;
    border-radius: 25px;
    margin: -22px 55px;
    padding: 8px;
  }

  .nav-item {
    width: 66px;
  }

  /* End of Responsive - Header

  /* Responsive - Section 2 */
  .skills-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* End of Responsive - Section 2 */

  /* Responsive - Section 3 */
  .img__flowchart {
    width: 98%;
    height: auto;
    padding: 1.5rem 0 0 0;
    margin: auto;
  }

  /* .business_solution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } */

  .paragraphs_container {
    width: 97%;
    padding: 0rem 3rem 0rem 3rem;
  }

  .contact-paragraph {
    text-align: center;
  }
  /* End of Responsive - Section 3 */

  /* Contact Page */
  .contact-list-info {
    margin-right: 0;
    padding-right: 1.5rem;
  }

  .list-container {
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    /* End of Responsive - Section 3 */
  }
}

@media (max-width: 850px) {
  /* Responsive - Header */

  .nav-links {
    display: flex;
    flex-direction: row;
    padding-right: 11rem;
    align-items: center;
  }

  .social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .nav.sticky {
    position: fixed;
    background-color: var(--color-primary);
    opacity: 0.95;
    border-radius: 25px;
    margin: -22px 65px;
    padding: 8px;
  }

  .nav-item {
    width: 66px;
  }

  /* End of Responsive - Header */

  /* Responsive - Section 3 */
  .img-gif .he {
    width: 85vw;
    height: 35vh;
    padding: 0rem 0.5rem;
  }

  /* .flowchart-container {
    padding: 0rem 1rem 0rem 1rem;
  } */

  .img__flowchart {
    width: 98%;
    height: auto;
    padding: 0rem -1rem;
    margin: auto;
  }

  .business_solution p {
    align-items: start;
  }
  /* End of Responsive - Section 3 */
}

@media (max-width: 800px) {
  /* Responsive - Header */

  .nav-links {
    margin-left: 0;
    display: flex;
    flex-direction: row;
    padding-right: 5rem;
    align-items: start;
  }

  .social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .nav.sticky {
    position: fixed;
    background-color: var(--color-primary);
    opacity: 0.95;
    border-radius: 25px;
    margin: -22px 38px;
    padding: 8px;
  }

  .nav-item {
    width: 66px;
    padding: 5px;
  }

  .social-item {
    padding: 5px;
  }

  .nav-item,
  .social-item {
    margin: 0;
  }

  .btn-check-more {
    font-size: 1rem;
  }
  /* End of Responsive - Header */

  /* Responsive - Section 3 */
  /* .business_solution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } */

  .business_solution p {
    align-items: start;
  }

  /* Contact Page */
  .contact-list {
    margin: 2rem 3rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* End of Responsive - Section 3 */
}

@media (max-width: 550px) {
  /* Responsive - Header */
  .nav {
    margin-left: auto;
    margin-right: 2rem;
    display: flex;
    flex-wrap: wrap;
  }

  .nav > .nav-links,
  .nav > .social-media {
    display: contents;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    padding-right: 15rem;
    align-items: start;
  }

  .nav.sticky {
    position: fixed;
    background-color: var(--color-primary);
    opacity: 0.95;
    border-radius: 25px;
    margin: -22px 55px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-item {
    padding: 5px;
  }

  .social-item {
    padding: 5px;
    display: flex;
    justify-content: space-around;
  }

  .social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.2rem 0.5rem;
  }

  .social-link:hover {
    padding: 0.2rem 0.5rem;
  }

  /* End of Responsive - Header */

  /* Responsive - Section 3 */
  /* .business_solution {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } */

  .business_solution h4 {
    text-align: start;
  }

  /* Contact Page */
  .contact-list {
    margin: 2rem 3rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* End of Responsive - Section 3 */
}

@media (max-width: 450px) {
  .nav-links {
    /* padding-right: 12.25rem; */
    display: flex;
    flex-direction: row;
    align-items: start;
  }

  .nav.sticky {
    position: fixed;
    background-color: var(--color-primary);
    opacity: 0.95;
    border-radius: 25px;
    margin: -22px 3px;
    padding: 8px;
    width: 83vw;
  }

  .nav-item {
    /* width: 66px; */
    padding: 5px;
  }

  .social-item {
    padding: 5px;
  }

  .social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  /* Responsive - Section 3 */
  .img-gif .he {
    width: 85vw;
    height: 40vh;
  }

  .img__flowchart {
    width: 98%;
    height: auto;
    margin: auto;
  }

  .business_solution p {
    align-items: start;
  }

  /* Contact Page */
  .contact-list {
    margin: 2rem 3rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  /* End of Responsive - Section 3 */
}
/* End of Responsive */
