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: 2;
    border-color:black;
    border-style: solid;

}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}



/* -------------- WEB -------------- WEB*/


img{
    width: 100%
}
#logo{
    width: 60%;
    padding-top: 20px
}
.topnav { /* transitions on menu itmes*/
    overflow: hidden;
    background-color: #92461072;
    position: relative;

    display:flex;
    justify-content: space-between;
    padding-right: 10px;
}

.topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 230%;


    transition: transform .3s ease-in-out, color 0.3s ease-in-out;
      transform: scale(1);


}
.topnav a:hover {
	background-color: #ddd;
    transform: scale(1.05);
    transition: .5s ease;
}
.topnav #myLinks{
    margin-top: auto;
    margin-bottom: auto;
}
h1{
    font-family: "Leckerli One", cursive;
    font-size: 600%;
    text-align: center;

    margin-top: 50px;
    margin-bottom:40px;
}
footer{
	font-size: 85%;
	background-color: #04AA6D;
	padding-left: 16px;
    text-align: center;
    padding-bottom: 30px;
    padding-top: 30px;

    /*make stick to bottom*/
}
#facebook{
    width: 5%;
}
#socialsmain a{/* give transition to social links*/
    transition: transform .3s ease-in-out, color 0.3s ease-in-out;
      transform: scale(1);
}
#socialsmain a:hover{
    transform: scale(1.05);
    transition: .5s ease;

}
#socialsmain{
	width: 100%;
	text-align: center;
}
/*Home/About                              Home/about*/
#HomeBody{
    margin-top: 50px;
    padding-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
    margin-left:auto;
    margin-right:auto;
    width:70%;

    background-color: #f0f2f0;

}
#Home-desc{
    font-size: 140%;
    margin-left:auto;
    margin-right:auto;
    margin-bottom: 30px;
    width:60%
}
#BullHead{
    padding-bottom: 5%;
    font-size: 120%;
}
#HomeBulletin{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    background-color: #d8d9d8;

    padding: 30px;
    grid-column-gap: 50px;

    max-height: 450px;

}
#BullLeft{
    display: grid;
    grid-area: 1 / 1;

    overflow-y: scroll; 
    max-height: 60%;
}
#BullRight{
    display: grid;
    grid-area: 1 / 2; 

    overflow-y: scroll; 
    max-height: 60%;
}


/*Exhibition                             Exhibition*/
#ExBulletin{/*fix spacing issue*/
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    background-color: #d8d9d8;

    padding: 30px;
    grid-column-gap: 50px;

    max-height: 350px;

}
#ExLeft{
    display: grid;
    grid-area: 1 / 1;

    overflow-y: scroll; 
    max-height: 80%;
}
#ExRight{
    display: grid;
    grid-area: 1 / 2; 


}
/*Publications              Publications*/
#PubBulletin{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    background-color: #d8d9d8;

    padding: 30px;
    grid-column-gap: 50px;


}

#Pub1{
    padding-bottom: 40px;
    display:flex; 
    align-items: center;

}
#pubimg{
    padding-right:20px;
    width: 40%;
}


/*COntact*/
form{
    text-align: center;
;

    padding-top: 25px;
    font-size: 250%;
    background-color: #f0f2f0;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    width: 70%
 
}
#googleMap{
    width: 100%;

}


@media screen and (max-width: 640px) {
    .topnav a {
        float: none;
        width: 100%;
        font-size: 140%;

        display: flex;
        flex-direction: column;

        padding-right: 50px;
  
  
        
    }
    p{
        font-size: 50%
    }
    h1{
        font-family: "Leckerli One", cursive;
        font-size: 270%;
        text-align: center;
    
        margin-top: 50px;
        margin-bottom:40px;
    }
    h2{
        font-size: 30px;
    }
    footer{
        font-size: 100%;
        background-color: #04AA6D;
        padding-left: 16px;
        text-align: center;
        padding-bottom: 30px;
        padding-top: 30px;
    
        /*make stick to bottom*/
    }
    
    #HomeBulletin{
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        background-color: #d8d9d8;
    
        padding: 30px;
        grid-column-gap: 50px;
    
        max-height: 250px;
    
    }
    #BullLeft{
        display: grid;
        grid-area: 1 / 1;
    
        overflow-y: scroll; 
        max-height: 50%;
    }
    #BullRight{
        display: grid;
        grid-area: 1 / 2; 
    
        overflow-y: scroll; 
        max-height: 50%;
    }
    #BullHead{
        padding-bottom: 5%;
        font-size: 70%;
    }
    #ExBulletin{/*fix spacing issue*/
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        background-color: #d8d9d8;
    
        padding: 30px;
        grid-column-gap: 50px;
    
        max-height: 270px;
    
    }
    #logo{
        width: 90%;
        padding-top: 20px
    }

}