* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #f5eee6;
    
}

header {
    position: fixed;
    top: 0px;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    transform: translateY(-100%);
    animation: .5s linear 1.5s forwards slide-header;
}

@keyframes slide-header {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0%);
    }
}

ul {
    list-style: none;         
    display: flex;          
    padding: 0;          
    margin: 0;  
  }
  
ul li {
    margin-right: 20px;
}

ul li:last-child {
    margin-right: 0;
  }

a {
    color: inherit; 
    text-decoration: none;
    position: relative;
}

li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0%;
    height: 2px;
    background-color: #FFF480;
    transition: width 0.3s ease;
  }
  
  li a:hover::after {
    width: 100%;
  }

.title {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    color: #FFF480;
    margin-right: 20px;
}

.hamburger, .exit {
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.hamburger.deactive {
    display: none;
}

.exit.active {
    display: block;
}

.mobile-menu {
    padding-top: 100px;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #131313;;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    justify-content:start;
    align-items: end;
    flex-direction: column;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu a {
    font-size: 30px;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

#hero, #about, #technologies, #projects, #contact {
    height: auto;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center; 
}

#about, #technologies, #projects, #contact {
    background-color: #131313;
}

.center-container {
    height: auto;
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.left-container {
    height: auto;
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.center-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    text-align: center;
    overflow: hidden;
}

.left-info {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.topic {
    color: #FFF480;
    font-size: 50px;
    padding-bottom: 15px;
    width: 100%;
}

.btn {
    padding: 5px 20px;
    font-size: 40px;
    color: #131313;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.5s ease;
    margin: 5px;
}

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

.btn-yellow {
    background-color: #FFF480;
}
  
.btn-yellow:hover {
    opacity: 90%;
}

.btn-purple {
    background-color: #5e43fb;
}
  
.btn-purple:hover {
    opacity: 90%;
}

#hero {
    flex-direction: column;
}

#hero::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('laptop.png') no-repeat center center;
    background-size: cover;
    filter: grayscale(100%) brightness(20%);
    z-index: -1; 
}

.text {
    /* position: absolute; */
    line-height: 1;
    text-align: center;
}

.name {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: italic;
    color: #FFF480;
    font-size: clamp(10px, 10vw, 100px);
}

.main-text {
    font-size: clamp(15px, 15vw, 150px);
    overflow: hidden;
}

.anim {
    display: inline-block;
    transform: translateY(100%);
    animation: .5s ease-in 1s forwards slide-text;
}

@keyframes slide-text {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

#about {
    background-color: #131313;
}

.description {
    font-size: 40px;
}

.frame {
    background-color: #5e43fb;
    padding: 16px;
    width: 100%;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: #131313;
  text-align: center;
  transition: transform 0.2s ease;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover; 
  border-radius: 6px;
}

.card h3 {
  margin: 12px 0;
  font-size: 1.2rem;
}

#contact { 
    background-color: #131313;
}

.contact-info {
    width: 100%;
    /* border: 1px solid yellow; */
    display: flex;
    justify-content: space-around;
    align-items: center; 
}

h2 {
      text-transform: uppercase;
      font-size: 2rem;
      margin-bottom: 20px;
}

.section {
    margin-bottom: 30px;
}

.tech-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
}

.tech-item {
      display: flex;
      align-items: center;
      gap: 10px;
      background-color: #5e43fb;
      padding: 10px 20px;
      border-radius: 8px;
      transition: transform 0.2s;
      cursor: default;
}

.tech-item:hover {
    transform: scale(1.05);
}

.tech-item img {
    width: 30px;
    height: 30px;
}

@media (max-width: 992px) {
  .frame {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-info {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .frame {
    grid-template-columns: 1fr;
  }
  .center-info {
    font-size: 30px;
    padding-top: 50px;
  }
  .left-info {
    font-size: 30px;
  }

  .sub-title {
    display: none;
  }
  .contact-info {
    flex-direction: column;
  }
  .hamburger {
    display: block;
  }
  #main-menu {
    display: none;
  }
}

/* @media (max-width: 900px) {
    #hero {
        display: block;
        padding-top: 100px;
    }
    .text {
        position: relative;
    }

    .info {
        position: relative;
        top: 0;
        right: 0;
        font-size: 30px;
    }

    .description {
        font-size: 30px;
    }
    
    .contact-info {
        display: block;
    }
} */
