:root {
  --padding: 8px;
  --fc: hsl(202, 15%, 47%);
  --darker: hsl(203, 60%, 18%);
}

body {
  background: url("/img/background.jpg") center/cover no-repeat;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  margin: 0;
  color: #444;

  font-family: "Sour Gummy", sans-serif;

  font-size: 16px;

  min-height: 100vh;
  height: 100%;
}

a:hover {
  text-decoration: underline;
}

p {
  font-size: 1rem;
}

.container {
  max-width: 550px;
  width: 100%;

  height: fit-content;

  background-color: rgba(255, 255, 255);

  outline: 8px solid hsla(200, 56%, 23%, 0.781);
}

.top-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: var(--padding);
  color: var(--fc);

  border-bottom: 1px solid var(--fc);
}

.profile {
  position: relative;
  height: 200px;
}

.banner {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background: url(/img/banner.jpg) center/cover;
}

.profile .info {
  display: flex;
  align-items: flex-end;
  padding: 0 20px;
  margin-top: -40px;
}

.profile .info .avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: 2px solid var(--fc);
  aspect-ratio: 1/1;
  background: var(--fc) url(/img/avatar.jpg) center/cover;
  z-index: 2;
}

.profile .info .details {
  margin-left: 15px;
  padding-bottom: 20px;
}

.profile .info .details .name {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
  color: var(--fc);
}

.section-headers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(
    45deg,
    var(--fc) 25%,
    var(--darker) 25%,
    var(--darker) 50%,
    var(--fc) 50%,
    var(--fc) 75%,
    var(--darker) 75%,
    var(--darker) 100%
  );
  background-size: 20px 20px;
  text-align: center;
  padding: 15px 0;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
}

.content-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.left {
  background-color: #6d8ba3;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 13px;
}

.left .socials {
  padding-bottom: 10px;
}

.left .socials a {
  font-size: 24px;
  transition: transform 0.2s;
  display: inline-block;
}

.left .socials a:hover {
  transform: scale(1.2);
}

.dni-box {
  background: repeating-linear-gradient(
    45deg,
    var(--darker),
    var(--darker) 10px,
    var(--fc) 10px,
    var(--fc) 20px
  );
  color: #fff;
  padding: 20px;
  font-weight: bold;
  font-size: 28px;
  margin: 20px -20px; /* pull out to edges of col */
}

.right {
  padding: 20px;
}

.right p {
  padding-bottom: 10px;
}

.copyright {
  color: var(--darker);
  padding-top: 15px;
}

/* Media queries */
@media screen and (max-width: 400px) {
  .profile .info .avatar {
    width: 100px;
    height: 100px;
  }

  .profile .info .details {
    padding-bottom: 5px;
  }
}
