
*{box-sizing: border-box;}
.right {float: right;}
.left {float: left;}
.clear{clear: both;}

/* CSS Variables*/
:root{
  --primary:#ddd;
  --light: #fff;
  --deco:#003366;
  --shadow:0 1px 5px rgba(104, 104, 104, 0.8);
}

body, html {
  height :100%;
   

  background: linear-gradient(90deg, rgb(250, 245, 250) 0%, rgb(241, 241, 253) 35%,
  rgb(227, 228, 229) 100%);
   margin: 10px;
    margin-top:10px;
    padding: 0;

  font-family: 'Open Sans', sans-serif;
}




body{
  width:900px;
  margin : 0 auto;
  padding :0;
  display :flex;
  flex-direction: column;
}
.content{
  flex : 1 0 auto;
}
.arxikoKeimeno{
  padding:20px 15px 20px 15px;

}

.footer{
text-align: center;
height:140px;
background: var(--deco);
padding:5px;
padding-top:15px;
width:900px;
color:white;
font-size: 23px;
   
}



.main-nav{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;

}

.list{
  text-align: left;
}

header{
  display:flex;
  flex-direction: column;
}

.logoLine{
  display:flex;
  
  justify-content: space-evenly;
  align-items: center;
  margin:19px;
 
  
}
.logo{
  width:270px;
  height:auto;
}


nav {
  text-decoration: none;
  display: block;
  padding: 0;
  
  /* transition: .3s linear;*/
}
.main-nav{
  background:  var(--deco);
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  

}

.main-nav > li {
  float: left;
  position: relative;
  border-left: 1px solid black;
  text-transform: uppercase;

}
.main-nav > li > a:hover {
  color:yellow;
}
.main-nav > li:first-child {border-left: 0;}



.main-nav li a{
  background:  var(--deco);
  color:white;
  text-decoration:none;
  display:block;
  padding:20px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 20px 30px;
  font-size: 12px;
}





.main-nav > li > a.active
 {color: rgb(249, 168, 109);}
.submenu a:hover {
  color: black;
  background: yellow;
}
.main-nav .fa,
.submenu .fa {
  margin-left: 5px;
  color: inherit;
}

#wrapper {
  
  background-color: white;
  width: 100%;
  height: 100%;
  min-height: 700px;
  }

  .imageWrapper{
    width: auto; 
    height: 100%;
  }
  .image{
    max-width: 100%;
    width: 700px;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .video{
    max-width: 100%;
    width: 700px;
  }
  
  .boxClass1{
    grid-column: 1/5;
  }
  .boxClass2{
    grid-column: 1/3;
  }
  .boxClass3{
    grid-column: 3/5;
  }
  .boxClass4{
  background: yellow;
  }
  .container{
  
  padding: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr  ;
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  /*grid-auto-rows: 120px;*/
  grid-auto-rows: minmax(100px, auto);
  /*font-weight: bold;*/
  
  }
  .thirdPage{
    margin-bottom: 20px;
  }
  
  .secondPage{
   
    text-align: left;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 4em;
    grid-row-gap: 2em;
    /*grid-auto-rows: 120px;*/
    grid-auto-rows: minmax(100px, auto);
    /*font-weight: bold;*/
    margin-bottom: 20px;
  }
  
  .secondPage>div{
    border-left: solid 4px #d01b28;
    padding-left: 16px;
  
  
  }
  .secondPage>div:nth-child(odd){
    border-left: solid 4px #04206a;
    padding-left: 16px;
  }
  #title{
    grid-column: 1/4;
    text-align: center;
    border-left:  none;
  }
  
  .container >div{
  
    background: #d0d7d7;
    padding: 1em;
    color:black;
  }
  .container >div:nth-child(odd){
    background: #d0d7d7;
    color:black;
  }
  
  .container >div:hover{
    background: #d01b28;
    padding: 1em;
    color:yellow;
  }
  .container >div:nth-child(odd):hover{
    background: yellow;
    color:#d01b28;
  }
  .container h3, p{
    text-align: left;
  
  }
  .container a{
    text-decoration: none;
    color:inherit;
  }
  #imageSalsta{
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  table{
    margin-left: 40px;
    width: 900px;
    border: 1px solid black;
  }
   tr:nth-child(odd){
    background: white;
  }
  td {
    padding: 15px;
    border: 1px solid black;
  }
  #titlos{
  color:#d01b28;
  text-align: center;
  }
  
  p{
    text-align: left;
  }
  .box p{
  
      text-align: center;
  
  }
  .esoterikiEikona{
    width:500px;
    height:auto;
    padding-top:50px;
  }
  
  h1{
    text-align: center;
  }
  #epikoinonia{
  padding: 40px 40px;
  font-weight: bold;
  }

  #italic{
      font-style: italic;
      
  }
  
  h2{
    text-align: center;
    padding:10px;
  
  
  }
  article{
    text-align: center;
  }
  .boxes{
  
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 10px;
  
  
  
  }
  .noDecor{
    list-style-type: none;
  }
  .box{
    text-align: center;
  padding:10px;
  }
  
  @media (max-width:900px){
  .boxes{
    display: block;
  
  
  }
  }
  
  
  @media (max-width:500px){
  .boxes{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr;
  }
  }
  .box{
    text-align: center;
    line-height: 1.5;
  
  }
  
  input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
      border-color: #d01b28;
  }
  
  input[type=submit] {
    background-color: red ;
    color: white;
    padding: 12px 20px;
    font-size: 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  input[type=submit]:hover {
    background-color: yellow;
    color: black;
  }
  .cont {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  }
  label{
    float:left;
  }
  .flag{
    width: 40px;
  }
  
 

  
  
