@font-face {
  font-family: 'Festigan';
  src: url('Festigan.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Poppins';
    animation: fadeIn 2s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

.subline {
    font-weight: 600;
    font-size: 3rem;
}

.header-name {
    font-family: 'Festigan', Arial, Helvetica, sans-serif;
    font-size: 15rem;
    animation: textColour 6s infinite alternate ease-in-out;
}

@keyframes textColour {
    0%   { color: #6b7c5a; }
    40%  { color: #f6bd60; }
    70%  { color: #5ca4a9; }
    100% { color: #f28482; }
}

.header-tagline {
    font-weight: 500;
}

.sm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 64px;
}

.sm-caption {
    font-weight: 200;
}

.sm-row {
    display: flex;
    margin: 10px 0;
    gap: 16px;
    align-items: center;
}

.sm-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.75rem;
    color: white;
    background-color: #b09e99;
    border-radius: 9999px;
    transition: transform 1.5s ease, background-color 0.7s ease;
}

.sm-row a:hover {
    background-color: #F9C5C7;
    color: white;
    transform: rotate(360deg);
}

@media (max-width: 770px) {
    body {
        width: 100%;
        padding: 2rem;
        box-sizing: border-box;
        height: auto;
        min-height: 100vh;
    }

    .content {
        text-align: center;
    }

    .header-name {
        font-size: 7rem;
    }

    .subline {
        font-size: 2rem;
    }

    .header-tagline {
        font-size: 0.9rem;
        text-align: center;
    }

    .sm-container {
        margin-top: 32px;
    }

    .sm-caption {
        text-align: center;
        font-size: 0.8rem;
    }

    .sm-row a {
        width: 2.8rem;
        height: 2.8rem;
        font-size: 1.4rem;
    }
}