/* @import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap'); */
/*:default {
  primary: #3d3b40;
  primary-rgba: var(--color1);
  secondary: #525ceb;
  secondary-rgba: rgba(82, 92, 235, 1);

  link : https://colorhunt.co/palette/3d3b40525cebbfcfe7f8edff 
}*/
/* @font-face {
  font-family: 'Rubik Mono One';
  font-style: normal;
  font-weight: 400;
  src:
    local('Rubik Mono One'),
    local('RubikMonoOne-Regular'),
    url(https://fonts.gstatic.com/s/rubikmonoone/v10/UqyJK8kPP3hjw6ANTdfRk9YSN-8wRqQrc_j9ZU4.woff2)
      format('woff2');
  font-display: swap;
} */

/* DARKMODE */
* {
  box-sizing: border-box;
  outline: transparent solid 1px;
}
:root {
  --color1: #3d3b40;
  --color2: #525ceb;
  --color3: #f8edff;
  --color4: #bfcfe7;
  --color1-rgba80: rgba(61, 59, 64, 0.8);
  --color2-rgba80: rgba(82, 92, 235, 0.8);
  --color3-rgba80: rgba(248, 237, 255, 0.8);
  --color4-rgba80: rgba(191, 207, 231, 0.8);
  --color1-rgba70: rgba(61, 59, 64, 0.7);
  --color2-rgba50: rgba(82, 92, 235, 0.5);
  --color3-rgba50: rgba(248, 237, 255, 0.5);
  --color4-rgba50: rgba(191, 207, 231, 0.5);
  --color1-rgba40: rgba(61, 59, 64, 0.4);
  --color3-rgba20: rgba(248, 237, 255, 0.2);
  --color4-rgba20: rgba(191, 207, 231, 0.2);
  --color1-rgba0: rgba(61, 59, 64, 0);
  --grayscale100: grayscale(0%);
  --grayscale0: grayscale(100%);
  --logo: src('images/icon-light.svg');
}

.dark-mode {
  --color1: #f8edff;
  --color2: #bfcfe7;
  --color3: #3d3b40;
  --color4: #525ceb;
  --color1-rgba80: rgba(248, 237, 255, 0.8);
  --color2-rgba80: rgba(191, 207, 231, 0.8);
  --color3-rgba80: rgba(61, 59, 64, 0.8);
  --color4-rgba80: rgba(82, 92, 235, 0.8);
  --color1-rgba70: rgba(248, 237, 255, 0.7);
  --color2-rgba50: rgba(191, 207, 231, 0.5);
  --color3-rgba50: rgba(61, 59, 64, 0.5);
  --color4-rgba50: rgba(82, 92, 235, 0.5);
  --color1-rgba40: rgba(248, 237, 255, 0.4);
  --color3-rgba20: rgba(61, 59, 64, 0.2);
  --color4-rgba20: rgba(82, 92, 235, 0.2);
  --color1-rgba0: rgba(248, 237, 255, 0);
  --grayscale100: grayscale(100%);
  --grayscale0: grayscale(0%);
  --logo: url('images/logo-dark.svg');
}

