@font-face { font-family: Vercetti; src: url('../tipo/Vercetti-Regular.otf'); } 
@font-face { font-family: Akira; src: url('../tipo/Akira.otf'); } 
@font-face { font-family: Inclusive; src: url('../tipo/InclusiveSans-Regular.ttf'); }

html,body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: white;
}

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

.outline {
  width: 64px;
  height: 64px;
  border-radius: 100%;
  border: 1px solid #fff;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: fixed;
  pointer-events: none;
  left: 0px;
  top: 0px;
  z-index: 999999;
  transform: translate( -64px, -64px );
  border: 1px solid #fff;
  opacity: 0;
}

.cursor {
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background: #641414;
  opacity: .8;
  position: fixed;
  left: 0px;
  top: 0px;
  pointer-events: none;
  z-index: 999999;
  transform: translate( 50vw, -100px );
}

.outline.hover{    
    width: 100px;
    height: 100px;
    background-color: #641414;
    border-color: #641414;
}

.outline.hover::after{
  content: '';
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background-image: url('https://alien.haldenvgs.net/images/cursor.svg');
  transform: rotate(90deg);
  background-repeat: no-repeat;
  background-position: center;
}

.outline.contact-hover{    
  width: 150px;
  height: 40px;
  border-radius: 40px;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("../img/texture2-min.jpg");
  background-position: 150% 100%;
  border: 2px solid #ffffff;
  overflow: hidden;
  opacity: 1;
}

.outline.contact-hover::after{
  content: 'MORE PROJECTS \00a0-\00a0\00a0 MORE PROJECTS \00a0-\00a0\00a0 MORE PROJECTS \00a0-\00a0\00a0';
  font-family: Inclusive;
  white-space: nowrap;
  font-size: 20px;
  color: #fff;
  position: absolute;
  left: 8%;
  top: 20%;
  width: 100%;
  height: 100%;
  animation: example 6s linear 0s infinite normal;
}

.outline.contact-hover.sikim::after{
  content: 'SIKIM EMPURIABRAVA \00a0-\00a0\00a0 SIKIM EMPURIABRAVA \00a0-\00a0\00a0 SIKIM EMPURIABRAVA \00a0-\00a0\00a0';
}

.outline.contact-hover.braveride::after{
  content: 'BRAVE RIDE BIKES \00a0-\00a0\00a0 BRAVE RIDE BIKES \00a0-\00a0\00a0 BRAVE RIDE BIKES \00a0-\00a0\00a0';
}

.outline.contact-hover.motoclub::after{
  content: 'MOTOCLUB CASTELLÓ \00a0-\00a0\00a0 MOTOCLUB CASTELLÓ \00a0-\00a0\00a0 MOTOCLUB CASTELLÓ \00a0-\00a0\00a0';
}

.outline.contact-hover.olbia::after{
  content: 'GP OLBIA \00a0-\00a0\00a0 GP OLBIA \00a0-\00a0\00a0 GP OLBIA \00a0-\00a0\00a0';
}

.outline.contact-hover.rosesplatja::after{
  content: 'ROSES PLATJA \00a0-\00a0\00a0 ROSES PLATJA \00a0-\00a0\00a0 ROSES PLATJA \00a0-\00a0\00a0';
}

.outline.contact-hover.underwater::after{
  content: 'UNDERWATER \00a0-\00a0\00a0 UNDERWATER \00a0-\00a0\00a0 UNDERWATER \00a0-\00a0\00a0';
}

.outline.contact-hover.sports::after{
  content: 'SPORTS \00a0-\00a0\00a0 SPORTS \00a0-\00a0\00a0 SPORTS \00a0-\00a0\00a0';
}

@keyframes example {
  0%   {left: 12px}
  100% {left: -305px}
}

.cursor.hover{
  opacity: 0;
}

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

#top-bar {
  width: 100%;
  height: 15vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#logo-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: fit-content;
  padding-left: 50px;
  gap: 0px;
  text-decoration: none;
}

#logo-title p:first-child{
  font-family: Inclusive;
  font-size: 30px;
  color: rgb(0, 0, 0);
  margin: 0;
  font-weight: bold;
}

#logo-title p:last-child{
  font-family: Inclusive;
  font-size: 18px;
  color: rgb(0, 0, 0);
  margin: 0;
}

