html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #2ab9aa, #0086d1);
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
    padding: calc(0.9rem * var(--card-scale)) 0 calc(1.2rem * var(--card-scale));
    color: #ffffff;
    font-size: calc(1.4rem * var(--card-scale));
    font-weight: 500;
    position: relative;
    z-index: 2;
}

#home {
    position: relative;
    z-index: 1;
}

.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: calc(1.75rem * var(--card-scale)) calc(2rem * var(--card-scale));
    max-width: calc(520px * var(--card-scale));
    margin: 0 auto;
}

.tilt-card.blurry-card {
    max-width: 345px;
    margin-left: auto;
    margin-right: auto;
}

.blurry-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: calc(15px * var(--card-scale));
    padding: calc(15px * var(--card-scale));
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.subtitle {
    color: white;
    margin-top: calc(14px * var(--card-scale));
    font-size: calc(3rem * var(--card-scale));
    font-weight: bold;
}

.top-icon {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: calc(180px * var(--card-scale));
    height: calc(180px * var(--card-scale));
    margin-top: calc(24px * var(--card-scale));
    margin-bottom: calc(18px * var(--card-scale));
}

.card-socials {
    display: flex;
    justify-content: center;
    gap: calc(1.5rem * var(--card-scale));
    margin-top: calc(1.75rem * var(--card-scale));
}

.card-socials a {
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.card-socials a:hover {
    color: #f8f9fa;
    transform: scale(1.1);
}

.fa-3x {
    font-size: calc(3em * var(--card-scale));
}

.fab {
    font-family: "Font Awesome 5 Brands";
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-text {
    color: white;
    font-size: calc(1.5rem * var(--card-scale));
    font-weight: 200;
    text-align: center;
    margin-bottom: calc(2rem * var(--card-scale));
}

.card-text.lead {
    font-size: calc(1.5rem * var(--card-scale));
    font-weight: 300;
    line-height: 1.5;
    text-align: left;
}
