@charset "utf-8";

@import url(
https://db.onlinewebfonts.com/c/38a367caf669011075e5d4107ee090a3?family=TitlingGothicFBExtended-Medium
);


*{
    box-sizing: border-box;
    margin: 0%;
    padding: 0%;
}

body{
    margin: 3%;
    font-family: "TitlingGothicFBExtended-Medium";
    text-align: center;
    font-size: 1em;


    background-image: url('fondodemantel.svg');
    /* Ruta de imagen de fondo */
    background-size: cover;
    /* Cubre completamente el fondo */
    background-repeat: repeat;

    @media (max-width: 767px) {
        background-size: contain;
        background-repeat: repeat;
    }

    @media (min-width: 768px) and (max-width: 1023px) {
        /* Reglas para tablets si es necesario */
    }
    

}


#vehiculos{
    display: grid;
    background-color: blue;
    border-radius: 2em;
    padding: 6%;
    grid-template-areas: "A B"
                         "C D";
    gap: 5px;   
    
}



#vehiculos div img{
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.hovervehiculos :hover {
    border: solid 8px rgb(131, 218, 0);
    z-index: 10;
}

#vehiculo1{
    grid-area: A;
}

#vehiculo2{
    grid-area: B;
}

#vehiculo3{
    grid-area: C;
}

#vehiculo4{
    grid-area: D;
}


#vehiculostitulo{
    margin-bottom: -10px;
    position: relative;
    z-index: 10;
}


#medallasdiv{
    display: flex;
    background-color: blue;
    margin: 3%;
    border-radius: 2em;
    padding: 6%;
}

#medalla1{
    width: 20%;
}

#medalla2{
    width: 20%;
    margin-left: 5%;
}

#medalla3{
    width: 20%;
    margin-left: 5%;
}

#medalla4{
    width: 21%;
    margin-left: 5%;
}

.hachedos{
    background-color: black;
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
    padding: 4%;
    border-radius: 2em;
    border: 6px solid white;
    margin-top: 6%;
}

#miperfil{
    margin-left: auto;
    margin-right: auto;
    width: 38%;
    margin-bottom: -25px;
}

#nombredeusuario{
    margin: 0;
    background-color: black;
    text-shadow: -2px 0 white, 0 2px white, 2px 0 white, 0 -2px white;
    padding: 4%;
    border-radius: 2em;
    border: 6px solid white;
}

#medallastitulo{
    margin-bottom: -20px;
    position: relative;
    z-index: 10;
}



#ultimoelemento{
    margin-bottom: 5em;
    color: black;
    
}

.side {
    z-index: 100;
    height: 10%;
    margin: 0 auto;
    display: flex;
    align-content: space-around;
    overflow: hidden;
    position: fixed; /* Cambiado de sticky a fixed */
    bottom: 0;
    left: 0; /* Ocupa todo el ancho del navegador */
    right: 0; /* Ocupa todo el ancho del navegador */
    width: 100%;
    background: rgb(208, 0, 255);
    background: linear-gradient(
      0deg,
      rgba(208, 0, 255, 1) 0%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  nav a div {
    height: 100%;
    width: auto;
    text-align: center;
  }
  .side a {
    width: 30%;
    height: 100%;
    margin: 0 auto;
  }
  
  nav.side a div img {
    height: 90%;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }


  #volver{
    margin: 10px;
    width: 3em;
    justify-content: flex-start;
  }