@charset "UTF-8";

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* reset rules */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    background-color: #d2cccc;
}

body {
    margin: auto;
    font-family: "Veranda",sans-serif;
    font-size: large;
    line-height: 1.8;
    color: #000;
    text-align: center;
    width: 98%;
    background-color: #000;
    box-shadow: 2px 2px 10px 2px #000;
}

button {
    font-size: larger;
}

h1 {
    color: #fff;
    font-size: xx-large;
    text-align: center;
}

h2 {
    color: #fff;
    font-size: x-large;
}

h3 {
    color: #fff;
    font-size: larger;
}

header{
    background-color: #fff;
    background-image: url("media/img1.jpg");
    background-size: 100% 370%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 5em;
}

header > nav > ul {
    margin: 0;
    list-style: none;
    position: absolute;
    top: 10px;
    right: 200px;
    animation: 2s;
}

header > nav > ul {
    right: 10px;
}

header > nav > ul > li {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
}

header > nav > ul > li > a {
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    padding: 5px;
    border-radius: 15px;
    border: solid 2px #000;
    box-shadow: 2px 2px 5px 2px #000;
    min-width: 130px;
    transition: all .3s;
}

header > nav > ul > li > a:hover{
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    padding: 5px;
    border-radius: 15px;
    border: solid 2px #fff;
    box-shadow: 0px 0px 0px 0px #fff;
    min-width: 130px;
    font-size: larger;
}

header > nav > ul > li > a:active{
    display: inline-block;
    text-decoration: none;
    background-color: #000;
    padding: 5px;
    border-radius: 15px;
    border: solid 2px #fff;
    min-width: 130px;
    color:#fff;

}

nav.menubar > #navicon {
    display: none;
}

hr {
    width: 50%;
}

section {
    max-width: 70%;
    text-align: left;
    color: #fff;
    margin: auto;
}

table {
    margin: auto;
    width: 75%;
    height: 200px;
}

table > tbody > tr > td {
    width: 20%;
    height: 200px;
    padding: 10px;
}

table > tbody > tr > td:hover {
    width: 20%;
    height: 200px;
    padding: 12px;
    text-decoration: underline #fff solid;
    text-decoration-thickness: 2px;
}

table > tbody > tr > td > a > img{
    filter: contrast(1.4) brightness(90%);
    width: 100%;
    height: 100%;
    transform: translateZ(0);
    border: solid 2px #fff;
    transition: all 1s;
    padding: 1px;
    image-rendering: -webkit-optimize-contrast;
}

table > tbody > tr > td > a > img:hover{
    width: 110%;
    height: 120%;
    border: solid 5px #22f;
    transition: all 1s;
}

@media screen and (max-width: 1085px) and (min-width: 850px)
{
    table > tbody > tr > td:nth-of-type(5){
        display: none;
    }
}
@media screen and (max-width: 849px) and (min-width: 650px)
{
    table > tbody > tr > td:nth-of-type(5){
        display: none;
    }

    table > tbody > tr > td:nth-of-type(4){
        display: none;
    }
}
@media screen and (max-width: 649px) and (min-width: 641px)
{
    table > tbody > tr > td:nth-of-type(5){
        display: none;
    }

    table > tbody > tr > td:nth-of-type(4){
        display: none;
    }

    table > tbody > tr > td:nth-of-type(3){
        display: none;
    }
    
}

table > tbody > tr:hover
{
    border-spacing: 1em;
}

div {
    margin: auto;

}

embed {
    width: 100%;
    min-height: 100vh;
}

video {
    width: 30%;
    height: 30%;
    padding: 1em;
}

footer {
    padding-top: 10em;
    color: #fff;
}

noscript {
    color: #fff;
}

address, address > a {
    font-family: "Verdana", sans-serif;
    font-style: italic;
    text-align: center;
    color: #fff;
}

.spacing{
    margin-left: 2em;
    margin-right: 2em;
}

#addon {
    max-width: 90%;
    text-align: left;
    color: #fff;
}

#addon > section > img{
    display: block;
    margin: auto;
    text-align: center;
    width: 70%;
}

#addon > section > div > video {
    margin: auto;
    width: 100%;
    height: 100%;
}

#addon > section > ul {
    list-style: none;
}

#addon > section > ul {
    text-align: center;
}

#addon > section > ul > li > a {
    text-decoration: none;
    color:#32acac;
}

#addon > section > ul > li > a:visited {
    color:#d607e8;
    
}

#task {
    visibility: hidden;
}

#pitalics {
    font-style: italic;
    text-align: center;
}