footer {
  background: #072b1c;
  padding: 1%;
  gap: 7%;
  width: 98%;
  display: flex;
  justify-content: end;
  text-align: center;
  align-items: center;
  color: white;
}

.Copyright {
  /* background-color: darkgray; */
  padding-left: 10%;
  width: 55%;
}

.XXSS {
  width: 15%;
  /* background-color: #ddd; */
  display: flex;
  font-size: 120%;
  justify-content: space-around;
}

.fa-brands:hover {
  cursor: pointer;
  scale: 1.2;
}

/*------------------------*/
/*STYLES INDEX*/
* {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: white;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* background: url('../media/Fondo.jpeg') center/cover no-repeat; */
  height: 100vh;
  scroll-behavior: smooth;
  overflow: hidden;
}

header {
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  width: 100%;
  color: white;
  padding-top: 1%;
  padding-bottom: 1%;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 200;
  font-style: normal;
  text-transform: uppercase;
  justify-content: space-around;
  align-items: center;
  gap: 23%;
  background-color: rgba(0, 0, 0, 0.0);
  transition: background-color 0.6s ease;
  z-index: 2;
}

nav {
  display: flex;
  justify-content: space-between;
  padding: 1%;
  width: 30%;
  font-size: 1.5em;
  /* background-color: antiquewhite; */
}

nav>ul {
  list-style: none;
}

button {
  padding: 0.8%;
  text-transform: uppercase;
  border: none;
  font-size: 120%;
  border-radius: 0px 20px 0px 20px;
}

#video_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
}

#video_background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

#video_container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgb(0, 39, 24) 0%,

      rgb(0, 39, 24) 5%,

      transparent 100%);
  pointer-events: none;
}


#InfoBody {
  /* background-color: green; */
  color: white;
  max-height: 40%;
  display: flex;
  text-align: center;
  margin: 10% 0% 0% 17%;
}

/* ESTILS YING*/

#Ying {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

#Ying>#ContainerYingName {
  width: 83%;
}

#Ying>#ContainerYingName>.Name {
  font-size: 17em;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 700;
  font-style: normal;
  color: transparent;

  -webkit-text-stroke: 4px white;
  width: 100%;
  /* background-color: aqua; */
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#Ying>#ContainerYangTextName {
  /* background-color: blue; */
  width: 96%;
}

#Ying>#ContainerYangTextName>.TextYing {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 2em;
  width: 100%;
  text-align: justify;
}

/*------------------------------*/


#Yang {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  margin-right: 14%;
}

#Yang>#ContainerYingTextSurName>.TextYang {
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 2em;
  width: 100%;
  text-align: justify;
  align-self: center;
}

#Yang>#ContainerYingTextSurName {
  /* background-color: blue; */
  width: 85%;
  display: flex;
  margin-top: 5%;
  height: 100%;
}


#Yang>#ContainerYangSurName>.SurName {
  font-size: 17em;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 700;
  font-style: normal;
  width: 100%;
  /* background-color: aqua; */
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  line-height: 1;
}

#Yang>#ContainerYangSurName {
  width: 90%;
}

#BtnCVsect {
  margin-top: 12%;
  margin-bottom: 4%;
  /* background-color: aliceblue; */
  color: white;
  display: flex;
  font-family: "Bai Jamjuree", sans-serif;
  font-weight: 200;
  font-style: normal;
  justify-content: center;
}

/* SECCIÓ CV */
#ProjectsSection {
  width: 100%;
  background-color: rgb(0, 39, 24);
  height: 100%;
}

.MarmosetContainer {
  /* display: flex; */
  justify-content: center;
  border: none !important;
  outline: none !important;
  background: transparent !important;
}

/* Per assegurar-nos que el canvas no té marge */
.MarmosetContainer iframe,
.MarmosetContainer canvas {
  border: none !important;
  outline: none !important;
  background: transparent !important;
}

/* SWIPER */
.swiper {
  width: 100%;
  position: absolute;
  z-index: 2;
  height: 100%;
}

.swiper-slide {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background-size: cover; */
  background-position: center;
}


.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
}

.mySwiper2 {
  width: 100%;
  z-index: 0;
}

.mySwiper {
  z-index: 1;
  /* opacity: 0.4; */
  bottom: -100%;
  height: 20%;
  box-sizing: border-box;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  z-index: -1;
  filter: grayscale(10);
  transition: 0.5s;
}

.mySwiper .swiper-slide:hover {
  scale: 95%;
}

.mySwiper .swiper-slide-thumb-active {
  filter: grayscale(0);
  transition: 0.5s;
}

.mySwiper .swiper-slide-thumb-active:hover {
  scale: 100%;
  cursor: default;
}

.mySwiper .swiper-slide-thumb-active .titlethumb:hover {
  display: flex;
}


.pointer {
  cursor: pointer;
}

#scrollTopBtn {
  position: fixed;
  bottom: 25%;
  right: 30px;
  /* width: 50px; */
  padding: 1%;
  height: 5.5%;
  border: none;

  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  z-index: 2000;
  /* per sobre del swiper i del vídeo */
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

