@font-face {
  font-family: 'Roboto';
  src: url('Roboto/Roboto-Regular.ttf');
}

@font-face{
  font-family: 'Roboto-Black';
  src: url('Roboto/Roboto-Black.ttf');
  }

* {
  font-family: 'Roboto';
    margin: 0;
    padding: 0;
}

h1{
  text-align: center;
  font-family: 'Roboto-Black' !important;
}

input{
  font-size: 16px;
  height: 25px;
  border-color: transparent;
}

body {
  display: flex;
  background: rgb(131, 58, 180);
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
  justify-content: center;
}

main {
    transition: 1.5s;
    position: fixed;
    left: 10000px;
    font-size: 18px;
    margin: auto;
    height: 100vh;
    width: 100%;
    display: flex;
    gap: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cont-costo-tiempo{
  margin: auto;
  text-align: center;
  display: flex;
  gap: 30px;
}

#costo-viaje,#horas-viajando{
color: #fff;
}

.informacion-viaje{
  gap: 15px;
  max-width: 705px;
  margin: auto;
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
label{
  color: #fff;
  display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.inputs-peajes{
  height: 75px;
  overflow: auto;
  gap: 20px;
  display: flex;
  flex-wrap: wrap;
}

#agregar-peaje,#eliminar-peaje{
  text-align: center;
  font-size: 20px;
  color: #fff;
  height: 25px;
  border: none;
  width: 45px;
  background: rgba(131, 58, 180, 1) 0%;
  
}
.peaje{
  height: 20px;
width: 60px;
}

.cartel-bienvenida {
    font-size: 18px;
    margin: auto;
    height: 100vh;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(0); 
    transition: transform 0.4s ease;
}

.cont-bienvenida{
  border-radius: 50px;
  color: #fff;
  background: #0000004f;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 50px;
}

.cont-bienvenida p{
text-align: center;
}

/* Clases de boton descargados */

/* Primer boton */
.boton-principal {
  margin: auto;
  text-decoration: none;
  position: relative;
  border: none;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  width: 7em;
  height: 2.5em;
  line-height: 2em;
  text-align: center;
  background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  background-size: 300%;
  border-radius: 30px;
  z-index: 1;
}

.boton-principal:hover {
  animation: ani 8s linear infinite;
  border: none;
}

@keyframes ani {
  0% {
    background-position: 0%;
  }

  100% {
    background-position: 400%;
  }
}

.boton-principal:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%)
  ;
  background-size: 400%;
  border-radius: 35px;
  transition: 1s;
}

.boton-principal:hover::before {
  filter: blur(20px);
}

.boton-principal:active {
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%)
}
/* Fin de primer boton */

/* Segundo botón */
.redes-sociales {
  border-radius: .25rem;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  padding-left: 25px;
  padding-right: 25px;
  color: #fff;
  -webkit-clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);
  clip-path: polygon(0 0,0 0,100% 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 100%);
  height: 40px;
  font-size: 0.7rem;
  line-height: 14px;
  letter-spacing: 1.2px;
  transition: .2s .1s;
  background: rgba(131, 58, 180, 1) 0%;
  border: 0 solid;
  overflow: hidden;
}

.redes-sociales:hover {
  cursor: pointer;
  transition: all .3s ease-in;
  padding-right: 30px;
  padding-left: 30px;
}


/* Fin de segundo botón */

/* Botones de redes sociales */

/* Github */

.Btn-github {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  /* overflow: hidden; */
  border-radius: 7px;
  cursor: pointer;
  transition: all .3s;
}

.Btn-github .svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(0px);
  letter-spacing: 0.8px;
  border-radius: 10px;
  transition: all .3s;
  border: 1px solid rgba(156, 156, 156, 0.466);
}

.Btn-github .BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: #181818;
  z-index: -1;
  border-radius: 10px;
  pointer-events: none;
  transition: all .3s;
}

