/* Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Lilita One font */
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body
{
    color: white;
    background-color: #28140C;
    font-family: Montserrat, Arial, Helvetica, sans-serif;
}

p:not(.welcomer p)
{
    padding-left: 40pt;
    padding-right: 40pt;
}

ul:not(.welcomer ul)
{
    padding-left: 40pt;
    padding-right: 40pt;
}

figure:not(.welcomer figure)
{
    padding-left: 40pt;
    padding-right: 40pt;
}

/* 
    Changing the colors of links so they are visible with the dark background: 
    https://www.w3schools.com/html/html_links_colors.asp 
*/

a:link {
    color: rgb(193, 255, 193);
    background-color: transparent;
    text-decoration: none;
}
  
a:visited {
    color: rgb(119, 237, 148);
    background-color: transparent;
    text-decoration: none;
}

h1
{
    font-family: "Lilita One", Helvetica, sans-serif;
    text-align: center;
    text-decoration: underline;
}

h2
{
    font-family: "Lilita One", Helvetica, sans-serif;
    text-decoration: underline;
    font-size: xx-large;
    padding-left: 10pt;
    padding-right: 10pt;
}

h3
{
    padding-left: 10pt;
    padding-left: 10pt;
}

/* ID selector */
/*  All of this flexbox stuff is so that I can have the text centered vertically AND the buttons located to the left and the credits located to the right 
    https://stackoverflow.com/questions/2939914/how-do-i-vertically-align-text-in-a-div
    https://stackoverflow.com/questions/35269947/how-can-i-align-one-item-right-with-flexbox
*/
#navbar
{
    display: flex;
    flex-direction: row;
    height: 50px;
    background-color: #332619;
}

#navbuttonsflex
{
    display:flex;
    justify-content: left;
    align-items: center;
    flex-grow: 1;
}

#navcreditsflex
{
    display:flex;
    justify-content: right;
    align-items: center;
}

/* Child selector (and ID selector) */
#navbuttonsflex a,#navbarCredit
{
    margin: 5px;
    line-height: 40px;  
    padding: 1px;
}

#navbuttonsflex a
{
    margin: 12px;
    padding: 7px;
    border: 2pt solid;
    border-color: #121B1F;
    background-color: #121B1F;
    border-radius: 10px;
}

#navbuttonsflex a img
{
    vertical-align:middle;  
}

#navbarCredit
{
    /* 
    Thanks to this stackoverflow thread for this method of moving a span to the
    right side of a div:
    https://stackoverflow.com/questions/5067279/how-to-align-this-span-to-the-right-of-the-div 
    */
    float:right;
    text-align: right;
}

.borderedImage
{
    border: 2px antiquewhite solid;
    border-radius: 5px;
}

/* Reduce space between image/audio credit and the content the credit is for */
.credit
{
    margin: 0.25em;
    padding-left: 0;
}

/* Another example of stackoverflow being the best website on earth:
https://stackoverflow.com/questions/4151743/how-can-i-change-the-thickness-of-my-hr-tag */
hr
{
    height: 2px;
    background-color: rgb(93, 89, 84);
    border: none;
}

.thickHR
{
    height: 4px;
}

/* For the "Near Threatened" text */
.threatened
{
    color: rgb(255, 80, 80);
    font-style:italic;
}

.welcomer
{
    display:flex;
    align-items: center;
    flex-direction: column;
    margin-left: auto;
}