/* 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;
}

/* MY STYLE RULES START HERE */

body{
    font-family: "Playpen Sans", serif;
    background-color: #efe3cb;
    color: rgb(38, 23, 23);
}

/*CONTAINERS*/
div{
    width: 85%;
    height: auto;
    background-color: #FDF6EC;
    margin: 0em auto 2em auto;
    padding-top: .3em;
}
.team{
    display: flow-root;
}
footer{
    background-color: #8BAA94;
    margin-top: 2em;
    text-align: left;
}
.events figure{
    width: 90%;
    height: auto;
    margin: 3em auto 0em auto;
    background-color: #f0e9e0;
    box-shadow: 5px 5px rgb(228, 228, 228);
}
figure:last-of-type{
    margin-bottom: 2em;
}

/*MENU*/
ul{
    width: 85%;
    height: auto;
    background-color: #8BAA94;
    text-align: center;
    padding: .8em;
    margin: 1em auto 0 auto;
    border-radius: 5%;
    border: 3px solid rgb(38, 23, 23);
}
li{
    display: inline;
    font-size: 1.2em;
    font-weight: 600;
    padding: .5em .5em .5em .5em;
}

/*LINKS*/
a{
    text-decoration: underline;
    color: rgb(38, 23, 23);
}
a:hover, a:active, a:focus-visible{
    color: #8BAA94;
}
li a, footer a, li a:visited, footer a:visited{
    text-decoration: none;
}
li a:hover, footer a:hover,  li a:active, footer a:active, li a:focus-visible, footer a:focus-visible{
    color:white;
    border-bottom: 2px solid white;
}

/*HEADINGS*/
h1{
    width: 85%;
    background-color: #f0e9e0;
    font-family: "Kurale", serif;
    text-align: center;
    font-weight: bold;
    font-size: 2.5em;
    margin: .3em auto 1em auto;
    padding: .3em;
    border: 2px solid rgb(38, 23, 23);
    box-shadow: 5px 5px #8BAA94;
    border-top-left-radius: 40%;
    border-bottom-right-radius: 40%;
}
#home1{
    border: 4px solid rgb(38, 23, 23);
}
h2{
    width: 70%;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    padding: .4em;
    border-bottom: 5px solid black;
}

/*IMAGES*/
img{
    display: block;
    height: auto;
}
.home img{
    width: 80%;
    margin: 1em auto;
}
.events img{
    width: 70%;
    margin: 3em auto 0 auto;
    padding-top: 2em;
}
.team img{
    width: 50%;
    float: left;
    border-radius: 50%;
    margin: 1.5em 3em .6em 2em;
    padding: .5em;
    border: 2px solid rgb(38, 23, 23);
    box-shadow: 5px 5px #8BAA94;
}

/*TEXTS*/
p{
    font-size: 1.2em;
    line-height: 1.5em;
    margin: 1em 2em 0em 2em;
}
.home main p:last-of-type{
    font-weight: 600;
}
.home main p:first-of-type{
    text-align: center;
    font-weight: 600;
    margin-top: 1.3em;
}
.events figcaption{
    font-size: 1.2em;
    line-height: 1.5em;
    margin: 1.3em 2em 1.5em 2em;
    padding-bottom: 1.5em;
}
.events figcaption::first-line{
    font-size: 1.3em;
    padding: 2em;
}
.team main p{
    clear: right;
    font-size: 1.2em;
    margin: 1em 2em 1em 2em;
}
.visit p:last-of-type{
    padding-bottom: 1em;
}footer p{
    font-size: 1em;
    margin: 0 2em 0 2em;
}
footer p:first-of-type{
    font-size: 1.1em;
    font-weight: 600;
    padding-top: 1em;
}
footer p:last-of-type{
    padding-bottom: 1em;
}

/*IFRAME*/
iframe{
    width: 70%;
    height: auto;
    margin: 1.5em 0 1.5em 2em;
}
footer iframe{
    width: 50%;
    margin: 1em 0 .5em 2em;
}

/* Media Queries for Gallery */
@media (min-width: 600px) {
    /*CONTAINERS*/
    .events figure{
        width: 75%;
    }
    /*MENU*/
    li{
        font-size: 1.5em;
    }
    /*HEADINGS*/
    h1{
        font-size: 3.3em;
    }
    h2{
        font-size: 2em;
    }
    /*IMAGES*/
    .home img{
        width: 70%;
    }
    .events img{
        width: 60%;
    }
    .team img{
        width: 30%;
    }
    /*TEXTS*/
    .home main p, .team main p, .events figcaption, .visit p{
        font-size: 1.4em;
    }
    .about main p{
        margin-top: 2em;
    }
    footer p, footer p:first-of-type{
        font-size: 1.3em;
    }
    /*IFRAME*/
    .visit iframe{
        margin-bottom: .3em;
    }

}
@media (min-width: 800px){
    /*CONTAINERS*/
    div footer{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    /*TEXTS*/
    .footer p{
    margin: 0;
    }
}
@media (min-width: 900px) {
    /*CONTAINERS*/
    div{
        width: 75%;
    }
    figure{
        width: 70%;
    }
    /*MENU*/
    ul{
        width: 75%;
    }
    li{
        font-size: 1.9em;
    }
    /*HEADINGS*/
    h1{
        font-size: 3.6em;
    }
    h2{
        font-size: 2.3em;
    }
    /*TEXTS*/
    .home main p, .team main p, .events figcaption, .visit p{
        font-size: 1.6em;
    }
    footer p, footer p:first-of-type{
        font-size: 1.4em;
    }
}
@media (min-width: 1100px){
    /*CONTAINERS*/
    div{
        width: 65%;
    }
    /*MENU*/
    ul{
        width: 65%;
    }
    /*HEADINGS*/
    h1{
        width: 75%;
    }
    /*IMAGES*/
    .events figure, .events img{
        width: 60%;
    }
    .home img{
        width: 55%;
    }
}