/* CS Reset */
html, body {
    margin: 0;
    padding: 0;

    /* animation */
    scroll-behavior: smooth;
}

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

/* navigation bar */
.navigation {
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

/* another way to target a specific element */
.links ul {
    display: flex;
    list-style: none;
    padding: 0 2rem;
}

.links ul li {
    margin: 0 1rem;
}

.links ul li a {
    color: teal;
    text-decoration: none;
}

/* hero image */
.header {
    width: 100%;
    height: 70vh;

    /* use flexbox */
    display: flex;
    justify-content: center;
    align-items: center;

    /* set background image */
    background-image: url('../images/hero-1.jpg');
    background-size: cover;
    background-position: center;
}

h1{
    font-size: 80px;
}

/* gallery */
.gallery {
    width: 100%;
    height: 100vh;
}

h2 {
    text-align: center;
}

.row {
    display: flex;
    width: 100%;
    height: 40%;

    /* vertical margin */
    margin: 1rem 0;
}

/* boxes */
.box {
    width: 100%;
    height: 100%;
    background: lightgray;
    margin: 1rem;

    /* round corners */
    border-radius: 8px;

    /* move text */
    display: flex;
    justify-content: center;
    align-items: end;

    color: #fff;

    background-size: cover;
}

#box1 {
    background-image: url('../images/gallery-image-1.jpg');
}

#box2 {
    background-image: url('../images/gallery-image-2.jpg');
}

#box3 {
    background-image: url('../images/gallery-image-3.jpg');
}

#box4 {
    background-image: url('../images/gallery-image-4.jpg');
}

#box5 {
    background-image: url('../images/gallery-image-5.jpg');
}

#box6 {
    background-image: url('../images/gallery-image-6.jpg');
}

footer {
    width: 100%;
    height: 200px;
    background-color: black;

}

