﻿:root {
    --header-color: #2C2A3DAB;
    --header-font-color: #F3FEFF;
    --section-color: white;
    --section-font-color: #040034;
    --content-color: gainsboro;
    --content-font-color: #040034;
    --content-time-font-color: #807E91;
    --button-color: royalblue;
    --button-font-color: #F3FEFF;
    --button-color-hover: lightsteelblue;
    --button-font-color-hover: royalblue;
    --navigation-button-color-hover: royalblue;
}
html {
    scroll-behavior: smooth;
}
* {
    /*
        TEST TEST
    outline-style: solid;
    outline-color: red;
    outline-width: 1px;
    background-color: #ff00000b;
        */
}
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
/*    background-image:url('Ghoul.jpg');
    background-repeat: repeat-y;*/
    background-color: var(--section-color);
}
paragraph {
    border-color: red;
}

li {
    padding: 0.5em;
}
div {
    flex-grow: 1;
}
a{

}

.header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0.5em 0 0.5em 0;
    background: var(--header-color);
/*    background: rgba(50,50,50,0.5);*/
/*    color: var(--primary-bg-color);*/
    position: fixed;
    z-index: 2;
    width: 100%;
    transition: top 0.5s;
    position: relative;
}

.navigation-button {
    text-decoration: none;
    font-size: min(1.15rem, 3vw);
    width: 10em;
    padding: 0.75em;
    border: none;
    color: var(--header-font-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
}
.navigation-button:hover {
   color: var(--navigation-button-color-hover);
   transition: .5s ease;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0));
    color: var(--header-color);
    overflow: hidden;
    min-height: 100vh;
    margin-bottom: 5em;
}

.hero-text {
    font-size: min(1rem, 3vw);
    color: var(--header-font-color);
    margin-top: 25vh;
    padding: 2em;
    background: var(--header-color);
    z-index: 1;
    border-radius: 1.5em;
}

#video-bg {
    position: absolute;
    object-fit: cover;
    z-index: -1;
    /*    right: 0;*/
    /*    left: 0;*/
    bottom: 0;
    /*    min-width: 80vw;
    min-height: 80%;*/
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}
.sticky + .content {
    padding-top: 20px;
}
#section-projects {
    margin-top: 10px;
}

#section-experience {
}

#section-about {
}

#section-mystery {
}

.section-content {
    margin: auto;
    max-width: 80vw;
    
}
.section-text{
    color: var(--section-font-color);
    font-family: Tahoma, serif;
}

.content-item {
    outline-color: blue;
    display: flex;
    background-color: var(--content-color);
    margin-bottom: 50px;
    border-radius: 15px;
}

.content-item-image {
    height: 100%;
    max-width: 25rem;
    aspect-ratio: 1/1;
    object-fit: cover;  
    background-color: royalblue;
}

.content-item-image:hover{
    opacity: 0.6;
    transition: .5s ease;
}

.content-item-text {
    color: var(--content-font-color);
    display:flex;
    flex-direction:column;
    margin: 20px;
}

.content-item-text-header {
    display: flex;
    align-items: baseline;
}

.content-item-text-header-time {
    color: var(--content-time-font-color);
    margin-left: 5px;
}

.button-spacer {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
}
.button-info {
    font-size: min(1.1rem, 3.6vw);
    min-width: 4em;
    max-height: 1em;
    padding: 0.8em 1.8em;
    border: none;
    background: var(--button-color);
    color: var(--button-font-color);
    cursor: pointer;
    /* border-radius: 15px;*/
    text-decoration: none;
    text-align: center;
    display: inline-block;
    align-self: flex-end;
}
.button-info:hover {
    background: var(--button-color-hover);
    color: var(--button-font-color-hover);
    transition: .3s ease;
}

.button-container {
    min-width: 100%;
}
.button-pusher {
    justify-self: stretch;
}
.upgrade-buttons {
    font-size: min(1.1rem, 3.6vw);
    min-width: 4em;
    max-height: 2.5em;
    padding: 0.8em 1.8em;
    border: none;
    background: var(--button-color);
    color: var(--button-font-color);
    cursor: pointer;
    border-radius: 0 0 15px 0;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    flex-flow: nowrap;
    align-self: end;
    justify-self: flex-end;
}

.upgrade-buttons:hover {
    background: var(--button-color-hover);
    color: var(--button-font-color-hover);
    transition: .3s ease;
}

.sticky-footer {
    position: fixed;
    bottom: 100px;
    width: 100%;
}
#canvas1 {
    position: absolute;
    background: rgba(0, 140, 186, 0);
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0);
}
#enemy-1, #player, #explosion-effect {
    max-width: 5%;
    display: none;
}
.enemies {

}

@media (max-width: 600px){

}

@media (max-width: 900px){
    .content-item {
        outline-color: blue;
        display: flow;
        justify-content: center;
        max-width: 30em;
        margin-bottom: 50px;
        border-radius: 15px;
    }
    .header {
        display: flex;
        justify-content: center;
        align-items: center;

    }

    .section-content {
        margin: auto;
        max-width: 30em;
    }
    .content-item-image {
        height: 100%;
        max-width: 100%;
        justify-self: stretch;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    .button-info {
        border-radius: 0 0 0 15px;
    }
}
