/*-----GENERAL-----*/

*{
    margin: 0px;
    padding: 0px;
}

html{
    scroll-behavior: smooth;
}

@font-face {
    font-family: "BaronNeue";
    src: url(baron/BaronNeue.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BaronNeue";
    src: url(baron/BaronNeueBold.otf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "BaronNeue";
    src: url(baron/BaronNeueItalic.otf);
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Montserrat";
    src: url(montserrat/Montserrat-Medium.ttf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url(montserrat/Montserrat-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url(montserrat/Montserrat-MediumItalic.ttf);
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "Montserrat";
    src: url(montserrat/Montserrat-Light.ttf);
    font-weight: lighter;
    font-style: normal;
}

a{
    color: #008515;
    font-size: large;
    text-decoration: none;
}

body{
    background-color: #ffffff ;
    color: #008515;
    font-family: 'BaronNeue', 'Gill Sans', sans-serif;
}

/*-----HEADER-----*/

header{
    position: fixed;
    background-color: #008515 ;
    z-index: 10;
    width: 100%;
    border-bottom: 4px solid #008515;
    margin-bottom: 5px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; 
}

h1{
    font-size: 3rem;
    margin-left: 10px;
    text-align: center;
    color: #eeeeee;
    text-shadow: 5px 3px #000000;
}

h2{
    font-size: 1.5rem;
    margin-left: 10px;
    color: #eeeeee;
    text-shadow: 5px 3px #000000;
}

nav{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

nav li{
    position: relative;
    text-align: center;
}

nav a{
    font-size: 1.5rem;
    color: #eeeeee;
    width: 100%;
    text-align: center;
    transition: all 0.2s linear;
}

nav a:hover{
    font-size: 2em;
    color: #ffffff;
}

#bout{
    margin-right: 1%;
    display: none;
}

header img{
    max-height: 40px;
}

#space{
    width: 100%;
    height: 86px;
}

/*-----GRENIER-----*/

p{
    font-family: 'Montserrat','Gill Sans', sans-serif;
    font-weight:600;
    margin-bottom: 20px;
}

.big{
    height: 2000px;
    background-color: #044007;
    border: 4px solid black;
}

section{
    padding-top: 150px;
    height: 100%;
}

section h1{
    color: #008515;
    text-shadow: 5px 3px #dddddd;
}

h3{
    width: 100%;
    margin-bottom: 100px;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 5px 3px #dddddd;
}

/*-----ARTICLE-----*/

article{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 100px;
}

h4{
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #044007;
}

/*-----BLENDER-----*/

#imgs{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#imgs img{
    max-height: 250px;
    border: 4px solid #03910b;
}

#bloc{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#center{
    position: absolute;
    transform: scale(2);
    border: 1px solid #03910b;
    z-index: 1;
}

/*-----FLSTUDIO-----*/

audio{
    border: 4px solid black;
    border-radius: 100px;
    margin-bottom: 10px;
}

audio::-webkit-media-controls-panel{
    background-color: #03910b;
}

audio::-webkit-media-controls-play-button{
    background-color: #fdffde81;
    border-radius: 50%;
}
  
audio::-webkit-media-controls-play-button:hover{
    background-color: #fdffde;
}

/*-----UNITY-----*/

.incase{
    display: none;
}

article img {
    max-height: 250px;
}

#unity-container{
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/*-----RS-----*/
#RS{
    width: 100px;
    position: fixed;
    left: -80px;
    top: 200px;
    padding-left: 10px;
    padding-right: 5px;
    padding-bottom: 5px;
    background-color: #eeeeee;
    border: 5px solid #008515;
    border-left: 0;
    border-radius: 0 5px 5px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    transition: left 1s;
}

#RS div img{
    height: 50px;
}

#RS:hover{
    left: 0;
    transition: left 1s;
}

/*-----FOOTER-----*/

footer{
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

/*-----BREAKPOINT-----*/

@media only screen and (max-width:800px ) {
    header,#l1,#l2{
        height: auto;
    }
    nav{
        display: none;
    }
    #bout{
        display: block;
    }
    :target{
        display: flex;
        height: 150px;
    }
    #menu ul{
        flex-direction: column;
    }
    #menu li{
        height: 30px;
    }
    #imgs{
        flex-direction: column;
        align-items: center;
    }
    #imgs img{
        margin-bottom: 10px;
    }
    #bloc, #center{
        display: none;
    }
    .incase{
        display: block;
    }
    #unity-container{
        display: none;
    }
}