/* CSS reset */
/* 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 */

body
{
    background-color: rgb(0, 0, 0);
    color: white;
    font-family: "Noto Sans", serif;
}

main
{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding: 0 150px;
}

#background
{
    background-image: url(images/background.svg);
    background-size: cover;
    background-attachment: fixed;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#photo-viewer
{
    position: fixed;
    z-index: 1;
    background-color: rgb(19, 19, 19);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    display: none;
    box-shadow: 0 0 50px 5000px rgba(0, 0, 0, 0.75);
    animation-name: photo-viewer;
	animation-duration: 0.4s;
}

@keyframes photo-viewer
{
    from
    {
        top: 0;
        opacity: 0;
    }
    to
    {
        top: 50%;
        opacity: 1;
    }
}

#photo-viewer a
{
    width: 20px;
    height: 20px;
    background-image: url(images/x.svg);
    background-size: cover;
    display: block;
    position: fixed;
    top: 25px;
    right: 30px;
    cursor: pointer;
}

#photo-viewer-img
{
    max-height: 800px;
}

nav, #content, .txt-content
{
    background-color: black;
    padding: 50px;
}

nav
{
    height: fit-content;
    position: sticky;
    top: 0;
}

/*nav::after
{
    width: 100%;
    position: absolute;
    bottom: 0;
    content: url(images/nav-bg.svg);
    left: 0;
}*/

nav h1
{
    font-size: 50px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid white;
    font-family: "Sriracha", cursive;
    font-weight: 400;
    font-style: normal;
}

nav a 
{
    display: block;
    font-size: 27px;
    margin: 75px 0;
    width: 100%;
    height: 50px;
    color: rgb(221, 221, 221);
    text-decoration: none;
    transition: 0.25s;
}

nav a:hover
{
    letter-spacing: 2px;
    text-shadow: 0px 0px 15px rgba(255,255,255,0.4);
    color: white;
}

#content
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5px;
    padding-top: 75px;
    position: relative;
    right: 0;
    animation-name: content;
    animation-duration: 0.75s;
}

.txt-content
{
    padding-top: 75px;
    position: relative;
    right: 0;
    animation-name: content;
    animation-duration: 0.75s;
}

@keyframes content
{
    from
    {
        right: -50%;
        opacity: 0;
    }
    to
    {
        right: 0;
        opacity: 1;
    }
}

#content img, .txt-content img
{
    width: 100%;
    cursor: pointer;
}

.txt-content h1
{
    font-weight: 900;
    font-size: 35px;
    margin-bottom: 35px;
}

.txt-content p
{
    font-size: 20px;
    line-height: 40px;
    color: rgb(221, 221, 221);
    width: 60%;
}

.txt-content .full-width
{
    width: 90%;
    margin-bottom: 15px;
}

.txt-content .aside
{
    position: absolute;
    top: 75px;
    width: 30%;
    right: 75px;
}

.aside h2
{
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    margin: 15px 0;
}

.txt-content .aside p
{
    font-size: 20px;
    text-align: center;
    width: 100%;
    margin: auto;
    line-height: 30px;
    color: rgb(189, 189, 189);
    font-weight: 350;
}