.header {
    position: relative;
    cursor: default;
    top: 30px;
    left: 0px;
    text-align: center;
    width: max-content;
    margin: 0 auto;
    padding: 0px 0px 0px 0px;
    font-family: 'Gorditas', sans-serif;
    font-weight: 700;
    font-size: 48px;
}

h1 {
    position: relative;
    cursor: default;
    text-align: center;
    width: max-content;
    margin: 0 auto;
    padding: 0px 0px 0px 0px;
}

h1::after {
    content: "";
    width: 100%;
    height: .1em;
    position: absolute;
    bottom: 0;
    left: 0;
    cursor: default;
    background-image: repeating-linear-gradient(to right, rgb(255, 255, 0), orange, yellow, orange, rgb(255, 255, 0));
    border-radius: 1em;
    scale: 0;
    transition: scale 200ms ease;
}

h1:hover::after {
    cursor: default;
    scale: 1;
}

.about-me {
    text-align: left;
    font-family: 'Unkempt', sans-serif;
    font-weight: 400;
    font-size: 30px;
    padding: 0px 20px 0px 40px;
}

body{
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 100%;
    height: 100vh;
    display: block;
    background-image: radial-gradient(circle at top left,
        white,
         rgb(255, 255, 0),
          rgb(255, 191, 0),
           rgb(212, 120, 0),
            rgb(255, 81, 0),
             rgb(255, 0, 0),
              rgb(255, 81, 0),
               rgb(212, 120, 0),
                rgb(255, 191, 0),
                 white);
    background-size: 200% 200%;
    color: #000000;
    padding: 0px;
    margin: 0;
    letter-spacing: 1px;
    background-attachment: fixed;

    animation-name: background-animation;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.footer {
    font-family: 'DynaPuff', sans-serif;
    font-style: italic, sans-serif !important;
    font-weight: 400;
    font-size: 24px;
    padding: 0px 0px 0px 0px;
    position: relative;
    top: 7em;
    left: 2%;
}

.duck-image {
    cursor: default;
    position: relative;
    align-self: center;
    border: 2px solid #000000;
    border-radius: 50px;
    transform: perspective(1000px);
    transition-property: transform;
    animation-name: duck-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    width: fit-content;
    min-width: 280px;
    margin: 0 auto;
}

.cute-duck-image {
    position: absolute;
    top: -45px;
    right: -50px;
    width: 90px;
    height: 90px;
    border-radius: 200%;
    border: #000000 2px solid;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    
    scale: 0;
    transform-origin: center;
    transition: all 0.35s ease;
    pointer-events: none;
    z-index: 10;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 4em;
    padding: 0 20px;
}

.project-button,
.friend-button {
    font-family: 'Gorditas', sans-serif;
    font-size: 24px;
    font-weight: 300;
    padding: 14px 32px;
    background-color: rgb(224, 166, 72);
    border: 3px solid #7d3c00;
    color: #000000;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2), 0 6px 20px rgba(0,0,0,0.19);
    border-radius: 1000px;
    transition: all 0.3s ease;
    
    width: fit-content;
    min-width: 280px;
    margin: 0 auto;
}

.project-button:hover {
    transform: translateY(-4px);
    background-color: rgb(211, 211, 211);
    border-color: #565656;
    box-shadow: 0 0 16px rgb(255, 153, 0), 0 0 25px rgb(255, 251, 0);
}

.project-button:hover .cute-duck-image {
    scale: 1;
    transform: rotate(15deg);
}

.friend-button:hover {
    transform: translateY(-4px);
    background-color: rgb(183, 105, 255);
    border-color: #5a007d;
    box-shadow: 0 0 16px rgb(255, 153, 0), 0 0 25px rgb(255, 251, 0);
}

@keyframes background-animation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes duck-animation {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes duck-pop {
    0%   { scale: 0; transform: rotate(-20deg); }
    60%  { scale: 1.15; transform: rotate(25deg); }
    100% { scale: 1; transform: rotate(15deg); }
}