@charset "utf-8";

/* Removes default browser spacing */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* Prevent horizontal scrolling */
html, body{
    width:100%;
    overflow-x:hidden;
}


/*BODY*/
body{
    background-color:#830909;
    color:#ffffff;
    font-family:"Century Gothic", Arial, sans-serif;
}


/*HEADER*/
header{
    background:url("Gothicblacktexture.jpg") no-repeat center center;
    background-size:cover;
    text-align:center;
    padding:120px 20px;
    width:100%;
}

header h1{
    font-size:3em;
}

header h2{
    font-weight:normal;
}


/*NAVIGATION*/
nav{
    background:#000;
    text-align:center;
    padding:15px;
}

/* combination selector */
nav a{
    color:#ff0004;
    text-decoration:none;
    margin:0 15px;
    font-weight:bold;
}

/* pseudo-class selector */
nav a:hover{
    color:#ffffff;
}


/*MAIN CONTENT*/
main{
    max-width:1200px;
    width:90%;
    margin:auto;
    padding:20px;
}


/*TEXT*/
p{
    line-height:1.6;
    text-align:center;
    font-size:1.3em;
    padding:20px;
}

span{
    color:#ff4da6;
}


/*BUTTON SECTION*/
.buttons{
    max-width:1200px;
    width:90%;
    margin:auto;
    display:flex;
    justify-content:center;
    gap:20px;
}

/* class selector */
.buttoneditor{
    background:#000;
    padding:15px;
    border-radius:60px;
    text-align:center;
}

/* child selector */
.buttoneditor a{
    color:#ff0004;
}

/* pseudo class */
.buttoneditor:hover{
    background:#222;
}


/*IMAGE*/
.Centerimage{
    display:block;
    margin:auto;
    padding:30px;
    max-width:100%;
}


/*CHAPTER BOXES*/
.chapter{
    background-color:rgba(0,0,0,0.6);
    margin:20px 0;
    padding:20px;
    border-radius:10px;
}

.chapter h2{
    color:#ff4da6;
}


.chapterV{
    background-color:rgba(0,0,0,0.6);
    margin:20px 0;
    padding:20px;
    border-radius:10px;
}

.chapterV h2{
    color:#ff4da6;
}


/*TABLE*/
table{
    width:100%;
    border-collapse:collapse;
    margin:20px auto;
}

th, td{
    border:2px solid white;
    padding:10px;
    text-align:center;
}

th{
    background:#000;
}


/*LISTS*/
ul{
    list-style-type:square;
    padding-left:40px;
}

ol{
    list-style-type:decimal;
    padding-left:40px;
}


/*MEDIA*/
/* Prevent media breaking layout */
img, iframe, video{
    max-width:100%;
    height:auto;
    display:block;
    margin:auto;
}


/*FOOTER*/
footer{
    background:url("Gothicblacktexture.jpg") no-repeat center center;
    background-size:cover;
    color:#830909;
    text-align:center;
    padding:50px;
    margin-top:40px;
}


/*SPECIAL SELECTORS FOR MARKS*/

/* ID selector example */
#highlight{
    color:yellow;
}

/* sibling selector example */
h2 + p{
    font-style:italic;
}
