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

body {
    font-family: "Caesar Dressing", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    background-color: #0f0606;
}

h2 {
    font-size: 48px;
}

header,
footer,
section {
    max-width: 1440px;
    margin: 0 auto;
}

/* Header */
header {
    padding: 40px;
}

header ul {
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav li {
    list-style: none;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}


.buy-now-btn {
    color: white;
    text-decoration: none;
    background-image: url("../images/icons/buy-now.png");
    background-position: center;
    background-size: cover;
    padding: 10px 50px;
}

.hero {
    background-image: url("../images/backgrounds/hero.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px;
}

.hero .left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Trailer Section */
.trailer {
    background-image: url("../images/backgrounds/trailer.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 100px;
    gap: 50px;
}

.trailer p {
    max-width: 950px;
    text-align: center;
}

/* Transition */
.transition {
    background-image: url("../images/backgrounds/house.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 500px;
}

/* World Section */
.world {
    padding: 0 100px;
}

.world-header {
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 30px red;
}

.world-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 21px;
}

.world-container img {
    width: 750px;
    height: 100%;
}

.left-opacity {
    mask-image: linear-gradient(to left, black, transparent)
}

.right-opacity {
    mask-image: linear-gradient(to right, black, transparent)
}

.asphodel {
    flex-direction: row-reverse;
    position: relative;
    bottom: 100px;
}

.elysium {
    position: relative;
    bottom: 150px;
}

.world-text {
    max-width: 400px;
    text-align: center;
}

.quote {
    text-align: center;
    padding: 0px 100px 100px;
    color: #d80000;
    text-shadow: 0px 0px 36px rgba(255, 0, 0, 1);
}

/* Character Section */
.characters {
    position: relative;
    height: 700px;
    overflow-x: hidden;
}

.characters h2 {
    text-align: center;
}

.portraits img {
    position: absolute;
    bottom: 0px;
}

.flip {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.cerberus {
    left: -100px;
}

.nyx {
    left: 100px;
    z-index: 2;
}

.hades {
    left: 300px;
    z-index: 1;
}

.zeus {
    right: 200px;
}

.demeter {
    right: 100px;
    z-index: 1;
}

.chaos {
    right: -100px;
}

.left-triangle {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    height: 50px;
    width: 50%;
    aspect-ratio: 1;
    clip-path: polygon(0 100%, 0 0, 100% 100%);
    background: #0f0606;
}

.right-triangle {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    height: 50px;
    width: 50%;
    aspect-ratio: 1;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    background: #0f0606;
}

/* Footer */
footer {
    padding: 20px 60px;
}

footer .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style-type: none;
}

.platforms img {
    height: 25px;
    width: auto;
}

.supergiant-logo {
    height: 70px;
    width: auto;
}

footer p {
    margin-top: 20px;
    font-size: 12px;
}

.platforms p {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    max-width: 550px;
}

.copyright {
    text-align: center;
}

/* Character Page */
.character-infos {
    position: relative;
    height: 1500px;
    width: 1440px;
}

.character-info {
    position: absolute;
    opacity: 0;
}

/* Character Portraits */
.portrait {
    height: 800px;
    background-image: url("../images/backgrounds/characters.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 800px;
}

.circle {
    height: 470px;
    width: 470px;
    border-radius: 50%;
    position: absolute;
    left: 500px;
    top: 100px;
}

.character {
    position: absolute;
    left: 475px;
    mask-image: linear-gradient(to bottom, black 50%, transparent);
}

/* Name Section */
.name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 375px;
    top: 600px;
    z-index: 2;
}

.title-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: -50px;
}

.title-header img {
    height: 60px;
    width: 60px;
}

.name h1 {
    font-size: 200px;
}

/* Description */
.description {
    width: 1440px;
    height: 700px;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.description p {
    max-width: 700px;
    text-align: center;
    font-size: 18px;
    margin-top: 100px;
}

.triangle {
    width: 100%;
    height: 200px;
    aspect-ratio: 1/cos(30deg);
    clip-path: polygon(50% 100%, 100% 0, 0 0);
    background: #0f0606;
    position: absolute;
    top: 0;
    z-index: 1;
}


/* Button Stuff */
.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1440px;
    padding: 0 200px;
    top: 250px;
    position: absolute;
    z-index: 99;
}

.buttons a {
    color: white;
    font-size: 100px;
    text-decoration: none;
}

.active {
    animation: ease-in appear;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

/* Character Specific Stuff */
.dionysus-char-info .description {
    background: linear-gradient(to right, #8115ff, #bf0095);
}

.dionysus-char-info .circle {
    background-image: linear-gradient(to top, black, #f66aff);
}

.dionysus-char-info h1,
.dionysus-char-info h2 {
    background-image: linear-gradient(to right, #8115ff, #bf0095);
    color: transparent;
    background-clip: text;
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hades-char-info .description {
    background: linear-gradient(to right, #c11e38, #220b34);
}

.hades-char-info .circle {
    background-image: linear-gradient(to top, #220b34, #c11e38);
}

.hades-char-info h1,
.hades-char-info h2 {
    background-image: linear-gradient(to right, #c11e38, #220b34);
    color: transparent;
    background-clip: text;
}

.zeus-char-info .description {
    background: linear-gradient(to right, #f86ca7, #f4d444);
}

.zeus-char-info .circle {
    background-image: linear-gradient(to top, #183182, #f5c900);
}

.zeus-char-info h1,
.zeus-char-info h2 {
    background-image: linear-gradient(to right, #f86ca7, #f4d444);
    color: transparent;
    background-clip: text;
}

.dionysus-char-info .description {
    background: linear-gradient(to right, #8115ff, #bf0095);
}

.dionysus-char-info .circle {
    background-image: linear-gradient(to top, black, #f66aff);
}

.dionysus-char-info h1,
.dionysus-char-info h2 {
    background-image: linear-gradient(to right, #8115ff, #bf0095);
    color: transparent;
    background-clip: text;
}