html { 
  background: url('images/bg.JPG') no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}



/*----header-----*/

.header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: left;
    text-align: left;
    position: fixed;     
    z-index: +1;    
    
    top: 0%;
    left: 0%;    
    height: 20%;
    width: 100%;
       
    color: darkred;
    font-family: "Helvetica";
    background-color: ghostwhite;
}

.header > div {
    display: flex;    
    margin-left: 10%;
    margin-top: 5px;
    letter-spacing: 3px;   
}

.header_link {
    font-weight: 800;
    font-size: 180%;
    letter-spacing: 0px; 
    margin-left: 10%;
    
    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-reverse;
    align-items: center;
    justify-content: right;
    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: intro_0 1s normal forwards;
}

.photo {
    display: flex;    
    /*height: 150%;*/
}

/*----anim-----*/

@keyframes intro_0{
    0% {left: -100%; background-color: rgb(255,0,0, 0.0);}
    100% {left: 0%; background-color: rgb(255,0,0, 0.8);}
}

/*----icons-----*/

.icon_container {
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: fixed;
    z-index: +1;  
    
    top: 20%;
    left: 0%;
    height: 70%;
    width: 80%;
      
    background-color: rgb(0,255,0, 0);
    animation: intro_3 1s normal forwards;
}

@keyframes intro_3 {
    0% {opacity: 0;}
    60% {opacity: 0.0;}
    100% {opacity: 1;}
}


.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:  0%;
    height: 70%;
    width: 20%;
      
    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);
}

.link_container > div > a {color:rgb(0,0,0, 0); display: flex; flex-flow: column; height: 100%; width: 1200%; 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: 80%; background-color:rgb(255,0,0, 1);
                                 border-radius: 0px 0px 20px 0px; padding-left: 60px; padding-right: 60px;  line-height: 1.25;}
.link_container > div > a:acitve {text-decoration: none; color: white;}


/*----bottom-----*/

.bottom {
    
    flex-flow: row;
    text-align: left;
    position: fixed;
    z-index: +2;
    
    bottom: 0%;
    left: 0%;  
    height: 10%;
    width: 100%;
    
    background-color: ghostwhite;
    
}

.bottom > div {
    font-size: 100%;
    margin-top: 35px;
    margin-right: 10%;    
    
    font-family: Courier New;
    color: darkred;
}

.bottom_link {
    font-family: Courier New;
    color: darkred;
}

.bottom_link:link {text-decoration: none;}
.bottom_link:visited {text-decoration: none;}
.bottom_link:hover {color: red;}
.bottom_link:acitve {text-decoration: none;}


.homepage_link {
 position: fixed;
 justify-content: center;
 z-index: +4;
    
 left:10%;  
 height: 6%;
 width: 20%;
 bottom: 0%;
    
 font-size: 120%;  
 font-family: Helvetica;
 color: darkred;
    
 background-color: rgb(0,0,0, 0);
}

.homepage_link:link {text-decoration: none;}
.homepage_link:visited {text-decoration: none;}
.homepage_link:hover {color: red;}
.homepage_link:acitve {text-decoration: none;}




/*----text-----*/

.text_container {
    display:flex;
    flex-flow: column;
    position:fixed;
    z-index: +3;
    
    height: 50%;
    width: 50%;
    top: 30%;
    left: 7%;   
    
    border-radius: 0px 0px 40px 0px;
    background-color: rgb(0,0,0, 0.3);
    
    animation: intro_2 1s normal forwards;
}

@keyframes intro_2 {
    0% {left: -100%; background-color: rgb(0,0,0, 0.0);}
    100% {left: 7%; background-color: rgb(0,0,0, 0.3);}
}


::-webkit-scrollbar {
    width: 8px;
}

hr {height:0; width:99%; left:0%; line-height:0;}
h4 {line-height:0.1}

.text_container > div {
    margin-top: 1%;
    margin-left: 6%;
    margin-right: 6%;
    
    color: white;
    font-family: "Helvetica";
}

.text{
    display:flex;
    flex-flow: row;
}

.text > div {
    text-align: left;  
    
    float: left;
    width: 70%;
    height: 70%;
    overflow: auto;
    
    position: absolute;
    
    background-color: rgb(0,0,0, 0)
}

text > hr {height: 0.3px; width:99%; left:0%; line-height:0;}


::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
    margin: 10px 0;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,.75);
}


/*----moving_icon-----*/

.moving_icon {
    position: absolute;
    top: 65%;
    left: 70%;
    font-size-adjust: +4;
    
    animation: moving_icon 15s infinite;
}

@keyframes moving_icon {
    0% {opacity: 1;}
    20% {opacity: 1; transform: rotateY(0deg);}
    50% {opacity: 0.0; transform: rotateY(360deg);}
    80% {opacity: 1; transform: rotateY(0deg);}
    100% {opacity: 1;}
}
    

/*--------- responsive -----------*/

@media only screen and (max-width: 1000px), screen and (max-height: 600px) {
       
    .header {
        height: 25%;
        font-size: 100%;
        width: 100%;
    }
    
    .header_link {
        font-size: 180%;
    }
    
    .moving_icon {display: none;}
       
    .photo_container {
        display: none;
    } 
    
    .text_container {
        top: 32.5%;
        width: 70%;
        font-size: 130%;
        
    }
    
    .text > div {
        overflow-y: scroll;
        height: 50%;
    }
    
    .text_container > div {
        overflow-y: scroll;
    }
    
    .link_container {
        display: none;
    }
    
    .icon_container {
        width: 100%;
        height: 65%;
        top: 25%;
    }
    
    
    .bottom {
        position: absolute;
        top: 90%;
        height: 10%;
        z-index: 0;
    }
    
    .homepage_link {
        bottom: 1%;
        font-size: 120%;
        
        z-index: +10;
    }

} 

