body {
    position: relative;
}

h1 {
    /*Source: https://www.w3schools.com/css/css3_borders.asp*/
    background: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    min-width: 400px;
    padding: 5px;
    color: #000000;
    text-align: center;
    font-size: 2vw;
    font-family:'Dramatic', sans-serif;
}

h2.standard {
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    max-width: 250px;
    min-width: 100px;
    margin-top: 10px;
    padding: 5px;
    color: #000000;
    background-color: #00e5ff;
    text-align: center;
    font-size: xx-large;
    font-weight: 800;
    font-family:'Dramatic', sans-serif;
}

nav ul li {
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    max-width: 800px;
    min-width: 400px;
    margin-top: 5px;
    padding: 5px;
    color: #00e5ff;
    background-color: #000000;
    border: 2px solid #00e5ff;
    box-sizing: border-box;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    font-family:'Paragraph', sans-serif;
}

ul {
    /*Removes left indent of menu*/
    /*Source: https://stackoverflow.com/questions/9620594/removing-ul-indentation-with-css*/
    padding: 0;
    list-style-type: none;
}

nav ul li a {
    color: #00e5ff;
}

p.standard {
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    max-width: 775px;
    min-width: 400px;
    margin-top: 5px;
    padding: 5px;
    color: #000000;
    background-color: #00e5ff;
    text-align: center;
    font-size: large;
    font-weight: 800;
    font-family:'Paragraph', sans-serif;
}

div a.standard {
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    max-width: 800px;
    min-width: 400px;
    padding: 10px;
    color: #000000;
    background-color: #00e5ff;
    text-align: center;
    font-size: xx-large;
    font-weight: 800;
    font-family:'Paragraph', sans-serif;
}

img.title {
    display: block;
    margin: 0 auto;
    width: 50vw;
    height: auto;
    margin-top: 10px;
}

/* Scrolling Background */

body {
    margin: 0;
    overflow-x: hidden;
    position: relative;
  }
  
  #background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
  }
  
  #background-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    will-change: transform;
  }
  
  .background-top {
    background: url('../images/backgroundtop.png') no-repeat center top;
    background-size: 100% auto;
    width: 100%;
    padding-top: 120%; /* 768 / 640 */
  }
  
  .background-wall {
    background: url('../images/backgroundwall.png') no-repeat center top;
    background-size: 100% auto;
    width: 100%;
    padding-top: 120%;
  }  

  #background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, black 100%);
  }

/*New stuff for interactivity*/

button {
    background: none;    /* removes default background */
}

#hamburger-menu {
    width: 15vw;         /* scales with viewport width */
    height: 15vw;        /* keeps it square */
    border: none;        /* removes default border */
    padding: 0;          /* removes default padding */
    cursor: pointer;     /* optional: keeps pointer behavior */
    padding-top: 10px;
    padding-left: 10px;
}
  
#hamburger-menu img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ensures image fits nicely inside button */
    display: block;      /* removes whitespace below image */
}
  
/*modal*/
/*With guidance from: https://www.w3schools.com/howto/howto_css_modals.asp*/
div.modal {
    text-align: center;
    display: flex;
    flex-direction: column;
    color: #00e5ff;
    background-color: #00e5ff;
    border-radius: 25px;
    min-width: 400px;
    z-index: 2;
    position: fixed;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
    width: auto;
    /* left: 33%;
    top: 20%; */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*Source: https://stackoverflow.com/questions/3157372/css-horizontal-centering-of-a-fixed-div*/
}
div.modal button {
    min-width: 128px;
    max-width: 256px;
    align-self: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}
div.modal a {
    margin: 5px;
    min-width: 128px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
div.modal div{
    display: flex;
    flex-direction: row;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}
div.modal button img {
    align-self: center;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0px;
}

div.background {
    max-width: none;
    max-height: none;
    background-color: rgba(0, 0, 0, 0.3);
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    overflow: auto;
    left: 0;
    top: 0;
    position: absolute;
    align-items: center;
    border: none;
    align-items: center;
}

/*Button to enable social modal*/
button.social {
    color:#000000;
    background-color: #00e5ff;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    align-self: center;
    height: 50px;
    font-size: large;
    font-weight: 800;
    font-family: 'Dramatic', sans-serif;
    min-width: 200px;
    transform-origin: center;
    position: static;
}

div.footer {
    text-align: center;
    position: static;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

picture.footer {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

picture.plants {
    width: 100%;
    height: auto;
    max-width: none;
}

picture.plants img {
    width: 100vw;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

picture.voidmite img {
    margin-top: 20px;
    width: 10vw;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*At the bottom to override*/
.hidden {
    display: none;
  }

@media (min-width: 715px){
    header {
        display: flex;
        flex-direction: row;
        height: 75px;
    }

    nav {
        display: flex;
        flex-direction: row;
        flex-basis: 100%;
    }

    ul {
        display: flex;
        flex-direction: row;
        flex-basis: 100%;
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    nav ul li {
        min-width: 0px;
        display: flex;
        flex-basis: 100%;
        float: left;
        text-align: center;
    }

    nav ul a {
        align-self: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 30px;
    }
}

/* Fonts */
@font-face {
    font-family: 'Dramatic';
    src:  url('/fonts/yoster.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Paragraph';
    src:  url('/fonts/MedodicaRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
  