* {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/*//////////////////////////////////////////////////////header*/
.header {
  background-color: rgb(10, 10, 10);
  padding: 0 5%;
}

#trinikzlogo {
  height: 25px;
}

@media screen and (max-width: 500px) {
  #trinikzlogo {
    height: 15px;
  }
}

.nav {
  height: 4em;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  overflow-x: hidden;
  list-style: none;
  display: flex;
  gap: 25px;
}

@media screen and (max-width: 500px) {
  .nav-list {
    font-size: 70%;
    left: auto;
  }
}

/*//////////////////////////////////////////////////////body*/
body {
  margin: 0;
  background-color: rgb(255, 255, 255);
}

a {
  transition: 0.2s;
  text-decoration: none;
  color: white;
}

a:hover {
  transition: 0.5s;
  color: rgb(252, 90, 144);
}

/*//////////////////////////////////////////////////////footer*/
footer {
  display: flex;
  justify-content: center;
  background-color: rgb(10, 10, 10);
  bottom: 0;
  height: 15vh;
  width: 100%;
}

#footer-items {
  font-size: 100%;
  display: flex;
  align-items: center;
  color: rgb(146, 146, 146);
}

/*/////////////////////////////////////////////////////divs id*/
.home-text {
  display: flex;
  margin-top: 20px;
  margin-left: 20px;
  flex-direction: column;
  position: absolute;
  z-index: 4;
}
@media screen and (max-width: 540px){
  .home-text {
    bottom: 30%;
    margin-bottom: 10px;
    margin-left: 1em;
    display: none;
  }
}

.home-text-line {
  padding: 10px;
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: large;
  background-color: black;
  color: white;
  display: inline-block;
  width: fit-content;
}

@media screen and (max-width: 500px){
  .home-text-line {
    padding: 10px;
    font-size: small;
    width: fit-content;
  }
}

.container-home {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 85vh;
  width: 100%;
  overflow: hidden;
}

/* CONTAINER PRINCIPAL */
.container-home2 {
  position: relative;
  width: 100%;
  min-height: 85vh;   /* era height → agora flexível */
  overflow: hidden;

  display: flex;
  align-items: center;

  padding: 80px 10%;
  box-sizing: border-box;
}

/* FUNDO */
.aboutme-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* CONTEÚDO */
.about-content {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 60px;

  padding: 50px 70px;

  max-width: 1100px;
}

/* BLUR PANEL */
.about-blur {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 30px;
  z-index: -1;
}

/* LADO ESQUERDO */
.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* FOTO */
.about-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

/* NOME */
.about-name {
  margin-top: 15px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
}

/* TEXTO */
.about-right {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  color: #fff;
}

.overdrive {
  z-index: 5;
  position: absolute;
  justify-items: center;
  width: 40%;
}

@media (max-width: 768px) {

  .container-home2 {
    padding: 60px 20px;
    align-items: flex-start;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 35px 25px;
  }

  .about-photo {
    width: 170px;
    height: 170px;
  }

  .about-right {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .overdrive {
  z-index: 5;
  position: absolute;
  justify-items: center;
  width: 90%;
}
}


@media screen and (max-width: 1070px) {
  .container-home {
    height: 80vw;
  }
}

@media screen and (max-width: 768px) {
  .container-home {
    height: 120vw;
  }
}

@media screen and (max-width: 500px) {
  .container-home {
    height: 80vh;
  }
}

.about-me {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-size: cover;
  background-repeat: repeat;
  display: flex;
  z-index: 5;
  align-items: center;
  text-align: center;
  position: absolute;
  padding: 1%;
  top: 75%;
  left: 6%;
  border-radius: 50px;
  justify-content: center;
  color: white;
}

@media screen and (max-width: 768px) {
  .about-me {
    top: 80%;
    left: auto;
    padding: 3%;
  }
}

@media screen and (max-width: 500px) {
  .about-me {
    top: 80%;
    left: auto;
  }
}

@media screen and (max-width: 350px) {
  .about-me {
    top: 85%;
    left: auto;
  }
}

.propic {
  height: 3.5em;
  border-radius: 50%;
  padding: 10px;
}

.propic:hover {
  mix-blend-mode: saturation;
  background-color: rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 500px) {
  .propic {
    height: 2.5em;
    border-radius: 50%;
    padding: 7px;
  }
}

@media screen and (max-width: 350px) {
  .propic {
    height: 2em;
    border-radius: 50%;
    padding: 7px;
  }
}

.home-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  width: 100vw;
  max-height: none;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .home-layer {
    width: 120vw;
  }
}

@media screen and (max-width: 500px) {
  .home-layer {
    height: 80vh;
  }
}

.home-base {
  z-index: 1;
}

@media screen and (max-width: 500px) {
  .home-base {
    margin-left: -2vh;
  }
}

.home-mid {
  z-index: 2;
  will-change: transform;
  mix-blend-mode: luminosity;
}

@media screen and (max-width: 768px) {
  .home-mid {
    margin-left: -17vh;
    margin-top: -12vh;
  }
}

@media screen and (max-width: 500px) {
  .home-mid {
    height: 400px;
    margin-left: -12vh;
    margin-top: -18vh;
  }
}

.home-top {
  z-index: 3;
  will-change: filter;
  filter: blur(0px);
}
@media screen and (max-width: 500px) {
  .home-top {
    margin-left: -2vh;
  }
}


#container-1 {
  height: 80vh;
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  overflow-y: hidden;
  background-color: black;
}

.points {
  z-index: 1;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 190em;
  height: auto;
  min-height: 100%;
  max-height: 80vh;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 500px) {
  .points {
    width: 100%;
    min-width: 300px;
  }
}

