html {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    cursor: url("images/cursor.png"), auto;
}

body {
    font-size: 12px;
}

.main {
    margin: auto;
    margin-top: 30px;
    margin-bottom: 45px;
    width: 950px;

    position: relative;
}
  
/*Box to contain header image*/
.header {
    padding: 0px;
    overflow-y: auto;
}
   
.header img {
    width: 100%;
    padding: 0px;
    display: block; /*Prevents extra space after image*/
}
  
/*Inner text area inside main div, below the header and image.*/
.text {
    margin: 5px 0px;
    background: white;
    padding: 10px;
}

.texttext {
    padding: 10px 0;
    text-align: center;
    font-family: sans-serif;
    position: relative;
}

.texttextoverlay img {
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    z-index: 1;
    opacity: 0;
}

.texttextoverlay img:hover {
    opacity: 1;
}

.texttext a {
    color: cadetblue;
    text-decoration: none;
    font-size: 30px;
}

.texttext #button {
    display: flex;
    justify-content: center;
}

.texttext #center {
    float: none;
}

/*Prevent overflow of large images in main text areas.*/
.text img {
    max-width: 100%;
    height: auto;
    float: left;
}

.text h1 {
    letter-spacing: 3px;
    text-align: center;
}

.text h2 {
    font-weight: normal;
    letter-spacing: -0.5px;
    font-size: 20px;
}

/*Used for the header below the header image.*/
@layer {
    .menu {
        margin: 5px 0px;
        letter-spacing: 4px;
        font-family: sans-serif;
        font-size: 30px;
        color: white;
        background: black;
        padding: 5px 0;
        text-align: center;
    }
    .menulinks {
        background-color: black;
        color: white;
        text-decoration: none;
    }

    .menulinks:hover {
        background-color: white;
        color: black;
        cursor: url("images/cursorlink.png"), pointer;
    } 
}

/*Classes for links section.*/
.links {
    font-size: 12px;
    color: white;
    background: #1d1c32;
    padding-top: 1px;
    padding-bottom: 5px;
    text-align: center;
    cursor: url("images/cursorlink.png"), pointer;
}
  
.links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.links:hover { /*The color link buttons turn when hovered over*/
    background: cyan;
    color: white;
    cursor: url("images/cursorlink.png"), pointer;
}

#intextlink {
    font-weight: normal;
    letter-spacing: -0.5px;
    font-size: 20px;
}

.footer {
    margin: 5px 0;
    font-size: 12px;
    color: white;
    background: #1d1c32;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}

@media (orientation: portrait), (max-width: 480px) {
    .intro {
        width: 100%;
    }
}

@media (max-width: 1300px) {
    .bloggif {
        display: none;
    }
}

.blogpost div {
    display: none; /* Takes up the full screen height */
    padding: 20px;
    box-sizing: border-box;
}

.blogpost div:target {
    display: block;
    height: auto;
    width: 100%;
    overflow-y: auto;
}

.blogcontainer {
    display: flex;
}

.bloglist {
    flex: 0 0 150px;
    width: 150px;
    border-right: 1px solid #ccc;
    padding: 15px;
    top: 0;

    background-color: black;
}

.bloglist h2 {
    font-family: 'MS Gothic', Arial, Helvetica, sans-serif;
    font-size: 24px;
    color: white;
    text-align: center;
}

.bloglist a {
    color: white;
    font-family: 'MS Gothic', Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-decoration: none;
}

.bloglist a:hover {
    color: rgb(73, 255, 235);
}

.blogpost {
    padding: 20px;
    background-color: white;
    flex: 1;
    min-width: 0;
}

.blogpost h1 {
    display: inline-block;
    font-size: 40px;
    padding: 5px 20px 5px 20px;
    
    background-color: black;
    margin: auto;
    color: white;

    font-family: 'MS Gothic', Arial, Helvetica, sans-serif;
}

.blogpost h2 {
    font-family: 'MS Gothic', Arial, Helvetica, sans-serif;
    background-color: rgb(111, 107, 138);
    display: inline-block;
    color: rgb(255, 255, 255);
    margin: 0;
    padding: 5px 20px 5px 20px;;
    font-size: 16px;
    font-weight: normal;
}

button {
    display: inline-block;
    background-color: rgb(121, 121, 190);
    color: white;
    font-family: 'MS Gothic', Arial, Helvetica, sans-serif;
    font-size: 14px;
    padding: 5px;
    border-radius: 20px;
    margin-right: 5px;
    margin-top: 5px;
}

.blogpost p {
    font-family: 'MS Gothic', Arial, Helvetica, sans-serif;
    font-size: 18px;
}

ul {
    list-style-image: url('images/favicon.png');
}

li {
    margin-bottom: 20px;
}

.bloggif {
    margin: auto;
    top: 18%;
    left: 67%;
    position: absolute;
}

html { scrollbar-width: none; } /* Firefox */
body { -ms-overflow-style: none; } /* IE and Edge */
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */