@charset "utf-8";
html {
    background-color: rgb(174, 222, 255);
}
body {
    font-family: Verdana, Geneva, sans-serif;
    color: rgb(91, 91, 91);
    background-color: ivory;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
header {
    text-align: center;
    padding: 20px;
}
header img {
    width: 100%;
}
h1, h2 {
    font-size: 1.3em;
    text-shadow: 4px 6px 5px gray;
}
/*nav {
    background-color: rgb(209, 235, 244);
    padding: 15px;
    text-align: center;
}
nav a {
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    color: white;
}
nav a:hover {
    text-decoration: underline;
    color: pink;
}
*/
 nav ul{
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
 }
 nav li{
    float: left;
    width: 20%;
    display: block;
 }
 nav a{
    text-decoration: none;
    display: block;
    background-color: rgb(174, 222, 255);
    line-height: 2.8em;
    text-align: center;
    color: rgb(16, 16, 16);
 }
 nav a:hover {
    background-color: pink;
    color: white;
 }
main {
    padding: 20px;
    margin-top: 35px;
}
main > img {
    width: 25%;
    padding: 25px;
    float: right;
}
body > footer {
    background-color: rgb(174, 222, 255);
    color: rgba(37, 35, 35, 0.6);
    font-weight: bold;
    font-size: 0.9em;
    line-height: 3em;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    clear: both;
}
.vacationplaces {
    display: flex;
    flex-wrap: wrap;
}
.vacationplaces img {
    width: 25%;
    box-sizing: border-box;
    padding: 10px;
}
@media only screen and (max-width: 768px) {
    html {
        background-color: rgb(174, 222, 255);
    }
    body {
        width: 100%;
        margin: 0;
    }
    nav li {
        float: none;
        font-size: x-large;
        width: 100%;
    }
    nav a {
        border-bottom: 1px solid black;
    }
    main > img {
        width: 90%;
        float: none;
    }
    .vacationplaces img {
        width: 50%;
    }
}
@media only screen and (max-width: 480px) {
    .vacationplaces img {
        width: 100%;
    }
}
@media only screen and (min-width: 769px) {
    html {
        background-image: url(background.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .vacationplaces img {
        width: 25%;
    }
}