* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background: linear-gradient(115deg, #0a0a2a, #181818, #2c2c2c, #424242);
  /* background-color: #2c2c2c; */
  /* background-color: #424242; */
  font-family: 'Poppins', Arial, sans-serif;
}

/* ## GENERICS ## */

.page-main {
  min-height: 100vh;
}

.flex {
  display: flex;
}

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

.title-bg {
  font-size: 2.3rem;
  color: #383838;
  /* color: #4e4e4e; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  font-style: italic;
}

.title {
  padding: 2rem 0;
  color: #f7f7f7;
  font-size: 1.2rem;
  position: absolute;
  font-style: normal;
}

.title-bg__color {
  color: #350c66;
}

.title__color {
  color: #c0c0c0;
}

.gradient-bg {
  background: linear-gradient(135deg, #0a0a2a, #2a0a50, #0a2a50);
}

/* #### HEADER #### */

header {
  background-color: #181818;
  box-shadow: 0px 3px 10px #181818;
  position: fixed;
  z-index: 100;
  width: 100%;
}

.navbar {
  justify-content: space-around;
  padding: 1.5rem 6rem;
}

.logo {
  align-items: center;
}

.logo h2 {
  color: #f7f7f7;
}

.nav-list {
  align-items: center;
}

.nav-list ul {
  justify-content: center;
}

.nav-item {
  margin: 0 1rem;
}

.nav-item a {
  font-size: 1.15rem;
  color: #f7f7f7;
  font-weight: 400;
  transition: all 0.5s;
}

.nav-item a:hover {
  color: #d7a31a;
  /* color: #3f91f9; */
}

.mobile-menu-icon {
  display: none;
}

.mobile-menu {
  display: none;
}

/* #### END HEADER #### */

/* #### MAIN #### */

main {
  padding-top: 75px;
}

/* #### INTRO 2 #### */

.second-section {
  padding: 4rem 0;
  width: 100%;
}

.second-section__about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  width: 70%;
  margin: 0 auto;
}

.second-section__image img {
  width: 13rem;
  margin: 0 auto;
  border-radius: 50%;
}

.section-text {
  margin-top: 1rem;
  line-height: 1.5;
  text-align: justify;
}

.section-text p {
  margin-bottom: 1.4rem;
  color: #f7f7f7;
}

/* #### END INTRO 2 #### */

/* #### ABOUT SECTION #### */

.third-section {
  padding-bottom: 4rem;
}

.third-section__details {
  width: 70%;
  border-bottom: 1px solid #f7f7f7;
  padding: 0.8rem;
  /* background-color: #6f2294; */
  background-color: #332686;
}

.about-details__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f7f7f7;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s;
}

.about-details__title:hover,
.about-details__title:focus {
  color: #d7a31a;
}

.third-section__details .about-details__description,
.about-details__list {
  padding: 0.8rem 0.5rem;
  color: #c0c0c0;
}

.about-details__list li {
  margin: 0.7rem 0;
}

.third-section__details:last-child {
  border-bottom: none;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.625rem;
  padding: 1rem 0;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: 0.3rem;
  padding-left: 0.625rem;
  border-left: 1px solid #d7a31a;
}

.item-title {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  color: #f7f7f7;
}

.item-description {
  font-size: 0.9rem;
  font-weight: normal;
  color: #c0c0c0;
  padding: 0.6rem 0.5rem 0.8rem 0;
}

.item-description .list-course {
  padding-top: 0.4rem;
}

.item-icon {
  margin-right: 0.625rem;
  color: #d7a31a;
  font-size: 1.2rem;
}

/* #### END ABOUT SECTION #### */

/* #### SKILLS SECTION #### */

.skills-section {
  padding: 0 2rem 4rem 2rem;
}

.skills-section .row {
  gap: 1rem 1.5rem;
  width: 72.5%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 1rem auto;
}

.skills-section .item {
  color: #f7f7f7;
  padding: 0.5rem 0;
  margin: 0.3rem 0;
}

.skills-section .item-text {
  display: flex;
  justify-content: flex-start;
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
}

.skills-section .item-text span:last-child {
  position: absolute;
}

.skills-section .item-text .wd-90 {
  margin-left: 85%;
}

.skills-section .item-text .wd-80 {
  margin-left: 75%;
}

.skills-section .item-text .wd-75 {
  margin-left: 70%;
}

.skills-section .item-text .wd-60 {
  margin-left: 55%;
}

.skills-section .item-text .wd-50 {
  margin-left: 45%;
}

