/* BASE ELEMENTS*/

html {
}

body {
    background: black;
    background-image: url("media/stars.png");
    background-size: cover;
    background-position-y: bottom;
    font-family: Rodin, sans-serif;
    position: relative;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    width: 100%;
    height: 72px;
    font-size: 4em;
    margin: -10px 0;
    padding: 0;
    font-style: italic;
}

h2 {
    font-size: 3em;
    height: 72px;
    margin: 0;
    font-style: italic;
    width: 100%;
}

a {
    text-decoration: none;
}
p > b{
    text-shadow:1px 1px 0px black;
}
@font-face {
    font-family: Bullet;
    src: url("media/Bullet Regular.ttf") format('truetype');
}
@font-face {
    font-family: Rodin;
    src: url("media/FOT-RodinNTLG Pro DB.otf") format('opentype');
}
@font-face {
    font-family: Motiva;
    src: url("media/MotivaSansRegular.ttf") format('truetype');
}
@font-face {
    font-family: Overload;
    src: url("media/Overload.otf") format('opentype');
}

.bullet {
    font-family: "Bullet";
    font-optical-sizing: auto;
}
.overload {
    font-family: "Overload";
    font-optical-sizing: auto;
}

/* COMMON STYLES */
.inter-black {
    /*// <weight > : Use a value from 100 to 900
                /* <uniquifier > : Use a unique and descriptive class name*/
    font-family: "Inter";
    font-optical-sizing: auto;
    font-weight: 900;
}

.inter-bold {
    /*// <weight > : Use a value from 100 to 900
                /* <uniquifier > : Use a unique and descriptive class name*/
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
}

