/* General */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #fff;
    background-image: url('../images/background.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    background-size: cover;
    background-attachment: scroll;
    font-family: 'Oswald';
    font-size: 15px;
    color: #fff;
    text-align: center;
}

a {
    color: #fff;
    text-decoration: none;
}




/* Animations */

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}




/* Navbar */

.navbar {
    position: static;
    height: 100px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    background-image: url('../images/navbar.png');
    background-position: 50% 50%;
    background-size: 100% 100px;
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-clip: border-box;
    -webkit-text-fill-color: inherit;
    -o-object-fit: fill;
    object-fit: fill;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
}

.navbar-container {
    position: relative;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 20px;
    z-index: 5;
}

.navbar-logo-container {
    width: 100%;
    max-width: 940px;
    margin-right: auto;
    margin-left: auto;
}

.navbar-logo {
    position: absolute;
    width: 231px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 0;
    padding-bottom: 0;
    left: 0%;
    top: 45%;
    right: 0%;
    bottom: auto;
    display: inline-block;
    -o-object-fit: fill;
    object-fit: fill;
    transition: 0.32s;
}

.navbar-logo:hover {
    transform: scale(1.09);
}




/* Carousel */

.carousel {
    width: 100%;
    height: 70vh;
    position: relative;
    display: flex;
}

.carousel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 200ms opacity ease-in-out;
    transition-delay: 200ms;
}

.carousel-slide > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-slide[data-active] {
    opacity: 1;
    z-index: 1;
    transition-delay: 0ms;
}

.carousel-button {
    position: absolute;
    z-index: 2;
    background: none;
    border: none;
    font-size: 4rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .3);
    cursor: pointer;
    padding: 0 .5rem;
}

.carousel-button:hover,
.carousel-button:focus {
    color: rgba(255, 255, 255, 1)
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}




/* Trailer */

.trailer {
    margin: auto;
    position: relative;
    width: 55%;
    padding: 55px 0;
}

.trailer-container {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    margin: auto;
    overflow: hidden;
    padding-bottom: calc(var(--aspect-ratio, .5625) * 100%);
}

.trailer-player {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 0;
}




/* The Game */

.the-game {
    position: relative;
    padding: 55px 0;
}


.the-game-container {
    margin: auto;
    width: 65%;
}


.the-game-image {
    position: relative;
    width: 100%;
}




/* Gallery */

.gallery-label-container {
    width: 100%;
    margin: auto;
}

.gallery-label {
    display: block;
    padding-top: 32px;
    margin: auto;
}

.gallery {
    width: 100%;
    padding: 55px 0;
    margin: auto;
    justify-content: center; 
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

.gallery-element {
    display: inline-block;
    width: 500px;
    padding: 5px;
    filter: grayscale(100%);
    transition: 0.32s;
}

.gallery-element:hover {
    filter: grayscale(0);
    transform: scale(1.03);
}




/* Steam */

.steam {
    padding: 100px 0;
    width: 100%;
    margin: auto;
}

.steam-widget {
    display: block;
    width: 50%;
    margin: auto;
}




/* Social Media */

.social-media {
    position: relative;
    padding-top: 55px;
    padding-bottom: 55px;
}

.social-media-container {
    width: 100%;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
}

.social-media-logo-container {
    display: flex;
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.social-media-logo {
    max-width: 32%;
    padding-bottom: 25px;
}

.social-media-columns {
    display: flex;
    height: 55px;
    padding-top: 25px;
    padding-bottom: 40px;
    flex-direction: row;
}

.social-media-column {
    width: 70px;
    margin: 0 auto;
}

.social-media-element {
    display: block;
    max-width: 75%;
    margin: auto;
    transition: 0.5s;
}

.social-media-element:hover {
    background-color: #fff;
    border: 1px solid white;
    border-radius: 100%;
}




/* Footer */

.footer {
    display: block;
    width: 100%;
    height: 205px;
    background-color: black;
}

.footer-container {
    padding-top: 40px;
}




/* Privacy Policy */

.privacy-policy {
    display: block;
    width: 50%;
    height: auto;
    margin: auto;
    padding-top: 100px;
    animation: fadeIn 2.5s;
}

.privacy-policy > h1 {
    font-size: 34px;
    font-family: 'Oswald';
    color: gray;
    letter-spacing: 1px;
    text-align: left;
}

.privacy-policy > p {
    font-size: 16px;
    font-family: 'Oswald';
    font-weight: 100;
    text-align: left;
    line-height: 25px;
    letter-spacing: 1px;
}




/* Links */

.links {
    display: block;
    width: 100%;
    animation: fadeIn 2.5s;
}

.links-container {
    display: flex;
    flex-direction: column;
    width: 500px;
    margin: auto;
    padding-top: 70px;
    padding-bottom: 16px;
}

.links-container > button {
    font-size: 22px;
    font-family: 'Oswald';
    color: #fff;
    background-color: transparent;
    border: 1px solid #fff;
    margin-top: 7px;
    margin-bottom: 7px;
    padding: 15px 50px;
    cursor: pointer;
    transition: 0.5s;
    
}

.links-container > button:hover {
    color: black;
    background-color: #fff;
}

.links-envelope-icon {
    width: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
    transition: 0.32s;
    opacity: 0.5;
}

.links-envelope-icon:hover {
    transform: scale(1.15);
    opacity: 1;
}