label {
  width: 100px;
  height: 40px;
  position: relative;
  display: block;
  background: linear-gradient(180deg, #3d3b40, #525ceb);
  border-radius: 40px;
  box-shadow:
    inset 0px 5px 15px var(--color4-rgba50),
    inset 0px -5px 16px var(--color3-rgba50);
  cursor: pointer;
  transition: 0.3s;
}

label:after {
  content: '';
  width: 36px;
  height: 36px;
  position: absolute;
  top: 2px;
  left: 2px;
  background: #3d3b40;
  border-radius: 40px;
  box-shadow: 0px 5px 15px var(--color4-rgba50);
  transition: 0.5s;
}

input {
  width: 0;
  height: 0;
  visibility: hidden;
}

input:checked + label {
  background: linear-gradient(180deg, #f8edff, #bfcfe7);
}

input:checked + label:after {
  left: 98px;
  transform: translateX(-100%);
  background: #f8edff;
}

label:active:after {
  width: 60px;
}

label svg {
  position: absolute;
  width: 30px;
  z-index: 120;
}
label svg.dark {
  top: 3px;
  left: 5px;
  fill: #bfcfe7;
  transition: 0.5s;
}
label svg.light {
  top: 8px;
  left: 69px;
  fill: #f8edff;
  transition: 0.5s;
}

input:checked + label svg.dark {
  fill: #525ceb;
}

input:checked + label svg.light {
  fill: #3d3b40;
}

.darkmode-switcher {
  position: fixed;
  bottom: 1rem;
  right: 2rem;
  z-index: 150;
}

/* GLOBAL */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media only screen and (min-width: 769px) {
  html {
    scroll-behavior: smooth;

    /* Custom scrollbar styles */
    ::-webkit-scrollbar {
      width: 12px;
      height: calc(100% - 50px);
    }

    ::-webkit-scrollbar-track {
      background: var(--color1);
    }

    ::-webkit-scrollbar-thumb {
      background-color: var(--color2);
      border-radius: 10px;
      border: 2px solid var(--color1);
    }
  }
}

body {
  font-family: 'Rubik Mono One', monospace;
  margin: 0 auto;
  padding: 0;
  background-color: var(--color1);
  /* Set background color */
  color: var(--color4);
  transition: 0.5s fade;
  line-height: 120%;
  max-width: 1440px;
  /* font-display: swap; */
  position: relative;
}
body p {
  color: var(--color3);
  line-height: 120%;
}
body a {
  color: var(--color3);
}

body h1 {
  line-height: 120%;
}
header {
  background-color: var(--color3);
  color: var(--color3);
  padding: 1rem;
  text-align: center;
}
main {
  padding: 2rem;
}
section {
  margin-bottom: 10rem;
}
footer {
  background-color: var(--color2);
  color: var(--color4);
  text-align: center;
  padding: 1rem;
  position: sticky;
  position: -webkit-sticky;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

footer.sticky {
  position: sticky;
  bottom: 0;
}
h2 {
  padding-top: 150px;
  margin-top: -150px;
  font-size: 64px;
  color: var(--color4);
  text-align: center;
  line-height: 120%;
}

p {
  padding-left: 1rem;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center; /* Changed from 'middle' to 'center' */
  flex-direction: column;
  width: 75%;
  text-align: justify;
  margin: 0 auto; /* Center the block horizontally */
  p {
    font-size: 1.5vw;
    line-height: 120%;
  }
}

@media (max-width: 768px) {
  h2 {
    padding-top: 150px;
    margin-top: -150px;
    font-size: 48px;
    line-height: 120%;
  }

  .about {
    text-align: center;
    width: 95%;
    p {
      font-size: 14px;
    }
  }

  main {
    padding: 0;
  }

  html {
    /* Custom scrollbar styles */
    ::-webkit-scrollbar {
      display: none;
      width: 0px;
      height: calc(100% - 50px);
    }

    ::-webkit-scrollbar-track {
      display: none;
      background: var(--color1);
    }

    ::-webkit-scrollbar-thumb {
      display: none;
      background-color: var(--color2);
      border-radius: 0px;
      border: 0px solid var(--color1);
    }

    overflow-x: hidden;
  }
}

/* HERO */
#hero {
  background: linear-gradient(to bottom, var(--color2), var(--color1));
  height: 50vh;
  width: 75%;
  margin: 1vh auto 0 auto;
  /* Margin from top 1vh */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Align items to the top */
  text-align: top;
  border-radius: 2em;
  /* Less rounded corners */
  position: relative;
  overflow: hidden;
  padding: 0vh;
  h1 {
    position: absolute;
    margin-top: 40dvh;
    color: var(--color1);
    z-index: 1;
    font-size: 18px;
  }
}

#hero img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 90%;
  width: auto;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  filter: var(--grayscale100);
  transition: filter 0.5s ease;
}

#hero img:hover {
  filter: var(--grayscale0);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 20%;
  background: linear-gradient(
    to bottom,
    var(--color1-rgba0) 0%,
    var(--color1) 100%
  );
  z-index: 2;
}
.hero-content {
  position: absolute;
  top: 0vh;
  left: 0;
  right: 0;
  padding: 0rem;
  text-align: center;
  z-index: 0;
  font-display: block;
  font-size: 8.5vw;
  color: var(--color1);
  transition: top 0.5s ease;
  margin: -5%;
  font-weight: 100;
  margin: 0;
}

