@import url(https://fonts.googleapis.com/css2?family=Roboto&display=swap);

span {
    font-family: 'Roboto', sans-serif;
    font-size: 40px;

    text-transform: uppercase;

    opacity: 0;
    color: #fff;

    filter: alpha(opacity=0);
}

/* Creates header text animation */
.an {
    -webkit-transition: all .3s ease-in-out 1.7s;
    transition: all .3s ease-in-out 1.7s;
    letter-spacing: -.07em;
}

.mate {
    -webkit-transition: all .1s cubic-bezier(1.000, 1.000, 0.220, 1.000) 2.0s;
    transition: all .1s cubic-bezier(1.000, 1.000, 0.220, 1.000) 2.0s;
    letter-spacing: -.07em;
    color: red;
}

.i {
    -webkit-transition: all .4s ease-in-out 4s;
    transition: all .2s ease-in-out 2s;
    letter-spacing: -.07em;
}

.gen {
    font-family: 'Roboto', sans-serif;
    font-size: 45px;
    line-height: 1;

    margin-top: -11px;

    -webkit-transition: all .1s ease-in-out;
    transition: all .1s cubic-bezier(.190, 1.000, .220, 1.000) 3s;
    -webkit-transform: translateX(-1000%);
    -ms-transform: translateX(-1000%);
    transform: translateX(-1000%);
    letter-spacing: -1px;
    text-transform: uppercase;

    color: black;
}

.animate .an {
    font-size: 40px;

    -webkit-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
    transform: scale(1.5, 1.5);

    opacity: 1;

    filter: alpha(opacity=100);
}

.animate .i {
    font-size: 60px;

    -webkit-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
    transform: scale(1.5, 1.5);

    opacity: 1;

    filter: alpha(opacity=100);
}

.animate .mate {
    font-size: 80px;

    -webkit-transform: scale(1.5, 1.5);
    -ms-transform: scale(1.5, 1.5);
    transform: scale(1.5, 1.5);

    opacity: 1;

    filter: alpha(opacity=100);

}

.animate .gen {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/* Displays current day and time */
.fade-in {
    color: white;
    font-family: 'digital-clock-font';
    animation: fadeIn ease 30s;
    -webkit-animation: fadeIn ease 30s;
    -moz-animation: fadeIn ease 30s;
    -o-animation: fadeIn ease 30s;
    -ms-animation: fadeIn ease 30s;
}

main {
    background-color: #b1bfd8;
    background-image: linear-gradient(315deg, #ccc8c6 0%, #c7d8c6 74%);
}

html,
body {
    background: linear-gradient(-45deg, #ccc8c6, #efd9c1, #c7d8c6, #a9b7c0);
    background-size: 600% 600%;
    animation: gradient 15s ease infinite;
}

h1.double {
    border-style: double;
    border-radius: 5px;
    border-radius: 5px;
    padding: 1rem;
    border-color: linear-gradient(-45deg, #efd9c1, #a9b7c0);
    background-size: 600% 600%;
    animation: gradient 30s ease infinite;
    color: gray;
    margin-inline: 20px;
    font-family: 'Roboto', sans-serif;
}

p {
    color: black;
    font-size: medium;
}

.card {
    background-color: transparent;
    border: 1px solid white;
}

.footer {
    background-color: #efd9c1;
    padding: 1rem 1rem 1rem;
}

footer {
    background: linear-gradient(-45deg, #ccc8c6, #efd9c1, #c7d8c6, #a9b7c0);
    background-size: 600% 600%;
    animation: gradient 30s ease infinite;
}

#search-history {
    display: flex;
    flex-direction: column;
    margin: 10px;
    justify-content: center;
    font-family: 'Roboto', sans-serif;

}

.btn-history {
    margin: 3px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 4px;
}
.btn-history:hover {
    background-color: #268AD6;
    color: white; 
    border: none;
}

#header-history {
    font-weight: bold;
    font-size: 20px;
    color: #808080;
    text-decoration: underline 3px;
    text-underline-offset: 20%;
    font-family: 'Roboto', sans-serif;
}

#card {
    text-align: center;
}

/* Creates keyframe animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}