* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Roboto Mono", monospace;
}

p {
  max-width: 65ch;
  display: inline-block;
}

body {
  background-color: black;
  color: white;
}

main,
article {
  min-height: 100vh;
}

main {
  color: black;
  min-height: 100vh;
  background-color: white;
  -webkit-clip-path: polygon(0% 0%, 100% 0, 100% 88%, 50% 100%, 0 88%);
  clip-path: polygon(0% 0%, 100% 0, 100% 88%, 50% 100%, 0 88%);
}

article:nth-child(even) {
  background-color: white;
  color: black;
}

article {
  padding: 2rem;
  color: white;
  text-align: center;
}

h1,
h2,
h3,
h4 {
  font-family: "IBM Plex Mono", monospace;
}

@media screen and (min-width: 500px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }
  h4 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.25rem;
  }

  .p-small {
    padding: 1rem;
  }

  .pt-medium {
    padding-top: 5rem;
  }

  .mt-small {
    margin-top: 2rem;
  }

  .mt-medium {
    scroll-margin: 5rem;
    margin-top: 5rem;
  }

  .mb-small {
    margin-bottom: 2rem;
  }

  .section--about-me__short .box .content {
    font-size: 1.25rem;
  }

  .box {
    padding: 1rem;
  }
}

.p-small {
  padding: 0.5rem;
}

.pt-medium {
  padding-top: 2.55rem;
}

.mt-small {
  margin-top: 1rem;
}

.mt-medium {
  scroll-margin: 2.55rem;
  margin-top: 2.55rem;
}

.mb-small {
  margin-bottom: 1rem;
}

.image__profile {
  margin: 1rem;
  width: 250px;
  max-width: 70vw;
  border-radius: 50%;
}

.box {
  padding: 1rem;
}

.box--glass {
  display: inline-block;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#accounts ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.box__social-media {
  list-style-type: none;
}

.box__social-media a {
  display: inline-block;
  transition: all 200ms ease-in-out;
}

.box__social-media a:hover {
  scale: 1.3;
}

.box__social-media img {
  max-height: 2rem;
}

.centered {
  text-align: center;
}

#acknowledgment {
  background-image: url("images/rs.jpg");
  background-position: center;
  background-size: cover;
}

#acknowledgment .container {
  display: grid;
  gap: 2rem;
  align-content: center;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  justify-content: center;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  display: inline-block;
  padding: 0 1rem;
}

.section--about-me__short {
  display: grid;
  align-items: center;
  justify-content: center;
  align-content: center;
  padding: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
  color: white;
}

.section--about-me__short .box a {
  color: white;
}

.section--about-me__short .box h4 {
  padding: 1rem;
}

.section--about-me__short .box ul li {
  list-style: none;
}

.loading-bar {
  display: inline-block;
  background-color: rgba(0, 186, 199, 0.09);
  height: 1rem;
  border-radius: 1rem;
  width: 100%;
  padding: 1rem;
  position: relative;
}

.loading-bar::after {
  position: absolute;
  content: "";
  display: inline-block;
  border-radius: 1rem;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc((1% * var(--loaded-parcentage)));
  background-color: rgb(0, 0, 0);
}
