main {
    background-color: rgb(39, 97, 214);
    scroll-behavior: smooth;
}

header {
    margin-bottom: 0;
}

#maininfo {
    opacity: 0;
    animation: fadeinUpwards 2s forwards;
    animation-delay: 1s;
}

@keyframes fadeinUpwards {

    /* Starts down, pulls it up */
    from {
        transform: translateY(200px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

#titleBlocker {
    display: block;
    width: 50%;
    height: 50px;
    background-color: white;
    position: absolute;
    top: 0px;
    /* start at top of parent */
    left: 0px;
    z-index: 5;

    animation: titleUnblock 2s ease-out forwards;
}

@keyframes titleUnblock {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-100px);
    }
}

#subheader {
    opacity: 0;
    animation: fadeOut 2s ease-in;
    animation-fill-mode: forwards;
    animation-delay: 2s;
}

@keyframes fadeOut {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.infoCard {
    transition: transform .2s;
}

.infoCard:hover {
    transform: scale(1.1);
}

.infoCard2 {
    transition: transform .2s;
}

.infoCard2:hover {
    transform: scale(1.05);
    color: white;
}

.infoCard2 .card-header {
  color: rgba(0, 0, 0, 0.375);
  font-weight: bold;
  transition: color .2s; /* Optional: makes the color change smooth */
}
.infoCard2 .card-text {
  color: rgba(0, 0, 0, 0.392);
  font-weight: 400;
  transition: color .2s; /* Optional: makes the color change smooth */
}

.infoCard2:hover .card-header,
.infoCard2:hover .card-text {
  color: white;
}