@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

 @mixin hardwareAccel() {
 	transform: translateZ(0);
 }

 @mixin improveAntiAlias() {
   box-shadow: 0 0 1px rgba(0, 0, 0, 0);
 }

html {
  scroll-behavior: smooth;
}

body {
  background: #1f2235;
  font-family: "Montserrat";
}

h5{
  margin-top: 10px;
}

/* width */
::-webkit-scrollbar {
  width: 7px;

}

/* Track */
::-webkit-scrollbar-track {
  background: #1f2235;

}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #f5ba09;
  border-radius: 15px;
}

#loader-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1f2235;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader {
  /* display: none; */
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 80px;
  height: 80px;
  margin-top: -50px;
  margin-left: -45px;
  /* margin: -76px 0 0 -76px; */
  border: 10px solid #636682;
  border-radius: 50%;
  border-top: 13px solid #f5ba09;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*----*/
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 }
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom {
  from{ bottom:-100px; opacity:0 }
  to{ bottom:0; opacity:1 }
}


#cardarc{
  color: white;
}

.contenido{
  min-width: 100%;
}

/* Main Heading Font */
.m-heading {
  font-family: "Montserrat";
  font-weight: 700;
}

/* Navigation */
.nav-link {
  border: 2px solid transparent;
}

.navbar-nav{
  justify-content: space-around;
}

.nav-link:hover {
  text-decoration: none;
  border-bottom: 2px solid #f5ba09;
  transition: 0.5s ease;
}

.btn-circle.btn-lg{
  float: left;
  margin-top: 30px;
  margin-right: 20px;
  width: 40px;
  height: 40px;
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 25px;
  cursor:pointer;
}


/* Aligning items in main row */
.main_row {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Changing Name Font sixe */
.main_row h1 {
  font-size: 6.3rem;
}


.main_row img {
  width: 100%;
  height: 70vh;
}

/* About Section */
.about {
  background: #313552;
  border-radius: 0.5rem;
}

.card-body {
  /* border-bottom: 8px solid #f5ba09; */
  border-radius: 30px;
  background-color: white;
  /* background-repeat: no-repeat; */
  padding-bottom: 62.5%;
  height: 0;
  /* padding: 0; */
  display: inline;
  border: 5px solid white;
  margin-left: 7px;
  margin-right: 7px;
}

/* #card4{
  background: url('img/ski/0218.mp4') no-repeat center center;
} */


.card-body video{
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
  top: 0;
  left: 0;
  border-radius: 30px;
}

.fa-solid{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* #card1{
  background: url('img/renta/Slide9.webp') no-repeat center center;
}
#card2{
  background-image: url('img/arcade/arcade1.png');
}
*/
#card3{
  background-image: url('img/messaging/Messa2-min.png');
  background-color:#1f2235;
} 

.splide__arrow{
  height: 80px;
  width: 40px;
  -moz-border-radius: 30px 30px 30px 30px;
  -webkit-border-radius: 30px 30px 30px 30px;
  border-radius: 30px 30px 30px 30px;
  background: #f1f1f1;
  opacity: 1;
}

.splide__arrow svg{
  fill: #1f2235;
}

.splide__arrow--next{
  transform: translate(150%);
}

.splide__arrow--prev{
  transform: translate(-150%);
}
.act{
  height: 40px;
  width: 40px;
  border-radius: 100%;
  background: rgba(250,250,250,0.9);
  color: black;
  border: 2px solid white;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translate(-50%,0);
  z-index: 5;
}
.act:focus{
  outline:none;
}
.act:hover{
  background: rgba(250,250,250,1);
}



.descr_cont{
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 100%;
  height: 65px;
  bottom: 0;
  left:0;
  background: rgba( 255, 255, 255, 0.85);
  backdrop-filter: blur( 4px );
  -webkit-backdrop-filter: blur( 4px );
  padding: 10px;
  border-radius: 25px;
  border: 5px solid white;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 70%, rgba(10, 10, 10, 0.7));
}

.tecs{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 5px;
  flex:1;
}

.tec_item img{
  height: 60%;
  margin-bottom: 5px;
}

.tec_item{
  display: flex;
  flex-direction: column;
  background: white;
  margin-right: 15px;
  margin-bottom: 15px;
  height: 90px;
  width: 90px;
  font-size: small;
  -webkit-box-shadow: 0px 0px 6px 5px rgba(0,0,0,0.15);
  box-shadow: 0px 0px 6px 5px rgba(0,0,0,0.15);
  border-radius: 15px;
  padding: 10px;
  align-items: center;
  justify-content: center;
}

.descr{
  position: relative;
  height: 100%;
  background: rgba(255,255,255,0);
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: hidden;
  margin: 0px;
  border: 0px;
}

.descr p{
  margin: 0px;
}

.btn-descr{
  position: relative;
  margin-top: 50%;
  background: #313552;
  color: white;
  padding: 15px 20px;
  margin: 0px;
  border-radius: 30px;
  -webkit-box-shadow: 0px 0px 6px 5px rgba(49,53,82,0.25);
  box-shadow: 0px 0px 6px 5px rgba(49,53,82,0.25);
}