.hero-content p {
  top: 20vh;
  padding: -1000px;
  -webkit-text-stroke: 1px var(--color2);
  text-shadow:
    -2px -2px 0 var(--color4),
    2px -2px 0 var(--color4),
    -2px 2px 0 var(--color4),
    2px 2px 0 var(--color4);
  -webkit-text-shadow:
    -2px -2px 0 var(--color4),
    2px -2px 0 var(--color4),
    -2px 2px 0 var(--color4),
    2px 2px 0 var(--color4);
  margin: 10vh 0;
  margin-left: 5vw;
}
.hero-content-duplicate-1 p {
  color: var(--color1-rgba70);
  margin: 12vh 0;
  margin-left: 5vw;
}
.hero-content-duplicate-2 p {
  color: var(--color1-rgba40);
  margin: 14vh 0;
  margin-left: 5vw;
}
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  background-color: var(--color1);
  color: var(--color3);
  text-decoration: none;
  border-radius: 5px;
}
.btn:hover {
  background-color: var(--color1);
}
.scroll-btn {
  display: inline-block;
  padding: 1rem 1rem;
  background-color: var(--color3-rgba80);
  color: var(--color2-rgba80);
  text-decoration: none;
  border-radius: 5px 20px 5px 20px;
  cursor: pointer;
  z-index: 3;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  font-size: 3vw;
  transform: translateX(-50%);
  font-weight: bold;
  white-space: nowrap;
  transition: 0.5s ease;
}
.scroll-btn:hover {
  background-color: var(--color3);
  color: var(--color2);
  border-radius: 20px 5px 20px 5px;
}

@media (max-width: 768px) {
  #hero {
    width: 85%;
  }

  .scroll-btn {
    font-size: 20px;
  }
}

@media screen and (min-width: 1440px) {
  .hero-content {
    font-size: 122.4px;
  }
  .hero-content p {
    margin-left: 72px;
  }
  .hero-content-duplicate-1 p {
    margin-left: 72px;
  }
  .hero-content-duplicate-2 p {
    margin-left: 72px;
  }
  .scroll-btn {
    font-size: 43.2px;
  }
  .about {
    text-align: justify;
    width: 85%;
    p {
      font-size: 21px;
    }
  }
}

/* NAVIGATION */
#navigation {
  color: var(--color2) !important;
  text-align: center;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
  background: linear-gradient(
    to bottom,
    var(--color1-rgba80),
    var(--color1-rgba80)
  );
  transition: backdrop-filter 0.5s ease;
  justify-content: center;
}
#navigation nav ul {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1vh 0vh 0 0vh;
}
#navigation nav ul li {
  flex: 1;
  text-align: center;
  margin: 0 1vw;
  list-style: none;
}
#navigation nav ul li a {
  display: block;
  margin: 0;
  width: 100%;
  padding: 20px 5px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 100;
  font-size: 2.75vw;
  transition: 0.7s;
  background: transparent;
  margin-top: 0px;
  margin-bottom: 0;
  border-radius: 10px 5px 10px 5px;
}

@media screen and (min-width: 1440px) {
  #navigation nav ul li a {
    font-size: 39.6px;
  }
}

#navigation nav ul:hover {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 1vh 0vh 0 0vh;
}