#index-div {
  display: flex;
  flex-direction: row;
  justify-content: center;  
  gap: 30px;
  padding-right: 50px;
}

#index-div a{
  text-decoration: none;
  color: #000000;
  font-size: 17px;
  font-family: Inclusive;
  padding: 10px;
}

#body-div {
  width: 100%;
  height: 80vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.demo-img {
  width: 100%;
  object-fit: cover;
  height: 65vh;
  pointer-events: none;
  display: none;
}

.demo-video {
  width: 960px;
  height: 540px;
  box-shadow: 2px 2px 50px rgba(0, 0, 0, 0.393);
  border-radius: 10px;
}

#work-photos {
  position: relative;
  width: 100%;
  max-width: 1700px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.photos-row {
  position: relative;
  left: auto;
  width: 125%;
  height: 450;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.photos-row div{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 266px;
  background-color: black;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.photos-row div{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 266px;
  background-color: black;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: 0.5s;
}

.image-row1, .image-row2, .image-row3{
  cursor: pointer;
}

.image-row1:hover{
  border-radius: 50px;
  filter: grayscale(100%);
}

.image-row3:hover{
  border-radius: 50px;
  filter: grayscale(100%);
}

.image-row2:nth-child(1):hover{
  border-radius: 50px;
  filter: grayscale(100%);
}

.image-row2:nth-child(2):hover{
  border-radius: 50px;
  filter: grayscale(100%);
}

.image-row2:nth-child(3):hover{
  border-radius: 50px;
}

.image-row2:nth-child(4):hover{
  border-radius: 50px;
  filter: grayscale(100%);
}

.image-row2:nth-child(5):hover{
  border-radius: 50px;
  filter: grayscale(100%);
}

.image-row1:nth-child(1) {
  background-image: url('/assets/img/gallery/foto1.jpg');
}

.image-row1:nth-child(2) {
  background-image: url('/assets/img/gallery/foto2.jpg');
}

.image-row1:nth-child(3) {
  background-image: url('/assets/img/gallery/foto3.jpg');
}

.image-row1:nth-child(4) {
  background-image: url('/assets/img/gallery/foto4.jpg');
}

.image-row1:nth-child(5) {
  background-image: url('/assets/img/gallery/foto5.jpg');
}

.image-row2:nth-child(1) {
  background-image: url('/assets/img/gallery/foto6.jpg');
}

.image-row2:nth-child(2) {
  background-image: url('/assets/img/gallery/foto7.jpg');
}

.image-row2:nth-child(3) {
  background-image: url('/assets/img/gallery/wingfoil-140.jpg');
}

.image-row2:nth-child(4) {
  background-image: url('/assets/img/gallery/foto9.jpg');
}

.image-row2:nth-child(5) {
  background-image: url('/assets/img/gallery/foto10.jpg');
}

.image-row3:nth-child(1) {
  background-image: url('/assets/img/gallery/foto11.jpg');
}

.image-row3:nth-child(2) {
  background-image: url('/assets/img/gallery/foto12.jpg');
}

.image-row3:nth-child(3) {
  background-image: url('/assets/img/gallery/foto13.jpg');
}

.image-row3:nth-child(4) {
  background-image: url('/assets/img/gallery/foto14.jpg');
}

.image-row3:nth-child(5) {
  background-image: url('/assets/img/gallery/foto15.jpg');
}


#more-projects {
  font-family: Inclusive;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: fit-content;
  margin: 0 auto;
  margin-bottom: 70px;
}

.more-work-btn {
  text-decoration: none;
  position: relative;
  font-family: Inclusive;
  color: #ffffff;
  font-size: 15px;
  border-radius: 65px;
  padding: 15px 20px;
  border: 1px solid #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-position 1s ease;
  background-image: url("../img/texture2-min.jpg");
  background-position: 150% 100%;
}

.more-work-btn:hover {
  background-position: 150% 0%;
}

.more-work-btn p {
  position: absolute;
  top: -20px;
  left: 80%;
  font-size: 13px;
  color: #fff;
  background-color: #000000;
  border-radius: 100%;
  padding: 5px;
  border: solid 1px #fff;
}

#end-screen {
  position: relative;
  width: 100%;
  height: 10vh;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

#social-div {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;  
  width: 30%;
  padding-right: 30px;
}

#social-div a{
  text-decoration: none;
  color: #000000;
  font-size: 17px;
  font-family: Inclusive;
  padding: 10px;
}

