* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    
}
nav {
    background: #1a1a1a;
    height: 15vh;
    display: flex   ;
}

.contenedor {
    display: flex;
    width: 100%;
    align-items: center;
}


nav header div img {
    width: 12vh;
    transition: 0.3s;
    margin-left: 8vh;
}

nav header div img:hover {
    transform: scale(1.1);
    
}

.botones {
    display: flex;
    justify-content: end;
    margin-left: auto;
    margin-right: 2vh;
    
}
.botones p{
    margin-right: 10px;
}
.botones button{
    color: #8B286D;
    border: 0;
    background-color: transparent;
}

#nav-user{
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

#iniciar {
    background-color: #1a1a1a;
    color: white;
    border: 2px solid #8B286D;
    border-radius: 0;
    margin-right: 7px;
    width: 200px;
    height: 40px;
    text-transform: uppercase;
    font-size: large;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
    font-size: 18px;
}

#iniciar:hover {
    background-color: #8B286D;
    border: none;
}

#Registrarse {
    background-color: #8B286D;
    color: white;
    border: none;
    border-radius: 0;
    
    width: 200px;
    height: 40px;
    text-transform: uppercase;
    font-size: large;
    font-weight: bold;
    font-size: 18px;
}

#Registrarse:hover {
    background-color: transparent;
    border: 2px solid #8B286D;
}

.cuerpo {
    display: grid;
    grid-template-columns: 1fr 7fr;
}

aside {
    padding: 2rem;
    top: 0;
    position: sticky;
    height: 100vh;
    background-color: #1a1a1a;
}

.menu header a {
    color: white;
    text-decoration: none;
    font-size: 17px;
}
.menu button{
    background-color: transparent;
    cursor: pointer;
    border: 0;
}

.contenedor-2 {
    width: 100%;
    height: 100%;
    top: 0;
}


@media (max-width: 1400px){
    .column{
        flex: 25%;
    }
}

@media (max-width: 1000px){
    nav header div img {
        width: 10vh;
        margin-left: 2vh;
    }
    .column{
        flex: 30%;
    }
    .menu{
        display: none;
    }
    .cuerpo {
        display: grid;
        grid-template-columns: none;
        margin-right: 2vw;
    }
    #iniciar {
        width: 120px;
        height: 30px;
        font-size: 13px;
    }
    
    #Registrarse {
        width: 120px;
        height: 30px;
        font-size: 13px;
    }
}
@media (max-width: 575px){
    nav header div img {
        width: 10vh;
        margin-left: 2vh;
    }
    .column{
        flex: 47%;
    }
    .menu{
        display: none;
    }
    .cuerpo {
        display: grid;
        grid-template-columns: none;
        margin-right: 2vw;
    }
    #iniciar {
        width: 90px;
        height: 20px;
        font-size: 10px;
    }
    
    #Registrarse {
        width: 90px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 575px){
    nav header div img {
        width: 10vh;
        margin-left: 2vh;
    }
    .column{
        flex: 47%;
    }
    .menu{
        display: none;
    }
    .cuerpo {
        display: grid;
        grid-template-columns: none;
        margin-right: 2vw;
    }
    #iniciar {
        width: 90px;
        height: 20px;
        font-size: 10px;
    }
    
    #Registrarse {
        width: 90px;
        height: 20px;
        font-size: 10px;
    }
}
section div div img {
    border: 0;
    border-radius: 10px;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    margin-block: 5px;
    transition: 0.7s;
    cursor: pointer;
}

section div div img:hover {
    transform: scale(1.07);
}

.contenedor-imagen{
	width: 100%;
	position: relative;
	overflow: hidden;
}

.imagen {
    width: 100%; /* Make the image take up the full width of the column */
    height: 250px; /* Set a fixed height for all images to keep them uniform */
    object-fit: cover; /* Ensure the image is cropped to fit */
    border-radius: 10px;
    transition: transform 0.5s ease;
}


.portafolio-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}


.portafolio-text h2{
	text-align: justify;
}

.contenedor-imagen:hover .portafolio-text {
    opacity: 1;
}

.column {
    flex: 1; /* Make each column take up equal space */
    margin: 10px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.portafolio-text-2{
	position: absolute;
	top: 0;
	padding: 10px;
  width: 100%;
	background: rgba(1,1,1,0.4);
	color: #fff;

	-webkit-transform: translateY(100%);

	-ms-transform: translateY(100%);

	transform: translateY(-100%);

	-webkit-transition: all 0.5s ease-out;

	transition: all 0.5s ease-out;
}

.portafolio-text-2 p{
	text-align: justify;
    cursor: pointer;
}

.portafolio-text-2 p:hover{
	color: yellow;
}

.contenedor-imagen:hover .portafolio-text-2{
	-webkit-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
}

.contenedor-imagen:hover .imagen {
    transform: scale(1.05);
}

.icono-favorito:hover {
    color: rgb(255, 247, 4);
    /* Color del ícono al pasar el cursor por encima */
  }
.icono-favorito.favorito-activo {
    color: rgb(255, 247, 4);
    /* Color del ícono cuando es favorito */
  } 