#navigation nav ul li a:hover {
  color: var(--color3-rgba80);
  text-decoration: underline var(--color1);
  background-color: var(--color2);
  margin-top: 0;
  margin-bottom: 0px;
  padding: 20px 5px;
}
@media (max-width: 768px) {
  #navigation nav ul li a {
    font-size: 20px;
    padding: 20px 5px;
    margin-bottom: 0px;
  }
  #navigation nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #navigation nav ul li {
    flex: 1 1 calc(50% - 30px); /* This will make two items per row */
    text-align: center;
    margin: 0 5px;
  }

  #navigation {
    width: 100%;
    margin: 0;
  }
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 5vw auto;
  z-index: 100;
}
.timeline-line {
  position: absolute;
  width: 5px;
  height: 102%;
  background-color: var(--color2);
  top: 0;
  bottom: 0;
  left: 50%;
}
.timeline-item {
  position: relative;
  width: 50%;
  margin: auto;
}
.timeline-item.left {
  left: 50%;
  transform: translateX(100%);
}
.timeline-item .timeline-content {
  background-color: var(--color3);
  color: var(--color1);
  text-align: center;
  z-index: 98;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10vw;
  font-size: 16px;
}
.timeline-item .timeline-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  background-color: var(--color2);
  border: 5px solid var(--color2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 100;
  color: var(--color3-rgba80);
  font-size: 40px;
  z-index: 100;
  box-shadow: 0 5px 10px var(--color2-rgba50);
}
.timeline-item .timeline-circle {
  margin-top: -35px;
}
.timeline-content {
  padding: 5px;
  border-radius: 5vh 0vh 5vh 0vh;
  color: var(--color2-rgba50);
  text-align: center;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15vw;
}

.timeline-content p {
  color: var(--color1);
  padding: 0 15px;
}

/* new styles */

.timeline-line {
  z-index: 1;
}
.timeline-item {
  z-index: 2;
}
.timeline .timeline-item:nth-child(odd) {
  margin-left: calc(50% - 160px / 2);
}
.timeline .timeline-item:nth-child(even) {
  margin-right: calc(50% - 160px / 2);
}
.timeline .timeline-item:nth-child(odd) .timeline-circle {
  border-bottom: 10px solid var(--color4-rgba50);
  border-right: 10px solid var(--color4-rgba50);
}
.timeline .timeline-item:nth-child(even) .timeline-circle {
  right: -10px;
  left: unset;
  border-bottom: 10px solid var(--color4-rgba50);
  border-left: 10px solid var(--color4-rgba50);
}
/*.timeline .timeline-item:nth-child(even) .timeline-content p {
}*/
.timeline .timeline-item:nth-child(even) .timeline-content {
  text-align: right;
  justify-content: flex-end;
  border-right: 10px solid var(--color2);
  border-bottom: 10px solid var(--color2);
  border-radius: 0vh 5vh 0vh 5vh;
}
.timeline .timeline-item:nth-child(odd) .timeline-content {
  text-align: left;
  justify-content: flex-start;
  margin-left: 185px;
  border-left: 10px solid var(--color2);
  border-bottom: 10px solid var(--color2);
}
.timeline .timeline-item:nth-child(even) .timeline-content {
  margin-right: 175px;
}

.timeline .timeline-item:nth-child(o1dd) {
  padding-top: 5px;
}
/*.timeline-item .timeline-content {
}*/

/* RESPONSIVE */

@media only screen and (max-width: 767px) {
  .timeline-item .timeline-circle {
    position: relative;
    align-self: center;
    margin-top: 0;
    width: 120px;
    height: 120px;
    font-size: 32px;
  }

  .timeline-item .timeline-content {
    position: relative;
  }

  .timeline .timeline-item:nth-child(odd) .timeline-content,
  .timeline .timeline-item:nth-child(even) .timeline-content {
    width: 75%;
    margin-left: 0;
    margin-top: 0;
  }

  .timeline .timeline-item:nth-child(odd),
  .timeline .timeline-item:nth-child(even) {
    margin-left: unset;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 75px;
  }

  .timeline .timeline-item:nth-child(o1dd) {
    margin-top: 5px;
  }

  .timeline .timeline-item:nth-child(even) .timeline-content {
    margin-right: unset;
  }

  .timeline .timeline-item:nth-child(odd) .timeline-content p,
  .timeline .timeline-item:nth-child(even) .timeline-content p {
    width: 100%;
    text-align: center;
  }

  .timeline .timeline-item:nth-child(even) .timeline-circle {
    right: 0;
  }
}

/* REVIEW */

.review-item {
  display: flex;
  align-items: center;
  position: relative;
  text-align: left;
  width: 75%;
  margin: auto;
  height: auto;
  padding: 5% 0 5% 0;
}

.review-content {
  padding: 15px;
  color: var(--color3);
  text-align: center;
  z-index: 10;
  align-items: center;
  justify-content: center;
}

