@keyframes ani {
    0%{background-position:0 0;}
    100%{background-position: 100vw 0;}
}

@-webkit-keyframes name {
    0% {background-color:rgb(255, 0, 0);}
    50% {background-color: rgb(240, 90, 115);}
    95% {background-color:rgb(17, 0, 255);}
    100% {background-color: rgb(255, 0, 0);}
}

html {
    background-color: rgb(192, 22, 22);
    border: 3px solid black;
    width: 85%;
    margin: 30px auto 30px auto;
}

body {
    background-color: #3d6c9b;
    border: 3px solid black;
}

img {
    margin-top: 30px;
}

section#MoreInfo h2,
 section#MoreInfo p,
 section#Texas h2,
 section#Texas h3,
 section#Texas p,
 section#Texas ul {
    text-align: center;
    color: aliceblue;
}

section#index p {
    text-align: center;
    color: #ff4437;
}

Header#California {
    text-align: center;
    text-shadow: 2px 2px 2px rgb(161, 218, 7);
    min-height: 850px;
    border: 5px solid black;
    background:url(images/state-flag-Bear-Flag-California-red-star-July-9-1846.webp) repeat-x 00/ 100% auto;
    animation: ani 20s linear infinite;
}

header {
    text-align: center;
    text-shadow: 2px 2px 2px rgb(161, 218, 7);
    min-height: 200px;
    border: 5px solid black;
}

p,
h1,
h2,
h3,
h4,
footer {
    text-align: center;
}

nav a {
    text-align: center;
    display: inline-block center;
    width: 130px;
    margin: 10px auto 5px 5px;
    padding: 5px;
    color: red;
    background-color: white;
    border: 3px solid black;
    font-size: 16pt;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 2px 4px 6px black;
}

nav a:hover {
    color: white;
    background-color: red;
    text-align: center;
}

header#index {
    text-align: center;
    text-shadow: 2px 2px 2px rgb(161, 218, 7);
    min-height: 500px;
    border: 5px solid black;
    background:url(images/Flag-United-States-of-America.webp) repeat-x 00/ 100% auto;
    animation: ani 30s linear infinite;
}

header#MoreInfo {
    text-align: center;
    text-shadow: 2px 2px 2px rgb(161, 218, 7);
    min-height: 700px;
    border: 5px solid black;
    background:url(images/Harvard-logo-design.webp) repeat-x 00/ 100% auto;
    animation: ani 20s linear infinite;
}

section#California {
    text-align: center;
    color: #ffff;
    font-weight: 700;
    padding: 12px;
}

footer {
    -webkit-animation:name .5s infinite;
}

a {
    text-decoration: none;
}

a:hover {
    color: red;
}

p {
    padding: 25px;
}

header#Texas {
    text-align: center;
    text-shadow: 2px 2px 2px rgb(161, 218, 7);
    min-height: 850px;
    border: 5px solid black;
    background:url(images/Texas.avif) repeat-x 00/ 100% auto;
    animation: ani 10s linear infinite;
}

section#Texas {
    text-align: center;
    padding-bottom: 5px;
}

Header#Florida {
    text-align: center;
    text-shadow: 2px 2px 2px rgb(161, 218, 7);
    min-height: 800px;
    border: 5px solid black;
    background:url(images/florida\ flag.webp) repeat-x 00/ 100% auto;
    animation: ani 15s linear infinite;
}

section#Florida {
    text-align: center;
    padding-bottom: 7px;
    color: white;
}

img {
    box-shadow: 2px 2px 2px 2px black;
    border: black;
    border-radius: 99px;
}

section#index {
    text-align: center;
    color: rgb(207, 170, 170);
}