body {
    background-color: #bbbbbb;
    margin: 0;
}

header {
    position: relative;
    background-color: #8987a1;
    color: #000319;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

nav {
    order: 1;
    display: flex;
    flex-direction: column;
    font-size: 5vw;
}

nav > a {
    margin: 1vw;
}

header a:visited {
    color: #0c3e1d;
}

header a:active {
    color: #3e230c;
}

#lr2 {
    pointer-events: none;
    cursor: default;
}

#namesite {
    padding: 0;
    color: #360d05;
    font-family: Verdana;
    font-size: 5vw;
}

#logo {
    float: left;
    margin-right: 8vw;
    border-radius: 100px;
    max-width: 20vw;
}

h2 {
    text-align: center;
    padding: 0;
    margin-top: 0;
}

.content {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background-color: #dddddd;
    padding: 0;
}

#p1 {
    display: inline;
}

#final {
    border: 1px dashed;
}

.top {
    width: 50vw;
}

#imag2 {
    width: 50vw;
}

#rezip {
    display: inline;
}

.content .mytable {
    order: -1;
}

#podtable {
    overflow-x: auto;
}

.mytable table {
    border: 3px solid;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #3a7691;
    margin: 30px auto;
}

.mytable th, td {
    border: 1px solid;
    text-align: center;
    padding: 4px 8px;
}

.mytable tr:nth-of-type(even) {
    background-color: #c73434;
}

#grub {
    background-color: #c229c3;
}

.myform form {
    text-align: center;
    border: 2px solid;
    margin: 0 auto;
}

.myform input, textarea, select {
    margin: 5px;
}

footer {
    background-color: #505dec;
    height: 80px;
    padding: 0px;
    position: relative;
}

#pfooter {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 20px;
    top: 0;
    margin: 0;
    top: 50%;
    transform: translate(0, -50%);
    font-family: Verdana;
    color: #222012;
}

@media screen and (min-width: 800px) {

    #logo {
        width: 10vw;
    }

    #imag2 {
        width: 20vw;
    }

    nav {
        max-width: 960px;
        text-align: center;
        font-size: 22px;
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
        display: block;
    }

    nav > a {
        margin: 0 10px;
    }

    #namesite {
        text-align: center;
        position: absolute;
        width: 100%;
        margin: 5vw 0 0 0;
        font-size: 36px;
    }

    .content .mytable {
        order: 0;
    }

    .top {
        width: 20vw;
    }

    .content {
        font-size: 18px;
        max-width: 960px;
    }
}