.iceberg-regular {
    font-family: "Iceberg", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.shiny-white {
    background: linear-gradient(#FFFFFF 50%, #FFB47F 60%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
    
}

.font-size-3em {
    font-size: 3em;
}

.shiny-orange {
    background: linear-gradient(#FF9923, #FF7918);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
}

.button {
    transition: transform ease-in-out 0.5s;
}

    .button:hover {
        filter: contrast(110%);
        transform: scale(105%);
    }

/* STRUCTURE */
.content {
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

    .content > div {
        transition: position linear 1s;
    }
/* LEFT */
.left {
    width: 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0 10px;
}

    .left > p {
        color: white;
        text-align: right;
        width: 70%;
        margin: 0;
        display: none;
    }

.company-button {
    background: linear-gradient(#FE7817, #EE5608);
    border-radius: 20px;
    width: 180px;
    display: flex;
    margin: 5px 0;
}

    .company-button > p {
        font-size: 1.5em;
        margin: 10px auto;
        text-align: center;
        letter-spacing:0.1rem;
    }

.company-logo {
    width: 4vw;
    height: 4vw;
    max-width:30px;
    max-height:30px;
    transform: scale(200%);
    margin: auto 10px;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.5));
}

.selected {
    width: 220px;
}

    .selected > .company-logo {
        transform: scale(275%);
        margin-right: 30px;
    }

.line-break {
    width: 70%;
    margin: 10px 0;
}


.center {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    position: relative;
    align-items: center;
}

.right {
    width: 0;
}

.poster {
    width: 100%;
    margin-bottom: -40px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px 50px 0 0;
}

#skijoring-logo {
    position: absolute;
    width: 560px;
    height: auto;
    top: 160px;
    margin-left: 20vw;
    transition-property: top;
    transition-duration: 0.1s;
    transition: top .1s, transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

    #skijoring-logo:hover {
        transform: scale(110%);
        filter: drop-shadow(5px 5px 5px black);
    }

.slant-button-row {
    display: flex;
    position: relative;
    margin: 0 auto 28px auto;
    justify-content: center;
}

.slant-button {
    background: black;
    border: 4px solid white;
    height: 140px;
    text-align: center;
    margin: 0 5px;
    transform: skewX(-17deg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

    .slant-button > p {
        padding: 0;
        line-height: 0.8em;
        transform: skewX(17deg);
        margin:0 15px;
        
    }

    .slant-button:hover {
        transform: skewX(-17deg) scale(105%);
    }


.small-slant {
    
    background-size: cover;
    max-width: 160px;
    color: white;
}

    .small-slant > p {
        font-size: 1.8em;
        line-height: 1em;
        text-shadow:0 0 5px black;
    }


.high-res-7 {
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0, 255)), url("media/HighresScreenshot00005.png")
}
.high-res-12 {
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0, 255)), url("media/HighresScreenshot00012.png")
}
.big-slant {
    background: linear-gradient(#FE7817, #EE5608);
    max-width: 500px;
}

.title-row {
    display: flex;
    min-height: 50px;
    margin-bottom: 6px;
}
.title-row-large{

}
.title-row-small{
    height:60px;
}

.title-img {
    max-width: 100%;
    max-height: calc(100% - 20px);
    width: fit-content;
    margin-top: 12px;
    margin-bottom: 8px;
}

.three {
    margin-top: 5px;
}

.two {
    margin-top: 20px;
}

.one {
    margin-top: 35px;
}

.diagonal-text {
    display: flex;
    line-height: 2em;
    display: none;
}

    .diagonal-text > h3 {
        background: linear-gradient(#6B687A, #504D5D);
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        font-size: 2em;
        height: 70px;
        margin-left: 5px;
        margin-right: 5px;
        -webkit-text-stroke: 1px rgba(255,255,255,0.5);
        font-style: italic;
    }

.text-box {
    width: calc(100% - 48px);
    background: linear-gradient(#FFFFFF, #D2DDEC);
    border: 4px solid gray;
    border-radius: 20px;
    padding: 0 10px;
    margin: 10px 0;
}

    .text-box > p {
        margin: 0 0 10px 0;
        font-size: 1.32em;
        line-height: 1.32em;
    }

        .text-box > p + p {
            margin: 20px 0 10px 0;
        }

.definition-box {
    border: 4px solid #F8EE44;
    border-radius: 20px;
    padding: 5px;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

    .definition-box > p {
        margin: 0;
        font-style: italic;
        font-size: 1.6em;
        line-height: 1.3em;
    }

    .definition-box > h4 {
        margin: 0 auto;
    }

    .definition-box > .slant-button {
        margin-left: 40px;
    }


.characters-side {
    margin: 0 auto;
    text-align: center;
}

    .characters-side > img {
        height: 154px;
        width: auto;
    }

#sound-fun {
    height: 60px;
    padding: 0;
    margin: 10px 40px 0 40px;
    ;
}

    #sound-fun > h4 {
        font-size: 50px;
        margin: -7px 20px;
        font-style: italic;
    }

    #sound-fun > .slant-button {
        width: 350px;
        height: 80px;
        position: relative;
        top: -0px;
    }

.float-right {
    float: right;
    margin-left: 10px;
}

.float-left {
    float: left;
    margin-right: 10px;
}

.text-box-screenshot {
    height: 100%;
    max-height: 12em;
    width: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}


.mobys-wall-top {
    background-color: #3F8CA9;
    margin: 20px 0 0 0;
    color: white;
    text-align: center;
}

    .mobys-wall-top > p {
        margin: 0;
        font-size: 3em;
    }

.mobys-wall-main {
    background-color: #376E83;
    padding: 20px;
    margin: 0 20px;
}

.board {
    background-color: #B68C5A;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 15px 5px 40px 5px;
    width: 634px;
}

.embedded-post {
    width: 47%;
    min-height: 441px;
}

.see-more-row {
    display: flex;
    flex-direction: column;
    align-items: end;
    position: relative;
    top: -60px;
    height: 0;
}

.mobys-wall-legs {
    background-color: #215264;
    height: 70px;
    margin: 0 80px;
}

.ptarmigan-row {
    width: 90%;
    max-width: 1000px;
    margin: 150px auto 0 auto;
    display: flex;
}

.ptarmigan-left {
    height: 100%;
    max-width: 800px;
    width: 80vw;
}

#ptarmigan {
    max-height: 200px;
    height: 10vw;
    width: auto;
}

.snowbank {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0px;
    z-index: -510;
}

#music-player {
    width: 200px;
    background: #376E83;
    padding: 10px;
    border-radius: 20px;
    position: absolute;
    bottom: 18vw;
    left: 4vw;
    transform: rotate(-10deg);
}

#music-screen {
    background-image: url("media/MusicScreenBackground.jpg");
    background-size: 100% 100%;
    border-radius: 10px;
    border: 4px solid #225A70;
    text-align: center;
}

#music-duration-row {
    display: flex;
    font-size: 1.5em;
    justify-content: center;
}

    #music-duration-row > p {
        margin: 0 2px;
    }

#music-title {
    margin: 0;
}

audio {
}

.music-buttons-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.music-button {
    border: none;
    margin: 0 2px;
    font-size: 0;
}

button:hover {
    filter: brightness(95%);
}

button:focus {
    filter: brightness(80%);
    transform: scale(95%);
}

#music-play-button {
    background: url("media/PlayButton.png") center;
    width: 35px;
    height: 70px;
    background-size: contain;
}

#music-pause-button {
    background: url("media/PauseButton.png") center;
    width: 35px;
    height: 70px;
    background-size: contain;
}

#music-prev-button {
    background: url("media/PreviousButton.png") center;
    width: 35px;
    height: 35px;
    background-size: contain;
}

#music-next-button {
    background: url("media/NextButton.png") center;
    width: 35px;
    height: 35px;
    background-size: contain;
}

