* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #09080F;
    color: #EDE9FE;
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
}

section{
    scroll-margin-top:100px;
}

.header {
    height: 80px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 4%;
    background: rgba(9,8,15,0.85);
    border-bottom: 1px solid #24103D;
    position: fixed;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 32px;
}

.logo p {
    margin: 0;
    font-size: inherit;
    color: #6D28D9;
}

.logo img {
    height: 1.5em;
    width: auto;
}

.page__nav {
    justify-self: end;
    display: flex;
    gap: 20px;
}

.page__nav a {
    color: #EDE9FE;
    text-decoration: none;
    transition: 0.3s;
}

.page__nav a:hover {
    color: #A855F7;
}

.site__nav {
    justify-self: center;
    display: flex;
    gap: 20px;
}

.site__nav a {
    color: #EDE9FE;
    text-decoration: none;
    transition: 0.3s;
}

.site__nav a:hover {
    color: #A855F7;
}

main {
    flex: 1;
}

.hero {
    position: relative;

    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("../images/background.png");
    background-size: cover;
    background-position: center;

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: white;
    text-align: center;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1.1;
}

.hero p {
    margin-top: 20px;
    color: #A78BFA;
}

button {
    margin-top: 40px;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    background: #6D28D9;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #A855F7;
}

.trailer{
    padding:80px 0;
    display:flex;
    justify-content:center;
}

.trailer-iframe{
    width:min(1000px,90%);
    aspect-ratio:16/9;
    border:none;
    border-radius:12px;
}

.games {
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.games a {
    color: #EDE9FE;
    text-decoration: none;
}

.game-card {
    background: #15111F;
    border: 1px solid #24103D;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: #6D28D9;
}

.game-card-wishlist {
    background-color: #24103D;
    border: 1px solid #24103D;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
}

.game-card-wishlist:hover {
    transform: translate(-4px);
    border-color: #6D28D9;
}

.game-card-wishlist a {
    text-align: end;
}

.screenshots{
    display:flex;
    justify-content:center;
    padding:80px 0;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.slideshow-container img {
    border: 1px solid #24103D;
}

.mySlides {
    display: none;
}

.mySlides img{
    width:100%;
    display:block;
    border-radius:10px;
}

.prev,
.next {
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
}

.prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

.about article h2 {
    color: #A78BFA;
    text-align: center;
}

.team {
    padding: 80px 8%;
}

.team h2 {
    color: #A78BFA;
    text-align: center;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.team-card {
    color: #EDE9FE;
    text-decoration: none;
}

.team .person-card {
    background: #15111F;
    border: 1px solid #24103D;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    flex: 1 1 300px;
    max-width: 400px;
}

.team .person-card:hover {
    transform: translateY(-8px);
    border-color: #6D28D9;
}

.contact {
    padding: 80px 8%;
}

.contact h2 {
    color: #A78BFA;
    text-align: center;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.contact-card {
    color: #EDE9FE;
    text-decoration: none;
}

.contact .contact-detail-card {
    background: #15111F;
    border: 1px solid #24103D;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    flex: 1 1 300px;
    max-width: 400px;
}

.contact-card .contact-detail-card:hover {
    transform: translate(-4px);
    border-color: #6D28D9;
}

.footer {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #24103D;
    color: #A78BFA;
}