html {
    overflow-x:hidden;
    height: 100%;
}
body {
    background-image: url(images/strandhill.jpg);
    background-size: auto;
    background-position: center;
    min-height: 100%;
    background-repeat: no-repeat;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
    max-height: 50px;
}
header {
    min-height: 50px;
    background-color: #52494942;
    text-align: center;
    font-size: 100px;
    font-family: Georgia, Arial, Helvetica, ;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: rgb(41, 49, 41);
    text-decoration: underline;
}

nav {
    background-color: rgba(0, 0, 0, 0.301);
    padding-top: 10px;
    padding-bottom: 10px;
    text-align:center;
}

main {
    max-height: 300px;
    font-size: 18px;
    font-weight: 1000;
    color: rgb(27, 24, 24);
    text-align: center;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 200px;
    background-color: rgba(182, 200, 183, 0.493);
}

section {
    text-align: center;
    
}

h1 {
    color: rgb(35, 63, 46);
    font-size: max 50px;
    text-align: center;
    font-family: Georgia, Arial, Helvetica;
}

p {
    color: rgba(31, 7, 7, 0.863);
    font-size: max 30px;
    font-family:'Times New Roman', Times, serif
}

/* unvisited link */
a:link {
    color: rebeccapurple;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

/* visited link */
a:visited {
    color: white;
}

/* mouse over link */
a:hover {
    color: rgb(63, 59, 59);
}

/* selected link */
a:active {
    color: blue;
}

nav a {
    text-decoration: underline;
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 450px) {
    body {
        background-image: url(images/strandhill.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 100%;
}

    header {
        min-height: 20px;
        background-color: #494a5242;
        text-align: center;
        font-size: 50px;
        font-family: Georgia, Arial, Helvetica, ;
        color: rgb(41, 49, 41);
        text-decoration: underline;
        padding-bottom: 20px;
    }

    p {
        color: rgba(31, 7, 7, 0.863);
        font-size: 15px;
        font-family: 'Times New Roman', Times, serif;
        font-style: unset;
        border:solid, #2F3035;
}

    h1 {
        color: rgb(35, 63, 46);
        font-size: 20px;
        text-align: center;
        font-family: Georgia, Arial, Helvetica;
}

    nav {
        background-color: rgba(0, 0, 0, 0.301);
        padding-top: 10px;
        padding-bottom: 10px;
        text-align:center;
}

    nav a {
        background-color: rgba(179, 171, 171, 0.523);
        text-decoration: underline;
        font-size: 15px;
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 20px;
        margin-right: 20px;
}

    main {
        font-size: 18px;
        font-weight: 1000;
        color: rgb(27, 24, 24);
        text-align: center;
        background-color: rgba(208, 226, 209, 0.493);
        background-size: auto;
}

    p {
        color: rgba(31, 7, 7, 0.863);
        font-size: 18px;
        font-family: Georgia, Arial, Helvetica;;
        font-style: unset;
        border:solid, #2F3035;
}

    h1 {
        color: rgb(35, 63, 46);
        font-size: 20px;
        text-align: center;
        font-family: Georgia, Arial, Helvetica;
}
    section {
        text-align: center;
}

@media (max-width: 900px) {
    body {
        background-image: url(images/strandhill.jpg);
        background-size: auto;
        background-repeat: no-repeat;
        background-position: center;
        min-height: 100%;
}

    header {
        min-height: 20px;
        background-color: #494a5242;
        text-align: center;
        font-size: 50px;
        font-family: Georgia, Arial, Helvetica, ;
        color: rgb(41, 49, 41);
        text-decoration: underline;
        padding-bottom: 20px;
    }

    nav {
        background-color: rgba(0, 0, 0, 0.301);
        padding-top: 10px;
        padding-bottom: 10px;
        text-align:center;
    }

    nav a {
        background-color: rgba(179, 171, 171, 0.523);
        text-decoration: underline;
        font-size: 12px;
        padding-left: 500px;
        padding-right: 100px;
}

    main {
        font-size: 18px;
        color: rgb(27, 24, 24);
        text-align: center;
        background-color: rgba(208, 226, 209, 0.493);
        background-size: auto;
}

    p {
        color: rgba(31, 7, 7, 0.863);
        font-size: 15px;
        font-family: 'Times New Roman', Times, serif;
        font-style: unset;
        border:solid, #2F3035;
}

    h1 {
        color: rgb(35, 63, 46);
        font-size: 20px;
        text-align: center;
        font-family: Georgia, Arial, Helvetica;
}
    section {
        text-align: center;
    }
}
}