@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;700&display=swap');
html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-y: scroll;
  background: black;
}
ul {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
    background-color: #000000;
    display: flex;
    justify-content: center;
}

ul li a {
    display: block;
    color: white;
    padding: 20px 20px;
    font-size: 22px;
    text-decoration: none;
}

ul li a:hover {
    background-color: #360352;
}

.firstPage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10%;
  margin-left: 10%;
  margin-bottom: 300px;
  scroll-margin-top: 160px;
}

.nameContainer {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.nameContainer p {
  display: flex;
  font-family: 'Exo 2';
  font-size: 100px;
  font-weight: 700;
  color: white;
  background: linear-gradient(90deg, #4C00A9 0%, #B388E7 100%), #4C00A9;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logoContainer {
  width: 50%;
  display: flex;
  flex-direction: column;
}
.logoContainer img {
  width: 100%;
  height: auto;
}

/* Skills */

.icons {
    display: flex;
    justify-content: center;
    margin-bottom: 200px;
}

.skillsContainer {
  padding: 2rem;
  gap: 2rem;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.toolsContainer {
  padding: 2rem;
  gap: 2rem;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #4418bd;
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.icon:hover {
  transform: translateY(-5px);
}

.icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.icon p {
  margin: 0;
  color: white;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
}

.sectionTitle {
  display: flex;
  align-items: center;
  text-align: center;
  color: #7f57ee;
  font-size: 2.5em;
  font-family: 'Exo 2', sans-serif;
  scroll-margin-top: 100px;
}

.sectionTitle::before,
.sectionTitle::after {
  content: "";
  flex: 1;
  border-bottom: 2px solid #ccc;
  margin: 0.5em;
}

.sectionTitle span {
  white-space: nowrap;
}

/* Projects */

.projectsContainer {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  flex-direction: row;
}

.projectIcon {
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  justify-content: center;
}

.projectIcon img {
  width: 100%;
  height: 60%;
  border-radius: 10px;
}

.projectIcon p {
  width: auto;
  height: auto;
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 32px;
  color: #FFFFFF;
    
}

/* Contact */

.contactContainer {
  margin-top: 100px;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 100px;
}

.contactContainer button {
  height: 100px;
  width: 30%;
  font-family: 'Exo 2';
  background-color: #4C00A9;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 32px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
}

.contactContainer button:hover {
  box-shadow: 0 0 20px #3498db66, 0 6px 20px rgba(0,0,0,0.19);
  transform: scale(1.1);
}
