/*Estilo del cuerpo del html.*/

body{
    padding: 0;
    margin: 0;
    color: white;
    background-color: #1a1a1a;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
}

/*Estilos del header*/

.Header_Style{
    width: 100%;
    padding: 20px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.63),rgba(255, 255, 255, 0.26)), url(../../imagenes/Background_Header.jpg);
    background-size: cover;         
    background-position: center; 
    display: flex;
    font-size: 1em;
    box-sizing: border-box;
    box-shadow: 0px 5px 15px black;
}

.Header_Image{
    width: 25%;
    height: auto;
    display: flex;
    margin-bottom: 1rem;
    background-color: #0d022c6e;
    border-radius: 25px;
}

.Header_Text{
    margin:auto;
    width: 70%;
}

/*Estilos de la barra de navegación*/

/*Cambios al activar*/
.Nav_A:focus,
.Nav_A:active {
    outline: none;
    background: none; 
}

/*Cambios al pasar el mouse*/

.Nav_A:hover{
    background-color: #0d022c3a;
    color: rgba(153, 142, 152, 0.842);
}

.Nav_A::selection {
    background: transparent;
    color: inherit;
}
.Nav_Style {
    height: 4rem;
    background-color: rgba(83, 83, 240, 0.377);
    display: flex; 
    border-radius: 25px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000; 
    backdrop-filter: blur(8px);
    margin-top: 1rem;
}

.Nav_List {
    display: flex;
    list-style: none; 
    justify-content: space-around;
    width: 100%;
    padding: 0;
    margin: 0;
}

.Nav_A {
    text-decoration: none;
    color: rgb(153, 142, 152);
    justify-content: center;
    background-color: #0d022c6e;
    padding: 1em;
    border-radius: 25px;
    box-shadow: 0px 5px 6px;
    transition: 0.2s;
}

/*Fin de la sección de estilos de la barra de navegación*/

/*Sección de proyectos.*/

.Projects_Grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 1rem;
    padding: 1em;
    margin: 3em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.801),rgba(0, 0, 0, 0.404)), url(../../imagenes/Project_Background.jpg);
    border-radius: 25px;
    color: white;
}

.Projects_Title{
    grid-column: 1/-1;
    grid-row: 1;
    text-align: center;
}

.Project_Style {
    position: relative;
    background:linear-gradient(to bottom,#1a1a1a8a,#ffffff73) ;
    width: 100%;    
    height: 22rem;        
    border-radius: 25px;
    text-align: center;
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.Project_Image {
    width: 100%;        
    height: 10rem;       
    object-fit: cover;  
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    display: block;
    transition: 0.7s;
}

/*Animación sobre el preview de la imagen.*/
.Project_Image:hover{
    transform: translateY(-25px);
}

.Projects_Section{
    grid-column: 1/-1;
    text-align: center;
}

.Project_Text{
    margin-left: 2rem;
    margin-right: 2em;
}

.Project_Buttom {
    position: absolute;
    bottom: 1rem;               
    left: 50%;                
    transform: translateX(-50%);
    
    border-radius: 25px;
    background-color: #1a1a1a;
    text-decoration: none;
    color: white;
    border: none;
    width: 40%;
    transition: 0.3s;
    padding: 0.5em;
}


.Project_Buttom:hover{
    background-color: #1a1a1a6e;
}

/*Fin del diseño de proyectos*/



/*Footer*/
.Footer_Style {
    background-image: linear-gradient(rgba(0, 0, 0, 0.801),rgba(0, 0, 0, 0.404)), url(../../imagenes/Footer_Background.jpg);
    width: 100%;
    margin-top: 3em;
    padding: 2rem 0;
    display: flex;
    align-items: center;       
    justify-content: center;  
    color: white;

}

/*Responsive*/

@media (max-width: 900px) {
    .Projects_Grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 1rem;
    padding: 1em;
    margin: 3em;
    background-image: linear-gradient(rgba(0, 0, 0, 0.801),rgba(0, 0, 0, 0.404)), url(../../imagenes/Project_Background.jpg);
    border-radius: 25px;
    color: white;
}

.Project_Buttom {
    position: absolute;
    bottom: 1rem;               
    left: 50%;                
    transform: translateX(-50%);
    border-radius: 25px;
    background-color: #1a1a1a;
    text-decoration: none;
    color: white;
    border: none;
    width: 40%;
    transition: 0.3s;
    padding: 0.5em;
    margin-top: 10rem;
}


}