* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
}

body {
  overflow-x: hidden !important;
  background-color: #1E1E1E;
  display: flex;
  flex-direction: column;
  align-items: center;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

/* Background animado */
#grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #1E1E1E;
  opacity: 0.3;
}

/* Animação de scroll para outras seções */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease-out;
  padding: 0 4%;
  scroll-margin-top: 100px;
  margin-top: 10vh;
}

section:nth-of-type(2) {
  margin-top: 25vh !important;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-thumb {
  background-color: #2A8C82;
  border-radius: 10px;
}
/* END of scrollbar settings */

/* Header with tailwind and some add effects */
header {
  background-color: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  animation: fadeIn 0.4s ease-out forwards;
}

/* effect "fade-in" for header */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1E1E1E;
  z-index: 60;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

#mobile-menu nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease-out;
}

#mobile-menu.active nav {
  transform: translateY(0);
}

.mobile-menu-link {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  padding: 0.5rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease-out;
}

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

#menu-toggle i {
  color: #1E665C;
  transition: color 0.3s ease;
}

/* Animação individual para cada link */
#mobile-menu.active .mobile-menu-link:nth-child(1) {
  transition-delay: 0.1s;
}
#mobile-menu.active .mobile-menu-link:nth-child(2) {
  transition-delay: 0.2s;
}
#mobile-menu.active .mobile-menu-link:nth-child(3) {
  transition-delay: 0.3s;
}
#mobile-menu.active .mobile-menu-link:nth-child(4) {
  transition-delay: 0.4s;
}
#mobile-menu.active .mobile-menu-link:nth-child(5) {
  transition-delay: 0.5s;
}

/* Efeito hover nos links */
.mobile-menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #2A8C82;
  transition: width 0.3s ease;
}

.mobile-menu-link:hover::after {
  width: 80%;
}

/* Botão de fechar */
#close-menu {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

#close-menu:hover {
  transform: rotate(90deg);
  color: #2A8C82;
}

header.scrolled #menu-toggle i {
  color: #1E665C !important;
}
/* End of header */


/* Section Start */
.start {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20vh;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease-out;
}

.start h1 {
  font-size: 2.6em;
  max-width: 90rem !important;
}

.start p {
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  width: 100%;
  z-index: 0;
}

.information {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40vh;
  color: #fff;
}

