html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: url("../images/background.jpg");
  background-size: cover;
}


.name {
  font-family: "Roboto","Helvetica","Arial",sans-serif;
  font-weight: 400;
  font-size: 85;
  text-align: center;
  color: #444444;
}

.name:hover {
  color: #565656;
  cursor: default;
}

.title {
  font-family: "Roboto","Helvetica","Arial",sans-serif;
  font-weight: 400;
  font-size: 25;
  text-align: center;
  color: #696969;
}

.icon-list {
  padding: 0px;
}

.icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 43;
  text-decoration: none;
}

.location-subtitle {
  margin-top: auto;
  padding-bottom: 20px;
}

.location {
  font-family: "Roboto","Helvetica","Arial",sans-serif;
  font-weight: 400;
  font-size: 15;
  text-align: center;
  color: #3d3d3d;
}

.location:hover {
  color: #900020;
  cursor: default;
}

a, a:visited, a:active, a:focus {
  color: #8e8e8e;
  text-decoration: none;
}

.linkedin:hover {
  color: #007bb6;
  text-decoration: none;
}

.facebook:hover {
  color: #44619d;
  text-decoration: none;
}

.instagram:hover {
  color: #a57b5e;
  text-decoration: none;
}

.resume:hover {
  color: #FB607F;
  text-decoration: none;
}

.github:hover {
  color: #b7e9f7;
  text-decoration: none;
}

.name-box {
  padding-bottom: 2%;
}

.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  box-sizing: border-box;
  padding-top: 14%;
}

.top > .mdl-grid {
  width: 100%;
}

/* Mobile styles */
@media screen and (max-width: 479px) {
  body {
    background-position: center;
  }

  .mdl-cell--hide-phone {
    display: block !important;
  }

  .mdl-cell--hide-desktop.mdl-cell--hide-tablet {
    display: none !important;
  }

  .top {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 0;
    justify-content: center;
    align-items: center;
  }

  .name-box {
    padding-bottom: 0;
    margin-top: auto;
    padding-top: 40vh;
  }

  .name {
    font-size: 55px;
    white-space: nowrap;
  }

  .mdl-grid:has(.title) {
    display: none !important;
  }

  .icon-list {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }

  .icon-list .mdl-cell {
    width: 100% !important;
  }

  .icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    font-size: 38px;
    white-space: nowrap;
    margin-top: 40px;
  }

  .icons a {
    display: inline-block;
  }

  .mdl-grid {
    padding: 0 !important;
  }

  .mdl-cell {
    margin: 0 !important;
  }

  .location-subtitle {
    margin-top: auto;
    padding-top: 0;
    padding-bottom: 100px;
  }

  .location {
    white-space: nowrap;
    margin-bottom: 80px;
  }
}
