* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0px;
    background-image: url("images/sea-4768869-cropped.jpg");
    background-repeat: no-repeat;
    background-color: #0785c9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: auto;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    background-color: #eabd40;
    opacity: 88%;
    margin: 0px;
    text-align: center;
    box-shadow: 0px -2px 18px black;
}

nav ul li {
    text-align: center;
    display: inline-block;
    font-weight: bold;
}

nav a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px 1vw;
}

nav form {
    float: right;
    padding: 10px 2rem 0px;
}

nav a:hover {
    color: black;
    background: white;
}

#search {
    margin-right: 2rem;
}

.active {
    color: white;
    background: black;
}

header img {
    height: 115px;
    margin: 20px 0px 0px 4rem;
}

header h1 {
    font-style: italic;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: black;
    display: inline-block;
    font-size: 35px;
    margin: 10px 0px;
    text-decoration: underline;
    padding: 0px 5px 0px 0px;
    vertical-align: text-bottom;
}

header h2 {
    display: inline-block;
    font-size: 45px;
    margin: 0px;
    text-align: center;
    width: 60%;
    top: 20%;
}

h3 {
    text-decoration: underline;
}

h4 {
    margin-bottom: 0px;
}

p {
    margin-top: 0px;
}

.breadcrumbs {
    margin-left: 5rem;
    a {
        color: black;
    }
}

.booking {
    white-space: nowrap;
    margin: 40px 0px 40px 50px;
    border-radius: 5px;
    padding: 8px 15px 8px 0px;
    box-shadow: 0px 6px 8px black;
    background-color: #f1c101;
    font-weight: bold;
}

.booking:hover {
    box-shadow: 0px 4px 6px black;
    background-color: #f1c101d0;
}

.booking img {
    height: 30px;
    box-shadow: none;
    vertical-align: middle;
}

.contentGroup {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0px 4rem 20px;
}

.results {
    margin: 40px 0px 0px;
}

.homepageGroup {
    width: 300px;
    text-align: center;
    padding: 10px;    
    border-radius: 15px;
    box-shadow: 0px 6px 8px black;
    margin: 10px 0px;
    a {
        color: black;
        text-decoration: none;
    }
    img {
        margin: 5px 0px;
    }
}

.homepageGroup:hover {
    box-shadow: 0px 4px 6px black;
    background-color: rgb(247, 247, 247);
}

#callToAction {
    display: flex;
    text-align: center;
    text-decoration: underline;
    background-color: #f1c101;
    border-radius: 15px;
    box-shadow: 0px 6px 8px black;
    font-size: 19px;
    font-weight: bolder;
    margin: auto;
    margin-bottom: 3px;
    width: 300px;
}

#callToAction:hover {
    box-shadow: 0px 4px 3px black;
    background-color: #f1c101d0;
}

section article {
    flex-grow: 1;
    width: 37%;
    background-color: white;
    opacity: 86%;
    border-radius: 10px;
    padding: 10px 30px;
    margin: 10px;
}

section form {
    display: flex;
    flex-direction: column;
    width: 300px; 
}

article h3 {
    font-size: 21px;
}

article p, article h4, article input, article label {
    font-size: 17px;
}

article img {
    height: 190px;
    margin: 10px;
    box-shadow: 0px 6px 8px black;
}

article ul {
    text-indent: 15px;
    list-style: none;
    li {
        padding: 5px;
    }
}

label {
    width: 220px;
    margin: 0px 15px 4px 15px;
}

input {
    width: 220px;
    margin: 0px 15px 10px 15px;
}

textarea {
    margin: 0px 15px 10px 15px;
}

.sort {
    float: right;
    border: 2px solid grey;
    border-radius: 5px;
    padding: 5px 10px;
    margin-right: 4vw;
    label {
        font-weight: bold;
        text-decoration: underline;
    }
}

footer {
    bottom: 0;
    text-align: center;
    background-color: #0785c9;
    opacity: 66%;
    padding: 10px;
    flex: 0px 0px 50px;
    margin-top: auto;
    box-shadow: 0px -2px 18px black;
}

footer ul li {
    display: inline-block;
    margin: 0px 1%;
    color: white;
}

footer p, footer a {
    color: white;
    font-weight: bold;
}

footer h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    float: left;
    font-style: italic;
    text-decoration: underline;
}

footer img {
    float: left;
    height: 70px;
    padding-left: 40px;
}

footer form {
    display: none;
}

@media (min-width: 768px) and (max-width: 1080px) {
    nav a {
        font-size: 14px;
    }

    .contentGroup {
        margin: 0px 5px 20px;
    }

    section article {
        width: 40%;
    }
    
    article img {
        height: 190px;
    }
}

@media (max-width: 768px) {
    nav ul {
        text-align: left;
    }

    nav a {
        font-size: 12px;
        padding: 5px 1vw;
    }

    #search {
        display: none;
    }

    header h2 {
        margin-top: 25px;
        width: 100vw;
    }

    .contentGroup {
        margin: 0px 0px 20px;
    }

    section article {
        width: 80%;
    }

    article img {
        height: 180px;
    }

    footer ul li {
        display:none;
    }

    footer form {
        display: inline;
    }
}