@font-face {
  font-family: 'yorgoco_typebold';
  src: url('assets/fonts/yorgocotypeweb-bold.eot');
  src: url('assets/fonts/yorgocotypeweb-bold.eot?#iefix') format('embedded-opentype'),
  url('assets/fonts/yorgocotypeweb-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body{
  margin: 0;
  width: 100vw;
  height: 100vh;
  font-family: "yorgoco_typebold";
  color: #00184e;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  box-sizing: border-box;
}

a{
  text-decoration: none;
  color: #00184e;
}

#main{
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  width: 100%;
  height: 100%;
}

#header{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 14.4px;
  width: 100%;
}

#header .left{
  display: flex;
  line-height: 17.9px;
}

#header .left div{
  margin: 0 0 0 55px;
}

#header .right{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  font-size: 23px;
}

#header img{
  width: 410px;
}

#navigate{
  width: 100%;
  height: calc(97% - 65px);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
}

#upBorder img,#bottomBorder img{
  height: 100%;
}

#leftBorder img,#rightBorder img{
  width: 100%;
  height: 32px;
}

#upBorder{
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 50px;
}

.upBorder{
  background-image: url(assets/img/pattern.svg);
}

.leftBorder{
  background-image: url(assets/img/pattern-left.svg);
}

.rightBorder{
  background-image: url(assets/img/pattern-right.svg);
}

.bottomBorder{
  background-image: url(assets/img/pattern-bottom.svg);
}

#leftBorder{
  display: flex;
  flex-wrap: wrap;
  width: 50px;
  height: auto;
}

#rightBorder{
  display: flex;
  flex-wrap: wrap;
  width: 50px;
  height: auto;
}

#bottomBorder{
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 50px;
}

#map{
  display: flex;
  height: inherit;
  width: 100%;
}

#frame{
  display: flex;
  overflow: hidden;
  justify-content: center;
  width: calc(100% - 100px);
}

#frame svg:nth-child(2){
  display: none
}

#container{
  height: 100%;
}

@media (max-width: 900px){

  body{
    padding: 23px;
  }

  #header{
    display: flex;
    flex-wrap: wrap;
  }

  #header img{
    width: 100%;
  }

  #header .left{
    display: block;
  }

  #header .left div{
    margin: 20px 0 0 0;
    font-size: 5.3vw;
    line-height: 6.6vw;
  }

  #header .right{
    align-items: flex-start;
    font-size: 5.3vw;
    margin: 20px 0 0 0;
  }

  #navigate{
    align-content: flex-end;
  }

  #map{
    height: calc(100% - 100px);
    justify-content: space-between;
  }

  #container{
    overflow: scroll;
  }

  #frame svg:nth-child(1){
    display: none;
  }

  #frame svg:nth-child(2){
    display: flex;
    width: 320vw;
    height: auto;
  }

}

@media (max-width: 900px) and (max-height:400px){

  #header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 14.4px;
    width: 100%;
  }

  #header .left{
    display: flex;
    line-height: 17.9px;
    margin: 0;
  }

  #header .left div{
    margin: 0;
    font-size: 8px;
    line-height: 9px;
    padding: 3px 0 0 23px;
  }

  #header .right{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    font-size: 14px;
    margin: 0;
  }

  #header img{
    width: 230px;
  }

  #frame svg:nth-child(0) {
    display: flex;
    width: 186vw;
    height: auto;
  }
}

/* @media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (-webkit-min-device-pixel-ratio: 1.5) {

#container{
overflow: scroll;
}

#frame svg:nth-child(1){
display: none;
}

#frame svg:nth-child(2){
display: flex;
width: 222vw;
height: auto;
}

} */

@media (min-width: 1320px){
  #frame{
    position: relative;
  }
  #compass{
    position: absolute;
    top: 0;
    right: 0;
    width: 170px;
    margin: 20px;
  }
  #compass img{
    width: 100%;
  }
  #greece{
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    margin: 237px 20px 0 0;
  }
  #greece img{
    width: 100%;
  }
}



@media (max-width: 350px){
  #upBorder,#bottomBorder{
    height: 35px;
  }
  #leftBorder,#rightBorder{
    width: 35px,
  }
  #frame{
    width: calc(100% - 77px);
  }
}
