@charset "UTF-8";

html {
    background: url(images/background.jpg) no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: black;
}

a {
    color: #545651;
    text-decoration: none; 
}

a:hover {
    color: #8C957E;
}
    
a:hover .logoeyediv {
    opacity: 1;
}

a:hover .logoeyemini {
    opacity: 1;
}

body {
    display: flex;
    justify-content: center;
    margin: auto;
    width: 90%;
    height: 100%;
    position: relative;
}

@font-face {
    font-family: space_and_astronomy;
    src: url(space_and_astronomy.ttf);
}

/*font-family: 'Alegreya SC', serif;
font-family: 'Didact Gothic', sans-serif;
font-family: 'Ubuntu', sans-serif;
font-family: 'Alegreya Sans', sans-serif;*/

#footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 3%;
    background-color: black;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 15px;
    text-align: center; 
    color: #545651;       
}


h1 {
    text-align: center;
    font-family: space_and_astronomy;
    font-size: 28px;
}

h2 {
    text-align: center;
    margin: 8px;
    font-family: 'Alegreya SC', serif;
    font-size: 25px;
}

h3 {
    text-align: center;
    margin: 8px;
    font-family: 'Alegreya SC', serif;
    font-size: 20px;
}

h4 {
    text-align: center;
    margin: 8px;
    font-family: 'Alegreya SC', serif;
    font-size: 20px;
    font-weight: normal;
}

.introitem {    
    background-color: rgba(0, 0, 0, 0.8);
    margin: 1%;
    min-width: 70%;
    min-height: 5%;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 25px;
    text-align: center;
    color: #545651;   
}

.introstripe {
    display: flex;
    justify-content: center;
    margin: 1%;
    padding: 2% 0%;
    min-width: 70%;
    min-height: 5%;
    background-color: rgba(0, 0, 0, 0.85);
    color: #545651;     
}

.logodiv {
    width: 32%;
    max-height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.logodiv img {
    width: 100%;
    max-height: 100%;
}

.logoeyediv {
    position: absolute;
    top: 0px;
    left: 33%;
    max-width: 32%;
    max-height: 100%;
    opacity: 0;
    transition: 1s;
}

.navbutton {
    min-width: 8%;
    min-height: 30%;
    padding: 10px;
    font-family: space_and_astronomy;
    font-size: 20px;
    text-align: center;
    color: #545651;    
}

#navbar {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    position: fixed;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 15%;
    background-color: black;
    z-index: 1;    
}

#navbarmini {
    display: none;        
}

#navbarminibutton {
    display: none;
}

#navbarminimenu {
    display: none;
}

p {
}

.text {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    position: relative;
    top: 120px;
    margin: 5% 10%;
    width: 80%;
    min-height: 60%;
}

.textstripe {
    margin: 2% 1%;
    width: 92%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2%;    
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 20px;
    text-align: center;
    color: #545651;
}

.textstripe img {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

.texttile {
    margin: 2% 1%;
    width: 23%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 3%;    
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 18px;
    text-align: center;
    color: #545651;    
}

.textbox {
    display: flex;
    flex-flow: column;
    justify-content: space-around;
    align-items: center;
    margin: 5% 10%;
    width: 80%;
    min-height: 60%;
    position: relative;
    top: 120px;    
}

.row {
    display: flex;
    width: 100%;
}

.column {
    flex: 20%;
    padding: 5px;
}


@media screen and (max-width:1150px) {


    .logoeyediv {    
        top: 15px;
    }

    .navbutton {
        font-size: 15px;
    }
}


@media screen and (max-width:915px) {

    body {
        width: 100%;
        margin: 0;
        z-index: -2;
    }

    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }

    h4 {
        font-size: 16px;
    }
    
    .introitem {
        min-height: 3%;
        width: 100%;
        margin: 1% 0%;       
    }
            
    .introstripe {
        display: none;
    }

    .logoeyemini {
        position: absolute;
        top: 0px;
        left: center;
        width: 66px;
        height: 90px;
        opacity: 0;
        transition: 1s;
    }

    #navbar {
        display: none;
    }

    #navbarmini {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0px;
        left: center;
        margin: 0px;
        height: auto;
        width: 100%;
        z-index: 1;
        background-color: rgba(0, 0, 0, 1); 
        border: none;          
    }
    
    #navbarmini:hover {
        outline-color: transparent;
    }

    #navbarminibutton {
        display: flex;
        align-self: center;
        justify-content: center; 
        background-color: rgba(0, 0, 0, 0);  
        padding: 1%; 
        border: none;
        width: 100%;            
    }

    #navbarminibutton:hover {    
        outline-color: transparent;
        border: none;
    }
    
    #navbarminibutton:active {    
        outline-color: transparent;
        border: none;
    }
        
    #navbarminibutton #img1 {
        height: 80px;
        width: 66px;
    }

    #navbarminimenu {
        display: none;
        flex-direction: column;
        position: relative;
        min-width: 100%;
        /*max-height: 200px;*/        
        //box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        background-color: rgba(0, 0, 0, 0.8);
        text-align: center;
    }
    
    #navbarminimenu:hover {
        border: none;
        outline-color: transparent;
    }
        

    #navbarminimenu a {
        display: flex;
        justify-content: center;
        text-decoration: none;
        padding: 10px;
        font-family: space_and_astronomy;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        color: #545651;
        border: none;
        outline-color: transparent;
    }

    #navbarminibutton:hover #img1 {
        opacity: 0;        
    }
    
    #navbarminibutton:hover .logoeyemini {
        opacity: 1;        
    }

    #navbarminimenu a:hover {
        color: #8C957E;
        border: none;
        outline-color: transparent;
    }

    #navbarminimenu a:link {
        border: none;
        outline-color: transparent;
    }
    
    #navbarminimenu a:active {
        border: none;
        outline-color: transparent;
    }
    
    #navbarminimenu a:visited {
        border: none;
        outline-color: transparent;
    }

    
    #navbarmini:hover #navbarminimenu {
        display: flex;
    }
    
    .text {
        top: 100px;
        width: 100%;
        margin: 0 0 2% 0;
        z-index: -1;
    }
    
    .textbox {
        top: 150px;
        width: 100%;
        margin: 0 0 2% 0;
        z-index: -1;
    }
    
    .textstripe {
        margin: 2% 0%;
        width: 100%;
        //padding: 1% 2% 3% 2%;    
        font-size: 15px;
        font-weight: bold;
        text-align: left;
    }

    .texttile {
        margin: 2% 0%;
        width: 100%;
        padding: 1% 2% 3% 2%;    
        font-size: 15px;
        font-weight: bold;
    }
}