.Btn-github:hover .BG  {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn-github:hover .svgContainer {
  background-color: rgba(156, 156, 156, 0.466);
  backdrop-filter: blur(4px);
}

/* Lindedin */
.Btn-linkedin {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  /* overflow: hidden; */
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.Btn-linkedin .svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(0px);
  letter-spacing: 0.8px;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid rgba(156, 156, 156, 0.466);
}

.Btn-linkedin .BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: #0077b5;
  z-index: -1;
  border-radius: 10px;
  pointer-events: none;
  transition: all 0.3s;
}

.Btn-linkedin:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn-linkedin:hover .svgContainer {
  border: 1px solid rgba(216, 216, 216, 0.466);
  background-color: rgba(190, 190, 190, 0.466);
  backdrop-filter: blur(4px);
}

/* Facebook */

.Btn-facebook {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  /* overflow: hidden; */
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.Btn-facebook .svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(0px);
  letter-spacing: 0.8px;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid rgba(156, 156, 156, 0.466);
}

.Btn-facebook .BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: #1877f2;
  z-index: -1;
  border-radius: 10px;
  pointer-events: none;
  transition: all 0.3s;
}

.Btn-facebook:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn-facebook:hover .svgContainer {
  border: 1px solid rgba(230, 230, 230, 0.466);
  background-color: rgba(204, 204, 204, 0.466);
  backdrop-filter: blur(4px);
}

/* Whatsapp */
.Btn-whatsapp {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
  position: relative;
  /* overflow: hidden; */
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.Btn-whatsapp .svgContainer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  backdrop-filter: blur(0px);
  letter-spacing: 0.8px;
  border-radius: 10px;
  transition: all 0.3s;
  border: 1px solid rgba(156, 156, 156, 0.466);
}

.Btn-whatsapp .BG {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background: #075e54;
  z-index: -1;
  border-radius: 10px;
  pointer-events: none;
  transition: all 0.3s;
}

.Btn-whatsapp:hover .BG {
  transform: rotate(35deg);
  transform-origin: bottom;
}

.Btn-whatsapp:hover .svgContainer {
  background-color: rgba(156, 156, 156, 0.466);
  backdrop-filter: blur(4px);
}


footer{
  margin-right: 5px;
  margin-bottom: 10px;
  position: fixed;
  z-index: 1;
  right: 0;
  bottom: 0px;
}


.cerrar-modal{
  position: fixed;
top: 0;
margin-top: 50px;
  font-size: 20px;
  background-color: white;
  color: black;
  width: 40px;
  height: 40px;
  opacity: 0.75;
  border: 1px solid #e7eae8;
  border-radius: 8px;
  cursor: pointer;
  animation: bounce_513 1s infinite;
}

@keyframes bounce_513 {
  0%,
    100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}


.contenedor-redes-sociales{
  color: #fff;
  display: flex;
  /* width: 100%; */
  z-index: 10;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #000000f5;
  display: flex;
  pointer-events: none;
  transition: opacity .6s;
  transform: translateY(-100vh);
  transition: transform .8s;
  justify-content: center;
  align-items: center;
}
.iconos-redes-sociales{
  gap: 45px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.primer-programador,.segundo-programador{
  gap: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;  
}
/* Clases dinamicas */

.cartel-bienvenida-oculto {
    transform: translateX(-10000px); /* Agrega esto para ocultar el elemento */
}

.mostrar-main{
left: 0;
}

.mostrar-redes-sociales{
  pointer-events: unset;
  transform: translateY(0);
}



/* Medias querys */

@media (max-width:500px) {
  
  .primer-programador, .segundo-programador{
    gap: 8px;
    display: flex;
    flex-direction: column;
  }
  .cerrar-modal{
  margin-top: 8px;
  }
  .informacion-viaje{
    font-size: 16px;
  width: 70%;
  gap: 12px;
  }
  #distancia,#velocidad,#eficiencia-combustible,#galon{
  width: 200px;
  }
  .iconos-redes-sociales{
  gap: 10px;
  }
  .cont-bienvenida p{
  font-size: 16px;
  }
  .cont-bienvenida{
  gap: 35px;
  }

  .redes-sociales{
    height: 30px;
  }
}


/* Demostracion */

