body {
    background-color: #d3feff;
    font-family: 'Arial', sans-serif;
}

h1 {
    font-size: 250%;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
    color: #d00000;
}

h2 {
    background-color: #ff80d5;
    font-size: 180%;
    padding: 5px;
}


p {
    text-align: justify;
    text-indent: 2em;
    line-height: 1.5;
}

p::first-letter {
    font-size: 200%;
    font-weight: bold;
    color: #00d023;
}

mark {
    background-color: yellow;
    font-weight: bold;
}

blockquote {
    font-style: italic;
    border-left: 4px solid #d00000;
    margin: 1em;
    padding-left: 1em;
    color: #555;
}

a {
    text-decoration: none;
    color: #cc6300;
}

a:hover {
    color: #d00000;
}

footer {
    background-color: #00dbb7;
    padding: 10px;
    text-align: center;
}

address {
    font-family: 'Courier New', monospace;
    font-style: italic;
    text-align: center;
}

table {
    width: 80%;
    height: auto;
    margin: 20px auto;
    border: 4px solid #001799;
    border-collapse: collapse;
    table-layout: fixed;
}

th, td {
    border: 2px solid #001799;
    padding: 10px;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #d1e4fd; 
}

tr:nth-child(odd) {
    background-color: #edf1f7;
}

tr:hover {
    background-color: #699deb;
    cursor: pointer;
}

th {
    background-color: #3a4c9c;
    color: white;
    font-size: 120%;
    border-bottom: 3px solid #001799;
}

td img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}


/* FORMULARIO */

form {
    width: 80%;
    max-width: 500px;
    margin: 30px auto;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

label {
    display: block;
    font-weight: 1000;
    margin-bottom: 9px;
    color: #a70000;
}


textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 2px solid #888;
    border-radius: 6px;
    background-color: #f9f9f9;
    outline: none;
    transition: 0.3s;
    font-size: 15px;
    color: #222;
}

::placeholder {
    color: #aaa;
    font-style: italic;
}


input:hover,
select:hover,
textarea:hover {
    background-color: #ffffff;
}


textarea {
    resize: none;
    height: 120px;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer;
    margin-right: 8px;
}

input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
    color: #4CAF50;
    font-weight: bold;
}


input[type="submit"],
input[type="reset"],
button {
    width: 48%;
    padding: 12px;
    margin-top: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #ac4caf;
    color: white;
    font-size: 16px;
    transition: 0.3s;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
    background-color: #bd2626;
}

input[type="reset"] {
    background-color: #0f00e7;
}

input[type="reset"]:hover {
    background-color: #d6d301;
}

input[type="submit"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 95% center;
}



