@charset "utf-8";

html {
    background: linear-gradient(-45deg,
            rgb(255, 51, 0),
            rgb(255, 230, 0),
            rgb(0, 255, 13),
            rgb(0, 4, 255));
    background-size: 500% 500%;
    animation: 5s animate linear infinite;
}

h1#title {

    font-size: 30px;
    margin-bottom: 50px;
    text-align: center;
}

h2#title2 {
    font-size: 20px;
    text-decoration: underline;
}

p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
}

div.container {
    padding: 10px;
}

div.smallnav {
    padding: 10px;
    text-align: center;
}

nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    margin: 10px;
    list-style: none;
}

nav li {
    padding: 2px;
}

nav a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    padding: 4px;
}

nav a:hover {
    color: blue;
}

h1,
h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.text {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 3px solid #ccc;
    outline: none;
    border-radius: 4px;
    background-color: #f2f2f2;
}

#email {
    width: 150px;
    transition-timing-function: ease-in;
    transition: width 0.5s linear;
}

#email:hover {
    width: 300px;
}

.submit {
    width: 100%;
    background-color: #4caf50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit:hover {
    background-color: #45a049;
    box-shadow: 5px 10px 18px black;
}

.div {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

textarea {
    width: 250px;
    height: 50px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    resize: none;
    transition: height 0.5s;
}

textarea:hover {
    width: 100%;
    height: 150px;
}

footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
}

input[type="email"]:focus:valid {
    background: url(/ash_image/correct.jpg) right/contain no-repeat;
}

input[type="email"]:focus:invalid {
    background: url(/ash_image/wrong.jpg) right/contain no-repeat;
}

div.general {
    background: linear-gradient(to right, rgb(239, 73, 48), yellow, teal);
    border: 3px dashed darkred;
    background-size: 500% 500%;
    animation: 8s animate linear infinite;
    border-radius: 10px;
    padding: 10px;
}

div.general>p>a {
    text-decoration: none;
    color: blue;
}

div.general>p>a:hover {
    color: rgb(255, 203, 203);
    font-weight: bold;
    text-decoration: underline;
}