/*/////////////////////////////////////////////////////video*/
#bg-video {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
}

#bgd-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#subtitleup {
  z-index: 2;
  font-family: IBM Plex Mono;
  color: white;
  display: flex;
  position: absolute;
  top: 30%;
}

#titlemain {
  z-index: 2;
  font-family: Montserrat;
  font-weight: 900;
  font-style: italic;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.438);
  color: aliceblue;
  display: block;
  font-size: clamp(2rem, 8vw, 8rem);
  position: absolute;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0 20px;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.2;
  max-width: none;
  min-width: auto;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  #titlemain {
    font-size: clamp(1rem, 10vw, 4rem);
    width: 150%;
  }
}

#button {
  z-index: 2;
  transition: 0.2s;
  border: 0;
  border-radius: 1px;
  background-color: aliceblue;
  font-family: Montserrat Subrayada;
  color: black;
  position: absolute;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 120px;
  bottom: 25%;
}

#button:hover {
  transition: 0.2s;
  background-color: rgb(10, 10, 10);
  color: rgb(252, 90, 144);
}

#model-panel {
  color: white;
  position: absolute;
  box-sizing: border-box;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  padding: 15px;
  background-color: rgb(22, 22, 22);
  z-index: 2;
  transition: right 0.6s ease;
}

/* Quando ativado */
#model-panel.active {
  right: 0;
}

/* Quando ativado */
#model-panel.active {
  right: 0;
}


#container-2 {
  display: flex;
  
}

#left_main {
  float: left;
  background-color: rgb(255, 255, 255);
  height: 100%;
  width: 50%;
  padding: 10% 4%;
}

@media screen and (max-width: 500px) {
  #left_main {
    height: 19vh;
  }
}

#right_main {
  float: right;
  background-color: rgb(0, 0, 0);
  height: 100%;
  width: 50%;
  padding: 10% 4%;
}
@media screen and (max-width: 500px) {
  #right_main {
    height: 19vh;
  }
}

#title {
  z-index: 1;
  font-family: Montserrat;
  font-weight: 900;
  font-style: italic;
  font-size: 350%;
  color: black;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  #title {
    font-size: 250%;
  }
}

@media screen and (max-width: 500px) {
  #title {
    font-size: 150%;
  }
}

#subtitle {
  font-size: 120%;
  text-align: justify;  
  display: flex;
  color: black;
  font-family: Jost;
  justify-content: center;
}

#title2 {
  z-index: 1;
  font-family: Montserrat;
  font-weight: 900;
  font-style: italic;
  font-size: 350%;
  color: rgb(255, 255, 255);
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

@media screen and (max-width: 768px) {
  #title2 {
    font-size: 250%;
  }
}

@media screen and (max-width: 500px) {
  #title2 {
    font-size: 150%;
  }
}

#subtitle2 {
  font-size: 120%;
  text-align: justify;
  display: flex;
  color: white;
  font-family: Jost;
  justify-content: center;
}

.container-mid {
  background-color: rgb(10, 10, 10);
  display: flex;
  overflow-y: hidden;
  height: 5em;
  justify-content: center;
  align-items: center;
}

#container-mid-p {
  display: inline-block;
  font-family: Bebas Neue;
  font-size: 300%;
  color: rgb(45, 45, 45);
  white-space: nowrap;
  min-width: max-content;
}

.container-3 {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  overflow-y: hidden;
  margin-top: 1em;
}

.divspace {
  position: relative;
  display: flex;
  height: 2rem;
}

#skilltitle {
  text-align: left;
  padding-left: 10%;
}

.cont3left {
  float: left;
  background-color: rgb(255, 255, 255);
  height: 100%;
  width: 50%;
}

.cont3right {
  display: flex;
  float: right;
  background-color: rgb(255, 255, 255);
  height: 100%;
  width: 50%;
  justify-content: center;
}

#skillimage {
  display: flex;
  width: 100%;
  z-index: 0;
}
@media screen and (max-width: 500px) {
  #skillimage{
    display: none;
  }
}

.aboutgimp {
  text-align: left;
  padding-left: 10%;
  text-align: justify;
}

.aboutblender {
  text-align: right;
  padding-right: 10%;
  text-align: justify;
}

.container-4 {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  overflow-y: hidden;
}

.cont4left {
  display: flex;
  float: left;
  background-color: rgb(255, 255, 255);
  height: 100%;
  width: 50%;
  justify-content: center;
}

.cont4right {
  float: right;
  background-color: rgb(255, 255, 255);
  height: 100%;
  width: 50%;
}

@media screen and (max-width: 500px){
  
.container-3,
.container-4 {
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.cont3left,
.cont3right,
.cont4left,
.cont4right {
  width: 100%;
  float: none;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.aboutgimp,
.aboutblender {
  padding-left: 0;
  padding-right: 0;
  text-align: justify;
}

}

/*carousel*/
.carousel-container {
  width: 100%;
  overflow: hidden;
  transform: rotate(-0deg);
  margin-top: 1em;
  margin-bottom: 1em;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scrollCarousel 15s linear infinite;
}

@media screen and (max-width: 500px) {
  .carousel-track {
    animation: scrollCarousel 20s linear infinite;
  }
}

.carousel-track img {
  height: 25em;
  flex-shrink: 0;
  object-fit: cover;
  margin-right: 5px;
  border-radius: 5%;
}

@media screen and (max-width: 500px) {
  .carousel-track img {
    height: 12em;
  }
}

@keyframes scrollCarousel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#container3D canvas {
  width: 100vw !important;
  height: 100vh !important;
  position: absolute;
  top: 0;
  left: 0;
}

