@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Space Mono", monospace;
}

body {
    --background_page: #0a0a0a;
    --text_color: #fff;
    --button_one_background: #454647;
}

#one {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--background_page);
    color: var(--text_color);
}

#one .avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

#one .name {
    margin-top: 12px;
    font-size: 32px;
    font-weight: 600;
    animation: glitch1 2.5s infinite;
}

#one .description {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 500;
    animation: glitch1 2.5s infinite;
}

#one .scrollDown {
    margin-top: 50px;
    -webkit-animation: slide-bottom 3s cubic-bezier(.25,.46,.45,.94) infinite both;
    animation: slide-bottom 3s cubic-bezier(.25,.46,.45,.94) infinite both;
}

#one .scrollDown .icon {
    width: 36px;
    height: 36px;
}

@-webkit-keyframes slide-bottom {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    50% {
        -webkit-transform: translateY(25px);
        transform: translateY(25px)
    }

    to {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes slide-bottom {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    50% {
        -webkit-transform: translateY(25px);
        transform: translateY(25px)
    }

    to {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

#one .socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

#one .socials a {
    margin-top: 12px;
    background: var(--button_one_background);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: cubic-bezier(0.165, 0.84, 0.44, 1) all 0.5s;
}

#one .socials a:hover {
    transform: scale(1.2);
}

#white {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    color: #000;
    padding: 48px;
}

#white > .title {
    margin-top: 12px;
    font-size: 32px;
    font-weight: 600;
}

#white .category .title {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

#black {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #0a0a0a;
    color: #fff;
    padding: 48px;
}

#black > .title {
    margin-top: 12px;
    font-size: 32px;
    font-weight: 600;
}

#black .certificates {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

#black .certificates .item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    width: fit-content;
    padding: 12px;
    border-radius: 12px;
    min-width: 32%; 
    margin-right: 12px;
    margin-bottom: 12px;
}

#black .certificates .item img {
    width: 60px;
    border-radius: 12px;
    background: #fff;
    object-fit: cover;
}

#black .certificates .item .info .title {
    font-weight: 600;
    margin-bottom: 3px;
}

#black .certificates .item .info .description {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}
@media (min-width: 320px) and (max-width: 480px) {
  
    #white {
        padding: 24px;
    }
    #white > .title {
        width: 100%;
        text-align: center;
    }

    #black {
        padding: 24px;
    }
    #black > .title {
        width: 100%;
        text-align: center;
    }

    #black .certificates .item {
        min-width: 100%;
    }
  }

  @keyframes glitch1 {
    0% {
      transform: none;
      opacity: 1;
    }
    7% {
      transform: skew(-0.5deg, -0.9deg);
      opacity: 0.75;
    }
    10% {
      transform: none;
      opacity: 1;
    }
    27% {
      transform: none;
      opacity: 1;
    }
    30% {
      transform: skew(0.8deg, -0.1deg);
      opacity: 0.75;
    }
    35% {
      transform: none;
      opacity: 1;
    }
    52% {
      transform: none;
      opacity: 1;
    }
    55% {
      transform: skew(-1deg, 0.2deg);
      opacity: 0.75;
    }
    50% {
      transform: none;
      opacity: 1;
    }
    72% {
      transform: none;
      opacity: 1;
    }
    75% {
      transform: skew(0.4deg, 1deg);
      opacity: 0.75;
    }
    80% {
      transform: none;
      opacity: 1;
    }
    100% {
      transform: none;
      opacity: 1;
    }
  }