
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: sans-serif;
  color: white;
  overflow-x: hidden;
}

nav {
  background: linear-gradient(135deg, #3a3a3a, #424242fd);
  padding: 1.4em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #00ffaa;
}

.hamburger {
  display: none;
  font-size: 1.5em;
  color: white;
  cursor: pointer;
  z-index: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff0000;
  padding: 5px;
}


.main {
  margin-top: 6em;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px;
  padding: 12px;
  justify-content: center;
}


.side {
  flex: 280px;
  max-width: 400px;
  border: 2px solid rgba(255, 255, 255, 0.178);
}

.pic {
  display: grid;
  width: 100%;
}

.pic img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
}

.pic p {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  margin: 10px;
  font-size: 1.5em;
}

.list {
  margin: 17px 0 17px 12px;
}

.list ul {
  display: flex;
  list-style: none;
  flex-direction: column;
  gap: 17px;
}

.line {
  width: 92%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.151);
  margin-left: 12px;
}

.Skills, .languages {
  margin: 17px 0 0 12px;
}

.Skills p, .languages p {
  margin: 17px 0;
}

.skill-line {
  width: 93%;
  height: 20px;
  border-radius: 16px;
  border: 2px solid white;
  text-align: center;
  color: white;
  overflow: hidden;
}

.one, .two, .three, .four, .eng, .spa, .ger {
  height: 100%;
  border-radius: 16px;
  background-color: #009688;
}

.one { width: 90%; }
.two { width: 80%; }
.three { width: 50%; }
.four { width: 45%; }
.eng { width: 100%; }
.spa { width: 50%; }
.ger { width: 25%; }

.empty {
  width: 100%;
  height: 17px;
  background-color: black;
}

.end {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.up, .down {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.178);
}

.innercon {
  margin: 17px 0 12px 12px;
}

.innercon h3 {
  color: rgba(255, 255, 255, 0.664);
  margin-top: 35px;
}

.innercon p {
  margin: 17px 0;
}

.line_pro {
  width: 96%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.151);
}

.project_btn {
  background-color: red;
  color: white;
  font-size: 1em;
  height: 2.5em;
  width: 8em;
  border: none;
  cursor: pointer;
}

.project_btn:hover {
  padding: 10px 14px;
  background-color: #3a3adc;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(84, 255, 5, 1);
}


footer {
  margin-top: 2em;
  width: 100%;
  background-color: #009688;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

footer ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 55px;
}

footer ul li:hover {
  filter: brightness(70%);
}

footer a {
  color: white;
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000e7;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1em 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .main {
    flex-direction: column;
  }

  .side {
    flex: 100%;
    max-width: 100%;
  }
}
