a {
    text-decoration: none;
    color: #c69;
}

a:hover {
    color: #666;
}

a:visited {
    color: #906;
}

.btnlinks {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    color:#000;
}

.content {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    margin: auto;
}

.content header {
    grid-row: 1/2;
    grid-column: 1/2;
}

.content nav {
    grid-row: 2/3;
    grid-column: 1/2;
}

.content main {
    grid-row: 3/4;
    grid-column: 1/2;
}

.content footer {
    grid-row: 4/5;
    grid-column: 1/2;
}

#copyright {
    font-size: 10px;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
}

.dropbtn {
    background-color: #ffebee;
    color:#666;
    font-size: 14px;
    border: none;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffebee;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0 , 0, 0.2);
}

.dropdown-content a {
    color:#666;
    text-decoration: none;
    display: block;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
}

.dropdown-content a:hover {
    color:#000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

footer {
    background-color: #ffebee;
    color: #666;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 12px;
}

#footlogo {
    height: 90px;
    width: 90px;
}

form {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-left: 20%;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
    font-size: 14px;
  }

#ftleft, #ftright, #ftcenter {
    width: 33%;
    padding-top: 1.5em;
    background-color: #ffebee;
}
#ftleft {
    text-align: left;
    float:left;
}

#ftright {
    text-align: right;
    float:right;
}

#ftcenter {
    text-align: center;
}

#ftleft p, #ftright p {
    font-size: 10px;
}

header {
    text-align: center;
    background-color: #fff;
}

header a {
    text-decoration: none;
}

header a:visited, a:hover {
    color: #000;
}


h3 {
    margin-bottom: 0;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
    font-weight: 400;
}

img.right, img.left {
    width: 176px;
    height: 208px;
    padding-left: 20px;
    padding-right: 20px;
}

img.right {
    float: right;
    
}

img.left {
    float: left;
}

input[type="submit"]{
    width: 9em;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
    background-color: #ffebee;
    color: #c69;
    font-size: 14px;
}

li {
    font-family: 'Poppins', Verdana, Arial, sans-serif;
    font-size: 14px;
}

#logo {
    height: 100px;
}

main {
    background-image: url("marbletexture.png");
    background-repeat:initial;
    padding: 1px;
}

nav {
    text-align: center;
    background-color: #ffebee;
}

nav a {
    text-decoration: none;
}

nav a:link, a:visited {
    color: #666;
}

nav a:hover {
    color: #000;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    font-size: 14px;
}

p {
    font-family: 'Poppins', Verdana, Arial, sans-serif;
    font-size: 14px;
}

.pagebtn {
    border: none;
    background-color:#ffebee;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 4px;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
}

.pagetitle {
    text-align: center;
    color: #000;
    font-family: 'Homemade Apple', 'Bradley Hand', cursive;
    font-size: 25px;
}

#services {
    text-align: left;
    margin-left: 2%;
}

#services p {
    font-size: 12px;
}

#services h3 {
    font-size: 16px;
    font-style: italic;
}

table {
    border-style: solid;
    border: 1px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Poppins', Verdana, Arial, sans-serif;
    font-size: 12px;
}

td, th {
    padding: 0.5em;
    border: 2px;
    border-style: solid;
  }

tr:nth-of-type(odd) {
    background-color: #ffebee;
}

.textbox {
    margin-left: 12%;
    margin-right: 12%;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 1em;
    padding-bottom: 1em;
    background: rgba(224, 224, 224, 0.5);
    text-align: center;
}

.textbox p {
    color: #000;
    margin-top: 2%;
    margin-bottom: 5%;
    margin-left: 5%;
    margin-right: 5%;
}

.textbox a {
    color: #c69;
}

div.homepageVid {   
    text-align: center;
}

video {
    max-width: 400px;
}

@media (min-width: 700px) {
    #footlogo {
        height: auto;
        width: auto;
        margin: 0;
    }

    #ftleft p, #ftright p {
        font-size: 14px;
    }

    img.right, img.left {
        width: 240px;
        height: 320px; 
    }

    nav ul {
        list-style-type: none;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        flex-direction: row;
        padding-right: 2.5em;
        padding-top: 1em;
        padding-bottom: 1em;
        position: relative;
        font-size: 16px;
    }
    
    video {
        min-width: 700px;
    }
}

@media (min-width: 1024px) {
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

    .dropbtn {
        font-size: 20px;
    }

    form {
        display: grid;
        grid-template-columns: 8em 1fr;
        grid-template-rows: auto;
        font-size: 16px;
      }

    input[type="submit"]{
        grid-column: 2;
        font-size: 16px;
    }

    #layout {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        margin: 0;
    }

    #layout header {
        grid-row: 1/2;
        grid-column: 1/6;
    }

    #layout nav {
        grid-row: 2/3;
        grid-column: 1/6;
    }

    #layout main {
        grid-row: 3/4;
        grid-column: 1/6;
    }

    #layout footer {
        grid-row: 4/5;
        grid-column: 1/6;
    }

    li, p, .pagebtn, #services p, footer {
        font-size: 16px;
    }

    #logo {
        height: auto;
    }

    nav ul {
        list-style-type: none;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        flex-direction: row;
        padding-right: 2.5em;
        padding-top: 1em;
        padding-bottom: 1em;
        position: relative;
        font-size: 20px;
    }

    .pagetitle {
        font-size: 40px;
    }
    

    #services h3 {
        font-size: 18px;
    }

    table {
        border: 2px;
        font-size: 16px;
    }

    video {
        min-width: 1024px;
    }
}