#end-screen p{
  color: #000000;
  font-size: 17px;
  font-family: Inclusive;
}

#end-screen p:last-child{
  width: 40%;
}

#end-screen p:first-child{
  width: 30%;
  padding-left: 30px;
}

.anglebg {
  background-image: url("./assets/iturra.png");
}

.underline {
  position: relative;
}

.underline:after{
  content: "";
  position: absolute;
  width: 0%;
  border-top: solid 1px rgb(0, 0, 0);
  left: 50%;
  bottom: -12px;
  height: 8px;
  opacity: 1;
  transition: all 0.5s ease;
}

.underline:hover:after {
  width: 100%;
  left: 0%;
}

.underlined {
  position: relative;
}

.underlined:after{
  content: "";
  position: absolute;
  width: 100%;
  border-top: solid 1px rgb(0, 0, 0);
  left: 0%;
  bottom: -12px;
  height: 8px;
  opacity: 1;
}

@media only screen and (max-width: 960px) {

.demo-img {
  width: 400px;
  height: 540px;
  object-fit: cover;
}

#body-div {
  width: 100%;
  height: fit-content;
  margin: 0;
  margin-top: 50px;
  margin-bottom: 50px;
}

}

@media only screen and (max-width: 650px) {
  body {
    background-color: white;
    overflow-x: hidden;
  }

  #body-div {
    display: none;
  }

  #top-bar {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #logo-title {
    align-items: center;
    justify-content: center;
    height: fit-content;
    padding-left: 0px;
    gap: 0px;
    text-decoration: none;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  #index-div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    gap: 20px;
    padding: 0;
  }

  #index-div a {
    margin: 0;
    padding: 0;
  }

  #work-photos {
    position: relative;
    width: 100%;
    height: 220vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-top: 30px;
  }
  
  .photos-row {
    position: relative;
    width: 100%;
    height: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .photos-row div{
    width: 100%;
    height: 20%;
  }

  .image-row1:nth-child(1) {
    background-image: url('/assets/img/gallery/foto1.jpg');
    background-position: 50% 50%;
  }
  
  .image-row1:nth-child(2) {
    background-image: url('/assets/img/gallery/foto2.jpg');
    background-position: 50% 30%;
  }
  
  .image-row1:nth-child(3) {
    background-image: url('/assets/img/gallery/foto3.jpg');
    background-position: 50% 35%;
  }

  .image-row1:nth-child(4) {
    background-image: url('/assets/img/gallery/foto4.jpg');
    background-position: 50% 46%;
  }

  .image-row1:nth-child(5) {
    background-image: url('/assets/img/gallery/foto5.jpg');
  }
  
  .image-row2:nth-child(1) {
    background-image: url('/assets/img/gallery/foto6.jpg');
  }
  
  .image-row2:nth-child(2) {
    background-image: url('/assets/img/gallery/foto7.jpg');
    background-position: 50% 25%;
  }
  
  .image-row2:nth-child(3) {
    background-image: url('/assets/img/gallery/wingfoil-140.jpg');
    background-position: 50% 40%;
  }
  
  .image-row2:nth-child(4) {
    background-image: url('/assets/img/gallery/foto9.jpg');
  }
  
  .image-row2:nth-child(5) {
    background-image: url('/assets/img/gallery/foto10.jpg');
  }
  
  .image-row3:nth-child(1) {
    background-image: url('/assets/img/gallery/foto11.jpg');
  }
  
  .image-row3:nth-child(2) {
    background-image: url('/assets/img/gallery/foto12.jpg');
    background-position: 50% 30%;
  }
  
  .image-row3:nth-child(3) {
    background-image: url('/assets/img/gallery/foto13.jpg');
    background-position: 50% 35%;
  }
  
  .image-row3:nth-child(4) {
    background-image: url('/assets/img/gallery/foto14.jpg');
    background-position: 50% 40%;
  }
  
  .image-row3:nth-child(5) {
    background-image: url('/assets/img/gallery/foto15.jpg');
  }
  
  

}

@media only screen and (max-width: 1000px) {

#end-screen {
  position: relative;
  width: 100%;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

#end-screen p:first-child{
  width: 30%;
  padding-left: 0px;
  text-align: center;
}

#social-div {
  display: flex;
  flex-direction: row;
  justify-content: center;  
  width: 100%;
  padding: 0;
}

}