@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400i,700&display=swap&subset=greek');

::selection{background-color:#1d23ab; color:#fff !important;}
::-moz-selection{background-color:#1d23ab; color:#fff !important;}
*{ 
  margin: 0;
  padding: 0;
}
body{
  font-family: 'Roboto Condensed', sans-serif;
  color: #111;
  font-size: 16px;
  line-height: 1.6;
}
.page{
  overflow: hidden;
}
img{
  display: block;
  max-width: 100%;
}
h1{
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  font-size: 28px;
}
p + h2{
  margin-top: 30px;
}
h2{
  font-size: 18px;
  margin-bottom: 10px;
}
p{
  margin-bottom: 10px;
}
p:last-of-type{
  margin-bottom: 0;
}
a{
  color: #1d23ab;
  text-decoration: none;
  transition: all 300ms ease-out;
}
a:hover{
  color: #333;
}

/* header */
header{
  text-align: center;
  padding: 30px 20px 0;
  position: relative;
  z-index: 5;
}
.front .logo{
  width: 170px;
}
.logo{
  display: block;
  width: 100px;
  margin: 0 auto;
}
header a,
.timgs a{
  color: #111;
}
header a:hover,
.timgs a:hover{
  color: #1d23ab;
}
.menu{
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.menu li{
  list-style: none;
  position: relative;
}
.menu a{
  padding: 10px 15px;
  display: block;
}
.menu li li a{
  padding: 2px 5px;
  font-size: 14px;
  white-space: nowrap;
}
.menu li ul{
  position: absolute;
  display: none;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  background-color: #fff;
}
.menu li:hover ul{
  display: block;
}
.lang{
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  justify-content: right;
  display: none;
}
.lang li{
  list-style: none;
}
.lang a{
  display: block;
  padding: 5px;
  font-size: 14px;
  line-height: 1;
}
.lang a.actlang,
.menu a.act{
  color: #1d23ab;
}

/* main */

.container{
  text-align: center;
  padding: 20px 20px 100px;
}
.projects{
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.texts{
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.imgs{
  margin: 20px auto 0;
}
.imgs img{
  display: inline-block;
  margin-top: 20px;
}
.goback{
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: 700;
  font-size: 22px;
  z-index: 2;
}
.timgs{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.timgs a{
  display: block;
  width: 50%;
  box-sizing: border-box;
  padding: 0 10px 20px 10px;
  max-width: 500px;
  box-sizing: border-box;
}
.timgs h2{
  font-weight: 400;
  padding-top: 5px;
}
.timgs a div{
  overflow: hidden;
}
.timgs a img{
  transition: all 1s ease-out;
}
.timgs a:hover img{
  transform: scale(1.02);
}


.navicon{
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  transition: all 300ms ease-out;
  opacity: 0.8;
  width: 50px;
  height: 40px;
  overflow: hidden;
  cursor: pointer;
  z-index: 100;
}
.navicon::before,
.navicon::after{
  content: " ";
}
.navicon::before,
.navicon::after,
.navicon span{
  position: absolute;
  display: block;
  left: 20%;
  background-color: #000;
  width: 60%;
  height: 10%;
  transition: all 300ms ease-out;
}
.navicon::before{
  top: 20%;
}
.navicon span{
  top: 45%;
}
.navicon::after{
  top: 70%;
}
.openmenu .navicon::after,
.openmenu .navicon::before{
  top: 25%;
  left: 47%;
  background-color: #ed1c24;
  width: 8%;
  height: 50%;
  transform: rotate(45deg);
  transform-origin: center center;
}
.openmenu .navicon::after{
  transform: rotate(-45deg);
}
.openmenu .navicon::before{
  transform: rotate(45deg);
}
.openmenu .navicon span{
  width: 0;
}
.navicon:hover{
  opacity: 1;
}


@media screen and (max-width: 1200px) {
  header{
    padding-bottom: 30px;
  }
  .navicon{
    display: block;
  }
  .menu{
    position: absolute;
    display: block;
    top: 60px;
    right: -500px;
    transition: all 500ms ease-out;
  }
  .openmenu .menu{
    right: 20px;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    background-color: #fff;
    padding: 10px;
  }
  .menu li ul{
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    padding: 0;
    border-bottom: 1px solid #ccc;
  }
}
@media screen and (max-width: 700px) {
  .timgs{
    display: block;
  }
  .timgs a{
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
  h1{
    font-size: 22px;
  }
  h2{
    font-size: 19px;
  }
  body{
    font-size: 15px;
  }
}