html {
    background-image: URL("../images/background.jpg");
    /* Kratos from God of War, ready for battle. Wallpaper | Wallpapers.com. (2023, September 1). Wallpapers.com. https://wallpapers.com/wallpapers/black-and-white-kratos-of-god-of-war-rt24ku56xosrzavv.html */
    /* background image scales to height and width of view */
    background-size: 100% 100%;
    /* makes the background move with screen*/
    background-attachment: fixed;
    scroll-behavior: smooth;
    background-repeat: no-repeat;
}

body {
    color: #000;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 100%;
}

h1 {
    font-size: 47px;
}

iframe {
    margin-left: auto;
    margin-right: auto;
}

p.whitespace {
    white-space: pre;
    opacity: 0;
    user-select: none;
}

.filler {
    color: white;
    opacity: 0.01;
}

p.general {
    padding: 5px;
}

h2 {
    word-spacing: 2px;
}

/* BOX */
/* white box to surround the text and leave a border for the background image */

.box {
    margin: 30px;
    position: relative;
    color: #000000;
    background-color: #e1e1e1;
}

.time-box {
    margin: 30px;
    position: relative;
    color: #000000;
    background-color: #e1e1e1;
    background-image: url(/images/timeline_background.jpg);
    background-position-y: 120px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: -200px;
}

* {
    box-sizing: border-box;
}


/* TO TOP BUTTON */
#toTop {
    display: none;
    /* default hidden */
    position: fixed;
    /* doesnt scoll with page */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 40px;
    /* Place the button 30px from the right */
    z-index: 100;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #BC2300;
    background-image: url(../images/top.png);
    color: white;
    cursor: pointer;
    /* Add a mouse pointer on hover */
    border-radius: 200px;
    /* Rounded corners */
    font-size: 18px;
    width: 64px;
    height: 64px;
}

#toTop:hover {
    background-image: url(../images/top.png);
    background-color: #640000;
    /* Add a dark-grey background on hover */
}



/* NAV BAR */

ul.head {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #1A0002;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 16px;
    text-decoration: none;
    font-size: large;
}

li a:hover {
    background-color: #640000;
}

.activeTab {
    background-color: #BC2300;
}

p {
    font-size: large;
    word-spacing: 1px;
    padding: 0 0 0 10px;
}

.general {
    padding: 10px;
}






/* BUTTONS */

.content {
    padding: 0 1% 0 1%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-in;
    display: inline-block;
    vertical-align: top;
    background-color: #f9f9f9;
    margin: 5px;
    width: 99%;
    height: auto;
}

/* button that can be collapsed and expanded on click */

.container button {
    display: inline-block;
    margin: 5px;
    padding: 10%;
    font-size: 16px;
    cursor: pointer;
    background-color: #640000;
    color: #000000;
    border-radius: 5px;
}


.collapsible {
    display: inline-block;
    margin: 1%;
    padding: 10px 20px;
    font-size: x-large;
    cursor: pointer;
    background-color: #640000;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 98%;
}

/* change colour on hover */
.active,
.collapsible:hover {
    background-color: #BC2300;
}


/* plus at end of button */
.collapsible:after {
    content: '\002B';
    color: rgb(255, 255, 255);
    font-weight: bold;
    float: right;
}

/* minus at end of button */
.active:after {
    content: "\2212";
}


.button-container {
    text-align: center;
}



/* COLUMNS */
.column {
    float: left;
    padding: 20px 0 0 150px;
    height: auto;
}

.weapon-column {
    float: left;
    height: auto;
    padding: 20px 0 0 2px;
    margin:30px;
}


/* Remove extra left and right margins, due to padding */
.row {
    margin: 0 -5px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive columns */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}


/* CARDS */
.card {
    box-shadow: 0 4px 8px 0 rgba(73, 0, 0, 0.251);
    text-align: center;
    background-color: #ecebeb;
    height: 627px;
    margin-left:1vw;
}

.chain-card{
    width: 160px;
    box-shadow: 0 4px 8px 0 rgba(73, 0, 0, 0.251);
    text-align: center;
    background-color: #ecebeb;
    height: 627px;
    margin-right:10%;
}

.card-text {
    padding: 2px 16px;
    text-align: center;
    margin: auto;
    align-self: center;
}


/* FLIP CARDS */

.char-card {
    background-color: transparent;
    width: 250px;
    height: 350px;
    /* makes flip smoother */
    perspective: 1000px;
}

.char-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.char-card:hover .char-card-inner {
    transform: rotateY(180deg);
}

.char-card-face,
.char-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.char-card-face {
    background-color: #1A0002;
    color: black;
}

.char-card-back {
    background-color: #06666d;
    color: white;
    transform: rotateY(180deg);
}

.desc {
    padding: 3px;
}

.card-face {
    width: 100%;
    background-color: #696969;
}

/* GAME CARDS */

/* GENERAL RULES:
webkit-transition and transition sets the time for how long the hover effect takes to complete
translate moves the object in a direction

*/


.game-card {
    width: 300px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    -webkit-transition: box-shadow 0.5s;
    transition: box-shadow 0.5s;
}

.game-card a {
    color: inherit;
    text-decoration: none;
}

/* adds more shadow when hover */
.game-card:hover {
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}


/**
* thumbnail
**/

.game-card__thumb {
    height: 345px;
    overflow: hidden;
    background-color: #000;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
}

.game-card__thumb img {
    width: 100%;
    display: block;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    /* code to make thumbnail bigger when hover */
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, -webkit-transform 0.5s;
    transition: opacity 0.5s, transform 0.5s;
    transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
}

/* new height */

.game-card:hover .game-card__thumb {
    height: 145px;
}

/* specifics on how big the thumbnail becomes */

.game-card:hover .game-card__thumb img {
    opacity: 0.6;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}


/**
game-card_body
**/

.game-card__body {
    position: relative;
    /* binds text to card */
    height: 100px;
    padding: 20px;
    -webkit-transition: height 0.5s;
    transition: height 0.5s;
}

.game-card:hover .game-card__body {
    height: 300px;
}

.game-card__category {
    position: absolute;
    top: -25px;
    left: 0;
    height: 25px;
    padding: 0 15px;
    background-color: coral;
    color: #fff;
    text-transform: uppercase;
    /*makes the text uppercase*/
    font-size: 11px;
    line-height: 25px;
}

.game-card__title {
    margin: 0;
    padding: 0 0 10px 0;
    color: #000;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
}

.game-card__subtitle {
    margin: 0;
    padding: 0 0 10px 0;
    font-size: 19px;
    color: coral;
}

.game-card__description {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: auto;
    margin: 0;
    padding: 0;
    color: #666C74;
    font-size: 15px;
    opacity: 0;
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.game-card:hover .game-card__description {
    opacity: 1;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.game-card__footer {
    bottom: 12px;
    left: 20px;
    right: 20px;
    font-size: 15px;
    color: #656565;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
}

.icon {
    display: inline-block;
    margin: -2px 0 0 2px;
    font-size: 16px;
}

/* TIMELINE */

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: white;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-image: URL(../images/timeline_thumbnail.jpg);
    background-size: 25px, 25px;
    border: 4px solid #a42f1d;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timeline to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 59px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: -16px;
        /* Adjusted value to align with the right::after */
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
        transform: translateX(-50%);
    }
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 31px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.Event {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}