* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: white;
    position: relative;
    transition: 0.5s;
    overflow-x: hidden;
}

#flow {
    position: fixed;
    right: 0;
    top: 35vh;
    z-index: 100;
}

#flow>i {
    display: block;
    margin: 10px;
    filter: drop-shadow(1px 1px 5px black);
    transition: 0.3s ease-in-out;
}

#flow>i:hover {
    transform: scale(1.2);
}

a {
    text-decoration: none;
    color: white;
}

header{
    position: relative;
}

#carousel , #carousel-mob , #images {
    display: flex;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#carousel>img , #images>img {
    flex: 0 0 100%;
    transform-origin: center;
}

#carousel-mob {
    display: none;
}

nav {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: absolute;
    top: 0;
}

nav>a {
    padding: 10px;
    transition: 0.3s ease;
}

nav>a:active {
    color:red;
}

aside , #login , #signup {
    position: absolute;
    top: 20vh;
    left: 5vw;
    width: 90%;
    /* background-color: rgba(255, 255, 255, 0.2); */
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    transition: 1.5s;
}

#login , #signup {
    top: -100vh;
}

#login , #login>form , #signup , #signup>form {
    display: flex;
    justify-content: center;
    align-items: center;
}

#login>form , #signup>form {
    flex-direction: column;
    gap: 20px;
    width: 50%;
}

#login>h1 , #signup>h1 {
    position: absolute;
    top: 0;
    right: 5px;
    cursor: pointer;
}

#login>form>input , #signup>form>input {
    padding: 10px;
    width: 100%;
    border: transparent;
    border-radius: 10px;
    background-color: transparent;
    color: white;
    border-bottom: 1px solid white;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#login>form>input:focus , #login>form>input:active{
    border: transparent;
}

button {
    width: 50%;
    padding: 10px 0;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgb(0, 0, 0);
    box-shadow: inset 5px 10px 20px white;
    border-radius: 10px;
}


#moon-name {
    font-size: 50px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: 2s ease;
    position: relative;
    left: 110vw;
    font-style: italic;
}

aside>h4 {
    padding: 15px 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

aside>p {
    width: 80%;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.active {
    color: red;
    border-bottom: 2px solid white!important;
}

#moon-name>img {
    width: 40px;
    transition: 0.3s;
    height: 40px;
    border-radius: 50%;
}

main {
    position: relative;
}

#gallery {
    background-color: #17171b;
    width: 100vw;
    position: relative;
    padding: 5vh 5vw;
    overflow: hidden;
}

#images {
    width: 100%;
    height: 50vh;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}


#left , #right {
    position: absolute;
    top: 37vh;
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    padding: 5px;

}

#left:active , #right:active {
    filter: drop-shadow(2px 2px 10px white);
}
#left {
    left: 6vw;
}

#right {
    right: 6vw;
}

#gallery>i {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

#overview {
    color: #17171b;
    padding: 5vh 10vw;
}

.content-side {
    width: 80%;
    height: auto;
    background-color: #17171b;
    border: 1px solid white;
    overflow: hidden;
    padding: 2vh 20px;
    border-radius: 20px;
    display: flex;
}

.content-side:nth-child(even) {
    float: right;
    margin: 20px 0;
    background-color: rgba(0, 0, 0, 1);
}

.content-side>img {
   width: 30vw;
   height: 30vh;
   transform-origin: center;
}

.content-side>div {
    padding: 10px;
}

footer {
    width: 100%;
    padding: 20px;
    background-color: #17171b;
    text-align: center;
}

footer>div {
    display: flex;
    justify-content: space-between;
}

footer>div>div {
    padding: 5px;
    justify-content: center;
    align-items: center;
    margin: 0 3px;
}

ul {
    list-style: none;
}

ul>li  , footer>div>div>p , footer>div>div>i {
    padding: 2px;
}

#slider {
    width: 100%;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    overflow-x: scroll;
}

.example::-webkit-scrollbar {
    display: none;
}

.items-2 {
    flex: 0 0 20%;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.items-2>img {
    flex: 0 0 30%;
    border-radius: 50%;
    margin: 5px;
    width: 50px;
}

.items-2>div {
    margin: 2vh 0;
}

.items-2>div>p {
    font-size: 0.6rem;
}

@media screen and (max-width:600px) {
    #carousel {
        display: none;
    }
    #carousel-mob {
        display: flex;
        position: relative;
        height: 100vh;
        width: 100vw;
    }
    #carousel>img {
        width: 100vw;
        height: 100vh;
    }
    #moon-name {
        font-size: 40px;
    }
    #moon-name>img {
        width: 30px;
        height: 30px;
    }
    .content-side>div>p {
        font-size: 0.5rem;
    }
    .content-side>img {
        width: 20vw;
        height: 20vh;
        transform-origin: center;
     }
} 