.review-item .review-content {
  position: relative;
  width: 70%;
  background-color: var(--color3);
  color: var(--color1);
  font-size: 20px;
  font-weight: 100;
  margin: 0 0 0 10px;
}

.review-item:nth-child(odd) .review-content {
  border-radius: 5vh 0vh 5vh 0vh;
}

.review-item:nth-child(even) .review-content {
  border-radius: 0vh 5vh 0vh 5vh;
}

.review .review-item:nth-child(odd) .review-content {
  margin-left: 30%;
  border-left: 10px solid var(--color2);
  border-bottom: 10px solid var(--color2);
}

.review .review-item:nth-child(even) .review-content {
  margin-right: 30%;
  border-right: 10px solid var(--color2);
  border-bottom: 10px solid var(--color2);
}

.review .review-item .review-content h3 {
  height: 0;
  font-size: 36px;
  padding: 0 20px 16px 20px;
  color: var(--color2);
  line-height: 120%;
}
/* 
.review .review-item .review-content h3:nth-child(3) {
  color: var(--color2) !important;
} */

.review .review-item .review-content h3 a {
  color: var(--color2);
  text-decoration: none;
  transition:
    color 0.5s ease,
    text-decoration 0.5s ease-in-out;
}

.review .review-item .review-content h3 a:hover {
  color: var(--color1);
  text-decoration: underline var(--color2);
}

.review .review-item:nth-child(odd) .review-content h3 {
  text-align: left;
}

.review .review-item:nth-child(even) .review-content h3 {
  text-align: right;
}

.review .review-item:nth-child(odd) p {
  text-align: left;
}

.review .review-item:nth-child(even) p {
  text-align: right;
}

.review .review-item .review-circle {
  position: absolute;
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  object-fit: scale-down;
  justify-content: flex-end;
  margin: 0;
  display: block;
  background-color: var(--color2);
  box-shadow: 0 5px 10px var(--color2-rgba50);
}

.review .review-item:nth-child(odd) .review-circle {
  border-bottom: 10px solid var(--color4-rgba50);
  border-right: 10px solid var(--color4-rgba50);
  left: 0;
}

.review .review-item:nth-child(even) .review-circle {
  border-bottom: 10px solid var(--color4-rgba50);
  border-left: 10px solid var(--color4-rgba50);
  right: 0;
}

.review-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: var(--grayscale0);
  transition: filter 0.5s ease;
  aspect-ratio: 1/1;
}

.review-circle img:hover {
  filter: var(--grayscale100);
}

.review .review-item .review-button a {
  background-color: var(--color2);
  color: var(--color3-rgba80);
  justify-content: flex-end;
  border-radius: 5px 20px 5px 20px;
  padding: 5px 20px;
  transition: 0.5s ease;
}

.review .review-item p {
  color: var(--color1);
  justify-content: flex-end;
  border-radius: 5px 20px 5px 20px;
  padding: 5px 20px;
  transition: 0.5s ease;
}

.review .review-item .review-button a:hover {
  background-color: var(--color2-rgba80);
  color: var(--color3);
  border-radius: 20px 5px 20px 5px;
}

.review .review-item .review-button {
  justify-content: flex-end;
  border-radius: 5vh 0vh 5vh 0vh;
  padding: 2% 5%;
  background-color: transparent;
}

