/* 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;
}

/* End of CSS Reset */

:root {
    --blue: #445ac7;
}

body {
    overflow-x: hidden;
}

main {
    display: grid;
    grid-template-columns: 40% 60%;
    margin: 60px 200px 0 200px;
}

header {
    opacity: 0;
    animation-name: heading;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

@keyframes heading {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#navigation {
    grid-column: 1/2;
}

#navigation #title {
    color: black;
    text-decoration: none;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
}

#navigation #title section {
    padding-bottom: 15px;
    border-bottom: 5px solid var(--blue);
}

#navigation #title h1 {
    transition: 0.3s;
}

#navigation #title:hover h1, #navigation #title:hover h2, #navigation #title span {
    color: var(--blue);
}

#navigation #title h2 {
    font-size: 20px;
    margin-top: 10px;
    transition: 0.3s;
}

nav, #social-media {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 5px solid var(--blue);
}

nav a, #social-media a {
    width: 120px;
    margin-top: 25px;
    text-decoration: none;
}

#navigation i, #social-media i {
    color: var(--blue);
    font-size: 25px;
    margin-bottom: 10px;
    transition: 0.2s;
}

nav a:hover i, #social-media a:hover i {
    margin-top: -7px;
}

#navigation h3, #social-media h3 {
    color: var(--blue);
    font-family: 'Open Sans', sans-serif;
    transition: 0.2s;
}

nav a:hover h3, #social-media a:hover h3 {
    margin-top: 7px;
}

#heading-img {
    margin-left: 50px;
    width: 95%;
    margin-top: -3px;
    box-shadow: 0 0 27px -6px rgba(47, 56, 75, 0.25);
    background-image: url(images/index\ image.JPG);
    background-size: cover;
    opacity: 0;
    animation-name: heading;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

#content-header {
    grid-column: 1/3;
    text-align: center;
    margin-top: 35px;
    color: var(--blue);
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    background-image: url(images/heading\ background.png);
    background-size: contain;
    padding: 25px 0;
    text-shadow: 0px 0px 25px rgba(47, 56, 75, .5);
    opacity: 0;
    animation-name: heading;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

.content {
    grid-column: 1/3;
    margin-top: 45px;
    transition: 1s;
    transform: translateX(500px);
    opacity: 0;
    animation-name: slide-in;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
}

@keyframes slide-in {
    from {
        transform: translateX(500px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.content article h1 {
    color: var(--blue);
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.content article p, .content article ul {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 25px;
    padding: 0 25px;
    list-style: initial;
}

.content #list h2 {
    color: var(--blue);
    padding-top: 20px;
    font-size: 18px;
    padding-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
}

.content #list p {
    margin-left: 25px;
    display: inline list-item;
}

.content article {
    border-bottom: 3px solid var(--blue);
    padding-bottom: 30px;
    margin-bottom: 25px;
}

.content #img-article section {
    display: flex;
    justify-content: space-between;
}

.content article section p {
    width: 60%;
    padding-top: 20px;
}

.content article section img {
    width: 20%;
}

form {
    margin: 0 auto;
    width: fit-content;
}

form label {
    font-size: 20px;
    margin-right: 5px;
}

form span {
    color: var(--blue);
}

form h2 {
    color: var(--blue);
    text-align: center;
}

form p input, form p textarea {
    width: 400px;
    height: 25px;
    border: none;
    background-color: rgb(241, 241, 241);
    border-radius: 5px;
    padding: 5px 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
}

form p textarea {
    height: 100px;
}

form p #send-button {
    width: 430px;
    height: 35px;
    font-size: 17px;
    background-color: #6b7fe4;
    color: white;
    margin-top: 15px;
    transition: 0.1s;
}

form p #send-button:hover {
    box-shadow: 0 0 15px 0px rgba(66, 72, 83, 0.3);
}

form p #send-button:active {
    box-shadow: none;
}

#address {
    display: none;
}

#photo-viewer {
    position: fixed;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    margin-top: -300px;
    background-color: white;
    box-shadow: 0 0 15px 0px rgba(66, 72, 83, 0.3);
    border-radius: 15px;
    z-index: 1;
    display: none;
    grid-template-columns: 10% 80% 10%;
    grid-template-rows: 10% 90%;
}

#photo-viewer h1 {
    font-family: 'Open Sans', sans-serif;
    color: var(--blue);
    text-align: center;
    font-size: 25px;
    margin-top: 25px;
    grid-column: 2/3;
}

#photo-viewer i {
    text-align: center;
    padding: 25px;
    font-size: 20px;
}

#photo-viewer img {
    grid-column: 1/4;
    width: 75%;
    margin: auto auto 60px auto;
}

#photos {
    display: grid;
    grid-template-columns: repeat(7, 150px);
    grid-template-rows: repeat(7, 1fr);
    gap: 10px;
    padding-left: 15%;
}

#photos img {
    margin: 0 -750px 0 0;
    width: 150px;
}

#map {
    text-align: center;
}

footer {
    grid-column: 1/3;
    text-align: center;
    line-height: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: rgb(80, 80, 80);
    margin-bottom: 25px;
}

footer i {
    color: rgb(80, 80, 80);
    font-size: 20px;
    margin: 0 5px;
    transition: 0.2s;
}

footer i:hover {
    font-size: 26px;
    margin: -6px 3px -2px 2px
}