.skills-section .item-text .wd-40 {
  margin-left: 35%;
}

.progress {
  margin: 0.8rem 0;
  border-radius: 10px;
  height: 16px;
  width: 100%;
  background-color: #424242;
  overflow: hidden;
}

.progress-bar {
  background-color: #332686;
  height: 100%;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.progress-bar.wd-90 {
  width: 90%;
}

.progress-bar.wd-80 {
  width: 80%;
}

.progress-bar.wd-75 {
  width: 75%;
}

.progress-bar.wd-60 {
  width: 60%;
}

.progress-bar.wd-50 {
  width: 50%;
}

.progress-bar.wd-40 {
  width: 40%;
}

/* #### END SKILLS SECTION #### */

/* #### PROJECTS SECTION #### */

.projects-container {
  padding-bottom: 2.5rem;
  flex-direction: row;
  gap: 2.5rem;
}

.cards {
  color: #f7f7f7;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
  background-image: linear-gradient(#424242, #332686);
  overflow: hidden;
  border-radius: 1rem;
  max-width: 22rem;
  cursor: pointer;
  transition: all 0.5s;
}

.cards-section {
  width: 18rem;
}

.cards:hover {
  background-image: linear-gradient(#181818, #2c2c2c);
}

.cards .card-img {
  width: 22rem;
  opacity: 0.8;
  transition: all 0.5s;
}

.cards .card-img img {
  width: 100%;
  min-height: 12.5rem;
}

.cards:hover .card-img {
  opacity: 1;
  width: 25rem;
}

.cards .cards-content {
  padding: 0 1.25rem;
  overflow: hidden;
  height: 0;
  transition: all 0.5s;
  transform: translateY(30px);
  opacity: 0;
  width: 100%;
}

.cards:hover .cards-content {
  padding: 1.25rem;
  height: auto;
  /* min-height: 14.5rem; */
  transform: translateY(0);
  opacity: 1;
}

.cards .cards-content .card-title {
  text-align: center;
  font-size: 1.3rem;
}

.cards .cards-content .card-description {
  font-size: 0.87rem;
  font-weight: 300;
  text-align: justify;
  opacity: 0.7;
  padding-top: 1rem;
}

.cards .cards-arrow {
  padding: 0.9rem;
  font-size: 1.65rem;
  transform: rotate(-180deg);
  transition: all 0.5s;
}

.cards:hover .cards-arrow {
  transform: rotate(0);
}

.cards-btn {
  flex-direction: row;
  gap: 1rem;
}

.card-btn {
  margin-top: 1.3rem;
  color: #f7f7f7;
  border-radius: 1rem;
  font-size: 0.9rem;
  width: 5rem;
  text-align: center;
}

.btn {
  background-color: #424242;
  font-weight: bold;
  padding: 0.5rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.5s;
}

.btn:hover {
  background-color: #2a0a50;
}

.projects-btn a {
  width: 9rem;
  background-color: #d7a31a;
  color: #000;
  padding: 0.8rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 4rem;
  transition: all 0.5s;
}

.projects-btn a:hover {
  background-color: #424242;
  color: #f7f7f7;
}

/* #### END PROJECTS SECTION #### */

/* #### END MAIN #### */

/* #### FOOTER #### */

.background-footer {
  background-color: #c0c0c0;
}

.footer-content {
  width: 80%;
  margin: 0 auto;
  padding: 3rem 3.5rem 1.5rem 3.5rem;
  display: grid;
  gap: 12rem;
  grid-template-columns: repeat(2, 1fr);
}

.footer-contacts h2 {
  margin-bottom: 0.75rem;
}

.icons-social-media {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.icons-social-media a {
  font-size: 1.4rem;
  color: #2a0a50;
  transition: all 0.5s;
}

.icons-social-media a:hover {
  color: #d7a31a;
}

.footer-download a {
  font-weight: bold;
  background-color: #2c2c2c;
  width: 10rem;
  margin: 1rem 0;
  border-radius: 1rem;
  color: #f7f7f7;
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  transition: all 0.5s;
}

.footer-download a:hover {
  background-color: #d7a31a;
  color: #000;
}

.footer-credits ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-credits ul a {
  color: #2a0a50;
  transition: all 0.5s;
}

.footer-credits ul a:hover {
  color: #d7a31a;
}

.footer-copyright {
  background-color: #181818;
  padding: 1rem;
}

.footer-copyright p {
  color: #f2f2f2;
  font-size: 0.85rem;
}

/* #### END FOOTER #### */
