@font-face {
  font-family: 'forsvarsmaktenSansStencil';
  font-weight: normal;
  src: url("./fonts/ForsvarsmaktenSans-Stencil.otf") format("opentype");
}

@font-face {
  font-family: 'FMSans';
  font-weight: 300;
  src: url("./fonts/FMSansBeta02-Regular.otf") format("opentype");
}


@font-face {
  font-family: 'FMSans-Bold';
  font-weight: normal;
  src: url("./fonts/FMSansBeta02-Bold.otf") format("opentype");
}


html,body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 100%;
    font-family: "FMSans";
    background-color: #182845;
}

#contentContainer{
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 470px;
    margin: 0 auto;
    /*padding-left: 20px;
    padding-right: 20px;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;*/
}

h1, h2{
    font-family: 'forsvarsmaktenSansStencil';
    margin: 0;
    padding: 0;
    font-size: 2.5em;
}

.contentItem{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.contentItemInner{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.headerFont{
    font-family: 'forsvarsmaktenSansStencil';
}

.blueBg{
    background-color: #182845;
}

.logoBig{
    position: relative;
    display: block;
    width: 140px;
    height: auto;
    margin: 0 auto;
}

.logoSmall{
    position: relative;
    display: block;
    width: 70px;
    height: auto;
    margin: 0 auto;
}

.siteButton{
    text-decoration: none;
    position: relative;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
    background-color: #ffea00;
    color:#182845;
    font-family: "FMSans-Bold";
    font-size: 1.3em;
    border:none;
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    /*font-weight: 700;*/
    text-transform: uppercase;
}

.whiteButton{
    background-color: #fff;
    color:#182845;
}

.siteButton div{
    margin-top: 4px;
}

.arrowButton{
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}

.arrowButton img{
    height: 18px;
    align-self: center;
    margin-left: 6px;
}

.topRow{
    /* background-color: #ffea00; */
    height: 80px;
    position: relative;
    display: flex;
    
}

.footer{
   -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
    padding-bottom: 40px;
}

#homeStartBtn{
    margin-top: 60px;
}

.homeHeading{
    margin-bottom: 40px;
}

.iconContainer{
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    
}

#gameInfoPage .iconContainer{
    margin-top: 40px;
}

.iconItem{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    width: 70px;
    height: 70px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;
    border-style: solid;
    border-width: 2px;
    border-color: #fff;
}

.iconItem img{
    width: 80%;
    height: auto;
}

.iconItem.active{
    background-color: #fff;
}

.iconItem.solved{
    background-color: #52AF61;
    border-color: #52AF61;
    /*background-color: #aaaaaa;
    border-color: #aaaaaa;*/
}


.iconTime{
    margin-top: 10px;
}

.homeInfoText{
    width: 80%;
}

.homeInfoText, .iconTime{
    font-size: 1em;
}

.startButton{
    margin-top: 40px;
    margin-left: 20px;
}


.homeInfoText .startButton{
    margin-left: 0px;
    margin-bottom: 20px;
}

#gameHeading{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.8em;
}



#gameAreaContainer{
    position: relative;
    width: 100%;
}

.gameArea{
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    margin-top: 20px;
    /* height: 300px; */
}

.gameArea canvas{
    
}

.carreerLink:not(.siteButton.carreerLink){
    color: #ffea00;
    position: relative;
    display: block;
    margin-top: 40px;
}



#gameOverHeading{
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 4.5em;
    margin-bottom: -10px;
    
}

#gameOverSubHeading{
    font-size: 1.8em;
    margin-bottom: 40px;
}

#playAgainBtn{
    margin-top: 20px;
}

.infoBtn{
    position: relative;
    width: 40px;
    height: auto;
    margin-left: auto;
    cursor: pointer;
}


.backArrowBtn{
    position: relative;
    width: 40px;
    height: auto;
    cursor: pointer;
    
}

.sidePadding{
    padding-left: 20px;
    padding-right: 20px;
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;
}

#gameCountDown{
    font-family: 'forsvarsmaktenSansStencil';
    font-size: 10em;
    text-align: center;
    color: #ffea00;
}



#counterPage .homeInfoText{
    width: 100%;
    height: 50vh;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.hidden{
    display: none;
}