.music-player-snow {
    width: 100%;
    height: auto;
    position: absolute;
}

#ref {
    position: absolute;
    z-index: -50;
    opacity: 100%;
    left: calc(100px + 50vw - 960px);
    display: none;
}

.scrolling-bar {
    height: 30px;
    margin: 0px auto 12px auto;
    width: 98vw;
    max-width: 1690px;
    overflow: hidden;
    position: relative;
}

.scrolling-offset {
    overflow: hidden;
    background: yellow;
    position: relative;
    height: 30px;
}

.scrolling-content {
    display: flex;
    animation: my-animation 5s linear infinite;
    position: absolute;
}

    .scrolling-content > p {
        line-height: 0;
        white-space: nowrap;
    }


.font-size-4em {
    font-size: 4em;
}

#skijor-title {
    margin: 10px 0;
    max-height: 72px;
    width: auto;
}

.poster-wrapper{
    position:relative;
    width:100%;
}
#logo{
    position:absolute;
    width:50%;
    right:5%;
    bottom:5%;
    filter:saturate(0%);
    transition:all 0.5s;
}
#logo:hover {
    transform: scale(110%);
    filter: saturate(0%) drop-shadow(5px 5px 5px black);
}

.social-button-row{
    display:flex;
    max-width:900px;
    width:100%;
    z-index:50;
    position:relative;
    margin-bottom:50px;
}
.social-button {
    background-color: white;
    border: 4px solid black;
    outline: 2px solid white;
    padding: 10px;
    border-radius: 4px;
    width: 33%;
    text-align: center;
    margin: 0 5px;
    font-size: 2em;
    color: black;
    font-family: Bullet;
}
#who-we-are{
    color:white;
    border:4px solid white;
    border-radius:20px;
    padding:5px 10px;
}
    #who-we-are > h2 {
        font-family: Overload;
        font-style:normal;
    }
#who-we-are > h3{
    margin:0;
    
}
#who-we-are > p{
    margin:0;
    line-height:1.32em;
}
#amazing-game-title {
    color: white;
    font-family: Overload;
    font-style: normal;
}
.about-center{
    max-width:900px;
}







@keyframes my-animation {
    from {
        left: 0;
    }

    to {
        left: -1510px;
    }
}

@keyframes ptarmigan-click {
    25%, 75% {
        transform: scale(100%);
    }

    50% {
        transform: scale(130%);
    }
}

@media(max-width:1200px) {
    .scrolling-offset {
        margin-left: 0;
    }

    .content {
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        width: calc(100vw - 80px);
    }

    .left {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        padding: 0 30px;
        margin-bottom: 5px;
    }

        .left > hr {
            display: none;
        }

        .left > p {
            display: none;
        }

    .company-button {
        width: auto;
        margin: 0 5px;
    }

        .company-button > p {
            white-space: nowrap;
            margin: 10px 10px;
            font-size: 2.5vw;
        }

    .company-logo {
        
        z-index: 50;
    }

    .selected {
        padding: 5px 0;
    }

    .center {
        width: 100%;
        align-items: center;
    }

    .board {
        min-width: 400px;
        max-width: 80vw;
    }

    .mobys-wall-top > p {
        min-width: 500px;
        margin: 0 auto;
        max-width: 80vw;
    }

    #skijoring-logo {
        width: 50vw;
        top: calc(15vw);
    }

    .slant-button-row {
        width: 80%;
    }

    .slant-button {
        height: 80px;
    }

    .small-slant > p {
        font-size: min(2em, 4vw);
    }

    .big-slant > p {
        font-size: min(3em, 6vw);
        
    }

    .small-slant {
        width: 30%;
    }

    .big-slant {
        width: 40%;
    }

    .text-box {
        width: calc(100% - 100px);
    }

    #skijor-title {
        max-width: 100%;
        height: auto;
    }

    .embedded-post {
        width: 95%;
    }

    #sound-fun > h4 {
        font-size: 1.8em;
        margin: 0 auto;
        width: 100%;
    }

    #sound-fun > .slant-button {
        width: 65%;
        margin-left: 20px;
        top: 0px;
    }
}

@media(max-width:600px) {
    .center {
        padding-bottom: 220px;
    }

    #skijoring-logo {
        top: calc(10vw);
    }

    .text-box-screenshot {
        display: none;
    }

    .title-img {
        margin-left: auto;
        margin-right: auto;
    }

    .characters-side > img {
        width: 80vw;
        height: auto;
    }

    .selected > .company-logo {
        margin-right:10px;
    }

    #mobys-wall {
        display: none;
    }
    .social-button{
        font-size:1em;
    }
    #who-we-are > h2 {
        font-size: 2em;
        height: auto;
    }
    #amazing-game-title {
        font-size: 2em;
        height: auto;
    }
    
}