@font-face {
    font-family: 'Enchanted Land';
    font-style: normal;
    font-weight: normal;
    src: local('Enchanted Land'), url('./fonts/enchanted_land.otf') format('truetype');
}

/*
    Main Image
*/

.main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 38rem;
    background-image: url("images/game-showcase-main-image.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main-image-text {
    text-align: center;
    color: var(--text-colour-light);
}

.main-image-text:first-child {
    font-size: 96px;
    font-size: 6rem;
    text-align: center;
    font-family: var(--motto-font);
    font-weight: var(--motto-weight);
}



/*
    Body
*/

div[title="showcase-title"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10%;
    text-align: center;
}

div[title="showcase-title-first-child"] {
    font-size: 64px;
    font-size: 4rem;
    font-family: var(--title-font);
    font-weight: var(--title-weight);
}

div[title="showcase-title-second-child"] {
    font-size: 32px;
    font-size: 2rem;
}



/*
    Slideshow
*/

.slideshow .slide div[title="ildens-rise-title"] {
    font-size: 96px;
    font-size: 7rem;
    font-family: "Enchanted Land";
    font-weight: var(--motto-weight);
    display: flex;
    justify-content: center;
    letter-spacing: 0.1em;
    color: var(--button-colour-dark-transparent);
    text-transform: uppercase;
}
  
.btn {
    display: inline-block;
    text-decoration: none;
    position: relative;
    background: transparent;
    background-color: var(--button-colour-dark-transparent);
    color: #FFFFFF;
    cursor: pointer;
    border: var(--button-border);
    border-radius: 100px;
    margin: 0;
    outline: none;
    padding: 16px 24px;
    text-align: center;
    font-family: var(--button-font);
    font-weight: var(--button-weight);
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    will-change: transform;
}
.btn::after {
    transition: border 0.1s linear 0.05s;
}
.btn:disabled {
    pointer-events: none;
} 
.btn:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
    color: var(--link-hover-colour);
    transform: translateY(-2px);
}
.btn:active {
    box-shadow: none;
    transform: translateY(0);
}
 
.slideshow {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 80vh;
    z-index: 1;
}
.slideshow .slideshow-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slideshow .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slideshow .slide {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.slideshow .slide.is-active {
    display: block;
}
.slideshow .slide.is-loaded {
    opacity: 1;
}
.slideshow .slide .caption {
    padding: 0 100px;
}
.slideshow .slide .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    z-index: 1;
    background-size: cover;
    image-rendering: optimizeQuality;
}
.slideshow .slide .image-container::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.slideshow .slide .image {
    width: 100%;
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.slideshow .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: var(--text-colour-light);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slideshow .slide .title {
    margin: 0 auto 15px;
    max-width: 1000px;
    font: 300 50px/1.2 "Oswald", sans-serif;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}
.slideshow .slide .text {
    margin: 0 auto;
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.4;
}
.slideshow .slide .btn {
    margin: 15px 0 0;
    border-color: #fff;
}
.slideshow .slide .btn::before {
    background: #fff;
}
.slideshow .pagination {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: default;
    z-index: 2;
    text-align: center;
}
.slideshow .pagination .item {
    display: inline-block;
    padding: 15px 5px;
    position: relative;
    width: 46px;
    height: 32px;
    cursor: pointer;
    text-indent: -999em;
    z-index: 1;
}
.slideshow .pagination .item + .page {
    margin-left: -2px;
}
.slideshow .pagination .item::before {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: 5px;
    width: 36px;
    height: 2px;
    background: var(--text-colour-dark);
    transition: all 0.2s ease;
}
.slideshow .pagination .item::after {
    width: 0;
    background: var(--text-colour-light);
    z-index: 2;
    transition: width 0.2s ease;
}
.slideshow .pagination .item:hover::before, .slideshow .pagination .item.is-active::before {
    background-color: var(--text-colour-light);
}
.slideshow .arrows .arrow {
    margin: -33px 0 0;
    padding: 20px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    z-index: 3;
}
.slideshow .arrows .prev {
    left: 30px;
}
.slideshow .arrows .prev:hover .svg {
    left: -10px;
}
.slideshow .arrows .next {
    right: 30px;
}
.slideshow .arrows .next:hover .svg {
    left: 10px;
}
.slideshow .arrows .svg {
    position: relative;
    left: 0;
    width: 14px;
    height: 26px;
    fill: var(--text-colour-light);
    transition: left 0.2s ease;
}



/*
    Media Queries
*/

@media (min-width: 2560px) {

    /* Large screens (1440p, 4K, etc) */

    .main-image {
        background-image: url("images/game-showcase-main-image-4k.jpg");
        height: 48rem;
    }

}

@media (max-width: 1100px) {

    div[title="showcase-title"] {
        margin: 5%;
    }
    
    div[title="showcase-title-first-child"] {
        font-size: 48px;
        font-size: 3rem;
    }
    
    div[title="showcase-title-second-child"] {
        font-size: 24px;
        font-size: 1.5rem;
    }

}

@media (max-width: 800px) {

    .main-image {
        background-image: url("images/game-showcase-main-image-mobile.jpg");
        height: 32rem;
    }

    .main-image-text:first-child {
        font-size: 4rem;
    }

    .slideshow .slide div[title="ildens-rise-title"] {
        font-size: 4rem;
    }

    .caption .title {
        font-size: 4rem;
    }

}