@font-face {
    font-family: 'uncletypewriter';
    src: url('assets/fonts/Uncletypewriter/Uncletypewriter.woff2') format('woff2'),
        url('assets/fonts/Uncletypewriter/Uncletypewriter.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes shake {
  0% { transform: translate(0.5px, 0.5px) rotate(0deg); }
  10% { transform: translate(-0.5px, -1px) rotate(-0.5deg); }
  20% { transform: translate(-1px, 0px) rotate(0.5deg); }
  30% { transform: translate(1px, 1px) rotate(0deg); }
  40% { transform: translate(0.5px, -0.5px) rotate(0.5deg); }
  50% { transform: translate(-0.5px, 1px) rotate(-0.5deg); }
  60% { transform: translate(-1px, 0.5px) rotate(0deg); }
  70% { transform: translate(1px, 0.5px) rotate(-0.5deg); }
  80% { transform: translate(-0.5px, -0.5px) rotate(0.5deg); }
  90% { transform: translate(0.5px, 1px) rotate(0deg); }
  100% { transform: translate(0.5px, -1px) rotate(-0.5deg); }
}


body {
    background-image: url(assets/images/bg.jpg);
    font-family: uncletypewriter;
    font-weight: 400; 
    margin: 2rem;
    font-size: 16px;
    color: whitesmoke;
}

p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

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

.profile {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: grid;
    padding: 1rem;
    box-sizing: border-box;
}

.profile__header {
    display: flex;
    text-align: left;
}

.profile__header p {
    color: #F2F0F0;
    font-size: 1.2rem;
    margin-bottom: 0px;
    text-shadow:
        10px 10px 0px #2e1a13,
        2px 10px 2px #4a2a1e,
        -1px 10px 1px #3b1f0f,
        0 0 3px rgba(50, 20, 10, 0.4);
}

.profile__banner img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 
    1px 10px 0px #2e1a13,     
    2px 10px 2px #4a2a1e,  
    -1px 10px 1px #3b1f0f, 
    0 0 3px rgba(50, 20, 10, 0.4); 
}
.profile__footer {
    height: auto;
    display: flex;
    justify-content: flex-end;
    margin-top: -2px;
}

.profile__footer p {
    margin-top: -5px;
}

.profile__footer ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: left;
}

.label {
    height: auto;
    background-color: black;
    margin-left: 5px;
    width: clamp(60px, 12vw, 90px);
    1px 1px 0px #2e1a13,
    2px 0px 2px #4a2a1e,
    -1px 1px 1px #3b1f0f, 
    0 0 3px rgba(50, 20, 10, 0.4); 
}

.label:hover {
  animation: shake 0.5s;
}

@media (max-width: 480px) {
    body {
        margin: 1rem;
        font-size: 14px;
    }

    .label {
        width: clamp(80px, 20vw, 120px); 
    }

    .profile {
        padding: 0.5rem;
    }

    p {
        font-size: 1rem;
    }
}
