@charset "utf-8";
html {
    height: 100%;
}
body {
    background-color: #336;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}
nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
    list-style-type: none;
    padding: 1rem;
}
nav ul a {
    text-decoration: none;
    font-size: 1rem;
    color: white;
    background-color: #003;
    padding: 1rem;
    border: 1px solid white;
    transition: .5s;
}
nav ul a:hover {
    background-color: #cacae4;
    color: black;   
}
main {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: .5em;
    justify-content: center;
}
h1 {
    font-size: 2rem;
	text-align: center;
}
h2 {
	font-size: 1.5rem;
}
h3 {
	font-size: 1rem;
	text-align: justify;
}
article {
    background-color: #003;
    border: 1px solid white;
    flex-grow: 1;
    font-size: 1.25rem;
    padding: .75rem;
	text-align: justify;
}
aside {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 30em;
    background-color: #003;
}
aside img {
    width: 100%;
    /*height: 100%;*/
    border: 1px solid white;
}
footer p {
    font-size: .75rem;
    padding: .75rem;
}
.contact-aside {
    border: 1px solid white;
    flex-basis: 20em;
}
.contact-aside p {
    margin-left: 1rem;
}
.contact-aside form {
    margin: 1rem;
}
.contact-aside img {
    margin-left: 10%;
    width: 50%;
}
.dropdown {
    display: inline-block;
    position: relative;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-left: 1rem;
    transition: .5sec;
}
.dropdown button {
    width: 15rem;
    font-size: 1rem;
    text-align: center;
    background-color: #336;
    color: white;
    border: 1px solid white;
}
.dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px black;
    transition: .5s
    ;
}
.dropdown-content a:hover {
    color: black;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    text-decoration: none;
    background-color: #66c;
    color: white;
    padding: .5rem
    ;
}
.div-space {
    width: 100%;
    height: 10rem;
}
.gallery {
    display: inline-block center;
    text-align: center;
    padding-top: 2rem;
} 
.gallery div a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: white;
    width: auto;
    font-size: 3rem;
    text-shadow: 5px 5px 5px black;
    padding: 1rem;
  
}
.gallery div a img {
    width: 100%;
    border: 1px solid white;
}
.gallery div a span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -1em;
    margin-left: -50%;
    width: 100%;
    height: 2em;
    transition: .5s;
}
.gallery div a:hover span {
    font-size: 3.5rem;
}
.headline {
    clear: right;
    text-align: center;
    font-size: 3rem;
    text-shadow: 5px 5px 5px black;
}
.note {
    font-size: .75rem;
    text-align: center;
    transition: .5s;
}
.note:hover {
    font-size: 1rem;
    background-color: #003;
    padding: 1rem;
    z-index: 1;
}
@media screen and (max-width: 500px) {
    nav ul {
        list-style-type: none;
        display: inline;
    }
    nav ul a {
        display: block;
        background-color: #003;
        padding: .25rem;
        margin: .25rem;
        text-align: center;
        width: 95%;
    }
    .div-space {
        width: 100%;
        height: 1rem;
    }
    .img {
        width: 100%;
        min-height: 100px;
    }
    main {
        flex-direction: column;    
    }
    article {
        width: 90%;
        margin: .25rem;
        text-align: justify;
    }
    aside {
        margin-left: .25rem;
        margin-top: .5rem;
        width: 95%;
    }
    aside img {
        display:block;
        width: 100%;
        margin-bottom: 1rem;
    }
    footer {
        padding: 1rem;
        clear: left;
    }
}

