@import url('https://fonts.googleapis.com/css2?family=Nunito&family=Roboto+Slab:wght@400;700&display=swap');

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Nunito', sans-serif;
}

.mainHeader {
    background: white;
    font-family: 'Roboto Slab', sans-serif;
}

.mainHeader .container {
    position: relative;
    background-image: url(media/boson-pixel-2.png);
    background-repeat: no-repeat;
    background-size: auto 2rem;
    background-position: left 0.5rem;
    padding-left: 2rem;
}


.mainHeader .menu {
    position: absolute;
    right: 1rem;
    bottom: 1rem;

    
}

a {
    color: #000031;
    font-weight: bold;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.mainHeader .menu__item {
    list-style: none;
    display: inline-block;

}

.mainHeader .menu__item::after {
    content: " - ";
}

.mainHeader .menu__item:last-child::after {
    content: " ";
}

.mainHeader .menu a{
    text-decoration: none;
}

.card {
    background-color: rgba(255,255,255,1);
    padding: 2rem;
    border-radius: 1rem 1rem;
    box-shadow: 0.5rem 0.5rem 0.5rem rgba(0,0,0,0.7);

    width: 100%;
    max-width: 400px;
    margin: auto;

    text-align: center;
    margin-top: 1rem;

}

.card .title {
    margin-bottom: 1rem;
}

.card .image img {
    display: block;
    width: calc(100% + 3.6rem);
    margin-left: -2rem;
    margin-top: -2rem;
    margin-right: -2rem;
    margin-bottom: 2rem;

    border-radius: 1rem 1rem 0rem 0rem;
    border: 0.2rem solid white;
}

.card .more {
    margin-top: 1rem;
    font-size: 0.9em;
    padding: 1rem;

}

.card p {
    margin-bottom: .5rem;
}

.card .important {
    font-family: 'Roboto Slab', sans-serif;
    padding: 0.5em;
    border: 2px solid orange;

}

.container {
    padding: 1rem;
    max-width: 1200px;
    margin: auto;


}


body {
    transition: background;
    background-color: #000031;
    background-image: url(media/starfield.png);
    background-repeat: repeat;
    background-position: 0 0;
    
    animation-name: slide1;
    animation-duration: 200s;
    animation-delay: 0;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

.mainImage {
    position: fixed;
    bottom: -200px;

    display: none;

}

.page {
    position: relative;
}

html, body, .page {
    height: 100%;
}


@keyframes slide1 {
    0% {
        background-position:  0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

form {
    display: block;
    margin-top: 1rem;
}

select, button {
    display: inline-block;
    padding: 0.5rem;
    margin: .2rem;
    border-radius: 0;
    border: 1px solid black;
}

button {
    font-size: 1em;
    background: black;
    color: white;
    margin-top: 1rem;
    margin-bottom: -2rem;
    border-radius: 1rem;
    width: 100%;


}

.card .infos {
    opacity: 0.7;
    font-size: 0.9em;
    display: block;
}

.topsecret {
    display: block;
    padding: 0.1rem;
    font-family: Courier;
}

@media only screen and (max-device-width : 700px) {
    .mainHeader .menu {
        position: static;
        margin-top: 1rem;
    }

    .card {
        margin-left: auto;
        margin-right: auto;
        max-width: none;
        width: auto;
        padding: 1rem;
    }

    .mainImage img {
        display: none;
    }

    .card .image img {
        width: calc(100% + 1.6rem);
        margin-left: -1rem;
        margin-top: -1rem;
        margin-right: -1rem;
    }
}        

.content h1 {
    font-size: 1.6em;
    margin-bottom: 1rem;

}

.content h2 {
    font-size: 1.2em;

}

.content ul {
    list-style: none;
    margin: 1rem 0;
}

.content img {
    display: block;
    width: 100%;
}

.content .block {
    margin-bottom: 1rem;
    padding-bottom: 1rem;

    border-bottom: 1px solid lightgrey;
}