@media (max-width: 768px) {
  .review-item {
    flex-direction: column;
    text-align: center;
  }

  .review-item .review-content {
    width: 100%;
    margin: 10px 0 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .review-item .review-content h3 {
    text-align: center !important;
    width: 100%;
    font-size: 28px !important;
    line-height: 120%;
    padding-bottom: 30px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .review-item .review-content p {
    text-align: center !important;
    width: 100%;
    font-size: 16px;
    line-height: 120%;
  }

  .review .review-item:nth-child(odd) .review-content,
  .review .review-item:nth-child(even) .review-content {
    margin: 10px 0 0 0;
    text-align: center;
  }

  .review .review-item:nth-child(odd) .review-circle,
  .review .review-item:nth-child(even) .review-circle {
    margin: 0 auto;
    position: relative;
    width: 35vw;
    height: 35vw;
    order: -1; /* Ensure review-circle is above review-content */
  }

  .review .review-item .review-button a {
    font-size: 16px;
    white-space: nowrap;
  }
}

@media screen and (min-width: 1440px) {
  .review-item:nth-child(odd) .review-content {
    border-radius: 72px 0vh 72px 0vh;
  }

  .review-item:nth-child(even) .review-content {
    border-radius: 0vh 72px 0vh 72px;
  }

  .review .review-item .review-circle {
    width: 288px;
    height: 288px;
  }
}
/* SKILLS */
.skills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Allow items to wrap to the next line if necessary */
  position: relative;
  text-align: left;
  width: 75%;
  margin: auto;
  height: auto;
  padding: 5% 0;
}

.skill-item {
  flex: 1 1 calc(20%); /* Each item takes up 1/4 of the row minus some space for gaps */
  margin: 20px 5px; /* Add some margin for spacing between items */
  box-sizing: border-box; /* Ensure padding and border are included in the width */
  align-items: center;
  justify-content: center;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: column; /* Ensure skill-content is always below skill-circle */
}

.skill-item .skill-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: var(--color3);
  width: 13vw;
  color: var(--color1);
  font-size: 8px;
  border-radius: 0vh 5vh 0vh 5vh;
  border-right: 10px solid var(--color2);
  border-bottom: 10px solid var(--color2);
}

.skill-item .skill-content h3 {
  font-size: 1.25vw;
  margin-bottom: 10px;
  color: var(--color2);
  list-style: 1.5vw;
}

.skill-item .skill-content p {
  font-size: 1vw;
  margin-bottom: 10px;
  color: var(--color1);
  line-height: 120%;
}

.skill-item .skill-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5vw;
  height: 5vw;
  border-radius: 50%;
  background-color: var(--color2);
  padding: 10px;
  margin-bottom: 20px;
  border-bottom: 10px solid var(--color4-rgba80);
  border-right: 10px solid var(--color4-rgba80);
  box-shadow: 0 5px 10px var(--color2-rgba50);
}

.skill-item svg {
  width: 75%;
  height: 75%;
  border-radius: 0%;
  fill: var(--color3-rgba80);
}

.skill-item:last-child svg {
  width: 75%;
  height: 75%;
  border-radius: 0%;
  fill: transparent;
}

@media screen and (max-width: 768px) {
  .skill-item {
    flex: 1 1 100%; /* Each item takes up the full width of the row */
    margin: 10px 0; /* Adjust margin for better spacing on smaller screens */
  }

  .skill-item .skill-content {
    width: 75vw !important; /* Adjust width for smaller screens */
  }

  .skill-item .skill-circle {
    width: 20vw; /* Adjust width for smaller screens */
    height: 20vw; /* Adjust height for smaller screens */
  }

  .skill-item .skill-content h3 {
    font-size: 20px;
    line-height: 120%;
  }

  .skill-item .skill-content p {
    font-size: 16px;
    line-height: 120%;
  }

  .skill-item .skill-circle {
    border-bottom: 5px solid var(--color4-rgba80);
    border-right: 5px solid var(--color4-rgba80);
  }
}

@media screen and (min-width: 1440px) {
  .skill-item .skill-content {
    width: 187.2px;
  }

  .skill-item .skill-content h3 {
    font-size: 18px;
    list-style: 21.6px;
  }

  .skill-item .skill-content p {
    font-size: 14.4px;
  }
  .skill-item .skill-circle {
    width: 72px;
    height: 72px;
  }
}

/* CONTACT */

.contact {
  display: flex;
  align-items: center;
  justify-content: center; /* Distribute space between items */
  flex-wrap: wrap; /* Allow items to wrap to the next line if necessary */
  position: relative;
  text-align: left;
  width: 75%;
  margin: auto;
  height: auto;
  padding: 0 0;
}

.contact-item {
  flex: 1 1 calc(33.33% - 40px); /* Each item takes up 1/3 of the row minus some space for gaps */
  margin: 10px; /* Add some margin for spacing between items */
  box-sizing: border-box; /* Ensure padding and border are included in the width */
  align-items: center;
  justify-content: center;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: row;
}
.contact-item .contact-circle:nth-child(odd) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10vw;
  height: 10vw;
  border-radius: 50%;
  background-color: var(--color2);
  padding: 10px;
  text-align: center;
  margin: 0 0px;
  transition: 0.5s ease;
  box-shadow: 0 5px 10px var(--color2-rgba50);
}

