header {
    display: inline;
    background: rgb(38, 97, 33);
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0px;
    left: 0px;
}

.gtd {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    align-items: flex-end;
}

.logol {
    max-width: 100px;
    flex-shrink: 1;
    transform: scaleX(-1);
    position: relative;
    top: 14px;
    left: 0px;
    z-index: 1;
}

.title {
    text-align: center;
    color: yellowgreen;
    z-index: 5;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 1.8em;
    position: relative;
    top: -9px;
}

.logor {
    position: relative;
    flex-shrink: 1;
    top: 14px;
    max-width: 100px;
}

nav {
    text-align: center;
    width: 100%;
    height: 90px;
    position: absolute;
    top: 0px;
}

nav li {
    display: inline;
    list-style-type: none;
    z-index: 3;
    position: relative;
    top: 10px;
}

ul .loggedin {
    background-color: rgb(1, 51, 8);
    color: yellowgreen;
    display: inline;
    list-style-type: none;
    z-index: 3;
    position: relative;
    top: 75px;
}

nav a {
    color: rgb(13, 41, 11);
    size: 20px;
    text-decoration: none;
    background-color: rgb(135, 209, 120);
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px 5px 5px 5px;
}

nav a:hover {
    color: yellow;
    background: rgb(5, 138, 5);
    font-weight: bold;
}

nav a:active {
    color: yellow;
    background: black;
    font-weight: bold;
}

.loginfocus {
    color: rgb(13, 41, 11);
    size: 20px;
    text-decoration: none;
    background-color: rgb(182, 223, 88);
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px 5px 5px 5px;
}

h1 {
    text-align: center;
    padding: 40px 0px 20px 0px;
    font-size: 2em;
    font-weight: bold;
}

h2 {
    text-align: center;
    padding: 5px 5px 20px 5px;
    font-size: 1.5em;
    font-weight: bold;
}

button {
    border: none;
    background-color: rgb(2, 59, 2);
    color: white;
    padding:  10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 4px 4px 2px 0 rgba(0, 0, 0, 0.2), 6px 6px 10px 0 rgba(0, 0, 0, 0.19);
}

.button {
    border: none;
    background-color: rgb(2, 59, 2);
    color: white;
    padding:  10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 4px 4px 2px 0 rgba(0, 0, 0, 0.2), 6px 6px 10px 0 rgba(0, 0, 0, 0.19);
}

.button:hover {
    color: yellow;
    background: rgb(5, 138, 5);
    cursor: pointer;
}

.button:active {
    color: yellow;
    background: rgb(0, 0, 0);
    cursor: pointer;
    box-shadow: 0 0;
    position: relative;
    left: 2px;
    top: 2px;
}

.buttons {
    display: inline;
}

form {
    padding: 20px;
    display: block;
    text-align: center;
    font-size: 20px;
    border-radius: 5px 5px 5px 5px;
}

input {
    font-size: 20px;
    margin: 1px;
    border-radius: 5px;
    background-color: rgb(229, 255, 226);
}

input:focus {
    border: 1px solid black;
    background-color: rgb(234, 255, 202);
    border-radius: 5px;
}

#shortnum {
    size: 15;
}

main {
    background-color: rgb(135, 209, 120);
    position: absolute;
    top: 90px;
    left: 0px;
    width: 100%;
}

body {
    background-color: rgb(1, 51, 8);
}

footer {
    background: rgb(10, 88, 3);
}

.err p {
    background-color: rgb(170, 0, 0);
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: rgb(204, 240, 107);
    padding: 5px 5px;
}

.profilepic {
    size: 200px;
}

.page {
    padding: 20px 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.container {
    background: rgb(157, 201, 154);
    border-radius: 20px 20px 20px 20px;
    border-color: darkgreen;
    border-style: double;
    border-width: 2px;
    margin: 0px 20px 20px 20px;
    padding: 10px;
}

.mytortlist { 
    width: fit-content;
    margin: 0px 20px 20px 20px;
    padding: 10px 10px 10px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.torteach {
    display: grid;
    grid-template-columns: 100px 250px auto;
    grid-template-rows: auto;
    background: rgb(178, 226, 174);
    border-radius: 10px 10px 10px 10px;
    border-color: darkgreen;
    border-style: double;
    border-width: 2px;
    padding: 10px 10px 10px 10px;
    margin: 5px;
}

.tortimg {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-image: url("../uploads/profiledefault.jpg");
    background-size: 100px;
    width: 100px;
    height: 100px;
    size: 100px;
    border: 2px;
    border-style: solid;
    border-color: ivory;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tortinfo {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 5px 10px 10px 10px;
    height: 100px;
}

.tortname {
    font-size: 1.3em;
    font-weight: bold;
}

.torttype {
    font-style: italic;
    position: relative;
    top: -12px;
}

.tortbirth {
    position: relative;
    top: -20px;
}

.tortlocation {
    position: relative;
    top: -30px;
}

.tortedit {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    padding: 5px;
    color: rgb(151, 151, 151);
    text-align: end;
}

.tortdatahist {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    padding: 5px;
    color: rgb(46, 46, 46);
    text-align: center;
}

.tortaddmeas {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    padding: 5px;
    text-align: left;
    font-size: 12px;
}

.addtortdataform {
    display: none;
    grid-column: 1 / 4;
    padding: 5px 10px 10px 10px;
}

.hiddenaddtortdataform {
    display: block;
    grid-column: 1 / 4;
    grid-row: 4 / 5;
    padding: 5px 10px 10px 10px;
}

#AddDataForm {
    display: none;
}

.uploadtortpic {
    background-color: rgba(169, 169, 169, 0.521);
    box-shadow: darkslategray;
}

.addtortform {
    width: 400px;
}