/* Estilos generales */
body {
font-family: Arial, sans-serif;
font-size: 16px;
line-height: 1.5;
color: #999999;
background-color: #333;
}
  
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
font-weight: bold;
color: #9f9e9e;
}

ul {
list-style: none;
margin: 0;
padding: 0;
}

a {
color: inherit;
text-decoration: none;
}

.nav-link{
  color: #f9f9f9;
}
.nav-link:hover {
  color: #ffea01e1;
}





/*Diseño a scroll*/

body::-webkit-scrollbar {
  width: 10px;     /* Tamaño del scroll en vertical */
  height: 8px;    /* Tamaño del scroll en horizontal */
  display: block;  /* Ocultar scroll */
}

/* Ponemos un color de fondo y redondeamos las esquinas del thumb */
body::-webkit-scrollbar-thumb {
  background: #ffea01e1;
  border-radius: 30%;
}

/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
body::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Cambiamos el fondo cuando esté en active */
body::-webkit-scrollbar-thumb:active {
  background-color: #999999;
}

/* Ponemos un color de fondo y redondeamos las esquinas del track */
body::-webkit-scrollbar-track {
  background: #e1e1e1;
  border-radius: 4px;
}

/* Cambiamos el fondo cuando esté en active o hover */
body::-webkit-scrollbar-track:hover,
body::-webkit-scrollbar-track:active {
background: #d4d4d4;
}

/*Modal*/

.recuadroModal{
  width: 500px;
  height: 400px;
  z-index: 10000;
  border: #769001 3px solid;
  border-radius: 10%;
  display: flex;
  align-items: center;
  position: fixed;
  top: 25vh;
  left: 33vw;
  background-color: #444;
  flex-direction: column;
  justify-content: center;
  display: none;


}
.frase{
  text-align: center;
  position: relative;

}





/* Estilos del encabezado */
header {
position: sticky;
top: 0;
z-index: 100;
}

/* Estilos de la sección "Sobre Mí" */
#sobre-mi {
background-color: #333;
color: #fff;
}

.imgperfil {
background-image: url(../img/linkedin.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
width: 400px;
height: 400px;
border-radius: 50%;
}

.imgperfil img{
  border-radius: 50%;
  width: 400px;
  height: 400px;

}



.row{
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 1em;
}

.descripcion{
  text-align: justify;
}

/*tecnologias*/

.tec{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.tecnologia{
  display: flex;
  flex-direction: column;
  align-items: center;
  
}


.tec img{
  width: 60px;
}


/* Estilos de la sección "Proyectos" */
#proyectos .card {
height: 700px;
background-color: #333;
}

.cartas {
  width: 30vw;
    
}

#proyectos .card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#proyectos .card-img-center {
height: 250px;
object-fit: contain;
}

.card-body{
    height: auto;
}

.tituloCard{
    display: flex;
    flex-direction: column;
    color: white;
}

.card-text{
  color:white;
}

.boton{
    margin: 1em;
}

/*Redes sociales*/
.icon{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 30vh;
}



#logoLinkedin{
  width: 10vw;
}

#logoGithub{
  width: 15vw;
}


#logoLinkedin:hover{
  transition: 3s;
  width: 13vw;  
}

#logoGithub:hover{
  transition: 3s;
  width: 17vw;  
}

/*formulario*/

#contacto{
  background-color: #333;
  
}

.form-group {
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}
  
label {
  font-weight: bold;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  
}

#message{
  max-height: 200px;
}


input[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0069d9;
}

.boton{
  padding-bottom: 10px;
  
}

/* Estilos del pie de página */
footer {
background-color: #333;
padding: 30px 0;
}
.pie{
  margin: 30px;
  display: flex;
  justify-content: space-around;
  flex-direction: row-reverse;
  color: #9f9e9e;
}

/* Media queries */
@media (max-width: 1166.98px) {
  header .container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;  
    
  }

  main.container{
    max-width: 100%;
    
  }

  .sobreMi{
    width: 95%;
    margin:0;

  }

  .tituloSobreMi{
    font-size: 3vh;
  }


  .descripcion {
   font-size: 2vh;
  }

  body {
    font-family: Arial, sans-serif;
    font-size: 26px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    padding: 0;
  }
 


  .row {
    
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    flex-direction: column;
  }

  .pie{
    margin: 30px;
    display: flex;
    color: #9f9e9e;
    flex-direction: row;
  }
  .cartas {
    margin-bottom: 45vh !important;
    width: 80vw;  
    font-size: 2vh;

  }
  .proyectos{
    font-size: 3vh;
  }

  #proyectos .card-img-center {
    height: 500px;
    object-fit: contain;
  }

  .card-title{
    font-size: 3vh;
  }

  .btn{
    font-size: 2vh;
  }

  .icon{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 23vh;
  }

  #logoLinkedin {
    height: 15vh;
    width: 30vw;
  }
  
  #logoGithub{
    height: 20vh;
    width: 40vw;
  }

  #contacto{
    font-size: 2vh;
  }  

  .contacto{
    font-size: 3vh;
  }
  .form-group{
    color: white;
  }

  input{
    height: 3vh;
  }
}

@media (max-width: 767.98px) {
  header .container {
      flex-wrap: wrap;
      
      
      
  }

  header h1 {
      width: 100%;
      margin-bottom: 20px;
      text-align: center;
  }

  header nav {
      width: 100%;
      text-align: center;
  }

  
  
 


  #logoLinkedin{
    width: 20vw;
  }
  
  #logoGithub{
    width: 20vw;
  }



}


  

