* {
    margin: 0;
    box-sizing: border-box;
}
html {
    font-size: 20px;
}
div#container {
    width: 100%;
    transition: margin-left .5s;
}

h1 {
    font-size: 5vw;
    font-family: "Montserrat";
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    color: #fff;
    text-shadow: 4px 4px #0086b3;
}
h2 {
    font-size: 2.25rem;
    font-family: "Montserrat";
    font-weight: 900;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.25;
    text-align: center;
    color: #02537d;
}
h3 {
    font-size: 1.75rem;
    font-family: "Exo";
    letter-spacing: 2px;
    line-height: 1.25;
    text-align: center;
    color: #02537d;
}
p {
    font-family: "Source Serif Pro";
    font-size: 1rem;
    line-height: 1.5;
    color: #02537d;
}
a {
    text-decoration: none;
    color: #02537d;
    transition: opacity 0.5s ease;
}
p a {
    color: #007399;
    font-weight: bold;
}
a:hover {
    opacity: .6;
}

.parallax {
    background-attachment: fixed;
}
/*Icons*/
.fa {
    font-size: 50px;
    color: #02537d;
    transition: opacity 0.5s ease, color 0.5s ease;
}
.fa:hover {
    opacity: .6;
}
.icon p {
    transition: color 0.5s ease;
}
.icon:hover p, .icon:hover i {
    color: #007399;
}
/*Animations*/
@keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
@-webkit-keyframes spin {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
@keyframes fade {
    from {opacity: 0.6;}
    to {opacity: 1;}
}
@-webkit-keyframes fade {
    from {opacity: 0.6;}
    to {opacity: 1;}
}
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
@-webkit-keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
@keyframes cycleColour {
    0% {color: #ccd9ff;}
    25% {color: #ccf2ff;}
    50% {color: #ccffe6;}
    75% {color: #ccf2ff;}
}
@-webkit-keyframes cycleColour {
    0% {color: #ccd9ff;}
    25% {color: #ccf2ff;}
    50% {color: #ccffe6;}
    75% {color: #ccf2ff;}
}
@keyframes twinkleDeep {
    0% {opacity: 1;}
    50% {opacity: 0.25;}
    100% {opacity: 1;}
}
@-webkit-keyframes twinkleDeep {
    0% {opacity: 1;}
    50% {opacity: 0.25;}
    100% {opacity: 1;}
}
@keyframes twinkleLight {
    0% {opacity: 1;}
    50% {opacity: 0.5;}
    100% {opacity: 1;}
}
@-webkit-keyframes twinkleLight {
    0% {opacity: 1;}
    50% {opacity: 0.5;}
    100% {opacity: 1;}
}
.show {
    opacity: 1;
    transition: visibility 1s linear;
    -webkit-animation: 2.5s fadeIn ease-in;
    animation: 2.5s fadeIn ease-in;
}


/*Header*/
header { 
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(to bottom, #040429, #0086b3);
}
#name {
    width: 100%;
    z-index: 3;
    position: absolute;
    top: 20%;
    left: 0;
}
#name h1 {
    -webkit-animation: 5s cycleColour linear infinite;
    animation: 5s cycleColour linear infinite;
}
#name h3 {
    margin-top: 2%;
    font-size: 2vw;
    color: #e6f9ff;
}
#social-links {
    margin-top: 4%;
    text-align: center;
}
#social-links .icon {
    margin: 0 1vw;
    font-size: 3rem;
    color: #fff;
    text-shadow: 4px 4px #0086b3;
}
.stars {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-size: 1000px 500px;
    background-repeat: repeat;
}
#mountains {
    width: 100%;
    height: 30%;
    position: absolute;
    bottom: 0;
    z-index: 2;
    background-size: cover;
    background-image: url(images/header/mountains.png);
}
#mountain-fade {
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    background:  linear-gradient(to bottom, rgba(4, 4, 41, 0), rgba(4, 4, 41, 1));
}
#intro-text {
    padding: 4% 3% 3%;
    position: absolute; 
    top: 100vh;
    color: #fff; 
    background: linear-gradient(to bottom , #040429, #006080); 
}
#stars1 {
    background-image: url(images/header/stars1.png);
    -webkit-animation: 5.25s twinkleLight ease infinite;
    animation: 5.25s twinkleLight ease infinite;
}
#stars2 {
    background-image: url(images/header/stars2.png);
    -webkit-animation: 4.5s twinkleDeep ease infinite;
    animation: 4.5s twinkleDeep ease infinite;
} 
#stars3 {
    background-image: url(images/header/stars3.png);
    -webkit-animation: 3.3s twinkleDeep ease infinite;
    animation: 3.3s twinkleDeep ease infinite;
} 
#stars4 {
    background-image: url(images/header/stars4.png);
    -webkit-animation: 2.15s twinkleDeep ease infinite;
    animation: 2.15s twinkleDeep ease infinite;
} 


/*Media queries*/
@media only screen and (max-width: 1000px) {
    /*Header*/
    #name h2 {
        font-size: 5vw!important;
    }
    #name h1 {
        font-size: 8vw;
    }
    #name h3 {
        font-size: 3vw;
    }
}
@media only screen and (max-width: 600px){
    h2 {
        font-size: 1.7rem;    
    }
    /*Header*/
    #name h2 {
        font-size: 7vw!important;
    }
    #name h1 {
        font-size: 12vw;
    }
    #name h3 {
        font-size: 4vw;
    }
    #more {
        left: 43%;
    }
}