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

body, html {
  height: 100%;
  font-family: "Quicksand", sans-serif;
  color:#270308;
  background-color: antiquewhite;
}

.flex {
  display: flex;
}
header {
  position: sticky;
  top: 0;
  justify-content: space-between;
  align-items: center;
  background-color: #ffc4c4;
  padding: 1rem;
  border-bottom: 1px solid #d13a46;
}

ul {
    list-style-type: none;
    flex-wrap: wrap;
}
ul li a:hover {
	font-weight: 800;
  transition: 0.4s;
}
nav ul {
    gap: 3rem; 
}
nav ul li {
    position: relative;
}
li {
  width: 100px;
}
nav ul li a {
	font-size: 1.2rem;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: 0.6s;
  color:#270308;
}

.todo {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 240px;
  background-color: #270308;
  color: #ffc4c4;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  height: 100vh;
}
div a {
  align-items: center;
}
.social {
  text-align: center;
  justify-self: center;
}
.social_img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}
.principal {
  margin-left: 240px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

section {
  background-color: white;
  padding: 30px;
  margin: 10px 0px 20px 0px;
  border-radius: 10px;
  scroll-margin-top: 80px;
}

.contenido {
  padding: 2.5rem;
  margin: 1rem;
}

.foto_perfil {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid #ffc4c4;
}

.social a {
  display: flex;
  margin-top: 1rem;
  color: #ffc4c4;
  text-decoration: none;
}

.proyecto {
  width: 200px;
  height: auto;
  border: 1px solid #d13a46;
  background-color: lightgoldenrodyellow;
  border-radius: 3%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 1rem;
  text-align: center;
}
.foto_proyecto {
  width: 100%;
  height: 200px;
  background-color: white;
  padding: 20px;
  border-top: 1px solid #d13a46;
  border-bottom: 1px solid #d13a46;
}

.galeria_proyectos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.descripcion {
  padding: 10px 10px 0px 10px;
}

h3, h4 {
  padding-bottom: 10px;
}
