html {
    scroll-behavior: smooth;
}

body {
    background-image: url("../images/fondodef.gif");
    color: aliceblue;
    text-align: justify;
}

a {
    text-decoration: none;
    color: rgb(255, 150, 101);
}

a:visited {
    color: aliceblue
}

a:hover {
    color: rgba(228, 228, 228, 0.664);
}

h1,
h2 {
    text-align: center;
    padding: 1%;
}

p {
    font-family: "Tiny5", sans-serif;
    padding: 1%;
    text-align: justify;
}

table {
    font-family: "Tiny5", sans-serif;
    border-collapse: collapse;
    width: 100%;

}

td,
th {
    border: 0px solid #ddd;
    border-radius: 2px;
    padding: 2%;
}

tr:nth-child(even) {
    background-color: #6e6e6e62;
}

tr:nth-child(odd) {
    background-color: #ff3c0093;
}

tr:nth-child(even):hover {
    background-color: #303030a9;
}

tr:nth-child(odd):hover {
    background-color: #ff48004b;
}


main {
    width: 70%;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.788);
    margin-top: 10%;
    margin-bottom: 10%;
}

nav {
    display: flex;
    width: 100%;
}

header {
    background-color: rgba(0, 0, 0, 0.815);
    position: fixed;
    width: 100%;
    margin-top: -10%;
    margin-bottom: 10%;
}

ul {
    list-style-type: none;
    margin: auto;
    padding: 0;
    display: flex;
    width: 50%;
}

li {
    margin: auto;
    padding: 1%;
    font-size: larger;
}

label {
    color: rgb(255, 17, 76);
}

footer {
    background-color: rgba(0, 0, 0, 0.849);
    height: 300px;
    border-top: 1px solid rgba(255, 255, 255, 0.085);
    margin-top: 1%;
    color: aliceblue;
    text-align: justify;
    font-family: "Tiny5", sans-serif;
}

audio {
    margin-left: 43%;
    width: 14%;
    padding-top: 3%;
}

.year {
    width: 10%;
}

.test {
    border: 1px solid red;
}

.tiny5-regular {
    font-family: "Tiny5", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.sixtyfour-mod {
    font-family: "Sixtyfour", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "BLED" 40,
        "SCAN" -40;
}

.sixtyfour-convergence-orange {
    font-family: "Sixtyfour Convergence", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "BLED" 46,
        "SCAN" 50,
        "XELA" -100,
        "YELA" 100;
}


.flex {
    display: flex;
}

.maincolumn {
    width: 50%;

}


.hover {
    margin-left: 10%;
    margin-right: 5%;
    margin-top: 3%;
    margin-bottom: 5%;
    position: relative;
    height: 15%;

}

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text {
    color: rgb(255, 150, 101);
    height: 2%;
}

.hover:hover .secondaryimage {
    opacity: 0.3;
}

.hover:hover .middle {
    opacity: 1;
}

.secondaryimage {
    margin-left: auto;
    margin-right: auto;
    width: auto;
    height: 100%;
    border: 2px solid rgb(255, 150, 101);
    transition: .5s ease;
    backface-visibility: hidden;
}

.footerelement {
    padding: 2%;
    margin: auto;
}

.fix {
    height: 300px;
}

#carousel {
    width: 60%;
}

#footercontainer {
    width: 60%;
    display: flex;
    margin: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.070);
}

#mainimage {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
    width: 80%;
    border: 2px solid rgb(255, 150, 101);
}

#title1 {
    margin-top: 3%;
    margin-bottom: 0%;
}

#IDM span {
    display: none;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #ffffff48;
    color: rgb(255, 150, 101);
    font-size: large;
}

#IDM:hover span {
    display: inline-block;
}

#button {
    margin-top: 10%;
    margin-left: 10%;
}

#footerimg {
    padding: 0;
    width: 40%;
    display: block;
    margin: auto;
}

#footerimgdiv {
    width: 10%;

}

#footernote {
    width: 40%;
    justify-content: center;
    margin: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    display: flex;
}