body {
    background-color: var(--black);
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

span {
    text-decoration: underline 4px solid var(--orange);
}

#no-padding-bottom  {   padding-bottom: 0px;   }
#no-padding         {   padding: 0px;           }
#no-box-shadow      {   box-shadow: none;       }

/* Grid-Container */

.element-menubar        {   grid-area: menubar;     }
.element-intro          {   grid-area: intro;       }
.element-gallery        {   grid-area: gallery;     }
.element-content-about  {   grid-area: content-about;     }

.grid-container {
    display: grid;
    grid-template-areas:
    'menubar'
    'intro'
    'content-about'
    'gallery';
    background-color: var(--black);
}

/* Gallery-Astro-Intro */

.gallery-astro-intro {
    background-color: var(--grey);
    max-width: 2560px;
    margin: auto;
}

.gallery-astro-intro-text {
    z-index: 2;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--lightgrey);
    background-color: rgb(10, 30, 53, 0.5);
    top: 10%;
    left: 20%;
    bottom: 60%;
    right: 20%;
}

.gallery-astro-intro-text h1 {
    font-weight: normal;
    border: 8px var(--lightgrey) solid;
    padding: 1% 5%;
}

.gallery-astro-intro-text p  {
    padding-top: 2%;
}

.gallery-astro-intro-pic-text {
    position: absolute;
    color: var(--lightgrey);
    bottom: 2%;
    right: 2%;
}

.gallery-astro-pic-intro {
    position: relative;
}

/* Astro Slider*/

.astro-slider-frame {
    display: flex;
    flex-direction: row;
}

.gallery-astro-slider {
    height: 700px;
}

.gallery-astro-slider-demo {
    z-index: 2;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(10, 30, 53, 0.5);
    top: 5%;
    right: 1%;
    left: 84%;
}

.gallery-astro-slider-demo-item {
    object-fit: cover;
    flex: 30%;
    padding: 4%;
    scale: 94%;
    opacity: 70%;
    transition: 0.1s;
    cursor: pointer;
}

.gallery-astro-slider-demo-item:hover {
    opacity: 100%;
    transition: 0.3s;
}

.gallery-astro-slider-demo-item:hover .astro-slides-demo {
    border: 4px var(--orange) solid;
    transition: 0.3s;
}

.gallery-astro-slider-demo-item:active {
    scale: 94%;
    opacity: 50%;
    transition: 0.2s;
}

.astro-slides-demo {
    border: 4px var(--blanc) solid;
    transition: 0.1s;
}

.astro-display-none {
    display: none;
}

.astro-slides-pic {
    object-fit: cover;
    height: 700px;
    width: 100%;
}

/* Gallery-Astro */

.gallery-astro {
    max-width: 2560px;
    margin: auto;
}

.gallery-astro-frame {
    background-color: var(--grey);
    padding: 8% 0;
}

.gallery-astro-text {
    display: inline-flex;
    background-color: var(--lightgrey);
    color: var(--blue);
    padding: 1% 5%;
    margin: auto;
}

.gallery-astro-item {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: var(--grey);
    padding: 5% 0;
}

.gallery-astro-pic-space {
    flex: 3%;
    background-color: var(--grey);
    width: 100%;
}

.gallery-astro-pic-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    object-fit: cover;
    border: 4px var(--blanc) solid;
    width: 100%;
    transition: 0.1s;
}

.gallery-astro-pic-item:hover {
    scale: 97%;
    border: 4px var(--orange) solid;
    transition: 0.3s;
}

.gallery-astro-pic-item:hover .gallery-astro-pic {
    transition: 0.3s;
}

.gallery-astro-pic {
    object-fit: contain;
    margin: auto;
    cursor: pointer;
}

.gallery-astro-pic-frame > .gallery-astro-pic {
    object-fit: cover;
}

.gallery-astro-pic-text {
    z-index: 999;
    background-color: var(--blue);
    color: var(--lightgrey);
    padding: 1%;
}

.gallery-astro-frame-wide {
    flex-direction: column;
}

.gallery-astro-frame-row {
    flex-direction: row;
}

/* Content-About */

.content-about {
    background-color: var(--blue);
    max-width: 2560px;
    margin: auto;
}

.content-about-text {
    color: var(--lightgrey);
    text-align: left;
    padding: 5%;
}

@media screen and (max-width: 2560px) {
    .gallery-astro-intro {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    .gallery-astro-intro-text {
        background-color: rgb(10, 30, 53, 0.5);
        top: 4%;
        left: 4%;
        bottom: 72%;
        right: 4%;
        opacity: 100%;
    }
    .gallery-astro-intro-text h1 {
        padding: 2%;
    }
    .gallery-astro-intro-text p {
        visibility: hidden;
    }
    .gallery-astro-slider-demo {
        flex-direction: row;
        padding: 0;
        top: 70%;
        right: 4%;
        left: 4%;
        bottom: 8%;
    }
    .gallery-astro-item {
        flex-direction: column;
    }
    .gallery-astro-pic-item {
        padding-bottom: 10%;
    }
}

@media screen and (max-width: 600px) {
    .gallery-astro-intro-text {
        top: 2%;
        left: 2%;
        right: 2%;
        bottom: 76%;
    }
    .gallery-astro-intro-text h1 {
        font-size: 30px;
    }
    .gallery-astro-slider-demo {
        display: none;
    }
}