@font-face {
    font-family: 'MyFont';
    src: url('../fonts/super_smash_4_1_by_pokemon_diamond-d7zxu6d.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body{
    margin: auto;
    padding: 0px;
    height: 100%;
    background-color: #202020;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif
}

/* Grid setup */
.wrapper {

    min-height: 100%;

    display: grid;
    grid-template-columns: 200px auto 300px;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: 
    "logo banner banner"
    "navigation navigation qsearch"
    "main main main"
    "footer footer footer"
    ;
    row-gap: 2px;
}

.logo{
    grid-area: logo;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #000000;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.banner{
    grid-area: banner;
    background-image: url("../images/bannerlogo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 120px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.banner h1 {
    font-family: 'MyFont', sans-serif;
    font-size: 52px;
    color: white;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        0 2px 0 #000,
        4px 4px 8px rgba(0,0,0,0.9);
    margin: 0;
    font-weight: normal;
}

.navigation{
    grid-area: navigation;
    background-image: url("../images/navbarimage.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 10px ;
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
    border-color: #000;

}

.qsearch{
    grid-area: qsearch;
    background-image: url("../images/navbarimage.png");
    background-position: center;
    background-repeat: no-repeat;
    padding: 5px 10px ;
    display: flex;
    align-items: center;
    position: relative;
    gap: 8px;
}

.main{
    grid-area: main;
    background-color: #b4c7cc;
    font-size: 18px;
}

.main p {
    max-width: 50%;
    
}
.footer{
    grid-area: footer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    justify-content: space-between;
    background-image: url("../images/footerimage.png");
    background-position: center;
    display: flex;
    background-size: cover;

}

.all{
    padding: 10px;
}

.right {
    float: right;
    width: 300px;
    margin-right: 300px;
    margin-top: 100px;
    transform: scale(2);
    row-gap: 8px;
}
/* Links in pages */
a {
    color: #1c64b6;
    font-weight: bold;
    text-decoration: none;
}

a:visited {color: #838383;}
a:hover {color: #2D5C91;}

/* footer link */
.footer a, .footer a:visited {
    text-decoration: none;
    color: #0e0d0e;
}

.footer a:hover {
    color: #8cbdf4;
}