/*------------------------*/

/* STYLES PROJECTES */
#BodyProjectes,
#BodySobreMi {
  background-image: url(../ImagesVideos/SmallHexagon_Web_Gradient33.jpg);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  width: 100vw;
  height: 100vh;
}

.GeneralContainer {
  position: absolute;
  /* background-color: aquamarine; */
  width: 100%;
  display: flex;
  padding-top: 12%;
  flex-direction: column;
  align-items: center;
}

.ContainerFlexOptions {
  /* background-color: antiquewhite; */
  margin: 1% 0% 4% 0%;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  width: 80%;
}

.ContainerOption {
  display: flex;
  justify-content: center;
  position: relative;
  width: 35%;
  border-radius: 20px;
  color: white;
  height: 100%;
  padding: 7% 0%;
}

.TextContainer {
  position: relative;
}

.ContainerOption h1 a {
  color: white;
}

.TextContainer:hover {
  cursor: pointer;
}

/* Code for background section project gun */

#BGoptionProjectGun {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectGun::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectGunOption.png);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectGun:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project Dummy */

#BGoptionProjectDummy {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectDummy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectDummyOption.png);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectDummy:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project House */

#BGoptionProjectHouse {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectHouse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectHouseOption.jpeg);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectHouse:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project Dwarf */

#BGoptionProjectDwarf {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectDwarf::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectDwarfOption.png);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectDwarf:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project SculptMan */

#BGoptionProjectSculptMan {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectSculptMan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectSculptManOption.jpeg);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectSculptMan:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project SculptHead */

#BGoptionProjectSculptHead {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectSculptHead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectSculptHeadOption.png);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectSculptHead:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project Car Rigging */

#BGoptionProjectCarRig {
  position: relative;
  overflow: hidden;
}

#BGoptionProjectCarRig::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectRigCarOption.png);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionProjectCarRig:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/


/* Code for background section project PlatformerGame */

#BGoptionPlatformerGame {
  position: relative;
  overflow: hidden;
}

#BGoptionPlatformerGame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectPlatformerGame.png);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionPlatformerGame:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project WebserieTWD */

#BGoptionWebserieTWD {
  position: relative;
  overflow: hidden;
}

#BGoptionWebserieTWD::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectWebserieTWDOption.jpeg);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionWebserieTWD:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/

/* Code for background section project WebHypercars */

#BGoptionWebHypercars {
  position: relative;
  overflow: hidden;
}

#BGoptionWebHypercars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../ImagesVideos/BG_ProjectWebHypercarsOption.jpeg);
  background-size: cover;
  background-position: center;
  filter: blur(3px) grayscale(100%);
  transition: 0.5s;
  z-index: 0;
}

#BGoptionWebHypercars:hover::before {
  cursor: pointer;
  filter: blur(0px) grayscale(0%);
  transition: 0.5s;
}

/*------------------*/


.ContainerSliderCompar {
  width: 100%;
  /* background-color: antiquewhite; */
  display: flex;
  justify-content: center;
  margin-top: 10%;
  margin-bottom: 5%;
}

.slider-example-focus {
  width: 80%;
  border-radius: 20px;
}

/* STYLES SOBRE MI */

#BodySobreMi {
  display: flex;
  flex-direction: column;
}

.ContainerTextAbtMe {
  /* background-color: #22ce89; */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.TxtAboutMe {
  width: 70%;
  padding: 1%;
  text-align: justify;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.18);
}

/*------------------*/

/* STYLES CONEIXEMENTS */

.ContainerKnowledges {
  /* background-color: #22ce89; */
  color: white;
  justify-content: center;
  display: flex;
  width: 100vw;
  height: 100vh;
}

#GeneralContainerCards {
  /* background-color: #ddd; */
  margin-top: 6%;
  text-align: center;
  width: 80%;
}

#ContainerFlexCards {
  width: 100%;
  /* background-color: #111962; */
  height: 70%;
  display: flex;
  flex-wrap: wrap;
  gap: 12%;
  justify-content: space-evenly;
  margin-top: 2%;
  padding-bottom: 2.5%;
}

.Card {
  width: 25%;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.Card:hover {
  scale: 1.05;
  transition: 0.5s;
}

.ContainerLogo {
  /* background-color:violet; */
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.NameApp {
  color: white;
  font-size: 2em;
}

hr {
  height: 1px;
  background: -webkit-gradient(linear, 0 0, 100% 0, from(transparent), to(transparent), color-stop(50%, rgb(255, 255, 255)));
  border: none;
}

.ContainerTextApp {
  /* background-color: #116241; */
  margin-top: 0.5em;
  height: 64%;
  overflow: hidden;
  overflow: scroll;
  display: flex;
  justify-content: center;
}

.ContainerTextApp::-webkit-scrollbar {
  display: none;

}

.TextApp {
  text-align: justify;
  width: 95%;
  line-height: 2em;
}