.animation-text {
  font-weight: bold;
  background: linear-gradient(90deg, #2A8C82, #33B49F, #1E665C, #2A8C82);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientAnimation 8s infinite;
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.scroll-indicator {
  position: absolute;
  width: 100%;
  top: 68vh;
  text-align: center;
  color: #1E665C;
  font-size: 14px;
  opacity: 0.8;
}

.icon-arrow {
  display: block;
  margin: 8px auto 0 auto;
  width: 24px;
  height: 24px;
  stroke-width: 2;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* END of start */

/* Section About me  */
.about {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease-out;
  order: -1;
}

.profile-img {
  width: 35vh;
  height: 35vh;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-img:hover {
  box-shadow: 0 8px 16px rgba(42, 140, 130, 0.7);
}

.about h2 {
  font-size: 2.5em;
}

.about p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.btn-download {
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 0.6rem 0;
  background-color: #2A8C82;
  color: white;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #24746C;
}

/* END of the about  */

/* Section tec-skills */
.tec-skills {
  color: #fff;
  z-index: 0;
}

.tec-skills .information {
  display: flex;
  flex-direction: column;
  /* empilha os itens verticalmente */
  align-items: flex-start;
  gap: 60px;
  /* espaçamento entre texto e ícones */
  color: #fff;
}

.tec-skills h2 {
  font-size: 2.5em;
}

.tec-skills p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.tech-cards-container {
  display: grid;
  grid-template-columns: repeat(10, minmax(120px, 1fr));
  gap: 15px;
  width: 100%;
  max-width: 1000px;
  overflow: visible;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.tech-card {
  position: relative;
  height: 120px;
  background: white;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 100px;

}

.tech-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  color: #1E665C;
  transition: all 0.3s ease;
}

.custom-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

.tech-name {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: #2d3748;
}

.tech-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1E665C;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tech-card:hover::after {
  transform: scaleX(1);
}

.tech-card:hover .tech-icon {
  transform: scale(1.1);
}

/* END of tec-skills  */

/* Section Soft skills */
.soft-skills h2 {
  font-size: 2.5em;
}

.soft-skills p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.skills-cards {
  margin-top: 3vh;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .skills-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .skills-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 24rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.skill-card h3 {
  font-weight: 600;
}

.skill-card i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.skill-card p {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* END of Soft Skills */

/* Section Projects (text, card and modals) */
.projects h2 {
  font-size: 2.5em;
}

.projects p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
}

.personal-projects {
  display: flex;
  flex-direction: column;
}

.line-projects {
  margin-top: 3vh;
}

.line-projects h3 {
  font-size: 1.5rem;
}

.line {
  width: 25vh;
  height: 0.6vh;
  background-color: #fff;
  border-radius: 2px;
}

.project-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 1rem;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  background: white;
  padding: 2rem;
  text-align: center;
}

.project-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-icon {
  font-size: 2.5rem;
  color: #2A8C82;
  margin-bottom: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid #2A8C82;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.project-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.project-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.project-btn,
.project-btn-acess {
  padding: 0.8rem 1.4rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-btn {
  background-color: #2A8C82;
  color: white;
}

.project-btn-acess {
  background: transparent;
  color: #2A8C82;
  border: 1px solid #2A8C82;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: #2A8C82;
}

.project-card:hover .project-icon {
  color: white;
  border-color: white;
}

.project-card:hover .project-title,
.project-card:hover .project-description {
  color: white;
}

.project-icon {
  transition: transform 0.3s;
}

.project-card:hover .project-icon {
  transform: rotate(15deg) scale(1.1);
}

.project-card:hover .tech-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.project-card:hover .project-btn {
  background: white;
  color: #2A8C82;
}

.project-card:hover .project-btn-acess {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: white;
}

.projects-grid {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
  opacity: 1;
  transform: translateY(0);
}

.project-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.project-description {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 90%;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-btn,
.project-btn-acess {
  padding: 0.8rem 1.4rem;
  background-color: #2A8C82;
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.project-btn:hover {
  background-color: #33B49F;
  transform: scale(1.05);
}

.project-btn-acess:hover {
  background-color: #33B49F;
  transform: scale(1.05);
}

/* Settings modal projects */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
  overflow: hidden;
}

.body-modal-open {
  overflow: hidden;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 1.5rem;
  border-radius: 0.8rem;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeIn 0.3s ease;
  box-sizing: border-box;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10;
}

.modal-overlay h2 {
  font-size: 2em;
  margin-bottom: 1rem;
}

.modal-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #4a5568;
  line-height: 1.6;
}

.project-btn-acess {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #2A8C82;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.project-btn-acess:hover {
  background-color: #237A6F;
  transform: translateY(-2px);
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.slider {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.slider img {
  width: 100%;
  flex-shrink: 0;
  max-height: 400px;
  object-fit: contain;
  border-radius: 0.5rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-shadow-left,
.slider-shadow-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 1;
  pointer-events: none;
}

.slider-shadow-left {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.slider-shadow-right {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent);
}
/* END of projects */

/* Section contact */
.contact {
  padding: 4vh 4%;
  width: 100%;
  box-sizing: border-box;
}

.contact p {
  font-size: 1.9vh;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.contact-subtitle {
  font-size: clamp(2.5rem, 2.1vw, 2rem);
  color: #fff;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  width: 100%;
  max-width: 460px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: white;
  background: #2A8C82;
}

.contact-method {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.contact-info {
  color: #64748b;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  min-height: 40px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: #2A8C82;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
.menu-desktop, .btn-contact {
    display: none !important;
  }

  #menu-toggle {
    display: block !important;
  }
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
  }

  * {
    max-width: 100%;
  }

  ::-webkit-scrollbar {
    display: none;
  }

  body {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  section:nth-of-type(2) {
    margin-top: 17vh !important;
  }

  .start {
    margin-top: 28vh;
    gap: 5vh;
    flex-direction: column;
    padding: 0 5% 5rem;
  }

  .projects-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0 5%;
  }

  .project-card {
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 !important;
    transform: none !important;
    padding: 1.5rem;
  }

  .line-projects {
    margin-bottom: 1.5vh;
  }

  .project-icon-container {
    align-items: center;
    text-align: center;
  }

  .project-tech {
    justify-content: center;
  }

  .modal-content {
    padding: 1.2rem;
    max-height: 85vh;
  }

  .close-btn {
    font-size: 1.8rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .modal-overlay h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
  }

  .modal-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .about .information {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 26vh;
  }

  .about .profile-img {
    display: block;
    width: 26vh;
    height: 26vh;
    margin: 0 auto 20px auto;
    order: -1;
  }

  .about .text-content {
    text-align: center;
    max-width: 100%;
  }

  .about .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about object {
    display: none;
  }

  .start .pc-animation {
    display: none;
  }

  section {
    display: block;
    text-align: center !important;
    align-items: center !important;
  }

  .btn-download {
    margin: 0 auto;
  }


  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
  }

  .project-card {
    width: 100%;
    max-width: 350px;
  }

  .skills-cards {
    margin-top: 4vh !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
  }

  .skill-card {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem;
    text-align: center;
  }

  .line {
    display: none;
  }

  .profile-img {
    display: none;
  }

  .tech-cards-container {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin: 0 auto;
  }

  .tech-icon,
  .custom-icon {
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .contact-subtitle {
    max-width: 350px;
  }

  .contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .contact-card {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .scroll-indicator{
    margin-top: 0vh !important;
  }
}

/* Ajustes específicos para telas pequenas */
@media (max-width: 480px) {

  .modal-content {
    padding: 1rem;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .slider img {
    max-height: 250px;
  }

  .project-btn-acess {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .start {
    margin-top: 21vh;
    gap: 5vh;
    flex-direction: column;
    padding: 0 5% 5rem;
  }

  .scroll-indicator {
    margin-top: 5vh;
  }
}

@media (max-width: 380px) {
  .scroll-indicator {
    margin-top: 8vh;
  }

  section:nth-of-type(2) {
    margin-top: 2vh !important;
  }
}



/* SETTINGS FOR TABLETS */
/* Tablet (768px-1199px) - iPad Air and similiars */
@media (min-width: 768px) and (max-width: 1199px) {
  body {
    text-align: center;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8vh !important;
    padding: 0 5%;
  }

  section:nth-of-type(2) {
    margin-top: 15vh !important;
  }

  .line {
    display: none;
  }

  /* Section Start */
  .start {
    margin-top: 16vh !important;
    flex-direction: column-reverse;
    gap: 3rem;
  }

  .start .information {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
  }

  .start .text-content {
    width: 100%;
    text-align: center;
  }

  .start h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .start p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
  }

  .pc-animation {
    display: block !important;
    max-width: 400px;
    margin: 0 auto;
  }

  .scroll-indicator {
    margin-top: 10vh;
  }

  /* Section About */
  .about .information {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0vh auto;
  }

  .about .profile-img {
    display: block !important;
    width: 20vh !important;
    height: 20vh !important;
    margin: 0 auto 2rem auto;
    order: -1;
  }

  .about h2 {
    font-size: 2.2rem;
  }

  .about p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }

  .btn-download {
    margin: 2rem auto 0 auto;
  }

  /* Section Tech Skills */
  .tech-cards-container {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    max-width: 800px;
  }

  /* Section Projects */
  .projects-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    max-width: 800px;
    margin: 2rem auto;
  }

  .project-card {
    margin: 0 auto;
  }

  /* Section Soft Skills */
  .skills-cards {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    max-width: 800px;
    margin: 20px auto;
    justify-items: center;
  }

  /*Section Contact */
  .contact-grid {
    max-width: 800px;
    margin: 0 auto;
  }

  .contact-row {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    justify-items: center;
  }

  .contact-card {
    width: 100%;
    max-width: 350px;
  }
}


/* iPads on landscape */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) {
  .about .profile-img {
    width: 30vh !important;
    height: 30vh !important;
  }

  .projects-grid {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
  }

  .menu-desktop, .btn-contact{
    display: none !important;
  }

  #menu-toggle{
    display: block;
  }
}

@media only screen and (min-width:1024px) and (max-width:1366px){
  .menu-desktop, .btn-contact{
    display: none !important;
  }

  #menu-toggle{
    display: block;
  }
}


@media (min-width:1024px) and (max-width:1199px){

  .icon-arrow{
    margin-top: 10vh !important;
  }
}

@media (min-width: 768px) and (max-width: 820px) {
  .start {
    margin-top: 12vh;
  }

  .about .profile-img {
    width: 25vh;
    height: 25vh;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
  .menu-desktop, .btn-contact {
    display: none !important;
  }

  #menu-toggle {
    display: block !important;
  }
}


@media (min-width: 1025px) {
  .menu-desktop, .btn-contact {
    display: flex !important;
  }

  #menu-toggle {
    display: none !important;
  }

  .tech-cards-container {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    max-width: 95%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .start{
    margin-top: 0vh !important;
  }

  .scroll-indicator{
    margin-top: 20vh;
  }
}