* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Nohemi';
    src: url('Nohemi-VF.ttf') format('truetype');
    font-weight: 400, 500, 600, 700;
}

@font-face {
    font-family: 'Rubik';
    src: url('Rubik-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'GeistMono';
    src: url('GeistMonoVariableVF.ttf') format('truetype');
}

body {
    font-family: 'Rubik', sans-serif;
    color: #fff;
    background-color: #131313;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    perspective: 1000px;
}

h1 {
    font-family: 'Nohemi', sans-serif;
    font-size: 24pt;
    font-weight: 600;
}

main.container {
    width: calc(100% - 40px);
    height: calc(100vh - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

a {
    color: #e97272;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

sub {
    font-size: 10pt;
    color: #a7a7a7;
    max-width: 170px;
    text-align: right;
    font-family: 'GeistMono', monospace;
}

p {
    font-family: 'Rubik', sans-serif;
    font-size: 14pt;
    text-align: left;
    margin-bottom: 10px;
    line-height: 1;
}

p:last-child {
    margin-bottom: 5px;
}

.card {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-image: linear-gradient(45deg, #5e5e5e, #e97272) 1;
    border-image-slice: 1;
    z-index: 1;
    transition: transform 1s ease;
}

.card.hanging {
    transform-origin: top right;
    transform: rotate(-50deg);
}

.card .floating-img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
    .card {
        width: calc(100% - 40px);
    }
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.icons img {
    filter: invert(1);
    width: 25px;
    height: 25px;
}

hr {
    border: 1px dashed #333;
    margin: 10px 0;
}