/* GENERAL **************************************************/
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Raleway', sans-serif;
    box-sizing: border-box;
    letter-spacing: 0.1em;;
}
a{
    text-decoration: none;
}
.none{
    display: none;
}

/* Fos JS */
.border_bottom{
    border-bottom: 2px solid white;
}
#margin_minus{
    margin-left: -100%;
}
#margin_minus2{
    margin-left: -200%;
}
#margin_minus3{
    margin-left: -300%;
}
#margin_center{
    margin-left: 0;
}
#margin_plus{
    margin-left: 100%;
}
#margin_plus2{
    margin-left: 200%;
}
#margin_plus3{
    margin-left: 300%;
}
body .surface_ps{
    background-image: url("../img/outside/photosphere3.jpg");
}
body .surface_ts{
    background-image: url("../img/phenomena/sun_spots3.jpg");
}
body .surface_es{
    background-image: url("../img/phenomena/flare3.png");
}

body .outside_es{
    background-image: url("../img/outside/milky_way.jpg");
}
body .outside_cs{
    background-image: url("../img/outside/corona.jpg");
}
body .outside_chs{
    background-image: url("../img/outside/chromosphere.jpg");
}
body .outside_vs{
    background-image: url("../img/phenomena/wind.jpg");
}

body .inside_zc{
    background-image: url("../img/inside/inside.jpg");
}

/* CONTENT **************************************************/
.surface_ps, .surface_ts, .surface_es, .outside_es, .outside_cs, .outside_chs, .outside_vs, .inside_zc, .inside_zr, .inside_CO{
    position: fixed;
    width: 100%;
    height: 100vh;

    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;

    transition: display 1s ease;
}
.container{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
header{
    color: white;
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 10;
}
h1{
    text-align: center;
    font-size: 3em;
}
nav{
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav > div{
    width: 20%;
    display: flex;
    height: 50px;
}
nav a{
    color: white;
    text-align: center;
    font-size: 1.5em;
    width: 100%;
    height: 100%;
}
nav p{
    display: inline;
    color: white;
    text-align: center;
    font-size: 1.5em;
    width: 100%;
    height: 100%;
    margin: 0;
}
nav p:hover{
    cursor: pointer;
}

.multi_content{
    height: 100%;
    position: relative;
}
.container section:nth-child(1){
    margin-left: 0%;
}
.container section:nth-child(2){
    margin-left: 100%;
}
.container section:nth-child(3){
    margin-left: 200%;
}
.container section:nth-child(4){
    margin-left: 300%;
}
section{
    position: absolute;
    width: 90%;
    height: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.3);

    transition: margin-left 0.5s ease;
}
.content{
    height: 95%;
    position: absolute;
    padding: 10px;
    z-index: 10;
    display: flex;
}
.content > div{
    display: flex;
    flex-direction: column;
    width: 50%;
    overflow: scroll;
    padding: 5px;
}
figure{
    width: 50%;
    position: relative;
}
figure img{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
figcaption, .figcaption{
    font-size: 0.8em;
    font-weight: 300;
    position: absolute;
    bottom: 0;
}
.bottom_mark{
    font-size: 0.8em;
    font-weight: 300;
    margin: 0;
}

video{
    width: 70%;
    margin: auto;
}
.inside_part{
    position: absolute;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.surface_content_filter{
    height: 100%;
    width: 100%;
    background-color: rgba(221, 108, 44, 0.85);
    position: absolute;
    border-radius: 5px;
}
.outside_content_filter{
    height: 100%;
    width: 100%;
    background-color: rgba(108, 159, 235, 0.85);
    position: absolute;
    border-radius: 5px;
}
.inside_content_filter{
    height: 100%;
    width: 100%;
    background-color: rgba(242, 189, 75, 0.85);
    position: absolute;
    border-radius: 5px;
}