:root {
  --font: "Poppins", sans-serif;
  --dark-background: #0b132b;
  --ligh-background: #101f49;
  --aqua: #0dd199;
  --white: #ffffff;
  --light-blue: #00ffff;
  --fucsia: #ff00ff;
  --gradient-2-colors: linear-gradient(90deg, #561b8f, #525eff);
  --gradient-3-colors: linear-gradient(90deg, #561b8f, #525eff, #0dd199);
  --gradient-2-colors-green: linear-gradient(90deg, #0dd199, #525eff);
}

/* ===DESKTOP STYLE==== */
* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
/* ======HEADER STYLE======= */
nav {
  display: flex;
  width: 100%;
  position: fixed;
  z-index: 1000;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px 0px;
  background: rgba(115, 151, 149, 0.178);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0px 0px 20px 20px;
}
nav a {
  font-family: var(--font);
  font-size: 18px;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav li {
  list-style: none;
  display: inline-block;
  justify-content: space-between;
  padding: 0px 10px;
}

a.nav-item:hover {
  color: var(--aqua);
}

.home-logo {
  font-family: var(--font);
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.home-logo:hover {
  color: var(--aqua);
}

.button {
  background-color: var(--aqua);
  border-radius: 10px;
  padding: 10px 50px;
  color: var(--white);
  font-family: var(--font);
  font-weight: 500;
  font-size: 18px;
  border-width: 0;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0px 8px 30px rgba(9, 44, 37, 0.37);
}

button.button:hover {
  border: none;
  background-color: #ffffff;
  box-shadow: 0px 15px 20px rgba(13, 209, 153, 0.3);
  color: var(--aqua);
  transform: translateY(-7px);
}

.header-container {
  background: var(--gradient-2-colors);
  animation: gradient 10s ease infinite;
  background-size: 300% 300%;
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
  align-content: center;
  padding: 13% 5%;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} 

.header-text {
  font-family: var(--font);
  color: var(--white);
  text-align: left;
  justify-content: center;
}

.header-h1 {
  font-size: 100px;
  line-height: 120%;
}

.header-h2 {
  margin-top: 10px;
  margin-bottom: 5%;
  font-size: 70px;
  font-weight: 300;
  line-height: 120%;
}
.header-image {
  display: flex;
  justify-content: center;
}

.btn-text {
  margin: 0% 10px;
}

.img {
  width: 85%;
  border-radius: 100%;
  border-width: 10px;
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: -50px -20px 40px rgba(227, 135, 255, 0.25),
    0px 50px 40px rgba(255, 219, 57, 0.3),
    50px -20px 40px rgba(118, 255, 255, 0.3),
    0 0 2pt 4pt rgba(255, 255, 255, 0.6);
}

.dark-container-1 {
  justify-content: center;
  background-color: var(--dark-background);
  padding: 8% 10%;
}
.motivation-h1 {
  color: var(--white);
  font-family: var(--font);
  font-size: 115px;
  text-align: center;
  line-height: 140px;
}
.motivation-h2 {
  margin-top: 3%;
  color: var(--ligh-background);
  font-family: var(--font);
  font-size: 30px;
  text-align: center;
}
.motivation-gradient {
  background: var(--gradient-3-colors);
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 5s ease infinite;
  height: fit-content;
}

@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
} 

/* ======ABOUT STYLE====== */

.dark-container-2 {
  justify-content: center;
  display: flex;
  background-color: var(--dark-background);
}

.about-main {
  margin-top: 5%;
  height: 400px;
  width: 85%;
  background-color: var(--ligh-background);
  border-radius: 20px;
}

.about-main-2 {
  display: flex;
  justify-content: space-evenly;
}

.sections-title-h1 {
  padding-top: 3%;
  margin-bottom: 2%;
  text-align: center;
  color: var(--aqua);
  font-family: var(--font);
  font-size: 36px;
}

.about-left {
  width: 60%;
  padding: 0% 8%;
}

.about-right {
  width: 40%;
  padding: 0% 2%;
}

.about-left-text {
  text-align: justify;
  color: var(--white);
  font-family: var(--font);
  font-size: 18px;
  line-height: 35px;
}

.about-right-text {
  text-align: left;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font);
  font-size: 18px;
  list-style: none;
  line-height: 70px;
}

.about-a {
  margin: 5%;
}

/* =======EXPERIENCE STYlE===== */
.dark-container-3 {
  justify-content: center;
  display: flex;
  background-color: var(--dark-background);
}

.experience-main {
  margin-top: 5%;
  margin-bottom: 5%;
  height: 1000px;
  width: 85%;
  background-color: var(--ligh-background);
  border-radius: 20px;
}

.experience-container {
  display: flex;
  justify-content: space-evenly;
}
.experience-content {
  color: var(--white);
  font-family: var(--font);
  font-weight: 200;
}
.titles-experience-section {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 5%;
}

.time-line {
  padding: 0% 10%;
}
.time-line::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--aqua);
  left: 50%;
  height: 65%;
  border-radius: 10px;
}

.momment {
  position: relative;
  width: 45%;
  box-sizing: border-box;
}

.momment:nth-child(even) {
  left: 55%;
}

.momment::after {
  content: "";
  position: absolute;
  top: calc(50% + 10px);
  right: calc(-11.11% - 11.5px);
  height: 20px;
  width: 20px;
  background-color: var(--aqua);
  border-radius: 50%;
}

.momment:nth-child(even)::after {
  left: calc(-11.11% - 8.5px);
}

.momment h3 {
  font-family: var(--font);
  font-weight: 300;
  color: var(--white);
  margin: 10px 0px;
  font-size: 30px;
  text-align: center;
}

.momment .description {
  font-family: var(--font);
  background-color: var(--white);
  border-radius: 10px;
  padding: 10px;
  line-height: 22px;
  font-size: 18px;
  color: var(--aqua);
}

.momment .description::after {
  content: "";
  position: absolute;
  right: -10px;
  top: calc(50% + 10px);
  height: 0;
  width: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid var(--white);
}

.momment:nth-child(even) .description {
  background-color: var(--aqua);
  color: var(--white);
}

.momment:nth-child(even) .description::after {
  left: -10px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid var(--aqua);
  border-left: none;
}

/* =======PROJECTS STYLE==== */
.projects-gradient-container {
  width: 100%;
  background: var(--gradient-2-colors);
  animation: gradient 10s ease infinite;
  background-size: 300% 300%;
}

.projects-title-h1 {
  background: var(--gradient-2-colors-green);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: 3%;
  margin-bottom: 2%;
  text-align: center;
  font-family: var(--font);
  font-size: 80px;
}

.projects-container-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  gap: 1em;
  height: 500px;
}
.projects-blur-main-1 {
  height: 350px;
  width: 700px;
  background-image: url(https://sergicodes.github.io/portfolio/images/panah-website.png);
  background-size: cover;
  /* background: rgba(255, 255, 255, 0.168);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(10px); */
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: 0.4s ease all;
  /* margin-bottom: 10%; */
}

.projects-blur-main-1:hover {
  opacity: 1;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 10px 40px rgba(101, 239, 159, 0.7);
}

.projects-blur-main-2 {
  height: 350px;
  width: 700px;
  background-image: url(https://sergicodes.github.io/portfolio/images/sergi-website.png);
  background-size: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: 0.4s ease all;
  /* margin-bottom: 10%; */
}

.projects-blur-main-2:hover {
  opacity: 1;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 10px 40px rgba(101, 239, 159, 0.7);
}

.projects-title-h2 {
  font-size: 44px;
  font-family: var(--font);
  background: linear-gradient(120deg, #9be15d, #00e3ae);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  text-align: center;
}

/* =======HABILITIES STYLE===== */
.dark-container-4 {
  justify-content: center;
  display: flex;
  width: 100%;
  height: 500px;
  background-color: var(--dark-background);
}
