@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInDelayed {
    0% { opacity: 0; }
    25% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeInMoreDelayed {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

body {
    margin: 0px;
    background-color: antiquewhite;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    color: white;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-weight: lighter;
    font-size: 42pt;
    animation: fadeIn 2s;
}

h2 {
    color: black;
}

.subtitle {
    color: white;
    font-size: 14pt;
    animation: fadeInDelayed 4s;
}

.face-image {
    width: 300px;
}

#title-area {
    position: relative;
}

#title-image-container {
    position: relative;
    display: inline-block;
}
  
#title-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0.4) 60%);
}

#title-image {
    display: block;
    width: 100%;
}

#title-text {
    position: absolute;
    top: 58%;
    right: 20px;
    text-align: right;
    transform: translate(0%, -50%);
}

#click-face-text {
    animation: fadeInMoreDelayed 4s;
}