/* 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;
}

body {
    font-family: 'Oswald', sans-serif;
    background: #111;
    color: #fff;
}

a {
    color: purple;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}


header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

nav a {
    margin-left: 20px;
    font-size: 1.1rem;
}

nav a.active {
    border-bottom: 2px solid rgb(255, 0, 255);
}

.hero {
    height: 300px;
    background: url('images/purple-haze-background-1485730742KVo-3854539760.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

main {
    padding: 30px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.media-grid img {
    width: 100%;
    border-radius: 5px;
    transition: 0.3s;
}

.media-grid img:hover {
    transform: scale(1.05);
}

.events-list li {
    margin: 10px 0;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
}

.required {
    color: red;
}

button {
    padding: 10px;
    background: #7a0078;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    opacity: 0.7;
}

.map {
    width: 100%;
    height: 350px;
    margin-top: 15px;
}

footer {
    background: #000;
    padding: 20px;
    text-align: center;
    margin-top: 40px;

}

@media (min-width: 411px) and (max-width: 1023px) {

    header {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    nav a {
        margin: 10px 15px;
        font-size: 1.2rem;
        display: inline-block;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        height: 250px;
    }

    .video-container iframe {
        height: 300px;
    }
}

@media (max-width: 410px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav a {
        margin: 10px;
        display: inline-block;
    }
}