/* General Styles */

* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Style for the navbar */
.navbar {
    font-size: large;
    background-color: #bbbbbb; 

    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-right: 0.6%;
    padding-left: 2%;
    padding-top: 1%;
    padding-bottom: 1%;
    z-index: 1;

  }
  
/* Style for the logo */
#logo {
    width: 100px;
    height: auto;
}

/* Style for the navigation links */
#navlinks {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#navlinks li {
    margin-right: 20px;
}


#navlinks li a {
    color: #000;
    text-decoration: none;
}

/* Media query for smaller devices */
@media screen and (max-width: 450px) {
    #navlinks {
        flex-direction: column; /* stack the navigation links */
        align-items: center; /* center the navigation links */
        margin-top: 50px; /* add some margin to the top */
    }
  
    #navlinks li {
        margin-right: 0; /* remove the margin between the navigation links */
        margin-bottom: 10px; /* add some margin between the stacked navigation links */
    }
  }

.img-container {
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
}

.bg-image {
    width: calc(33.33% - 20px); /** makes the 3 images fit in the bg no matter what. responsive **/
    height: auto;
    margin: 0.5%;
    overflow: hidden; /** stop scroll **/
    filter: blur(3px); /** blur images **/
}

#homepage{
    overflow: hidden; /* this doesn't work */
}

#privacy{
    padding-top: 4%;
    align-items: center;
    text-align: center;
}

#privacy h1{
    font-size: xx-large;
    text-decoration: underline;
}

#privacy p{
    font-size: large;
}

#about{
    padding-top: 4%;
    align-items: center;
    text-align: center;
}

#about h1{
    font-size: xx-large;
    text-decoration: underline;
}

#about p{
    font-size: larger;
}

#travel{
    padding-top: 4%;
    text-align: left;
}

#travel h1{
    font-size: xx-large;
    text-decoration: underline;
}

#travel a{
    font-size: larger;
}

#travel img{
    float: right;
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 400px;

}

#contact-page {
    place-items: center;
    position: relative;
    padding-top: 200px;
}

.form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.form h2 {
    margin-bottom: 20px;
}

.form label {
    display: block;
    margin-bottom: 5px;
}

.form input,
.form textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
}

.form button:hover {
  background-color: #555;
}

#success{
    color: green; /** for form success **/
}

footer {
    background-color: #333;
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

footer ul {
    display: flex;
}

footer li {
    margin-right: 1.5rem; /** leave a gap to the right on each element in footer. **/
}

footer a {
    text-decoration: none; /** makes the text normal after mouse is no longer hovering **/
    color: #fff; /** white text **/
}

footer a:hover {
    text-decoration: underline; /** underline the footer links when hovered over **/
}