/* Styles for the Honkai Star Rail 2 page website */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background: #131936;
    background-attachment: fixed;
    background-image:url(../images/Character_Blade_Splash_Art.png);
    background-repeat: no-repeat;
    background-position: center center;
}

header{
    background: rgba(31, 40, 85, 0.65);
}

nav{
    height: 50px;
    line-height:50px;
    background: #2f497a;
}

nav li{
    list-style-type: none;
    float:left;
    text-align:center;
    width:50%;
}

nav a{
    text-decoration:none;
    color:white;
    display: block;
    margin-bottom: 20px;
}

nav a:hover{
    background: #131936;
}

div#wrapper{
    width: 940px;
    background: rgba(31, 40, 85, 0.85);
    margin: 20px auto;
    overflow:hidden;
}

footer{
    height: 50px;
    line-height: 50px;
    background: #2f497a;
    clear:both;
    font-size:.9em;
    /*cant use margin top on a cleared element, you need to margin bottom the closest upper element */
}

footer ul{
    margin-left:20px;
}

footer li{
    list-style-type: none;
    float:left;
    margin-right: 30px;
    color:white;
}

footer a{
    color:white;
}

img{
    max-width: 100%;
}

aside img{
    float:right;
    margin-left: 30px;
    margin-bottom: 10px;
    width:100px;
}

img.right{
    float:right;
    margin-left: 30px;
    margin-bottom: 10px;
    width:250px;
}

img.left{
    float:left;
    margin-right: 30px;
    margin-bottom: 10px;
    width: 150px;
}

.center{
    margin: 20px auto;
    display: block;
    text-align:center;
}

p a{
    color:white;
}


h1, h2, h3{
    margin-bottom: 10px;
    color: white;
}

p{
    margin-bottom: 15px;
    line-height:1.4;
    color: lightgray;
}

main{
    width: 580px;
    padding: 15px;
    float:left;
}

aside{
    width: 340px;
    background: #2f497a;
    margin-right: 20px;
    padding: 15px;
    float: right;

}

