body {
  background-color: #1a1a1a;
  margin: 0;
  border: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}

a {
  color: white;
  text-decoration: none;
}

a[href="#webs"]:hover {
  color: #0d6efd;
}

.badge {
  padding: 0.3em 0.7em;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge.bg-primary {
  background-color: #0d6efd;
  color: white;
}
.badge.bg-white {
  background-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: white;
  text-align: center;
  margin: 0;
}
h5 {
  font-weight: 400;
  font-size: 1.1rem;
}
h6 {
  font-weight: 300;
  font-size: 1rem;
}
.logo {
  height: 15rem;
  margin-top: 4rem;
  transition: 0.5s;
}
.logo:hover {
  height: 17rem;
  margin-top: 3rem;
}
.container {
  min-height: 100vh;
  scroll-snap-type: mandatory;
  scroll-snap-points-y: repeat(300px);
  scroll-snap-type: y mandatory;
  overflow-y: auto;
}
.section {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  padding-top: 1rem;
  padding-bottom: 1rem;
  scroll-snap-align: start;
  overflow-y: auto;
}

h1 {
  color: #fcfbfa;
}

.link {
  height: 4.5rem;
  width: 10rem;
  font-size: 2rem;
  background-color: dodgerblue;
  font-weight: bold;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.2rem;
}
.link:hover {
  background-color: white;
  color: dodgerblue;
}
.link.primary {
  background-color: blueviolet;
  color: white;
}
.link.primary:hover {
  background-color: white;
  color: blueviolet;
}

.card {
  display: flex;
  align-items: center;
  height: calc(9 * 1.8rem);
  width: calc(16 * 1.5rem);
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  border-radius: 10px;
  margin-left: 2rem;
  overflow: hidden;
  margin-right: 2rem;
}

.webs {
  padding-top: 7rem;
  display: flex;
  flex-direction: column;
}

a#webs {
  margin-bottom: 6rem;
}

.row {
  display: flex;
  margin-bottom: 3rem;
}

.card .title {
  opacity: 0;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 10px black;
  z-index: 2;
}

.card .title.hover {
  opacity: 1;
  transition: opacity 150ms ease-in;
}

.card .bg-image.hover {
  filter: brightness(50%);
  -webkit-filter: brightness(50%);
  transform: scale(1.2);
}

.card .bg-image {
  border-radius: 10px;
  height: calc(9 * 1.8rem);
  width: calc(16 * 1.5rem);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 150ms;
}
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.3rem;
}
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 1.5rem;
}

.footer h5:hover {
  font-weight: 700;
  cursor: default;
}
.footer h5 {
  margin-top: 5rem;
}
.footer h6 {
  margin-top: 0.4rem;
}
.footer h6:hover {
  font-weight: 600;
  cursor: default;
}
.skills {
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}
h4 {
  font-weight: 300;
  margin-top: 1rem;
}
@media screen and (max-width: 550px) {
  .logo {
    height: auto;
    width: 80vw;
    margin-top: 3rem;
  }
  .card {
    margin-bottom: 5rem;
  }
  .row {
    flex-direction: column;
  }
  nav {
    flex-direction: column;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
  }
  a {
    margin-bottom: 1rem;
    width: 90vw;
  }
  .skills {
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  .card {
    width: 80vw;
  }
  .card .bg-image {
    width: 80vw;
  }
  .footer {
    position: static;
  }
  .badge {
    margin-bottom: 0.3rem;
  }
  .logo:hover {
    height: auto;
    margin-top: 3rem;
  }
  .link {
    width: 90vw;
  }
}
@media screen and (max-height: 650px) {
  nav {
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
  }
  .skills {
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }
  .footer {
    position: static;
  }
  .badge {
    margin-bottom: 0.3rem;
  }
}
