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

/* General Styling */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  text-align: center;
  color: #5d6b70;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1.1rem;
}

header,
section,
footer {
  padding: 3rem;
}

a {
  text-decoration: none;
}

.bottom-line {
  height: 1px;
  width: 4rem;
  background: #cfb53b;
  display: block;
  margin: auto;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}
/* Navbar */
nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  position: absolute;
  top: 0;
}

nav > * {
  margin: 1rem;
  padding: 1rem;
}

nav .logo {
  background-image: url("../img/smile.svg");
  background-repeat: no-repeat;
  max-width: 100px;
  width: 100%;
  margin-right: auto;
}

nav a {
  padding: 0.2rem 1.5rem;
  color: #cfb53b;
  border-bottom: 1px transparent solid;
  transition: border-color 0.5s;
  font-size: 1.2rem;
}

nav a:hover {
  border-color: #cfb53b;
}

/* Header */

header {
  background: url("../img/music.jpg") no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

header .name {
  margin-top: 15%;
}

header .name h1 {
  color: #fff;
  font-size: 4rem;
  text-shadow: 0.2px 0.2px 0.5rem #91a3a9;
}

header .name p {
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0.5px 0.5px 0.3rem #80888b;
}

header .description p:first-child {
  font-size: 1.7rem;
  color: #cfb53b;
}

header .description {
  background: rgba(255, 255, 255, 0.4);
  padding: 1rem;
  margin-top: 10%;
}

#portfolio {
  background: rgba(182, 255, 244, 0.3);
}

.items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.work {
  position: relative;
  overflow: hidden;
  margin: 1rem;
  flex: 1;
}

.item {
  margin-bottom: 10px;
}

.item img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: top;
}

.item-desc {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
  transform: translateY(150%);
  transition: all 0.4s;
  background: rgba(255, 192, 203, 0.85);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.item:hover .item-desc {
  transform: translateY(0%);
}

.work p {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.button {
  cursor: pointer;
  background: rgba(182, 255, 244, 0.75);
  padding: 10px;
  border-radius: 5%;
}

.button:hover {
  background: rgba(182, 255, 244, 0.85);
}
.item a {
  color: #333;
}

#contact {
  background: url("../img/smile-logo.png") no-repeat center center/cover;
  padding-bottom: 6rem;
}

#contact a {
  color: #333;
}
