html {}

body{
    background-image: url("images/WP-mid-photos_space2_casey-horner.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}


.wrapper {
    width: 80%;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;

    max-width: 900px;
    min-width: 500px;

    border: 2px solid white;
    border-radius: 10px;

    background-color: rgba(123, 248, 169, 0.75);
} 

.wrapper nav {
    padding: 5px;
}

header{
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 50pt;
    padding-bottom: 15px;
}

h1 {
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: center;
}

p {
    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 3px;
    padding: 10px;
    
}

/* google fonts */

nav {
    text-align: center;
    font-family: "Audiowide", sans-serif;
}
nav a:link {
    color: black;
    border: 1px;
    border-radius: 5px;
    background-color: rgba(123, 248, 169, 1);
    padding: 3px;
    text-decoration: none;
    margin: 0 5px;
}
nav a:visited {
    color: blue;
}
nav a:hover {
    color: teal;
}
nav a:active, nav a:focus {
    color: olivedrab;
}

main .wrapper{
    padding-bottom: 5px;
}

article {
    margin: 20px;
}

summary {
    background-color: rgba(25, 199, 205, 0.622);
    margin: 0px;
    padding-left: 0px;
    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    text-align: center;
}

details {
    border: 1px solid white;
    /* padding-left: 5px; */
    margin-bottom: 10px;
    color: white;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1)),
        url("images/WP-midterm-photos_space_ivana-cajina.jpg");
        background-size: cover;
        background-position: center;
}

.gallery{
    column-count: 3;
    column-gap: 10px;
    padding: 10px;
}
.gallery img{
    width: 100%;
    margin-bottom: 10px;
    border-radius: 8px;
    display: block;
    break-inside: avoid;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
} 


footer {
    font-size: 9pt;
    text-align: center;
    border-radius: 8px;
    background-color: rgba(25, 199, 205, 0.622);
}