/*Colours*/

:root {
    --colour-background: #f3e2ea;
    --colour-titles-headings: #652009;
    --colour-navigation-bar: #df5c6a;
    --colour-text-highlight: #f1928c;
    --colour-footer: #f1928c;
    --colour-links: #ab0d26;
    --test: #ab0d26;

    --navbar-height: clamp(60px, 8vh, 100px);
    --regular-text-size: 16px;
}

header {
 height: var(--navbar-height);
}

html {
    height: 100%;
    background-color: var(--colour-background);
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--colour-titles-headings);
    display: flex;
    flex-direction: column;
}



main {
    flex: 1;
}


h1 {
    margin: 0;
    font-size: 40px;
}

h2 {
    font-size: 30px;
}


p {
    text-align: center;
    font-size: var(--regular-text-size);
}

ul {
    font-size: var(--regular-text-size);
}

main a {
    color: var(--colour-links);
    font-weight: bold;
    text-decoration: underline;
}

a img {
    text-decoration: none;
    border: none;
}

footer {
    align-items: center;
    text-align: center;
    padding: 10px 0;
    background-color: var(--colour-footer);
}


/*Navigation bar (header)*/

.navbar {
    display: flex;
    align-items: center;
    height: var(--navbar-height);
    position: fixed;
    gap: 30px;
    top: 0;
    left: 0;
    padding-left: 10px;
    width: 100%;
    z-index: 1000;
    
    font-size: 1.1em;
    font-family: Arial, sans-serif;
    background-color: var(--colour-navigation-bar);
}

.navbar img {
    height: 3rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--colour-titles-headings);
}


.navbar-checkbox {
    display: none;
}


.navbar-links {
    display: flex;
    gap: 30px;
}

.navbar-links a:not(.navbar-logo) {
    position: relative;
    color: var(--colour-titles-headings);
    text-decoration: none;
    font-size: 18px;
    padding: 10px 0;
    transition: .5s ease;
}


.navbar-logo {
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
}

.navbar-logo:hover{
    transform: scale(1.08);
}

.navbar-links a:hover {
    color: var(--colour-text-highlight)
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--colour-text-highlight);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.banner-logo {
    max-width: 95%;
    max-height: 150px;
}

/* Navbar mobile*/
@media (max-width: 430px) {

    .navbar {
        justify-content: space-between;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--colour-navigation-bar);
        justify-content: space-evenly;
        gap: 5px;
    }
    .navbar-links a {
        text-align: center;
    }

    .navbar-links.show {
        display: flex;
    }
    .navbar-toggle {
        display: block;
        align-items: center;
        display: flex;
        margin-right: 20px;
    }
}


/* Presskit only */


.presskit-header {
    display: flex;
    justify-content: space-evenly;
    
    height: 125px; 
    max-height: fit-content;
    align-items: center;
    margin-bottom: 10px;
    min-height: 60px;
    background-color: var(--colour-footer);
}

.presskit-header li {
    color: var(--colour-titles-headings);
    font-weight: bold;
    font-size: 20px;
    text-align: start;
    margin: 0;
    padding: 0;
    align-self: center;
    line-height: 1.1;
    font-size: clamp(10px, calc(20px), 40px);
}

.presskit-header img {
    max-width: 30%;

}

.presskit-buttons-group {
    display: flex;
    gap: 10px;
    
    align-items: stretch;
    align-content: center;
}

.presskit-buttons-group .regular-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
}

.presskit-list {
    text-align: left;
    list-style-position: inside;
    padding: 10px;
}


@media (max-width: 972px) {
    .presskit-header {
        flex-direction: column;
        align-items: center;
        object-fit: content;
        height: fit-content;
        max-height: fit-content;
        gap: 0px;
        padding: 10px 0;
    }

    .presskit-header img {
        max-width: 100%;
        margin: 0 auto;
    }
}

/*
Used in all pages, it's the main container.
*/

.main-container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
}

.center-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 25px;
}

.vbox-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.hbox-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.products-showcase{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

.image-clickable {
    height: auto;
    width: 300px;
    max-width: 90%;
    object-fit: contain;
    margin: 10px 10px;
    border: none;
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    cursor: pointer;
}

.image-clickable:hover {
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}


.product-icon {
    height: auto;
    width: 100%;
    max-width: 400px; /* Ensures a reasonable maximum size */
    margin: 10px 0;
    border: none;
}

.product-screenshot {
    height: auto;
    width: 310px;
    max-width: 90%;
    object-fit: contain;
    border: none;
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    cursor: pointer;
}

.centered {
    display: flex;
    justify-content: center;
}

.store-button { /*Steam, itchio*/
    display: inline-block;
    height: 60px;
    width: auto;
    max-width: 100%;
    border: none;
    object-fit: contain;
}


.regular-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--colour-links);
    color: var(--colour-background);
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

.regular-button:hover {
    background-color: var(--colour-titles-headings);
}


.circle-photo {
    border-radius: 50%;
}


.social-icons {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.youtube-video {
    aspect-ratio: 16 / 9;
    max-width: 90%;
}

.steam-widget {
    aspect-ratio: 29 / 10;
    max-width: 90%;
}

@media (max-width: 755px) {

    h1 {
        font-size: clamp(1.8rem, calc(7vw + 1rem), 2rem);
    }

    .products-showcase {
        flex-direction: column;
        align-items: center;
    }

    .hbox-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

}