@font-face {
    font-family: 'mybebas';
    src: url('../fonts/bebasneue-regular-webfont.woff2') format('woff2'),
    url('../fonts/bebasneue-regular-webfont.woff') format('woff'),
    url('../fonts/BebasNeue-Regular.ttf') format('truetype');
    /*font-weight: normal;
    font-style: normal;*/

}

/*inline image AREO*/
.inline{
    display: inline-block;
    height:1em;
    width: auto;
    transform:translate(0, 0.1em);
}

/*Globales*/
html, body{
    width:100%;
    margin:0px;
    padding:0px;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: white;
}
a{
    text-decoration: none;
    text-align: center;
    font-family: mybebas;
    font-size: 2.0vw;
}
h1,h2{
    text-align: center;
    
    font-size: 3.5vw; /*calc(25px + 1vw);*/
    font-family: mybebas;
}
p{
    text-align:justify;
    font-size: 2vw; /*calc(12px + 1vw);*/
    line-height: 3vw; /*calc(25px + 1vw);*/
    margin:0 50px;
    font-family: mybebas;
}

@media only screen and (max-width: 600px) { 
    a{
        font-size: 4.0vw;
    }
    h1,h2{
        font-size: 7vw; 
    }
    p{
        font-size: 4vw;
    line-height: 6vw; 
    }

}

.centered_text{
    margin:0px;
    padding:0px;
    text-align: center;
}


/*Navigation panel*/
.up_ref{
    top:0;
    left:0;
    width:100%;
    height:0vh;
    position:relative;
}
.bar{
    background-color: white;
    position:sticky;
    top:0;
    left:0;
    width:100%;
    height:1vw;
    z-index:1000;
}
.progress_bar{
    background-color: black;
    position:sticky;
    top:0;
    left:0;
    width:0%;
    height:1vw;
}


.navigation{
    font-family: mybebas;
    width: 100%;
    height:auto;
    background-color: rgba(0,0,0,1);
    display: flex;
    justify-content: space-around;
    position:sticky;
    top:1vw;
    left:0;
    z-index:1000;

}
.navigation a{
    color:white;
    padding:0px 0px;
    font-size: 1.5vw;/*calc(15px + 0.5vw);*/
    font-family: mybebas;
}

@media only screen and (max-width: 600px) { 
    .navigation a{
        font-size: 3vw; 
    }
}


.fixed_horizontal_line{
    background-color: black;
    position:relative;
    top:0;
    left:0;
    width:100%;
    height:1vw;
}
.moving_horizontal_line{
    background-color: black;
    position:relative;
    top:0;
    left:0%;
    width:100%;
    height:1vw;
}


/*Arrow to go to top*/
.centrearrow{
    margin:0px;
    padding:0px;
    text-align: center;
    z-index:500;
}
.centrearrow img{
    width: 5vw;
}

@media only screen and (max-width: 600px) { 
    .centrearrow img{
        width: 10vw;
    }
}

/*Image container*/
.responsive{
    max-width:90%;
    max-height:90%;
    height:auto;
}

.legend{
    font-size:1vw; 
    line-height: 1vw;
    text-align:center;
}
@media only screen and (max-width: 600px) { 
    .legend{
        font-size:2vw; 
        line-height: 2vw;
    }
}

/*Section that use scroll*/

.scroll_section{
    padding: 0;
    margin: 0;
    height: 100vh;
    width:100%;
    
    margin:0px;
    position: relative;
    overflow: hidden;
    
}

.mid_scroll_section{
    padding: 0;
    margin: 0;
    height: 50vh;
    width:100%;
    
    margin:0px;
    position: relative;
    overflow: hidden;
    align-items: center;
    
}

/*Define sections: even and odd numbers with different colours*/
.section{
    padding: 0;
    margin: 0;
    height: 100vh;
    position: relative;

    width:100%;

    display: flex;
    flex-direction: row;
    align-items: center;
    margin:0px;
    opacity:1;
    
}
/*Discern between mobile and normal screen*/

@media only screen and (max-width: 600px) { 
    .section{
        flex-direction: column; 
        justify-content: center;
    }

    .fixed_horizontal_line#top{
        width:100%;
    }

}
@media only screen and (min-width: 600px) { 
    .section{
        flex-direction: row; 
        justify-content: space-evenly;
    }

    /*order sections: text images*/
    #section1 > #text1 {order:1;}
    #section1 > #image1 {order:2;}
    #section2 > #text2 {order:2;}
    #section2 > #image2 {order:1;}
    #section3 > #text3 {order:1;}
    #section3 > #image3 {order:2;}
    #section4 > #text4 {order:2;}
    #section4 > #image4 {order:1;}
    #section5 > #text5 {order:1;}
    #section5 > #image5 {order:2;}
}


/*Colours inside sections fonts*/
.section h1,.section h2,.section p, .section a{
    color:black;
}


/*Create a midcontainer that fills half width*/
.section_midcontainer {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}



@media only screen and (max-width: 600px) { 
    .section_midcontainer{
        width:100%;
        height: 50%;
    }
}
@media only screen and (min-width: 600px) { 
    .section_midcontainer{
        width:50%; 
        height: 100%;
    }
    
}



/*---------------------------------------------------------------------------*/

/*UPPER PART*/
.blades0{
    width:auto;
    height:1500px;
    min-width:600px;
    position: absolute;
    transform:  translate(0px,-650px) scale(0.5) rotate(15deg) ;
    left:15vw;


}
.tower0{
    width:auto;
    height:1500px;
    min-width:600px;
    position: absolute;
    transform:  translate(0px,-530px) scale(0.5) ;
    left:15vw;
}


.blades1{
    width:auto;
    height:1500px;
    min-width:600px;
    position: absolute;
    transform:  translate(-150px,-515px) scale(1) rotate(-2.5deg) ;
    left:0vw;

}
.tower1{
    width:auto;
    height:1500px;
    min-width:600px;
    position: absolute;
    transform:  translate(-150px,-275px) scale(1) ;
    left:0vw;
}

.blades2{
    width:auto;
    height:1500px;
    min-width:600px;
    position: absolute;
    transform: translate(-300px,-250px) scale(2) rotate(-15deg) ;
    left:85vw;

}
.tower2{
    width:auto;
    height:1500px;
    min-width:600px;
    position: absolute;
    transform: translate(-300px,240px) scale(2) ;
    left:85vw;
}




.pv0{
    width:auto;
    height:600px;
    position: absolute;
    top: 0px;
    left:1vw;
}

.pv1{
    width:auto;
    height:600px;
    position: absolute;
    top: 0px;
    left:6vw;
}

.pv2{
    width:auto;
    height:600px;
    position: absolute;
    top: 0px;
    left:30vw;
}
.pv3{
    width:auto;
    height:600px;
    position: absolute;
    top:0px;
    left:1vw;
}
.pv4{
    width:auto;
    height:600px;
    position: absolute;
    top: 0px;
    left:75vw;
}


