@font-face {
    font-family: new_font;
    src: url('Fonts/Bebas-Regular.ttf')
}

@font-face {
    font-family: second_font;
    src: url('Fonts/HIROMISAKE.ttf')
}

header {
    background-image: url(Images/Japanese_Wave_Seamless_Pattern.jpg);
    padding: 15px;
    background-size: cover;
    color: #213f75;
    text-align: center;
    border-bottom: 4px solid #213f75;
}

h1 {
    font-family: second_font;
    font-size: 60px;
}

html {
    background-color: #ccd5e2;
}

nav a {
    text-align: center;
    width: 130px;
    margin: 10px 0 0 0;
    padding: 5px;
    color: #6073b1;
    background-color: #b0b6c0;
    border: 3px solid #213f75;
    font-size: 16pt;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    margin-left: 300px;
}

nav a:hover {
    color: white;
    background-color: #213f75;
}

nav a.currentpage {
    border-color: #213f75;
    background-color: #213f75;
    color: white;
}

div#container {
    width: 100%;
    margin: 30px auto 30px auto;
    border: 6px solid #213f75;
    background-image: url(Images/Great_Wave_Hokusai_BM_1906.1220.0.533_n02.jpg);
    min-width: 900px; 
}

footer {
    background-color: #3752aa;
    border-top: 4px solid #213f75;
    font-size: 8pt;
    text-align: center;
    color: white;
    font-style: italic;
}

section#gallery img,
.flag {
    display: block;
    margin: 10px auto 10px auto;
    padding: 4px;
    background-color: #213f75;
    box-shadow: 2px 4px 8px #213f75;
}

h2,
h3,
p {
    color: #213f75;
    text-align: center;
    font-family: new_font;
}

a.link {
    font-weight: bold;
    text-decoration: none;
    color: #213f75;
}

a.link:hover {
    color: #6073b1;
}

.p1,
.p2,
.p3 {
    padding: 4px;
}

.vid {
    display: block;
    margin: 10px auto 10px auto;
}

section#content {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

p,
h2,
h3 {
    border: #213f75;
    padding: 2px;
}

section#infotext p,
section#infotext h2,
section#infotext h3 {
    text-align: center;
    padding: 5px;
    color: #213f75;
    background-color: #e9ecf0;
    border: 3px solid #213f75;
    border-radius: 10px;
    margin-left: 50%;
    margin-right: 5%;
}

section#indextext h2,
section#indextext p {
    text-align: center;
    padding: 5px;
    color: #213f75;
    background-color: #e9ecf0;
    border: 3px solid #213f75;
    text-decoration: none;
    border-radius: 10px;
    margin-left: 50%;
    margin-right: 5%;
}

.title {
    text-align: center;
    padding: 5px;
    color: #213f75;
    background-color: #e9ecf0;
    border: 3px solid #213f75;
    text-decoration: none;
    border-radius: 10px;
    margin-left: 43%;
    margin-right: 43%;
}

.flag{
    position: absolute;
    bottom: 395px;
    left: 520px;
}

.s {
    position: absolute;
    top: 270px;
    left: 600px;
}