.btn-descr:hover{
  background:#1f2235;
  color: white;
}

.descr::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.card-img-top{
  height: 100%;
}

.card-title{
  font-weight: 600;
  position: relative;
}

.card-text{
  position: relative;
}

.card-body{
  display: flex;
  flex-direction: column;
  position: relative;

}


/* Social Media Section */
#social-media {
  background: #313552;
}

/* Add color to Social Media Links */
.media_link {
  padding: 1rem;
  max-width: 15rem;
  margin-left: 1rem;
  border: 2px solid #f5ba09;
  border-radius: 0.5rem;
}

@keyframes float {
  from {
    transform:translateY(8px) rotate3d(0,0,1,15deg);
  }

  to {
     transform:translateY(-8px) rotate3d(0,0,1,15deg);
  }
}

#a{
  max-width: 70%;
  animation-duration: 1.5s;
  animation-name: float;
  animation-iteration-count: infinite;
  animation-timing-function:ease-in-out;
  animation-direction: alternate;
  animation-play-state: running;
}

#pr{
  min-width: 90%;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.container p{
  font-size: 1.3rem;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: #f1f1f1;
  color: black;
}




.b_redes{
  margin-right: 30px;
  margin-bottom: 20px;
}

.b_redess{
  flex: 1 1 auto;
  margin: 10px;
  padding: 20px;
  border: 2px solid #f5ba09;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: .3s;
  color: white;
  width: 300px;
}

.b_redess:after{
  position: absolute;
  transition: .4s;
  content: '';
  width: 0;
  left: 50%;
  bottom: 0;
  height: 3px;
  background: #f7f7f7;
  height: 120%;
  left: -10%;
  transform: skewX(15deg);
  z-index: -2;
}


.b_redess:hover:after {
  width: 100%;
  left: 0;
  color:black;
}

.b_redess:hover{
  color:#1f2235;
}

#pr{
/* content: url("img/Saly-10.webp"); */
height: 100%;
min-width: 100%;
}

#swipeText{
  color: white;
  margin-top: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

#swipeText i{
  animation-name: swipeAnim;
  animation-duration: 1s;
  /* animation-timing-function: ease-in-out; */
  margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
   #pr {content: url("img/mano.png");
        height: 100%;
        min-width: 100%;
        animation-duration: 1.2s;
        animation-name: saludo;
        animation-iteration-count: infinite;
        }

    #swipeText i{
        animation-name: swipeAnim;
        animation-duration: 1.2s;
        /* animation-timing-function: ease-in-out; */
        margin-bottom: 5px;
        animation-iteration-count: infinite;
    }
    
    #swipeText{
      display: flex;
    }

    .splide__arrow{
      display: none;
    }

    .b_redes_s{
      display:none;
    }

    .container p{
      font-size: 1rem;
    }

    .main_row h2 {
        font-size: 1.4rem;
    }

    .main-container{
      height: 310px;
    }
    .main_row{
      height: 100%;
    }

    .redess{
      text-align: center;
      justify-content: center;
      padding-top: 0;
    }

    #redess a {
      font-size: 0.5rem;
    }

    #redes-sociales h1{
      font-size: 2rem;
    }

    .b_redes{
      margin-right: 0;
      margin-bottom: 0;
    }

    .fa-solid{
      font-size: 4rem;
    }

 }

.redes_side{
  position: absolute;
  right: 2%;
}


ul {
    list-style-type: none;
}

.contNombre{
   width: 40vw;
 }

.githubInd{
  padding: 5px 5px 3px 5px;
}

 @media screen and (max-width: 992px){
   #pr {content: url("img/mano.webp");
        display: inline-block;
        height: 100%;
        width: 20vw;
        animation-duration: 1.2s;
        animation-name: saludo;
        animation-iteration-count: infinite;
        }
   .main_row h1 {
        font-size: 3rem;
     }
 }


 @media screen and (max-width: 674px){
    .contNombre{
      width: 60vw;
    }
 }

 @keyframes saludo {
   0%{
     transform: rotate(0deg);
     transform-origin: 35% 100%;
   }
   50%{
     transform: rotate(5deg);
     transform-origin: 35% 100%;
   }
   100%{
     transform: rotate(0deg);
     transform-origin: 35% 100%;
   }
 }


 /* Wobble Horizontal */
@keyframes wobble-horizontal {
	16.65% {
		transform: translateX(8px);
	}
	33.3% {
		transform: translateX(-6px);
	}
	49.95% {
		transform: translateX(4px);
	}
	66.6% {
		transform: translateX(-2px);
	}
	83.25% {
		transform: translateX(1px);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes swipeAnim {
  15%{
    transform: translateX(-10px);
  }
  100%{
    transform: translateX(10px);
  }
}

.b_redes_s > i{
  margin-bottom: 15px;
	@include hardwareAccel();
	@include improveAntiAlias();
}

.b_redes_s > i:hover{
  animation-name: wobble-horizontal;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
