html {width:100%;}
body {width:100%;}

body {
    background-image: url('images/bg.JPG');
    background-repeat: no-repeat;
    background-position: top left;
    background-attachment: absolute;
}

/*----header-----*/

.header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: center;
    position: fixed;     
    z-index: +1;    
    
    top: 0%;
    left: 0%;    
    height: 20%;
    width: 100%;
    min-height: 110px;
       
    color: rgb(255, 30, 50);
    font-family: "Helvetica";
    background-color: ghostwhite;
}


.header > div {
    display: flex;
    flex-flow: row;
    justify-content: center;
    text-align: center;
    
    margin-top: 5px;
    letter-spacing: 3px;   
}

.header_link {
    //margin-top: 50px;
    font-size: 180%;
    letter-spacing: 0px;   
    
    color: darkred;
}


.header_link:link {text-decoration: none;}
.header_link:visited {text-decoration: none;}
.header_link:hover {color: red;}
.header_link:acitve {text-decoration: none;}



/*----photo-----*/

.photo_container {
    display: flex; 
    flex-flow: row;
    align-items: center;
    justify-content: center;
    position: fixed;
    /*background-size: cover;*/
    
    top: 20%;
    left: 0%;
    height: 80%;
    width: 100%;
    
    border-bottom: 10%;    
    background-color: rgb(255,0,0, 0.8);
    
    animation: fade 3s normal forwards;
}

.photo {
    display:absolute; flex-shrink: 0;  
    height: 3000px;
    animation: photo_in 3s normal forwards;
    
    /*height: 150%;*/
    background-color: rgb(0,255,0, 0.0);
}


/*----animation-----*/


@keyframes fade{
    0% {background-color: rgb(255,0,0, 0.0);}
    10% {background-color: rgb(255,0,0, 0.0);}
    20% {background-color: rgb(255,0,0, 0.2);}
    50% {background-color: rgb(255,0,0, 0.6);}
    100% {background-color: rgb(255,0,0, 0.8);}
}

@keyframes position {
    0% {height: 3000px;}
    50% {height: 2500px;}
    100% {display:flex; height: 150%;}
}

@keyframes photo_in {
    0% {opacity: 0; height: 3000px;}
    50% {opacity: 0.2; height: 2000px;}
    100% {opacity: 1; height: 150%;}
}


/*----icons-----*/

.icon_container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: fixed;
    z-index: +1;  
    
    top: 20%;
    left: 0%;
    height: 70%;
    width: 45%;
      
    background-color: rgb(0,255,0, 0);
}

.icon_container > div {
    display: flex;
    flex-flow: row-reverse;
    align-items: right;
    
    left: 0%;    
    height: 12%;
    margin-top: 15px;
    margin-bottom: 15px;
    
    background-color: rgb(255,255,0, 0);
}

.icon_container > div > div {
    display: flex;
    flex-flow: row-reverse;
    
    height: 100%;
    width: 30%;
   
    background-color: rgb(255,255,255, 0);
}

.icon_container > div > div > a {
    display: flex;
    flex-flow: row-reverse;
    
    height: 100%;
    width: 100%;
   
    background-color: rgb(255,255,255, 0);
}
   
.link_container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: fixed;
    z-index: +2;  
    
    top: 20%;
    right: 10%;
    height: 70%;
    width: 45%;
      
    background-color: rgb(0,0,100, 0);
}

.link_container > div {
    display: flex;
    flex-flow: column;
    align-content: center;
    justify-content: center;
    
    border-radius: 0px;
    height: 12%; 
    width: 3%;
    margin-top: 15px;
    margin-bottom: 15px;
    
    color: white;
    background-color: rgb(255,0,0, 1);
    opacity: 0;
    
    animation: fade_delay 1.5s normal forwards;
    animation-delay: 1.5s;
}

.link_container > div > a {
    color: rgb(255, 30, 50); text-shadow: 2px 2px 10px white, 3px 3px 5px white;    
    margin-left: 30px; font-family: "Helvetica"; display: flex; flex-flow: column; height: 100%; width: 1000%; justify-content: center; }
.link_container > div > a:link {text-decoration: none;}
.link_container > div > a:visited {text-decoration: none;}
.link_container > div > a:hover {
    color:ghostwhite; font-family: "Helvetica"; font-size: 100%;
    background-color:rgb(255,0,0, 1); text-shadow: none; 
    border-radius: 0px 0px 20px 0px; padding-left: 30px; padding-right: 60px;  line-height: 1.25; margin-left: 0px;}
.link_container > div > a:acitve {text-decoration: none; color: white;}


/*----hover anim-----*/


@keyframes fade_delay {
    0% {opacity: 0; background-color: ghostwhite;}
    100%{opacity: 1;}
}




/*----bottom-----*/

.bottom {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: +2;
    
    bottom: 0%;
    left: 0%;  
    height: 10%;
    width: 100%;
    
    background-color: ghostwhite;
}

.bottom > div {
    font-size: 70%;
    font-family: Courier New;
    color: darkred;
}

.psifiakes_lyseis {
    margin-left: 20px;
    height: 40px;
    width: 100px;
    background-image: url("svg/logo.svg");
    background-size: contain;
}

/*.psifiakes_lyseis:hover {opacity: 0.5;}*/

/*--------- responsive -----------*/

@media only screen and (max-width: 1000px), screen and (max-height: 600px) {
       
    .header {
        height: 20%;
        font-size: 120%;
    }
    
       
    .photo_container {
        display: none;
    }
    
   
    .icon_container {
        top: 25%;
        height: 65%;
    }
    
    .link_container {
        top: 25%;
        height: 65%; 
    }
    
     .link_container > div {
        animation-delay: 0s;
    }
    /*.link_container > div > a:hover { font-size:50%; }*/
    
    .bottom {
        position: absolute;
        top: 90%;
        height: 10%;
        z-index: 0;
    }

}


