/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*Css Reset above, code below*/
body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    background-color: rgb(0, 0, 50);
}
h1{
    font-size: 25px;
}
h2{
    font-size: 22.5px;
}
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: lightgray;
    margin: 10px;
    border-radius: 5px;
}
article{
    padding: 10px;
    background-color: lightgray;
    margin: 25px;
    border-radius: 5px;
}
a{
    background-color: rgb(180, 180, 180);
    border-radius: 3px;
    padding: 1px;
    text-decoration: none;
    color: white;
    transition: transform 1s;
}
a:hover{
    transform: scale(1.1, 1.1);
}
img{
    border-radius: 5px;
    width: 75%;
    margin:auto;
}
#logo{
    width: 100px;
    margin: 0px;
}
footer{
    padding: 10px;
    background-color: lightgray;
    margin: 10px;
    border-radius: 5px;
    text-align: center;
}
iframe{
    width: 100%;
    border-radius: 5px;
}
#flexa{
    display: flex;
    justify-content: space-between;
}
#flexb{
    display: flex;
}
.pic{
    width: 19%;
    margin: 2.5%;
}
.thin{
    width: 30%;
}
#fa{
    grid-area: fa;
}
#fb{
    grid-area: fb;
}
#fc{
    grid-area: fc;
}
#fd{
    grid-area: fd;
    background: none;
}
#gridfoot{
    display: grid;
    grid-template-areas:
    'fa fd'
    'fb fd'
    'fc fd';
    gap: 10px;
    padding: 10px;
}
.a{
    grid-area: a;
}
.b{
    grid-area: b;
}
.c{
    grid-area: c;
}
.d{
    grid-area: d;
}
.e{
    grid-area: e;
}
.f{
    grid-area: f;
}
.g{
    grid-area: g;
}
.h{
    grid-area: h;
}
.i{
    grid-area: i;
}
.mug{
    grid-area: z;
    width: 150px;
    margin-left:1px;
}
.face{
    width:75px;
}
#grida{
    display: grid;
    grid-template-areas:
    'e a i'
    'd b h'
    'f c g';
    gap: 10px;
    text-align: center;
}
.gridc{
    display: grid;
    grid-template-areas:
    'z a b'
    'z c c';
    gap: 10px;
}
#gridb{
    display: grid;
    grid-template-areas:
    'a a b b c c'
    'f d d e e g';
    gap: 10px;
}

@media screen and (max-width: 1023px) {
    body{
        font-size: 15px;
    }
    h1{
        font-size: 20px;
    }
    h2{
        font-size: 17.5px;
    }
    #logo{
        width: 80px;
    }
    .pic{
        width: 27%;
    }
    #grida{
        grid-template-areas:
        'a a'
        'b b'
        'c c'
        'd e'
        'f g'
        'h i'; 
    }
    #gridb{
        grid-template-areas:
        'a a b b'
        'c c d d'
        'f e e g';
    }
    .face{
        width:60px;
    }
}
@media screen and (max-width: 410px) {
    body{
        font-size: 10px;
    }
    h1{
        font-size: 15px;
    }
    h2{
        font-size: 12.5px;
    }
    #logo{
        width: 60px;
    }
    .pic{
        width: 43.5%;
    }
    #grida{
        grid-template-areas:
        'a'
        'b'
        'c'
        'd'
        'e'
        'f'
        'g'
        'h'
        'i'; 
    }
    #gridb{
        grid-template-areas:
        'a'
        'b'
        'c'
        'd'
        'e';
    }
    .face{
        width:45px;
    }
}