html {
    height: 100%;
    background-image: url("beachwalk.jpg");
    background-repeat: no-repeat;
    font-size: 10px;
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    height: 100%; 
    width: 100%;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Patua One', cursive;
    font-size: 6rem;
    color: white;
    text-shadow: 2px 2px 4px #333333;
    display: inline;
    margin-bottom: 5rem;
}

.info {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


h2 {
    color: white;
    text-shadow: 2px 2px 4px #333333;
    font-family: 'Neuton', serif;
}

.link {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.link:hover > i {
    color: #333333;
}

.link:hover > h2 {
    color: #333333;
}

a h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.fa-phone {
    font-size: 3rem;
    text-shadow: 2px 2px 4px #333333;
    margin-bottom: 0;
}

.fa-edit {
    font-size: 3rem;
    text-shadow: 2px 2px 4px #333333;
    margin-bottom: 0;
}

.fa-bus {
    font-size: 3rem;
    text-shadow: 2px 2px 4px #333333;
    margin-bottom: 0;
}

.fa-clock {
    font-size: 3rem;
    text-shadow: 2px 2px 4px #333333;
    margin-bottom: 0;
}

.fin {
    display: none;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.address {
    text-decoration: none;
    font-size: 2.25rem;
    color: white;
    text-shadow: 2px 2px 4px #333333;
    font-family: 'Neuton', serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

.address:hover,
.address:active {
    color: #333333;
}

.hours {
    color: white;
    text-shadow: 2px 2px 4px #333333;
    font-size: 1.75rem;
    text-align: center;
    font-family: 'Neuton', serif;
    font-weight: bold;
    margin-bottom: 2rem;
}

.hours:hover > i {
    color: white;
}

.hours:hover > h2 {
    color: white;
}

.img {
    display: block;
    width: 400px;
    height: 200px;
    background-image: url("rv.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 2px solid white;
    border-radius: 8px;
    font-family: 'Neuton', serif;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px #333333;
    font-size: 4rem;
    text-decoration: none;
    text-align: center;
    line-height: 24rem;
    position: relative;
}

.img:hover:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    top: 0;
    left: 0;
}

.button {
    display: block;
    width: 300px;
    height: 150px;
    border-radius: 8px;
    border: 2px solid white;
    color: white;
    background: #333333;
    background: rgba(55,55,55,0.5);
    text-align: center;
    line-height: 130px;
    font-size: 2rem;
    font-family: 'Neuton', serif;
    text-decoration: none;
    margin-bottom: 2rem;
}

.button:hover,
.button:focus,
.button:active {
    background: linear-gradient(to bottom right,#3d87ba, #70baed);
    color: white;
    border: 2px solid white;
}

@media screen and (min-width: 481px) and (max-width: 800px) {
    h1 {
        font-size: 6rem;
    }
    .address h2 {
        font-size: 3rem;
    }
    .hours {
        font-size: 2rem;
    }
    h2 {
        font-size: 3rem;
    }
}        

@media screen and (min-width: 801px) and (max-width: 1100px) {
    h1 {
        font-size: 7rem;
    }
    .address {
        font-size: 3em;
    }
    h2 {
        font-size: 3.5rem;
    }
    .hours h2 {
        font-size: 3rem;
    }
    .img {
        width: 500px;
        height: 250px;
        line-height: 30rem;
    }
}       

@media screen and (min-width: 1101px) and (max-width: 1299px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 5em;
    }
    h1 {
        margin-left: 3rem;
        font-size: 7rem;
    }
    .info {
        margin-right: 2rem;
    }
    .link {
        margin-right: 3rem;
    }
    .fin {
        display: flex;
    }
    .content {
        flex-direction: row;
        justify-content: space-between;
    }
    .links {
        margin-left: 2rem;
        margin-bottom: 0;
    }
    .address {
        font-size: 3rem;
    }
    .hours h2 {
        font-size: 3rem;
    }
    .contact {
        margin-right: 5em;
        font-size: 1.25em;
    }
    .img {
        width: 600px;
        height: 350px;
        margin-right: 2rem;
        font-size: 8rem;
        line-height: 42rem;
    }
    .button {
        width: 500px;
        height: 200px;
        font-size: 3em;
        line-height: 175px;
    }
}

@media screen and (min-width: 1300px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 5em;
    }
    h1 {
        margin-left: 5rem;
        font-size: 7rem;
    }
    .info {
        margin-right: 4rem;
    }
    .link {
        margin-right: 3rem;
    }
    .fin {
        display: flex;
    }
    .content {
        flex-direction: row;
        justify-content: space-around;
    }
    .links {
        margin-left: 3rem;
        margin-bottom: 0;
    }
    .address {
        font-size: 3rem;
    }
    .hours h2 {
        font-size: 3rem;
    }
    .contact {
        margin-right: 5em;
        font-size: 1.25em;
    }
    .img {
        width: 600px;
        height: 350px;
        margin-right: 3rem;
        font-size: 8rem;
        line-height: 42rem;
    }
    .button {
        width: 500px;
        height: 200px;
        font-size: 3em;
        line-height: 175px;
    }
}


@media screen and (min-width: 1600px) {
    header {
        justify-content: space-around;
        margin-top: 4rem;
        margin-bottom: 12rem;
    }
    h1 {
        font-size: 9rem;
        margin: 0;
        margin-right: 15rem;
    }
    .phone h2 {
        font-size: 4rem;
    } 
    .fa-phone {
        font-size: 3rem;
    }
    .info {
        margin-right: 0;
    }
    .hours h2 {
        font-size: 4rem;
    }
    .img {
        width: 750px;
        height: 400px;
        line-height: 45rem;
    }
}
