/** main.css
  *     Author:             Jack
  *     Date:               2023-03-26
  *     Last rev:           2023-03-26
  *     Description:        CSS for landing page
  */

body {
    margin: 0;
    content: "";
    clear: both;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    background: #300033;
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 100;
    font-size: 16px;
}
body, .col-md-12 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* "sunburst effect" (made-up element 'g') */
g {
    display: block;
    width: 200px;
    height: 200px;
    background: rgba(217,190,15,1);
    border-radius: 50%;
    box-shadow: 0 0 150px rgba(255,0,0,.50);
    transform: scale(0);
    animation-name: hilite;
    animation-duration: 4s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    z-index: 10;
}

/* paragraph */
#paragraph {
    /* internal content */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    padding: 20px;
    text-align: center;
    /* dimensions */
    width: 250px;
    height: 250px;
    /* colors */
    background: rgb(159 16 16 / 80%);
    color: rgb(246, 241, 241);
    /* border */
    border: .5px solid rgba(200,0,0,1);
    border-radius: 50%;
    /* position */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* animation */
    animation-name: fade-in;
    animation-duration: 3s;
    animation-delay: 4s;
    animation-fill-mode: forwards;
    /* misc */
    z-index: 0;
    opacity: 0;
}

/* call to action */
.cta {
    display: block;
    width: 160px;
    height: 50px;
    border-radius: 50px;
    background: rgba(217,190,15,1);
    box-shadow: 0 0 20px rgb(255 0 0);
    position: absolute;
    text-align: center;
    opacity: 0;
    font-size: 2rem;
    cursor: pointer;
    bottom: -100px;
    left: 50%;
    padding: 0;
    transform: translateX(-50%);
    animation-name: fade-in;
    animation-delay: 5s;
    animation-duration: 3s;
    animation-fill-mode: forwards;
}

.cta:hover {
    transition: .5s;
    background: transparent;
    color: rgba(255,0,0,1);
}

/* @keyframes (animations) */
@keyframes hilite {
    start {
        transform: scale(0);
        z-index: 10;
        box-shadow: 0 0 50px rgba(255,0,0,.8);
    }
    30% {
        box-shadow: 0 0 300px rgba(255,0,0,1);
    }
    60% {
        box-shadow: 0 0 200px red;
        transform: scale(12);
    }
    90% {
        background: rgba(217,190,15,1);
        box-shadow: 0 0 50px rgba(255,0,0,.4);
    }
    100% {
        transform: scale(0);
        z-index: 10;
        box-shadow: 0 0 0 transparent;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fa {
    font-size: 7em!important;
    position: absolute;
    opacity: 0.2;
    color: #f6dcdc;
    z-index: 0;
}