:root {
  --bg: rgb(40,40,40);
  --bgdark: rgb(20,20,20);
  --highlight: rgb(19, 33, 23);
  --disabledhighlight: rgb(33, 33, 33);
  font-family: josefin-sans, sans-serif;
  background-color: #1e1e1e;
}

a {
    display: inherit;
    flex-direction: inherit;
    justify-content: inherit;
    align-items: inherit;
}

a:link {
    text-decoration: none;
    color: inherit;
}

a:visited {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
    color: inherit;
}

a:active {
    text-decoration: underline;
    color: inherit;
}

body {
    margin: 0;
}

.grow {
    animation-name: grow;
    -webkit-animation-name: grow;

    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition:all 0.5s ease-out; 
}

.topsection {
    display: flex;
    position: fixed;
    background-color: var(--bg);
    height: 22em;
    width: 100%;
    overflow: hidden;
    z-index: 1;
    border-bottom: white solid 0.2em;
}

#screenshot0 {
    object-fit: cover;
    max-width: 100%;
    height: 750px;
}

.title {
    position: fixed;
    font-family: filmotype-austin, sans-serif;
    font-size: 4em;
    color: white;
    left: 5.6em;
    top: auto;
    padding-top: 0.2em;
    transform-origin: left;
}

#grayturtle{
    position: fixed;
    z-index: 2;
    transform: scale(-1,-1) rotateZ(0deg);
    top: 25em;
    left: 5em;
    width: 18em;
    filter: brightness(0) invert(1);    
}

.turtle_pattern {    
    height: 36em;
    right: 0em;
    margin-top: -3em;
    position: absolute;
}

.runeturtle_logo {
    z-index: 1;
    position: fixed;
    width: 18em;
    height: 18em;
    top: 9em;
    left: 3em;
}

.bar_green {
    display: flex;
    flex-direction: row;    
    align-items: center;
    justify-content: left;

    position: fixed;
    width: 100%;
    background-color: var(--highlight);
    height: 4em;
    top: 13em;
}

#greenbar_connect {
    width: 5em;    
    height: 1em;
    margin-right: 2em;
    margin-left: auto;
}

#greenbar_connect:hover {
    color: transparent;
}

#greenbar_connect img {
    display: none;
    position: absolute;
    width: 4.5em;
}

#greenbar_connect:hover img {
    display: flex;
}

#titlesection {
    width:100%;
    background-color: var(--highlight);
}

#featuressection {
    color: white;
    background-color: var(--highlight);
}

.disabledbutton {
    transition: all 0.2s;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 8em;    
    height: 1.5em;

    color: gray;
    border: 1px solid white;
    padding: 0.5em;
    border-radius: 4px;
    user-select: none;
}

.disabledbutton:hover {
    background-color: var(--disabledhighlight);
}

.button {
    transition: all 0.2s;

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    width: 8em;    
    height: 1.5em;

    color: white;
    border: 1px solid white;
    padding: 0.5em;
    border-radius: 4px;
    user-select: none;
}

.button:hover {
    transform: scale(1.1);
    background-color: var(--highlight);
}

.topmenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    background-color: gray;
}

.topmenu_left {
    display:flex;
    flex-direction: row;
}

.topmenu_right {
    display: flex;
    flex-direction: row;
}

#featurestitle{
    text-align: center;
    font-family: novecento-sans, sans-serif;
    font-weight: bold;
    width: 100%;
    font-size: 2em;
    margin: 1em auto 0.7em auto;
}

#summarysection {
    display: flex;    
    justify-content: center;
    align-items: center;
    background-color: var(--highlight);
    text-align: center;
    padding-bottom: 2em;
}

#summarytitle{
    text-align: center;
    font-family: novecento-sans, sans-serif;
    font-weight: bold;
    width: 100%;
    font-size: 2em;
    margin: 1em auto 0.7em auto;
    color: white;
}

#summarytext{
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 1.3em;
    line-height: 1.3em;
    width: 50%;
}

#trailersection {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg);
    position: relative;
    padding-bottom: 56.25%;
    width: 100%;
}

#trailervideo {
    border: none;
    box-shadow: black 0em 0.5em 2em -0.1em;
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
}

.screenshot {
    transition: all 0.2s;
    width: 30em;
    height: 16.8em;
    min-width: 30em;
    transform: scale(1);
    transform-origin: left;
    margin: 0em 2em 0em 4em;
    box-shadow: black 0em 0.4em 1em 0.1em;
}


.screenshotcontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 30em;
    height: 16.8em;
    margin: 0em 2em 0em 4em;

    z-index: 4;
}