.contact-item .contact-circle:nth-child(even) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(7.5vw + 20px);
  height: 7.5vw;
  border-radius: 50%;
  background-color: var(--color4-rgba80);
  /* padding: 10px; */
  margin: 0 20px;
  text-align: center;
  border-right: 10px solid var(--color2-rgba80);
  border-left: 10px solid var(--color2-rgba80);
  box-shadow: 0 5px 10px var(--color4-rgba50);
}

.contact-item .contact-circle:nth-child(even) img {
  justify-self: center;
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in;
}

.contact-item .contact-circle:nth-child(even) img:hover {
  width: 90%;
  height: 95%;
  transform: rotate(360deg);
}

.contact-item .contact-circle:nth-child(1) {
  border-bottom: 10px solid var(--color4-rgba80);
  border-right: 10px solid var(--color4-rgba80);
}

.contact-item .contact-circle:nth-child(3) {
  border-bottom: 10px solid var(--color4-rgba80);
  border-left: 10px solid var(--color4-rgba80);
}

.contact-item:nth-child(odd) svg {
  width: 85%;
  height: 85%;
  border-radius: 0%;
  transition: 0.3s ease-in;
  path {
    fill: var(--color3-rgba80);
    transition: 0.5s ease;
  }
}

.contact-item:nth-child(odd) svg:hover {
  width: 75%;
  height: 80%;
  border-radius: 0%;
  path {
    fill: var(--color3);
  }
}

.contact-item svg:nth-child(3) {
  width: 120%;
  height: 120%;
  border-radius: 0%;
}

.contact-item .contact-circle .contact-circle-circle {
  border-radius: 10px solid var(--color2-rgba80);
}

.contact-item .contact-circle:nth-child(odd):hover {
  background-color: var(--color2-rgba50);
}

#contact {
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .contact {
    width: 100%;
  }
  .contact-item {
    flex: 1 1 25%; /* Each item takes up the full width */
    margin: 5px 0; /* Adjust margin for spacing between items */
    flex-wrap: nowrap;
  }

  .contact-item .contact-circle {
    width: 15vw; /* Adjust width for smaller screens */
    height: 15vw; /* Adjust height for smaller screens */
    margin: 10px auto; /* Center circles horizontally */
    padding: 0px;
    box-shadow: 0 5px 10px var(--color2-rgba50);
  }

  .contact-item img {
    width: 80%; /* Adjust image width for smaller screens */
    height: 80%;
  }

  .contact-item .contact-circle:nth-child(even) {
    border-right: 5px solid var(--color2-rgba80);
    border-left: 5px solid var(--color2-rgba80);
    margin: 0 10px;
  }

  .contact-item .contact-circle:nth-child(1) {
    border-bottom: 5px solid var(--color4-rgba80);
    border-right: 5px solid var(--color4-rgba80);
  }

  .contact-item .contact-circle:nth-child(3) {
    border-bottom: 5px solid var(--color4-rgba80);
    border-left: 5px solid var(--color4-rgba80);
  }
}

@media screen and (min-width: 1440px) {
  .contact-item .contact-circle:nth-child(odd) {
    width: 144px;
    height: 144px;
  }

  .contact-item .contact-circle:nth-child(even) {
    width: 128px;
    height: 108px;
  }
}

/* PRINT */
@media print {
  body {
    font-size: 12pt;
    color: #000;
    padding: 0;
    margin: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
  section {
    padding: 0;
    margin: 0;
  }
  div {
    padding: 0;
    margin: 0;
    page-break-inside: auto;
    page-break-after: auto;
  }
  #timeline {
    /* page-break-before: always; */
    .timeline {
      page-break-before: auto;
    }
  }
  img {
    max-width: 100%;
    height: auto;
  }

  header,
  aside {
    display: none;
  }

  main {
    width: 100%;
  }

  table {
    width: 100%;
    border-collapse: collapse;
  }

  th,
  td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
  }
}
