*{
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    list-style-type: none;
}

img{
    max-width: 100%;
}

.main{
    background-color: rgba(221, 168, 133, 0.911);
    padding-bottom: 10px;
}

.logocatedra{
    width: 150px;
    margin: 30px;
    
}
header{
    display: flex;
    justify-content: space-between;   
    background-color: rgb(248, 213, 190);

}

/* BARRA DE NAVEGACION */
nav ul li{
    margin: 10px;
    width: max-content;
    background-color: black;
    border: 1px solid white;
    border-radius: 10px;
    padding: 10px;
    

}
nav ul li a{
    list-style: none;
    color: rgb(255, 255, 255);
    text-decoration: none;
    
}

nav ul li:hover{
    color: rgb(0, 0, 0);
    background-color: rgba(221, 168, 133, 0.911);
    
}



nav ul{
    list-style: none;
    text-align: center;
}

.menuhorizontal{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:center;
    margin: 25px;

}



/* BARRA DE NAVEGACION */

/* MI PERFIL */
h1{
    font-size: 3rem;
    margin-bottom: 30px;
    margin-top: 150px;
    color: rgb(255, 238, 226);
}

.perfil{
    display: flex;
    margin: 0px 30px 30px 30px;
    justify-content: center;
}

.descripcion{
    width: 500px;
}

.fotoperfil{
    max-height: 500px;
    border-radius: 10px;
    margin: 20px;
    border: 1px solid black;
}

.listaequipo-nombre{
    text-decoration: none;
    color: black;
    border-radius: 10px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.336);
    
}

.listaequipo{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.fotoequipo{
    max-height: 200px;
    border-radius: 10px;
    margin: 20px;
    border: 1px solid black;

}
/* MI PERFIL */

/* PROYECTO DISEÑO 3 */
.titulo-portfolio{
    margin:0;
    text-align: center;
    padding-top: 20px;
}

.proyectodiseño{
    margin: 30px;
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 10px;
    grid-template-areas: 
    "texto foto1 foto1"
    "foto2 foto3 foto4";
    

}

.textodiseño3{
    grid-area: texto;

}

.foto-1{
    grid-area: foto1;
}
.foto-2{
    grid-area: foto2;
}
.foto-3{
    grid-area: foto3;
}
.foto-4{
    grid-area: foto4;
}

.fotoproyecto{
    width: 100%;
    border-radius: 10px;
    
    
}

.fotoproyecto:hover{
    box-shadow: 5px 5px 5px 3px rgba(0, 0, 0, 0.2);
}

/* PROYECTO DISEÑO 3 */

/* MATERIAS */
.titulo-carrera{
    margin:0;
    text-align: center;
    padding-top: 20px;
}

.titulo-materias{
    text-align: center;
    padding-top: 20px;

}

.materia{
    border: 1px solid black;
    border-radius: 10px;
    background-color: rgb(248, 213, 190);
    padding: 10px;
    margin: 10px;
    text-decoration: none;
    list-style: none;
}

.materia ul li{
    list-style: none;

}

/* MATERIAS */


/* CARRERA DISEÑO GRAF */
.carrerafadu{
    text-align: center; 

}


h2{
    font-size: 2rem;
    color: rgb(255, 238, 226);
}

.materias{
    display: flex;
    justify-content: center;
    padding-bottom: 5vh;
    

}

@media(max-width:992px){
    header{
        flex-flow: column wrap;
    }

    .menuhorizontal{
        flex-direction: column;
    }

    .logocatedra-contenedor{
        text-align: center;
    }

    .proyectodiseño{
        display: flex;
        flex-flow: column wrap;
    }

    nav ul li{
        margin: 5px;
        width: 200px;
        
    }


    
}

@media(max-width:600px){
    .perfil{
        flex-direction: column;
        
    }

    .logocatedra{
      margin-bottom: 0px;

    }
    nav ul li{
        margin: 5px;
        width: 200px;
        
    }
    
    .biografia{
        width: 300px;
        display: flex;
        flex-flow: column wrap;
        
        
    }

    h1{
        margin: 20px 0px 0px 0px;
        align-self: center;
        
    }

    .descripcion{
        width: 100%;
        margin: 20px;
        justify-content: center;
    }

    .materias{
        flex-direction: column;
    }

    .biografia__texto1{
        width: 330px;
    }
    .biografia__texto2{
        width: 330px;
    }

    .listaequipo{
        flex-direction: column;
    }
}



.card{
    
    background-color: rgb(248, 213, 190);
    margin: 20px;
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
    justify-content: center;
    text-align: center;
    
    
}

.card-2{
    
    background-color: rgb(248, 213, 190);
    margin: 20px 20px 0px 20px;
    padding: 20px;
    border: 1px solid black;
    border-radius: 10px;
    justify-content: center;
    text-align: center;
    
}
.cardequipo{
    background-color: rgb(248, 213, 190);
    margin: 20px;
    padding: 30px;
    border: 1px solid black;
    border-radius: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;

    
}

footer{
    background-color: rgb(248, 213, 190);
    padding:20px;
}