.enlargeicon {
    transition: all 0.3s;
    width: 35%;
    transform: scale(1);
    filter: opacity(1);
    z-index: 2;

    animation-duration: 2s;
    animation-name: rotate;
    animation-timing-function: cubic-bezier(.5,.5,.5,.1);
    animation-iteration-count: infinite;  
}

.loadingicon {
    position: absolute;
    transition: all 0.3s;
    width: 25%;
    transform: scale(1);
    filter: opacity(1);
}

.featurebox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3em;
}


.featuretextbox {
    display: flex;
    flex-direction: column;
    margin-right: 13%;
    font-size: 1.2em;
    line-height: 1.3em;
}

.featuretitle {
    text-align: left;
    font-size: 1.3em;    
    line-height: 1.3em;
    font-weight: bold;
    border-bottom: solid 0.1em;
    margin-bottom: 0.4em;

}

#purchasebg {
    background: white;
    width: 100%;   
    display: flex;    
    align-items: center;
}

#purchasesection {
    display: flex;
    justify-content: center;
    padding: 2em;
    width: 100%;
    background-color: var(--bgdark);
}

#newsletterbg {
    margin: 2em;
    text-align: center;
}

#newsletter {
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    font-family: novecento-sans;
    background-color: var(--bg);
    padding: 2em;
    box-shadow: black 0em 0.2em 0.5em;
}


#newsletterbutton {
    border-radius: 0em 0.25em 0.25em 0em;
    height: 1.4em;
}


.footer {
    display: flex;
    color: white;
    height: 5em;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1em;
}



.section {
    display: flex;
    flex-direction: column;
    position: relative;
}

.spacer {
    height: 20em;
}

.mainpage {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    filter: blur(1em) grayscale(1) brightness(.4);
}

#getnowbutton {
    position: absolute;
    left: 69%;
    top: 65%;
    background-color: var(--bgdark);
}

#ordtitle {
    position: absolute;
    width: 40%;
    left: 47%;
    top: 29%;

}

#discord {
    padding-bottom: 2em;
}

#discordbg {
    display: flex;
    flex-direction: row;
    padding-top: .5em;
    padding-bottom: 2em;

}

#newslettercontainer {
    display: flex;
    flex-direction: row;
    padding-top: .5em;

}

#newsletterinput {
    width: 100%;
    border: 0.1em solid white;
    border-radius: 0.25em 0em 0em 0.25em;
    height: 3em;
    padding: 0.8em 0 0.8em .5em;
    text-transform: uppercase;
    outline: none;        
}

#newsletterinput:focus {
    background-color: black;
    color: white;
}

.flash {
    animation-duration: 1s;
    animation-name: flashanim;
    animation-iteration-count: once;
}

@keyframes flashanim {
    0% { filter: brightness(1); }
    40% { filter: brightness(2); }
    55% { filter: brightness(1); }
    70% { filter: brightness(3); }
    100% { filter: brightness(1); }
}

#newsletterbutton:hover {
    transform: scale();
}

@keyframes huerotate {
    from {
    filter: hue-rotate(0deg);
    }

    to {
    filter: hue-rotate(360deg);
    }
}

@keyframes rotate {
    from {
    transform: rotate(0deg);
    }

    to {
    transform: rotate(360deg);
    }
}

#blindhacklogo {
    transition: all 0.4s;

    margin-bottom: .75em;
    height: 3em;
    filter: saturate(0) brightness(5);
}

#blindhacklogo:hover {
    filter: saturate(1) brightness(1);

    animation-duration: 2s;
    animation-name: huerotate;
    animation-iteration-count: infinite;  
}

#screenshothint {
    transition: all 1s;

    font-style: italic;
    font-size: 0.5em;
}

@media only screen and (max-width: 1000px) {
    #featurestitle {
        font-size: 4.5em;
        margin: 0.2em auto 0.3em auto;
    }

    #summarytext {
        width: 90%;
    }

    .featurebox {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin: 2em;        
    }

    .featuretextbox{
        margin-top: 2em;
        align-items: center;
        margin-right: auto;
    }
    .featuretext {
        text-align: center;   
    }

    .screenshotcontainer {        
        width: 50em;
        height: 28em;
    }

    .screenshot {
        transform-origin: center;
        margin: 0em;
        width: 50em;
        height: 28em;
    }

    .featuretitle {
        font-size: 2em;
        text-align: center;
        width: 80%;
    }

    #newsletter {
        font-size: 1.8em;
        text-align: center;
    }

    #newsletterinput {
        height: 2.4em;
        font-size: 1em;
    }

    #newsletterbutton {
        height: 2em;
    }

    .footer {
        font-size: 1.5em;
    }

    #getnowbutton {
        left: 54%;
        top: 59%;
        font-size: 2em;
    }

}


