html, body {
    min-height: 100%;
}

html {
    display: table;
    margin: auto;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face { 
    src: url("/FONTS/finalf.ttf") format("truetype");
    font-family: "finalf";
}

h1 {
    font-family: "finalf";
    font-size: 20px;
}

body {
    display: table-cell;
    vertical-align: middle;
    background-color: black;
    padding: 20px 200px 20px 200px;
    font-family: arial, verdana, sans-serif;
    font-size: 12px;
}

.container {
    display: grid;
    grid-template-columns: 170px auto auto;
    grid-template-rows: 140px 500px 10px;
    grid-template-areas:
    'header header header'
    'navi main main'
    'footer footer footer';
    border-radius: 5px;
    border: white 1px;
    box-shadow: 0 1px 1px 0 white, 0 1px 30px 0 white;
}

.container div {
    background-color: antiquewhite;
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

.item1 {
    grid-area: header;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-image: url("https://i.postimg.cc/MZ9Y6X55/MARE-BANNER.png");
}

.item2 {
    grid-area: navi;
}

.item2 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.item2 li a {
    display: block;
    background-color: #290EA0;
    color: white;
    padding: 8px 8px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
}

.item2 li a:hover {
    background-color: #4769b3;
    color: white;
}

.item2 li a:active {
    background-color: #4769b3;
    color: white;
}

.item2 .txtbox {
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    background-color: rgb(78, 78, 78);
    color: white;
}

.item3 {
    grid-area: main;
    overflow-y: scroll;
}

.item3 .flex-container {
    border: none;
    padding: 0px;
}

.item3 header {
    padding-top: 10px;
    font-size: 15px;
}

.item3 .txtbox {
    border-radius: 10px;
    padding: 15px;
    margin: 10px;
    background-color: white;
    text-align: left;
    line-height: 1.5;
}

.item3 .txtbox img {
    float: left;
    margin-right: 5px;
}


.item4 {
    grid-area: footer;
    background-image: url("https://i.postimg.cc/MZ9Y6X55/MARE-BANNER.png");
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.flex-container {
    grid-area: main;
    overflow: scroll;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.flex-container div {
    background-color: white;
    padding: 0px;
    font-size: 15px;
    border-radius: 5px;
    margin: 5px;
}

.profile-container {
    grid-area: main;
    overflow: scroll;
    display: flex;
    flex-direction: row;
    flex: 1 1 0px;
    justify-content: center;
    align-items: center;
}

.profile-container div {
    padding: 5px;
    border: none;
}

.profile-container img {
    image-rendering: smooth;
}

.profile-container section {
    font-family: arial, verdana, sans-serif;
    font-size: 12px;
}

.profile-container li {
    list-style-type: none;
    text-align: left;
}

.item3 .shrineFlex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: none;
}

.shrineFlex div{
    padding: 0px;
    margin: 5px;
}

.shrineIcon {
    
}

.shrineIcon img {
    height: 200px;
}




