*{
	margin:0;
	padding:0;
	box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face{
	font-family: "flaming";
	src:url("fuentes/flaming.otf");
}
@font-face{
	font-family: "odin";
	src:url("fuentes/odinrounded-bold.otf");
}
@font-face{
	font-family: "brad";
	src:url("fuentes/brad.ttf");
}

/* Keyframe que permite hacer desvanecimiento. Lo llamas en cualquier lado usando aparecer*/

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Keyframe que permite deslizamientos, puedo aplicarlo a imagenes*/
@keyframes deslizarDesdeDerecha {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.imagen-animada {
  /*width: 300px;  o el tamaño que necesites */
  left: 800px;
  animation: deslizarDesdeDerecha 2s ease-out forwards;
  opacity: 0; /* invisible al principio */
}

#servicios{
  scroll-margin-top: 130px;
}

body{
	background-color: white;
	margin: auto;
}


/*section{
	background-color: white;
	padding: 50px;
}*/
section h1{
	font-family: flaming;
	color: rgb(186,55,139);
	/*animation: aparecer 1.5s ease-out;*/
}
section h2{
	font-family: brad;
	color:rgb(56,188,149);
	/*animation: aparecer 1.5s ease-out;*/
}
section h3{
	font-family: flaming;
	font-size: 3em;
	font-weight: lighter;
	color: gray;
	/*animation: aparecer 1.5s ease-out;*/
}

section h4{
	font-family: brad;
	font-size: 1.5em;
	font-weight: lighter;
	text-align: center;
	color: gray;
	/*animation: aparecer 1.5s ease-out;*/
}


/*Carousel hace que las imagenes se desplacen*/
.carousel-inner {
  border-radius: 12px;
  overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-caption h5,
.carousel-caption p {
  background-color: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 5px;
}
/*Fin Carousel*/
