/* @import url('https://fonts.googleapis.com/css?family=Cutive+Mono'); 
@import url('https://fonts.googleapis.com/css?family=Sanchez'); */
@import url('https://fonts.googleapis.com/css?family=Rokkitt:200,400');
@import url('animate.css');
@import url('fonts/mightype.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {    
    font-family: 'Rokkitt', monospace;  
    font-size: 18px;
    font-weight: 200;
    color: #555;
    
    background-image: url(../img/bg.png);
    background-attachment: fixed;
}

main {
    animation-delay: 1s;     
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    animation-delay: 1s;  
    opacity: 0;  
}

a {
    color: #ffcd19;
}

a span {
    color: #555;
    text-decoration: none;
}

p {
    padding-bottom: 0.5em;
    line-height: 1.2em;
}

h1 {
    font-family: 'mightype';
    font-size: 4em;
    text-align: center;
}

h2 {
    font-weight: normal;
    font-size: 1.5em;
    
    padding-top: 1em;
}

h3 {
    font-family: 'mightype';
    margin-bottom: 0.5em;
    font-size: 1.8em;
}

header {
    text-align: center;
    padding-top: 100px;
}

header p {
    margin-top: -.5em;
}

.links {
    padding-top: .5em;
}

.links a {
    font-size: 1.5em;
    padding: 0 .5em;
}

/* FORM */

#intro {
    text-align: center;
    padding: 2em 0;    
}

#intro img {
    border-radius: 50%;
    width: 15%;

    filter: grayscale(1);
    transition: filter 0.5s;
}

#intro img:hover {
    filter: none;
}

#form {
    border-top: 2px dotted #ccc;
    border-bottom: 2px dotted #ccc;
    background-color: rgba(200,200,200,0.2);
    padding: 2em 0;
}

#form div {
    max-width: 555px;
    margin: auto;    
}

#form label {
    display: block;
    margin-bottom: 1em;
    cursor: pointer;
}

#form input[type='text'], textarea {
    width: 100%;
    border: 0;
    font-family: monospace;
    font-size: 1em;
    margin-bottom: 1em;
    padding: 0.5em;
    border: 1px solid transparent;
}

#form input[type='text']:focus, textarea:focus {
    outline: 1px solid rgba(255, 206, 25, 0.50);
    border: 1px solid rgba(255, 206, 25, 0.50);
    box-shadow: 0px 0px 2px rgba(255, 206, 25, 0.50);
}

#form button {
    font-family: 'Rokkitt';
    text-transform: uppercase;
    margin: auto;
    display: block;
    font-size: 1.5em;
    border: none;
    border-radius: 2px;
    width: 100%;
    cursor: pointer;
    transition: all 0.5s;
    background-color: #ccc;
    color: white;
    
}

#form button:hover {
    background-color: #ffcd19;
    color: white;
}

#form p {
    padding: 5em 0;
    font-size: 1.5em;
    text-align: center;
}

#infos {
    max-width: 555px;
    padding: 2em 0;
    margin: auto;
    margin-bottom: 10em;
}

#infos iframe {
    width: 100%;
    border: 0;
    height: 300px;
}

#infos .timeline {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

footer {
    color: white;
    background-color: #ffcd19;
    position: fixed;
    z-index: 10;
    bottom: 0;
    padding: 1em 0;
    width: 100%;

}

footer a {
    color: white;
}

footer .contact {
    font-family: 'mightype';

    font-size: 1.6em;
    padding-botton: 1em;    
}

footer .wrapper {
    width: 60%;
    margin: auto;
}

footer .left {
    width: 50%;
    float: left;
}

footer .right {
    width: 50%;
    float: right;
    text-align: right;
    font-size: 0.8em;
}

/* VIDEO */

video {
    width: 50%;
    display: block;
    margin: auto;
}

/* PHOTOS */

#photos h1 {
    margin-top: .5em;
    position: fixed;
    top: 200px;
    width: 100%;
}


#photos footer {
    position: fixed;
    bottom: 0;
}

#photos footer a {
    font-size: 2em;
    text-decoration: none;
    display: block;
    padding-top: 1em;
    font-weight: bold;
    pointer-events: all;      
}

#photos footer a::before {
    content: '⬇';
    font-size: .7em;
    padding-right: 0.2em;
}

#panorama {
    position: fixed;
    top: 0;
    height: 200px;
}

#gallery {
    position: relative;
    top: 350px;
    z-index: 90;
    pointer-events: none;
}

#gallery::after {
    content: "";
    display: block;
    clear: both;
    height: 150px;
    
}

.photo {
    width: 20%;
    height: 180px;
    overflow: hidden;
    float: left;
    pointer-events: all;
    background-color: #ffcd19;        
}

.photo img {
    width: 120%;
    margin-left: -10%;
    transition: 0.3s;
    cursor: pointer;
}

.photo img:hover {
    width: 100%;
    margin-left: 0;
}

#full, #lock {
    display: none;    
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;    
    z-index: 100;
}

#full img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
}

#full .controls {
    color: white;
    cursor: pointer;
    font-size: 30px;
}

#full .close {
    position: absolute;
    top: 20px;
    right: 20px;
}

#full .left {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 100;
    
}

#full .right {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;    
}

#lock {
    display: block;
}

#lock input {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    text-align: center;
    transform: translate(-50%, -50%);
    font-size: 30px;
    border: 0;
    outline: 0;
    padding: 20px;
}

@media (max-width: 800px) {
    
    .center {
        width: 100%;
    }
    
    header {
        padding-top: 20px;
    }
    
    #intro img {
        width: 90%;
    }
    
    #form div, #infos {
        width: 95%;
    }
    
    [id*="star"] {
        display: none; 
    }
    
    #infos {
        margin-bottom: 1em;
    }
    
    footer {
        position: static;
        height: auto;
    }
    
    footer div {
        text-align: center !important;
        float: none !important;
        width: 95% !important;
        padding-bottom: 1em;
    }
    
    #gallery {
        top: 260px;
    }
    
    #gallery .photo {
        width: 50%;
        height: 140px;
    }
    
    #photos footer {
        display: none;
    }
    
    #photos h1 {
        font-size: 1.5em;
    }
    
    #full img {
        width: 80%;
        height: auto;
    }
      
    #lock input {
        width: 90%;
        font-size: 16px;
    }
    
    video {
        width: 100%;
    }
}


@media (max-width: 800px) and (orientation: landscape) {
    header {
        display: none;
    }
}

::selection {
    color: white;
    background-color: #ffcd19;
}

/* BEE */

#bee-area {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);  
    z-index: 80;
    width: 1000px;
    height: 120px;
    pointer-events: none;
}


/* STARS */

[id*="star"] {
    position: fixed; 
    opacity: 0;   
}

[id*="star"] img {
    width: 100%;
}

#star1 {
    top: 21%;
    left: 14%;
    width: 13%;

}

#star2 {
    top: 45%;
    right: 10%;
    width: 11%;
    animation-delay: 0.2s;

}

#star3 {
    top: 71%;
    left: 15%;
    width: 5%;
}

#star4 {
    top: -17%;
    right: 12%;
    width: 15%;
    animation-delay: 0.4s;   

}

#star5 {
    top: 12%;
    left: 15%;
    width: 2%;
    animation-delay: 0.6s;
}

#star6 {
    top: 13%;
    right: 10%;
    width: 2%;
    animation-delay: 0.8s;
}



























