@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

:root{
    --text-font: "Inconsolata";
    --heading-font: "Krona One";
    --text-color: rgb(255, 255, 255);
    --text-size: 1.9rem;
    --h1-size: 4rem;
    --h2-size: 2rem;
}



p, figure {
    font-family: var(--text-font);
    color: var(--text-color);
    font-size: var(--text-size);
    padding-bottom: 1rem;

}


h1{
    font-family: var(--heading-font);
    font-size: var(--h1-size);
    color: var(--text-color);
}

h2{
    font-family: var(--heading-font);
    font-size: var(--h2-size);
    color: var(--text-color);
    padding-bottom: 1rem;

}


main {
    background-image: url(./bildemappe/PIA17474~large.jpg);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: center;
    font-family: Inconsolata;
    font-size: 2rem;
    gap: 8rem;
}

nav a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin-top: 3rem;
}

a:hover {
    text-decoration-line: underline;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20rem;
    align-items: flex-end;
    min-height: 100vh;
    width: 100%;
    max-width: 60rem;
    text-align: right;
    padding-left: 8rem;
}


.hero h1{
    font-size: 8rem;

}

.hero p{
    font-size: 2.5rem;
}


.exploration{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: rgb(34, 31, 24);
    min-height: 100vh;
    padding: 4rem 0 0 0;
    overflow: hidden;
}


.exploration-text{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 7rem 3rem 0 0;
    gap: 3rem;
}


.exploration-text h1{
    align-self: flex-end;
}


.spacecraft-text{
    background-color: rgb(89, 84, 62);
    width: 1200px;
    padding: 2.4rem 2rem;

}


.exploration .exploration-images{
    position: relative;
    width: 680px;
    margin-top: 3rem;

}


.exploration-images img{
    display: block;
}

.img-back{
    position: relative;
    width: 100%;
}

.img-front{
    position: absolute;
    bottom: -350px;
    right: -100px;
    width: 65%;
    height: auto;
}



.spacecraft-gallery{
    display: flex;
    justify-content: space-around;
    gap: 4rem;
    padding: 4rem 3rem;
    align-items: center;
    width: 100%;
    background-image: url(./bildemappe/neon-sumer-K8eWS_abimM-unsplash.jpg);
    background-size: cover;
    min-height: 100vh;
}


.column{
    display: flex;
    flex-direction: column;
    gap: 5rem;

}

.spacecraft-gallery figure{
    width: 420px;
}


.spacecraft-gallery img{
    width: 100%;
    height: 340px;
    display: block;
    object-fit: cover;
}


.facts-part-one{
    min-height: 100vh;
    background-image: url(./bildemappe/neon-sumer-K8eWS_abimM-unsplash.jpg);
    background-size: cover;
    display: flex;
    flex-direction: column;
    padding: 0 4rem 4rem;
}

.facts-part-one .cover img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.card-rings{
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: rgb(57, 75, 89);
}


.facts-part-two{
    display: flex;
    padding: 0 5%;
    min-height: 100vh;
    background-color: rgb(57, 75, 89);
    gap: 3rem;
}


.atmosphere{
    display: flex;
    flex-direction: column;
    /* padding: 2rem; */
    gap: 3rem;
}


.moons img{
    width: 50%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.structure img{
    width: 50%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.structure,
.moons{
    display: flex;
    align-items: center;
    gap: 2rem;
}


.facts-part-two .left-column{
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.facts-part-two .right-column{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}


.gallery{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 5rem;
    min-height: 100vh;
    width: 100%;
    background-image: url(./bildemappe/neon-sumer-K8eWS_abimM-unsplash.jpg);
    background-size: cover;
}


.gallery-item img{
    width: 500px;
    height: 400px;
    object-fit: cover;
}
